!function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=1604)}([function(t,e,n){"use strict";var i=n(745);Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"ANALYZE_FOR_ENTRY_COMPONENTS",function(){return i._2}),n.d(e,"Attribute",function(){return i.L}),n.d(e,"ContentChild",function(){return i.U}),n.d(e,"ContentChildren",function(){return i.V}),n.d(e,"Query",function(){return i._9}),n.d(e,"ViewChild",function(){return i.j}),n.d(e,"ViewChildren",function(){return i._0}),n.d(e,"Component",function(){return i.e}),n.d(e,"Directive",function(){return i.l}),n.d(e,"HostBinding",function(){return i.Z}),n.d(e,"HostListener",function(){return i.Y}),n.d(e,"Input",function(){return i.x}),n.d(e,"Output",function(){return i.c}),n.d(e,"Pipe",function(){return i.I}),n.d(e,"OnDestroy",function(){return i._10}),n.d(e,"AfterContentInit",function(){return i._11}),n.d(e,"AfterViewChecked",function(){return i._12}),n.d(e,"AfterViewInit",function(){return i._13}),n.d(e,"DoCheck",function(){return i._14}),n.d(e,"OnChanges",function(){return i._15}),n.d(e,"AfterContentChecked",function(){return i._16}),n.d(e,"OnInit",function(){return i._17}),n.d(e,"CUSTOM_ELEMENTS_SCHEMA",function(){return i._18}),n.d(e,"NO_ERRORS_SCHEMA",function(){return i._19}),n.d(e,"NgModule",function(){return i.D}),n.d(e,"ViewEncapsulation",function(){return i.t}),n.d(e,"forwardRef",function(){return i.m}),n.d(e,"resolveForwardRef",function(){return i._20}),n.d(e,"Injector",function(){return i.W}),n.d(e,"ReflectiveInjector",function(){return i.p}),n.d(e,"ResolvedReflectiveFactory",function(){return i._21}),n.d(e,"ReflectiveKey",function(){return i._22}),n.d(e,"OpaqueToken",function(){return i.d}),n.d(e,"assertPlatform",function(){return i._23}),n.d(e,"destroyPlatform",function(){return i._24}),n.d(e,"getPlatform",function(){return i._25}),n.d(e,"createPlatform",function(){return i._26}),n.d(e,"ApplicationRef",function(){return i.Q}),n.d(e,"enableProdMode",function(){return i.a}),n.d(e,"isDevMode",function(){return i.s}),n.d(e,"createPlatformFactory",function(){return i.A}),n.d(e,"PlatformRef",function(){return i._27}),n.d(e,"APP_ID",function(){return i._28}),n.d(e,"PACKAGE_ROOT_URL",function(){return i._29}),n.d(e,"APP_BOOTSTRAP_LISTENER",function(){return i._30}),n.d(e,"PLATFORM_INITIALIZER",function(){return i.y}),n.d(e,"ApplicationInitStatus",function(){return i._31}),n.d(e,"APP_INITIALIZER",function(){return i._1}),n.d(e,"DebugElement",function(){return i._32}),n.d(e,"DebugNode",function(){return i._33}),n.d(e,"asNativeElements",function(){return i._34}),n.d(e,"getDebugNode",function(){return i.R}),n.d(e,"Testability",function(){return i.F}),n.d(e,"TestabilityRegistry",function(){return i._35}),n.d(e,"setTestabilityGetter",function(){return i.T}),n.d(e,"TRANSLATIONS",function(){return i._36}),n.d(e,"TRANSLATIONS_FORMAT",function(){return i._37}),n.d(e,"LOCALE_ID",function(){return i.v}),n.d(e,"ApplicationModule",function(){return i.G}),n.d(e,"wtfCreateScope",function(){return i._38}),n.d(e,"wtfLeave",function(){return i._39}),n.d(e,"wtfStartTimeRange",function(){return i._40}),n.d(e,"wtfEndTimeRange",function(){return i._41}),n.d(e,"Type",function(){return i._42}),n.d(e,"EventEmitter",function(){return i.b}),n.d(e,"ErrorHandler",function(){return i.C}),n.d(e,"AnimationTransitionEvent",function(){return i._43}),n.d(e,"AnimationPlayer",function(){return i._44}),n.d(e,"Sanitizer",function(){return i.z}),n.d(e,"SecurityContext",function(){return i.r}),n.d(e,"Class",function(){return i._45}),n.d(e,"NgZone",function(){return i.n}),n.d(e,"RenderComponentType",function(){return i._46}),n.d(e,"Renderer",function(){return i.i}),n.d(e,"RootRenderer",function(){return i.E}),n.d(e,"Compiler",function(){return i._47}),n.d(e,"CompilerFactory",function(){return i._48}),n.d(e,"ModuleWithComponentFactories",function(){return i._49}),n.d(e,"COMPILER_OPTIONS",function(){return i._50}),n.d(e,"ComponentRef",function(){return i._51}),n.d(e,"ComponentFactory",function(){return i._52}),n.d(e,"ComponentFactoryResolver",function(){return i.g}),n.d(e,"ElementRef",function(){return i.h}),n.d(e,"NgModuleFactory",function(){return i._53}),n.d(e,"NgModuleRef",function(){return i._54}),n.d(e,"getModuleFactory",function(){return i._55}),n.d(e,"NgModuleFactoryLoader",function(){return i._56}),n.d(e,"QueryList",function(){return i._8}),n.d(e,"SystemJsNgModuleLoader",function(){return i._57}),n.d(e,"SystemJsNgModuleLoaderConfig",function(){return i._58}),n.d(e,"TemplateRef",function(){return i.M}),n.d(e,"ViewContainerRef",function(){return i.k}),n.d(e,"EmbeddedViewRef",function(){return i._59}),n.d(e,"ViewRef",function(){return i._60}),n.d(e,"DefaultIterableDiffer",function(){return i._61}),n.d(e,"ChangeDetectionStrategy",function(){return i.w}),n.d(e,"ChangeDetectorRef",function(){return i.K}),n.d(e,"CollectionChangeRecord",function(){return i._62}),n.d(e,"IterableDiffers",function(){return i.P}),n.d(e,"KeyValueChangeRecord",function(){return i._63}),n.d(e,"KeyValueDiffers",function(){return i.O}),n.d(e,"SimpleChange",function(){return i._64}),n.d(e,"WrappedValue",function(){return i.J}),n.d(e,"platformCore",function(){return i.B}),n.d(e,"__core_private__",function(){return i.u}),n.d(e,"AUTO_STYLE",function(){return i.S}),n.d(e,"AnimationEntryMetadata",function(){return i._65}),n.d(e,"AnimationStateMetadata",function(){return i._66}),n.d(e,"AnimationStateDeclarationMetadata",function(){return i._67}),n.d(e,"AnimationStateTransitionMetadata",function(){return i._68}),n.d(e,"AnimationMetadata",function(){return i._69}),n.d(e,"AnimationKeyframesSequenceMetadata",function(){return i._70}),n.d(e,"AnimationStyleMetadata",function(){return i._71}),n.d(e,"AnimationAnimateMetadata",function(){return i._72}),n.d(e,"AnimationWithStepsMetadata",function(){return i._73}),n.d(e,"AnimationSequenceMetadata",function(){return i._74}),n.d(e,"AnimationGroupMetadata",function(){return i._75}),n.d(e,"animate",function(){return i._7}),n.d(e,"group",function(){return i._76}),n.d(e,"sequence",function(){return i._77}),n.d(e,"style",function(){return i._5}),n.d(e,"state",function(){return i._4}),n.d(e,"keyframes",function(){return i._78}),n.d(e,"transition",function(){return i._6}),n.d(e,"trigger",function(){return i._3}),n.d(e,"Inject",function(){return i.f}),n.d(e,"Optional",function(){return i.o}),n.d(e,"Injectable",function(){return i.q}),n.d(e,"Self",function(){return i.X}),n.d(e,"SkipSelf",function(){return i.H}),n.d(e,"Host",function(){return i.N})},function(t,e,n){"use strict";var i=n(95),r=n(1599),s=n(325),o=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,s=r.toSubscriber(t,e,n);if(i?i.call(s,this):s.add(this._subscribe(s)),s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s},t.prototype.forEach=function(t,e){var n=this;if(e||(i.root.Rx&&i.root.Rx.config&&i.root.Rx.config.Promise?e=i.root.Rx.config.Promise:i.root.Promise&&(e=i.root.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,i){var r=n.subscribe(function(e){if(r)try{t(e)}catch(t){i(t),r.unsubscribe()}else t(e)},i,e)})},t.prototype._subscribe=function(t){return this.source.subscribe(t)},t.prototype[s.$$observable]=function(){return this},t.create=function(e){return new t(e)},t}();e.Observable=o},function(t,e,n){"use strict";function i(t,e,n){var i=new o;return i.init(t,e,n),i}var r=n(0),s=n(17);n.d(e,"c",function(){return o}),n.d(e,"b",function(){return a}),e.a=i;var o=function(){function t(){this._c={},this._modes={},this._trns={}}return t.prototype.init=function(t,e,i){this._s=t&&n.i(s.h)(t)&&!n.i(s.b)(t)?t:{},this._qp=e,this.platform=i},t.prototype.get=function(t,e){if(void 0===e&&(e=null),!n.i(s.i)(this._c[t])){if(!n.i(s.i)(t))throw"config key is not defined";var i=void 0,r=this._s[t],o=void 0,a=void 0,_=void 0,l=void 0,h=null;if(this.platform){var c=this._qp.get("ionic"+t);if(n.i(s.i)(c))return this._c[t]="true"===c||"false"!==c&&c;for(var u=this.platform.platforms(),p=0,d=u.length;pt.length?t[e.successIndex]=n:t.splice(e.successIndex,0,n),e.errorIndex>t.length?t[e.errorIndex]=i:t.splice(e.errorIndex,0,i)):(t.push(n),t.push(i));return t}function r(t,e,r,s,o,a){void 0===s&&(s={}),r=i(r,s,o,a);var _=b(t.pluginRef);return _?n.i(x.a)(window,t.pluginRef)[e].apply(_,r):window.cordova?(w(t,e),{error:"plugin_not_installed"}):(C(t.name,e),{error:"cordova_not_available"})}function s(t){var e=function(){return window.Promise?new Promise(function(e,n){t(e,n)}):void console.error("No Promise support or polyfill found. To enable Ionic Native support, please add the es6-promise polyfill before this script, or run with a library like Angular 1/2 or on a recent browser.")};if(window.angular){var n=window.angular.element(document.querySelector("[ng-app]")||document.body).injector();if(n){var i=n.get("$q");return i(function(e,n){t(e,n)})}return console.warn("Angular 1 was detected but $q couldn't be retrieved. This is usually when the app is not bootstrapped on the html or body tag. Falling back to native promises which won't trigger an automatic digest when promises resolve."),e()}return e()}function o(t,e,n,i){void 0===i&&(i={});var o,a,_=s(function(s,_){o=r(t,e,n,i,s,_),a=_});return o&&o.error&&(_.catch(function(){}),a(o.error)),_}function a(t,e,n,i){return void 0===i&&(i={}),s(function(s,o){var a=r(t,e,n,i);a&&a.error&&o(a.error),a.then(s).catch(o)})}function _(t,e,i,s){return void 0===s&&(s={}),new y.Observable(function(o){var a=r(t,e,i,s,o.next.bind(o),o.error.bind(o));return a&&a.error&&o.error(a.error),function(){try{if(s.clearFunction)return s.clearWithArgs?n.i(x.a)(window,t.pluginRef)[s.clearFunction].apply(t,i):n.i(x.a)(window,t.pluginRef)[s.clearFunction].call(t,a)}catch(n){console.warn("Unable to clear the previous observable watch for",t.name,e),console.error(n)}}})}function l(t,e,n,r,s,o){return void 0===r&&(r={}),n=i(n,r,s,o),t._objectInstance[e].apply(t._objectInstance,n)}function h(t,e,n){return void 0===n&&(n={}),function(){for(var i=[],r=0;r0){var l=o[e-1];_=l.lastRootNode}else _=this.nativeElement;n.i(r.e)(_)&&t.renderer.attachViewAfter(_,t.flatRootNodes),t.markContentChildAsMoved(this)},t.prototype.attachView=function(t,e){if(t.type===a.a.COMPONENT)throw new Error("Component views can't be moved!");var s=this.nestedViews;null==s&&(s=[],this.nestedViews=s),i.a.insert(s,e,t);var o;if(e>0){var _=s[e-1];o=_.lastRootNode}else o=this.nativeElement;n.i(r.e)(o)&&t.renderer.attachViewAfter(o,t.flatRootNodes),t.addToContentChildren(this)},t.prototype.detachView=function(t){var e=i.a.removeAt(this.nestedViews,t);if(e.type===a.a.COMPONENT)throw new Error("Component views can't be moved!");return e.detach(),e.removeFromContentChildren(this),e},t}()},function(t,e,n){"use strict";var i=n(108),r=n(24),s=n(11);n.d(e,"b",function(){return a}),n.d(e,"a",function(){return h});var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=function(){function t(){}return Object.defineProperty(t.prototype,"location",{get:function(){return n.i(i.a)()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return n.i(i.a)()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"instance",{get:function(){return n.i(i.a)()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hostView",{get:function(){return n.i(i.a)()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"changeDetectorRef",{get:function(){return n.i(i.a)()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return n.i(i.a)()},enumerable:!0,configurable:!0}),t}(),_=function(t){function e(e,n){t.call(this),this._hostElement=e,this._componentType=n}return o(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return this._hostElement.elementRef},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return this._hostElement.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"instance",{get:function(){return this._hostElement.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostView",{get:function(){return this._hostElement.parentView.ref},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"changeDetectorRef",{get:function(){return this._hostElement.parentView.ref},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._componentType},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._hostElement.parentView.destroy()},e.prototype.onDestroy=function(t){this.hostView.onDestroy(t)},e}(a),l=new Object,h=function(){function t(t,e,n){this.selector=t,this._viewFactory=e,this._componentType=n}return Object.defineProperty(t.prototype,"componentType",{get:function(){return this._componentType},enumerable:!0,configurable:!0}),t.prototype.create=function(t,e,i){void 0===e&&(e=null),void 0===i&&(i=null);var o=t.get(s.a);n.i(r.h)(e)&&(e=[]);var a=this._viewFactory(o,t,null),h=a.create(l,e,i);return new _(h,this._componentType)},t}()},function(t,e,n){"use strict";n.d(e,"c",function(){return i}),n.d(e,"a",function(){return r}),n.d(e,"b",function(){return s});var i;!function(t){t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None"}(i||(i={}));var r=[i.Emulated,i.Native,i.None],s=function(){function t(t){var e=void 0===t?{}:t,n=e.templateUrl,i=e.template,r=e.encapsulation,s=e.styles,o=e.styleUrls,a=e.animations,_=e.interpolation;this.templateUrl=n,this.template=i,this.styleUrls=o,this.styles=s,this.encapsulation=r,this.animations=a,this.interpolation=_}return t}()},function(t,e,n){"use strict";function i(t,e,n,i){function r(e,n,i){var r=t.Matrix.storage(n||"default");return new r(e,i)}var s=i("matrix",{"":function(){return r([])},string:function(t){return r([],t)},"string, string":function(t,e){return r([],t,e)},Array:function(t){return r(t)},Matrix:function(t){return r(t,t.storage())},"Array | Matrix, string":r,"Array | Matrix, string, string":r});return s.toTex={0:"\\begin{bmatrix}\\end{bmatrix}",1:"\\left(${args[0]}\\right)",2:"\\left(${args[0]}\\right)"},s}e.name="matrix",e.factory=i},function(t,e,n){"use strict";function i(t){var e;if(t instanceof p.a){var r=t;if(e=r.nativeElement,n.i(h.e)(r.nestedViews))for(var s=r.nestedViews.length-1;s>=0;s--){var o=r.nestedViews[s];o.rootNodesOrAppElements.length>0&&(e=i(o.rootNodesOrAppElements[o.rootNodesOrAppElements.length-1]))}}else e=t;return e}var r=n(435),s=n(436),o=n(437),a=n(742),_=n(4),l=n(69),h=n(24),c=n(256),u=n(444),p=n(6),d=n(751),f=n(445),m=n(448),g=n(5),v=n(11);n.d(e,"a",function(){return b}),n.d(e,"b",function(){return w});var x=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},y=n.i(c.a)("AppView#check(ascii id)"),b=function(){function t(t,e,n,i,r,s,o){this.clazz=t,this.componentType=e,this.type=n,this.viewUtils=i,this.parentInjector=r,this.declarationAppElement=s,this.cdMode=o,this.contentChildren=[],this.viewChildren=[],this.viewContainerElement=null,this.numberOfChecks=0,this.animationPlayers=new a.a,this._animationListeners=new Map,this.ref=new m.a(this),n===g.a.COMPONENT||n===g.a.HOST?this.renderer=i.renderComponent(e):this.renderer=s.parentView.renderer}return Object.defineProperty(t.prototype,"destroyed",{get:function(){return this.cdMode===_.b.Destroyed},enumerable:!0,configurable:!0}),t.prototype.cancelActiveAnimation=function(t,e,i){if(void 0===i&&(i=!1),i)this.animationPlayers.findAllPlayersByElement(t).forEach(function(t){return t.destroy()});else{var r=this.animationPlayers.find(t,e);n.i(h.e)(r)&&r.destroy()}},t.prototype.queueAnimation=function(t,e,i,r,a,_){var l=this;n.i(s.a)(i);var h=new o.a({fromState:a,toState:_,totalTime:r});this.animationPlayers.set(t,e,i),i.onDone(function(){l.triggerAnimationOutput(t,e,"done",h),l.animationPlayers.remove(t,e)}),i.onStart(function(){l.triggerAnimationOutput(t,e,"start",h)})},t.prototype.triggerAnimationOutput=function(t,e,i,r){var s=this._animationListeners.get(t);if(n.i(h.e)(s)&&s.length)for(var o=0;o0?this.rootNodesOrAppElements[this.rootNodesOrAppElements.length-1]:null;return i(t)},enumerable:!0,configurable:!0}),t.prototype.dirtyParentQueriesInternal=function(){},t.prototype.detectChanges=function(t){var e=y(this.clazz);this.cdMode!==_.b.Checked&&this.cdMode!==_.b.Errored&&(this.cdMode===_.b.Destroyed&&this.throwDestroyedError("detectChanges"),this.detectChangesInternal(t),this.cdMode===_.b.CheckOnce&&(this.cdMode=_.b.Checked),this.numberOfChecks++,n.i(c.b)(e))},t.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},t.prototype.detectContentChildrenChanges=function(t){for(var e=0;e-1&&this._nav._views.splice(n,1)}this._nav=this._cmp=this.instance=this._cntDir=this._cntRef=this._hdrDir=this._ftrDir=this._nb=this._onWillDismiss=null},t.prototype._lifecycleTest=function(t){var e=this.instance,n="ionViewCan"+t;if(e&&e[n])try{return e[n]()}catch(t){return console.error(this.name+" "+n+" error: "+t.message),!1}return!0},t.prototype._lifecycle=function(t){var e=this.instance,n="ionView"+t;if(e&&e[n])try{e[n]()}catch(t){console.error(this.name+" "+n+" error: "+t.message)}},t.propDecorators={_emitter:[{type:r.Output}]},t}(),_="ion-page"},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t){this.nativeElement=t}return t}()},function(t,e,n){"use strict";var i=n(528);n.d(e,"a",function(){return i.g}),n.d(e,"c",function(){return i.h}),n.d(e,"f",function(){return i.i}),n.d(e,"g",function(){return i.j}),n.d(e,"i",function(){return i.k}),n.d(e,"b",function(){return r.a}),n.d(e,"d",function(){return r.b}),n.d(e,"e",function(){return r.c}),n.d(e,"h",function(){return r.e}),n.d(e,"j",function(){return r.f}),n.d(e,"k",function(){return r.g}),n.d(e,"l",function(){return r.h}),n.d(e,"m",function(){return r.i}),n.d(e,"o",function(){return r.j}),n.d(e,"p",function(){return r.k});var r=n(524),s=(n(392),n(526),n(393),n(527),n(48),n(895),n(104));n.d(e,"n",function(){return s.a});n(123),n(49),n(39),n(17),n(90),n(196),n(173),n(303),n(894)},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t){for(var e=[];Array.isArray(t);)e.push(t.length),t=t[0];return e}function s(t,e,n){var i,r=t.length;if(r!==e[n])throw new A.default(r,e[n]);if(n")}function o(t,e){var n=0===e.length;if(n){if(Array.isArray(t))throw new A.default(t.length,0)}else s(t,e,0)}function a(t,e){if(!E.default.isNumber(t)||!E.default.isInteger(t))throw new TypeError("Index must be an integer (value: "+t+")");if(t<0||"number"==typeof e&&t>=e)throw new I.default(t,e)}function _(t,e,n){if(!Array.isArray(t)||!Array.isArray(e))throw new TypeError("Array expected");if(0===e.length)throw new Error("Resizing to scalar is not supported");e.forEach(function(t){if(!E.default.isNumber(t)||!E.default.isInteger(t)||t<0)throw new TypeError("Invalid size, must contain positive integers (size: "+T.default.format(e)+")")});var i=void 0!==n?n:0;return l(t,e,0,i),t}function l(t,e,n,i){var r,s,o=t.length,a=e[n],_=Math.min(o,a);if(t.length=a,n=1;i--){var r=arguments[i];if(r)for(var s in r)r.hasOwnProperty(s)&&!t.hasOwnProperty(s)&&(t[s]=r[s])}return t}e.g=i,e.c=r,e.m=s,e.l=a,e.f=_,n.d(e,"o",function(){return l}),n.d(e,"e",function(){return h}),n.d(e,"j",function(){return c}),n.d(e,"i",function(){return u}),n.d(e,"p",function(){return p}),n.d(e,"a",function(){return d}),n.d(e,"d",function(){return f}),n.d(e,"h",function(){return m}),n.d(e,"b",function(){return g}),n.d(e,"k",function(){return v}),n.d(e,"n",function(){return x});var l=function(t){return"string"==typeof t},h=function(t){return"number"==typeof t},c=function(t){return"function"==typeof t},u=function(t){return"undefined"!=typeof t},p=function(t){return"undefined"==typeof t},d=function(t){return void 0!==t&&null!==t},f=function(t){return void 0===t||null===t},m=function(t){return"object"==typeof t},g=Array.isArray,v=function(t){return"string"==typeof t?(t=t.toLowerCase().trim(),"true"===t||"on"===t||""===t):!!t},x=function(t,e){return void 0===t||null===t||""===t?void 0===e||null===e||""===e:t===!0||"true"===t?e===!0||"true"===e:t===!1||"false"===t?e===!1||"false"===e:0===t||"0"===t?0===e||"0"===e:t==e}},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n(428),s=n(79),o=n(1324),a=n(326),_=function(t){function e(n,i,r){switch(t.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=o.empty;break;case 1:if(!n){this.destination=o.empty;break}if("object"==typeof n){n instanceof e?(this.destination=n,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new l(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new l(this,n,i,r)}}return i(e,t),e.prototype[a.$$rxSubscriber]=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}(s.Subscription);e.Subscriber=_;var l=function(t){function e(e,n,i,s){t.call(this),this._parent=e;var o,a=this;r.isFunction(n)?o=n:n&&(a=n,o=n.next,i=n.error,s=n.complete,r.isFunction(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this)),this._context=a,this._next=o,this._error=i,this._complete=s}return i(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parent;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._parent;if(this._error)e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else{if(!e.syncErrorThrowable)throw this.unsubscribe(),t;e.syncErrorValue=t,e.syncErrorThrown=!0,this.unsubscribe()}}},e.prototype.complete=function(){if(!this.isStopped){var t=this._parent;this._complete?t.syncErrorThrowable?(this.__tryOrSetError(t,this._complete),this.unsubscribe()):(this.__tryOrUnsub(this._complete),this.unsubscribe()):this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){throw this.unsubscribe(),t}},e.prototype.__tryOrSetError=function(t,e,n){try{e.call(this._context,n)}catch(e){return t.syncErrorValue=e,t.syncErrorThrown=!0,!0}return!1},e.prototype._unsubscribe=function(){var t=this._parent;this._context=null,this._parent=null,t.unsubscribe()},e}(_)},function(t,e,n){"use strict";function i(t){for(var e=[],n=0;n0?1:t<0?-1:0},e.format=function(t,n){if("function"==typeof n)return n(t);if(t===1/0)return"Infinity";if(t===-(1/0))return"-Infinity";if(isNaN(t))return"NaN";var i,s="auto";switch(n&&(n.notation&&(s=n.notation),e.isNumber(n)?i=n:e.isNumber(n.precision)&&(i=n.precision)),s){case"fixed":return e.toFixed(t,i);case"exponential":return e.toExponential(t,i);case"engineering":return e.toEngineering(t,i);case"auto":if(n&&n.exponential&&(void 0!==n.exponential.lower||void 0!==n.exponential.upper)){var o=r.map(n,function(t){return t});return o.exponential=void 0,void 0!==n.exponential.lower&&(o.lowerExp=Math.round(Math.log(n.exponential.lower)/Math.LN10)),void 0!==n.exponential.upper&&(o.upperExp=Math.round(Math.log(n.exponential.upper)/Math.LN10)),console.warn("Deprecation warning: Formatting options exponential.lower and exponential.upper (minimum and maximum value) are replaced with exponential.lowerExp and exponential.upperExp (minimum and maximum exponent) since version 4.0.0. Replace "+JSON.stringify(n)+" with "+JSON.stringify(o)),e.toPrecision(t,i,o)}return e.toPrecision(t,i,n&&n).replace(/((\.\d*?)(0+))($|e)/,function(){var t=arguments[2],e=arguments[4];return"."!==t?t+e:e});default:throw new Error('Unknown notation "'+s+'". Choose "auto", "exponential", or "fixed".')}},e.splitNumber=function(t){var e=String(t).toLowerCase().match(/^0*?(-?)(\d+\.?\d*)(e([+-]?\d+))?$/);if(!e)throw new SyntaxError("Invalid number "+t);var n=e[1],i=e[2],r=parseFloat(e[4]||"0"),s=i.indexOf(".");r+=s!==-1?s-1:i.length-1;var o=i.replace(".","").replace(/^0*/,function(t){return r-=t.length,""}).replace(/0*$/,"").split("").map(function(t){return parseInt(t)});return 0===o.length&&(o.push(0),r++),{sign:n,coefficients:o,exponent:r}},e.toEngineering=function(t,n){if(isNaN(t)||!isFinite(t))return String(t);var i=e.roundDigits(e.splitNumber(t),n),r=i.exponent,s=i.coefficients,o=r%3===0?r:r<0?r-3-r%3:r-r%3;if(e.isNumber(n))for(;n>s.length||r-o+1>s.length;)s.push(0);else for(var a=r>=0?r:Math.abs(o);s.length-10;)l++,_--;var h=s.slice(l).join(""),c=e.isNumber(n)&&h.length||h.match(/[1-9]/)?"."+h:"",u=s.slice(0,l).join("")+c+"e"+(r>=0?"+":"")+o.toString();return i.sign+u},e.toFixed=function(t,n){if(isNaN(t)||!isFinite(t))return String(t);var r=e.splitNumber(t),s="number"==typeof n?e.roundDigits(r,r.exponent+1+n):r,o=s.coefficients,a=s.exponent+1,_=a+(n||0);return o.length<_&&(o=o.concat(i(_-o.length))),a<0&&(o=i(-a+1).concat(o),a=1),a0?"."+o.join(""):"")+"e"+(a>=0?"+":"")+a},e.toPrecision=function(t,n,r){if(isNaN(t)||!isFinite(t))return String(t);var s=r&&void 0!==r.lowerExp?r.lowerExp:-3,o=r&&void 0!==r.upperExp?r.upperExp:5,a=e.splitNumber(t);if(a.exponent=o)return e.toExponential(t,n);var _=n?e.roundDigits(a,n):a,l=_.coefficients,h=_.exponent;l.length0?h:0;return ce){var r=i.splice(e,i.length-e);if(r[0]>=5){var s=e-1;for(i[s]++;10===i[s];)i.pop(),0===s&&(i.unshift(0),n.exponent++,s++),s--,i[s]++}}return n},e.digits=function(t){return t.toExponential().replace(/e.*$/,"").replace(/^0\.?0*|\./,"").length},e.DBL_EPSILON=Number.EPSILON||2.220446049250313e-16,e.nearlyEqual=function(t,n,i){if(null===i||void 0===i)return t===n;if(t===n)return!0;if(isNaN(t)||isNaN(n))return!1;if(isFinite(t)&&isFinite(n)){var r=Math.abs(t-n);return r0&&this.setRole(n),null!==e&&(this._mt=!0)}return a(e,t),Object.defineProperty(e.prototype,"large",{set:function(t){this._attr("_size","large",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"small",{set:function(t){this._attr("_size","small",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"default",{set:function(t){this._attr("_size","default",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outline",{set:function(t){this._attr("_style","outline",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"clear",{set:function(t){this._attr("_style","clear",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"solid",{set:function(t){this._attr("_style","solid",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"round",{set:function(t){this._attr("_shape","round",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"block",{set:function(t){this._attr("_display","block",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"full",{set:function(t){this._attr("_display","full",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._assignCss(!1),this._mode=t,this._assignCss(!0)},enumerable:!0,configurable:!0}),e.prototype._attr=function(t,e,i){"_style"===t&&this._updateColor(this._color,n.i(o.k)(i)),this._setClass(this[t],!1),n.i(o.k)(i)?(this[t]=e,this._setClass(e,!0)):(this[t]="_style"===t?"default":null,this._setClass(this[t],!0))},Object.defineProperty(e.prototype,"color",{set:function(t){this._updateColor(this._color,!1),this._updateColor(t,!0),this._color=t},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this._init=!0,this._assignCss(!0)},e.prototype.setRole=function(t){this._assignCss(!1),this._role=t,this._assignCss(!0)},e.prototype._assignCss=function(t){var e=this._role;e&&(this.setElementClass(e,t),this.setElementClass(e+"-"+this._mode,t),this._setClass("menutoggle",this._mt),this._setClass(this._style,t),this._setClass(this._shape,t),this._setClass(this._display,t),this._setClass(this._size,t),this._updateColor(this._color,t))},e.prototype._setClass=function(t,e){t&&this._init&&(t=t.toLocaleLowerCase(),this.setElementClass(this._role+"-"+t,e),this.setElementClass(this._role+"-"+t+"-"+this._mode,e))},e.prototype._updateColor=function(t,e){if(t&&this._init){var n=this._role,i=this._style;i="bar-button"!==this._role&&"solid"===i?"default":i,n+=null!==i&&""!==i&&"default"!==i?"-"+i.toLowerCase():"",null!==t&&""!==t&&this.setElementClass(n+"-"+this._mode+"-"+t,e)}},e.decorators=[{type:i.Component,args:[{selector:"[ion-button]",template:'
',changeDetection:i.ChangeDetectionStrategy.OnPush,encapsulation:i.ViewEncapsulation.None}]}],e.ctorParameters=[{type:void 0,decorators:[{type:i.Attribute,args:["menuToggle"]}]},{type:void 0,decorators:[{type:i.Attribute,args:["ion-button"]}]},{type:r.c},{type:i.ElementRef},{type:i.Renderer}],e.propDecorators={large:[{type:i.Input}],small:[{type:i.Input}],default:[{type:i.Input}],outline:[{type:i.Input}],clear:[{type:i.Input}],solid:[{type:i.Input}],round:[{type:i.Input}],block:[{type:i.Input}],full:[{type:i.Input}],mode:[{type:i.Input}],color:[{type:i.Input}]},e}(s.a)},function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"a",function(){return s});var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=function(){function t(){}return Object.defineProperty(t.prototype,"elementRef",{get:function(){return null},enumerable:!0,configurable:!0}),t}(),s=function(t){function e(e,n){t.call(this),this._appElement=e,this._viewFactory=n}return i(e,t),e.prototype.createEmbeddedView=function(t){var e=this._viewFactory(this._appElement.parentView.viewUtils,this._appElement.parentInjector,this._appElement);return e.create(t||{},null,null),e.ref},Object.defineProperty(e.prototype,"elementRef",{get:function(){return this._appElement.elementRef},enumerable:!0,configurable:!0}),e}(r)},function(t,e,n){"use strict";var i=n(0),r=n(181),s=n(2),o=n(195),a=n(23);n.d(e,"a",function(){return _});var _=function(){function t(t,e){this._config=t,this._platform=e,this._disTime=0,this._scrollTime=0,this._title="",this._titleSrv=new r.g,this._rootNav=null,this.viewDidLoad=new i.EventEmitter,this.viewWillEnter=new i.EventEmitter,this.viewDidEnter=new i.EventEmitter,this.viewWillLeave=new i.EventEmitter,this.viewDidLeave=new i.EventEmitter,this.viewWillUnload=new i.EventEmitter,e.registerBackButtonAction(this.navPop.bind(this))}return t.prototype.setTitle=function(t){t!==this._title&&(this._title=t,this._titleSrv.setTitle(t))},t.prototype.setElementClass=function(t,e){this._appRoot.setElementClass(t,e)},t.prototype.setEnabled=function(t,e){void 0===e&&(e=700),this._disTime=t?0:Date.now()+e,this._clickBlock&&(t||e<=32?this._clickBlock.activate(!1,0):this._clickBlock.activate(!0,e+l))},t.prototype.setScrollDisabled=function(t){this._config.get("canDisableScroll",!0)&&this._appRoot._disableScroll(t)},t.prototype.isEnabled=function(){return this._disTimeDate.now()},t.prototype.getActiveNav=function(){for(var t,e=this._rootNav||null;e&&(t=e.getActiveChildNav());)e=t;return e},t.prototype.getRootNav=function(){return this._rootNav},t.prototype._setRootNav=function(t){this._rootNav=t},t.prototype.present=function(t,e,n){var i=this._appRoot._getPortal(n);return t._setNav(i),e.keyboardClose=!1,e.direction=o.h,e.animation||(e.animation=t.getTransitionName(o.h)),t.setLeavingOpts({keyboardClose:!1,direction:o.a,animation:t.getTransitionName(o.a),ev:e.ev}),i.insertPages(-1,[t],e)},t.prototype.navPop=function(){function t(e){if(e){if(n.i(o.e)(e)){var i=e.previousTab(!0);if(i)return e.select(i),Promise.resolve()}else if(n.i(o.b)(e)&&e.length()>1)return e.pop();return t(e.parent)}return null}if(this._rootNav&&this.isEnabled()){var e=this._appRoot._getPortal();if(e.length()>0)return e.pop();var i=t(this.getActiveNav());return null===i&&this._config.getBoolean("navExitApp",!0)&&this._platform.exitApp(),i}return Promise.resolve()},t.decorators=[{type:i.Injectable}],t.ctorParameters=[{type:s.c},{type:a.f}],t}(),l=64},function(t,e,n){"use strict";function i(t,e){var n=e.superset();if(n){var i=new _(t,n);i.parent=e.parent,i.child=e,i.parent&&(i.parent.child=i),e.parent=i}}function r(t,e,n,i,r,s,o){var _=new a;return _.setDefault("core"),_.setPlatformConfigs(t),_.setUserAgent(n),_.setQueryParams(e),_.setNavigatorPlatform(i),_.setDir(r,!1),_.setLang(s,!1),_.setZone(o),_.init(),_}var s=n(0),o=n(36);n.d(e,"f",function(){return a}),e.a=r,n.d(e,"b",function(){return l}),n.d(e,"c",function(){return h}),n.d(e,"d",function(){return c}),n.d(e,"e",function(){return u});var a=function(){function t(){var t=this;this._versions={},this._onResizes=[],this._bbActions=[],this._platforms=[],this.backButton=new s.EventEmitter,this.pause=new s.EventEmitter,this.resume=new s.EventEmitter,this._readyPromise=new Promise(function(e){t._readyResolve=e}),this.backButton.subscribe(function(){t.runBackButtonAction()})}return t.prototype.setZone=function(t){this.zone=t},t.prototype.is=function(t){return this._platforms.indexOf(t)>-1},t.prototype.platforms=function(){return this._platforms},t.prototype.versions=function(){return this._versions},t.prototype.version=function(){for(var t in this._versions)if(this._versions[t])return this._versions[t];return{}},t.prototype.ready=function(){return this._readyPromise},t.prototype.triggerReady=function(t){var e=this;this.zone.run(function(){e._readyResolve(t)})},t.prototype.prepareReady=function(){var t=this;n.i(o.e)(function(){t.triggerReady("dom")})},t.prototype.setDir=function(t,e){this._dir=(t||"").toLowerCase(),e!==!1&&document.documentElement.setAttribute("dir",t)},t.prototype.dir=function(){return this._dir},t.prototype.isRTL=function(){return"rtl"===this._dir},t.prototype.setLang=function(t,e){this._lang=t,e!==!1&&document.documentElement.setAttribute("lang",t)},t.prototype.lang=function(){return this._lang},t.prototype.exitApp=function(){},t.prototype.registerBackButtonAction=function(t,e){var n=this;void 0===e&&(e=0);var i={fn:t,priority:e};return this._bbActions.push(i),function(){var t=n._bbActions.indexOf(i);t>-1&&n._bbActions.splice(t,1)}},t.prototype.runBackButtonAction=function(){var t=null;this._bbActions.forEach(function(e){(!t||e.priority>=t.priority)&&(t=e)}),t&&t.fn&&t.fn()},t.prototype.setUserAgent=function(t){this._ua=t},t.prototype.setQueryParams=function(t){this._qp=t},t.prototype.userAgent=function(){return this._ua||""},t.prototype.setNavigatorPlatform=function(t){this._bPlt=t},t.prototype.navigatorPlatform=function(){return this._bPlt||""},t.prototype.width=function(){return n.i(o.d)().width},t.prototype.height=function(){return n.i(o.d)().height},t.prototype.isPortrait=function(){return this.width()-1&&e._onResizes.splice(n,1)}},t.prototype.setPlatformConfigs=function(t){this._registry=t||{}},t.prototype.getPlatformConfig=function(t){return this._registry[t]||{}},t.prototype.registry=function(){return this._registry},t.prototype.setDefault=function(t){this._default=t},t.prototype.testQuery=function(t,e){var n=t.toLowerCase().split(";");return n.indexOf(e)>-1},t.prototype.testNavigatorPlatform=function(t){ var e=new RegExp(t,"i");return e.test(this._bPlt)},t.prototype.matchUserAgentVersion=function(t){if(this._ua&&t){var e=this._ua.match(t);if(e)return{major:e[1],minor:e[2]}}},t.prototype.isPlatformMatch=function(t,e,n){void 0===n&&(n=[]);var i=this._qp.get("ionicplatform");if(i)return this.testQuery(i,t);e=e||[t];for(var r=this._ua.toLowerCase(),s=0;s-1){for(var o=0;o-1)return!1;return!0}return!1},t.prototype.init=function(){var t,e,n;for(var r in this._registry)n=this.matchPlatform(r),n&&(n.isEngine?e=n:(!t||n.depth>t.depth)&&(t=n));if(t||(t=new _(this._registry,this._default)),t){e&&(e.child=t,t.parent=e,t=e);for(var s=t;s;)i(this._registry,s),s=s.child;for(s=t.parent;s;)t=s,s=s.parent;for(s=t;s;)s.initialize(this),this._platforms.push(s.name),this._versions[s.name]=s.version(this),s=s.child}this._platforms.indexOf("mobile")>-1&&this._platforms.indexOf("cordova")===-1&&this._platforms.push("mobileweb")},t.prototype.matchPlatform=function(t){var e=new _(this._registry,t),n=e.getRoot(this);if(n){n.depth=0;for(var i=n.child;i;)n.depth++,i=i.child}return n},t}(),_=function(){function t(t,e){this.registry=t,this.c=t[e],this.name=e,this.isEngine=this.c.isEngine}return t.prototype.settings=function(){return this.c.settings||{}},t.prototype.superset=function(){return this.c.superset},t.prototype.isMatch=function(t){return this.c.isMatch&&this.c.isMatch(t)||!1},t.prototype.initialize=function(t){this.c.initialize&&this.c.initialize(t)},t.prototype.version=function(t){if(this.c.versionParser){var e=this.c.versionParser(t);if(e){var n=e.major+"."+e.minor;return{str:n,num:parseFloat(n),major:parseInt(e.major,10),minor:parseInt(e.minor,10)}}}},t.prototype.getRoot=function(e){if(this.isMatch(e)){var n=this.getSubsetParents(this.name);if(!n.length)return this;for(var i=null,r=null,s=0;s-1&&e.push(i);return e},t}(),l=new s.OpaqueToken("USERAGENT"),h=new s.OpaqueToken("NAVPLT"),c=new s.OpaqueToken("DOCDIR"),u=new s.OpaqueToken("DOCLANG")},function(t,e,n){"use strict";(function(t){function i(t){Zone.current.scheduleMicroTask("scheduleMicrotask",t)}function r(t){return t.name?t.name:typeof t}function s(t){return void 0!==t&&null!==t}function o(t){return void 0===t||null===t}function a(t){return"string"==typeof t}function _(t){return"function"==typeof t}function l(t){return s(t)&&_(t.then)}function h(t){return Array.isArray(t)}function c(t){if("string"==typeof t)return t;if(void 0===t||null===t)return""+t;if(t.overriddenName)return t.overriddenName;if(t.name)return t.name;var e=t.toString(),n=e.indexOf("\n");return n===-1?e:e.substring(0,n)}function u(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function p(t){return t}function d(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function f(t){console.log(t)}function m(t){console.warn(t)}function g(){if(o(E))if(s(x.Symbol)&&s(Symbol.iterator))E=Symbol.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),e=0;e=0&&t[i]==e;i--)n--;t=t.substring(0,n)}return t},t.replace=function(t,e,n){return t.replace(e,n)},t.replaceAll=function(t,e,n){return t.replace(e,n)},t.slice=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=null),t.slice(e,null===n?void 0:n)},t.replaceAllMapped=function(t,e,n){return t.replace(e,function(){for(var t=[],e=0;ee?1:0},t}()),E=(function(){function t(t){void 0===t&&(t=[]),this.parts=t}return t.prototype.add=function(t){this.parts.push(t)},t.prototype.toString=function(){return this.parts.join("")},t}(),function(){function t(){}return t.toFixed=function(t,e){return t.toFixed(e)},t.equal=function(t,e){return t===e},t.parseIntAutoRadix=function(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e},t.parseInt=function(t,e){if(10==e){if(/^(\-|\+)?[0-9]+$/.test(t))return parseInt(t,e)}else if(16==e){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(t))return parseInt(t,e)}else{var n=parseInt(t,e);if(!isNaN(n))return n}throw new Error("Invalid integer literal when parsing "+t+" in base "+e)},Object.defineProperty(t,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),t.isNumeric=function(t){return!isNaN(t-parseFloat(t))},t.isNaN=function(t){return isNaN(t)},t.isInteger=function(t){return Number.isInteger(t)},t}(),y.RegExp,function(){function t(){}return t.apply=function(t,e){return t.apply(null,e)},t.bind=function(t,e){return t.bind(e)},t}(),function(){function t(){}return t.parse=function(t){return y.JSON.parse(t)},t.stringify=function(t){return y.JSON.stringify(t,null,2)},t}(),function(){function t(){}return t.create=function(t,e,n,i,r,s,o){return void 0===e&&(e=1),void 0===n&&(n=1),void 0===i&&(i=0),void 0===r&&(r=0),void 0===s&&(s=0),void 0===o&&(o=0),new w(t,e-1,n,i,r,s,o)},t.fromISOString=function(t){return new w(t)},t.fromMillis=function(t){return new w(t)},t.toMillis=function(t){return t.getTime()},t.now=function(){return new w},t.toJson=function(t){return t.toJSON()},t}(),null)}).call(e,n(135))},function(t,e,n){"use strict";function i(t,e,n){return null===m&&(m=t.createRenderComponentType("",0,p.c.None,[],{})),new g(t,e,n)}function r(t,e,n){return null===x&&(x=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/node_modules/ionic-angular/components/button/button.d.ts class Button - inline template",1,p.c.None,v,{})),new y(t,e,n)}var s=n(10),o=n(6),a=n(20),_=n(11),l=n(5),h=n(4),c=n(2),u=n(14),p=n(8),d=n(7);e.a=r;var f=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},m=null,g=function(t){function e(n,i,r){t.call(this,e,m,l.a.HOST,n,i,r,h.b.CheckAlways)}return f(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("div",t,null),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new o.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._Button_0_4=new a.a(null,"",this.parentInjector.get(c.c),new u.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),e.create(this._Button_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===a.a&&0===e?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e}(s.a),v=(new d.a("[ion-button]",i,a.a),[]),x=null,y=function(t){function e(n,i,r){t.call(this,e,x,l.a.COMPONENT,n,i,r,h.b.CheckOnce)}return f(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._el_0=this.renderer.createElement(e,"span",null),this.renderer.setElementAttribute(this._el_0,"class","button-inner"),this.renderer.projectNodes(this._el_0,_.d(this.projectableNodes[0])),this._el_1=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_1,"class","button-effect"),this.init([],[this._el_0,this._el_1],[],[]),null},e}(s.a)},function(t,e,n){"use strict";var i=n(871);e.symbols={Alpha:"A",alpha:"\\alpha",Beta:"B",beta:"\\beta",Gamma:"\\Gamma",gamma:"\\gamma",Delta:"\\Delta",delta:"\\delta",Epsilon:"E",epsilon:"\\epsilon",varepsilon:"\\varepsilon",Zeta:"Z",zeta:"\\zeta",Eta:"H",eta:"\\eta",Theta:"\\Theta",theta:"\\theta",vartheta:"\\vartheta",Iota:"I",iota:"\\iota",Kappa:"K",kappa:"\\kappa",varkappa:"\\varkappa",Lambda:"\\Lambda",lambda:"\\lambda",Mu:"M",mu:"\\mu",Nu:"N",nu:"\\nu",Xi:"\\Xi",xi:"\\xi",Omicron:"O",omicron:"o",Pi:"\\Pi",pi:"\\pi",varpi:"\\varpi",Rho:"P",rho:"\\rho",varrho:"\\varrho",Sigma:"\\Sigma",sigma:"\\sigma",varsigma:"\\varsigma",Tau:"T",tau:"\\tau",Upsilon:"\\Upsilon",upsilon:"\\upsilon",Phi:"\\Phi",phi:"\\phi",varphi:"\\varphi",Chi:"X",chi:"\\chi",Psi:"\\Psi",psi:"\\psi",Omega:"\\Omega",omega:"\\omega",true:"\\mathrm{True}",false:"\\mathrm{False}",i:"i",inf:"\\infty",Inf:"\\infty",infinity:"\\infty",Infinity:"\\infty",oo:"\\infty",lim:"\\lim",undefined:"\\mathbf{?}"},e.operators={transpose:"^\\top",ctranspose:"^H",factorial:"!",pow:"^",dotPow:".^\\wedge",unaryPlus:"+",unaryMinus:"-",bitNot:"\\~",not:"\\neg",multiply:"\\cdot",divide:"\\frac",dotMultiply:".\\cdot",dotDivide:".:",mod:"\\mod",add:"+",subtract:"-",to:"\\rightarrow",leftShift:"<<",rightArithShift:">>",rightLogShift:">>>",equal:"=",unequal:"\\neq",smaller:"<",larger:">",smallerEq:"\\leq",largerEq:"\\geq",bitAnd:"\\&",bitXor:"\\underline{|}",bitOr:"|",and:"\\wedge",xor:"\\veebar",or:"\\vee"},e.defaultTemplate="\\mathrm{${name}}\\left(${args}\\right)";var r={deg:"^\\circ"};e.escape=function(t){return i(t,{preserveFormatting:!0})},e.toSymbol=function(t,n){return n="undefined"!=typeof n&&n,n?r.hasOwnProperty(t)?r[t]:"\\mathrm{"+e.escape(t)+"}":e.symbols.hasOwnProperty(t)?e.symbols[t]:e.escape(t)}},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t){void 0===t&&(t={}),this.data=t}return t.prototype.get=function(t){return this.data[t]},t}()},function(t,e,n){"use strict";var i=n(0);n.d(e,"a",function(){return o});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},o=function(){function t(){console.log("tooltip service constructor")}return t.prototype.getTooltip=function(t){return waveformsLiveDictionary.getMessage(t)},t=r([n.i(i.Injectable)(),s("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n(18),s=function(t){function e(){t.apply(this,arguments)}return i(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}(r.Subscriber);e.OuterSubscriber=s},function(t,e,n){"use strict";function i(t,e,n,i){var c=new l.InnerSubscriber(t,n,i);if(c.closed)return null;if(e instanceof a.Observable)return e._isScalar?(c.next(e.value),c.complete(),null):e.subscribe(c);if(s.isArray(e)){for(var u=0,p=e.length;u=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},_=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},l=function(){function t(t,e,n){var i=this;this.platform=n,this.logArguments=[],this.logLength=50,this.nestedChannels=!1,this.routeToStore=!0,this.drawLaOnTimeline=!1,this.wflVersion="1.4.10",this.useDevBuilds=!1,this.androidAppLink="market://details?id=com.digilent.waveformslive",this.iosAppLink="https://itunes.apple.com/us/app/waveforms-live/id1244242035",this.isMobile=!1,this.profileToken="profile.",this.selectedLogProfiles={},this.knownFirmwareUrls={openscopeMz:{prettyName:"OpenScope MZ",listUrl:"https://s3-us-west-2.amazonaws.com/digilent?prefix=Software/OpenScope+MZ/release/firmware/without-bootloader",devListUrl:"https://s3-us-west-2.amazonaws.com/digilent?prefix=Software/OpenScope+MZ/development/firmware/without-bootloader",firmwareUrl:"https://s3-us-west-2.amazonaws.com/digilent/Software/OpenScope+MZ/release/firmware/without-bootloader",devFirmwareUrl:"https://s3-us-west-2.amazonaws.com/digilent/Software/OpenScope+MZ/development/firmware/without-bootloader"},openloggerMz:{prettyName:"OpenLogger MZ",listUrl:"https://s3-us-west-2.amazonaws.com/digilent?prefix=Software/OpenLogger+MZ/release/firmware/without-bootloader",devListUrl:"https://s3-us-west-2.amazonaws.com/digilent?prefix=Software/OpenLogger+MZ/development/firmware/without-bootloader",firmwareUrl:"https://s3-us-west-2.amazonaws.com/digilent/Software/OpenLogger+MZ/release/firmware/without-bootloader",devFirmwareUrl:"https://s3-us-west-2.amazonaws.com/digilent/Software/OpenLogger+MZ/development/firmware/without-bootloader"}},this.loggerBufferSize=5,console.log("settings service constructor"),window.addEventListener("beforeunload",function(t){i.storageService.saveData("appLog",JSON.stringify({log:i.logArguments})).catch(function(t){console.warn(t)})}),this.storageService=t,this.deviceManagerService=e,this.defaultConsoleLog=window.console.log,this.storageService.getData("routeToStore").then(function(t){null!=t&&(i.routeToStore=JSON.parse(t))}),this.storageService.getData("useDevBuilds").then(function(t){void 0!=t&&(i.useDevBuilds=JSON.parse(t))}),this.storageService.getData("appLog").then(function(t){if(void 0!=t){var e=JSON.parse(t);i.logArguments=e.log}}),this.storageService.getData("httpTimeout").then(function(t){if(console.log(t),void 0!=t){var e=JSON.parse(t);i.deviceManagerService.setHttpTimeout(e.timeout)}}),this.storageService.getData("loggerBufferSize").then(function(t){i.loggerBufferSize=parseFloat(t)||i.loggerBufferSize}),(this.platform.is("ios")||this.platform.is("android")||this.platform.is("mobileweb"))&&(this.isMobile=!0),this.storageService.getData("selectedLogProfiles").then(function(t){void 0!=t&&(i.selectedLogProfiles=JSON.parse(t))}),this.storageService.getData("selectedConsoleLog").then(function(t){i.changeConsoleLog(t||"None",!1)})}return t.prototype.setRouteToStore=function(t){this.routeToStore=t,this.storageService.saveData("routeToStore",JSON.stringify(this.routeToStore)).catch(function(t){console.warn(t)})},t.prototype.setUseDevBuilds=function(t){this.useDevBuilds=t,this.storageService.saveData("useDevBuilds",JSON.stringify(this.useDevBuilds)).catch(function(t){console.warn(t)})},t.prototype.getRouteToStore=function(){return this.routeToStore},t.prototype.setNestedChannels=function(t){this.nestedChannels=t},t.prototype.getActiveDeviceInfo=function(){if(!(this.deviceManagerService.devices.length<1||void 0==this.deviceManagerService.activeDeviceIndex)){var t=this.deviceManagerService.devices[this.deviceManagerService.activeDeviceIndex],e=[t.firmwareVersion.major.toString(),t.firmwareVersion.minor.toString(),t.firmwareVersion.patch.toString()];return{deviceMake:t.deviceMake,deviceModel:t.deviceModel,firmwareVersion:e.join("."),rootUri:t.rootUri}}},t.prototype.changeConsoleLog=function(t,e){void 0===e&&(e=!0),"Console"===t?window.console.log=this.defaultConsoleLog:"Local Storage"===t?window.console.log=this.localStorageLog.bind(this):"Both"===t?window.console.log=this.bothLog.bind(this):"None"===t&&(window.console.log=this.log),e===!0&&this.storageService.saveData("selectedConsoleLog",t)},t.prototype.log=function(){},t.prototype.localStorageLog=function(t){for(var e=function(t){var e=n[t];if("object"==typeof e){var r=new Set;e=JSON.stringify(e,function(t,e){if("object"==typeof e&&null!==e){if(r.has(e))try{return JSON.parse(JSON.stringify(e))}catch(t){return"[object]"}r.add(e)}return e})}i.logArguments.push(e)},n=arguments,i=this,r=0;rthis.logLength&&(this.logArguments=this.logArguments.slice(s-this.logLength))},t.prototype.pushLogToLocalStorage=function(){},t.prototype.bothLog=function(){if(this.localStorageLog(arguments),this.defaultConsoleLog.apply)this.defaultConsoleLog.apply(window.console,arguments);else{var t=Array.prototype.slice.apply(arguments).join(" ");this.defaultConsoleLog(t)}},t.prototype.exportLogFile=function(){var t="WaveFormsLiveLogs.txt",e="data:text/csv;charset=utf-8,";if(0===this.logArguments.length)e+="No Logs Found\n";else for(var n=0;nt*t}function h(t){return!(!t||document.activeElement!==t)}function c(t){return h(t)&&t.parentElement.querySelector(":focus")===t}function u(t){return!!t&&("TEXTAREA"===t.tagName||"true"===t.contentEditable||"INPUT"===t.tagName&&!/^(radio|checkbox|range|file|submit|reset|color|image|button)$/i.test(t.type))}function p(){var t=document.activeElement;return!!u(t)&&t.parentElement.querySelector(":focus")===t}function d(t,e){for(var n=t.attributes,i=0;i-1;T.transitionDuration=(n?"-webkit-":"")+"transition-duration",T.transitionTimingFn=(n?"-webkit-":"")+"transition-timing-function",T.transitionDelay=(n?"-webkit-":"")+"transition-delay",T.transitionEnd=(n?"webkitTransitionEnd ":"")+"transitionend",T.transformOrigin=(n?"-webkit-":"")+"transform-origin",T.animationDelay=n?"webkitAnimationDelay":"animationDelay"}();var A=/^(value|checked|disabled|type|class|style|id|autofocus|autocomplete|autocorrect)$/i,I={}},function(t,e,n){"use strict";var i=n(117),r=n(69),s=n(24);n.d(e,"a",function(){return o});var o=function(){function t(t){this.factories=t}return t.create=function(e,i){if(n.i(s.e)(i)){var o=r.a.clone(i.factories);return e=e.concat(o),new t(e)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(i){if(n.i(s.h)(i))throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,i)},deps:[[t,new i.h,new i.f]]}},t.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(n.i(s.e)(e))return e;throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+n.i(s.q)(t)+"'")},t}()},function(t,e,n){"use strict";var i=n(0),r=n(15);n.d(e,"a",function(){return a});var s=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},a=function(){function t(t){console.log("toast service constructor"),this.toastCtrl=t}return t.prototype.createToast=function(t,e,n,i){var r=this;return new Promise(function(s,o){e=e||!1,n=n||"",i=void 0==i?3e3:i;var a=r.getMessage(t);if(a.statusCode>0)return void o(a);var _=r.toastCtrl.create({message:a.message+n,showCloseButton:e,duration:i,position:"bottom"});_.present(),s(a)})},t.prototype.getMessage=function(t){return waveformsLiveDictionary.getMessage(t)},t=s([n.i(i.Injectable)(),o("design:paramtypes",["function"==typeof(e="undefined"!=typeof r.l&&r.l)&&e||Object])],t);var e}()},function(t,e,n){"use strict";var i=n(0);n.d(e,"a",function(){return r});var r=function(){function t(){this._focused=null,this._ids=-1,this._inputs=[]}return t.prototype.register=function(t){this._inputs.push(t)},t.prototype.deregister=function(t){var e=this._inputs.indexOf(t);e>-1&&this._inputs.splice(e,1),t===this._focused&&(this._focused=null)},t.prototype.focusOut=function(){var t=document.activeElement;t&&t.blur&&t.blur()},t.prototype.setAsFocused=function(t){this._focused=t},t.prototype.tabFocus=function(t){var e=this._inputs.indexOf(t);if(e>-1&&e+10){var i=this._inputs[e-1];i&&i.initFocus()}},t.prototype.nextId=function(){return++this._ids},t.decorators=[{type:i.Injectable}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";function i(t,e,n,i){function s(t,e,n,i,r,o,a){var _=[];if(e===n.length-1)for(var l=0;l0?s(u,0,h,h[0],l,e,a):[];return new o({data:p,size:r(h),datatype:_})};return a}var r=n(32).clone;e.name="algorithm14",e.factory=i},function(t,e,n){"use strict";var i=n(0);n.d(e,"a",function(){return r});var r=new i.OpaqueToken("NgValueAccessor")},function(t,e,n){"use strict";var i=n(36);n.d(e,"a",function(){return r});var r=function(){function t(t,e,n){ this._config=t,this._elementRef=e,this._renderer=n}return t.prototype.setElementClass=function(t,e){this._renderer.setElementClass(this._elementRef.nativeElement,t,e)},t.prototype.setElementAttribute=function(t,e){this._renderer.setElementAttribute(this._elementRef.nativeElement,t,e)},t.prototype.setElementStyle=function(t,e){this._renderer.setElementStyle(this._elementRef.nativeElement,t,e)},t.prototype._setColor=function(t,e){this._color&&this.setElementClass(t+"-"+this._mode+"-"+this._color,!1),e&&(this.setElementClass(t+"-"+this._mode+"-"+e,!0),this._color=e)},t.prototype._setMode=function(t,e){this._mode&&this.setElementClass(t+"-"+this._mode,!1),e&&(this.setElementClass(t+"-"+e,!0),this._setColor(t,null),this._mode=e,this._setColor(t,this._color))},t.prototype.getElementRef=function(){return this._elementRef},t.prototype.getNativeElement=function(){return this._elementRef.nativeElement},t.prototype.getDimensions=function(){return n.i(i.a)(this.getNativeElement(),this._getId())},t.prototype.width=function(){return n.i(i.a)(this.getNativeElement(),this._getId()).width},t.prototype.height=function(){return n.i(i.a)(this.getNativeElement(),this._getId()).height},t.prototype.destroy=function(){n.i(i.b)(this._ionId)},t.prototype._getId=function(){return this._ionId||(this._ionId="i"+s++),this._ionId},t}(),s=0},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=n(1),s=(n.n(r),n(54)),o=(n.n(s),n(841)),a=n(100);n.d(e,"DeviceManagerService",function(){return _});var _=function(){function t(){this.devices=[],this.httpTimeout=5e3,this.transport=new a.a(null,this.httpTimeout)}return t.prototype.setHttpTimeout=function(t){this.httpTimeout=t,this.transport.setHttpTimeout(t);for(var e=0;ea?-1:r<_?1:r>_?-1:sl?-1:0}),t[0]},t.prototype.getLatestFirmwareVersionFromUrl=function(t){var e=this;return new Promise(function(n,i){e.getFirmwareVersionsFromUrl(t).then(function(t){n(e.getLatestFirmwareVersionFromArray(t))}).catch(function(t){i(t)})})},t.prototype.getFirmwareVersionsFromUrl=function(t){var e=this;return this.transport.setHttpTransport(this.transport.getUri()),new Promise(function(n,i){e.transport.getRequest(t).subscribe(function(t){t.indexOf("xml")===-1&&i("Error"),n(e.xmlToJson(t))},function(t){i(t)},function(){})})},t.decorators=[{type:i.Injectable}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";var i=n(0),r=n(20),s=n(2),o=n(39),a=n(193),_=n(42),l=n(111);n.d(e,"a",function(){return c}),n.d(e,"b",function(){return u}),n.d(e,"c",function(){return p});var h=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},c=function(t){function e(e,n,i,r){t.call(this,n,i,r),this._ids=-1,this._inputs=[],this._viewLabel=!0,this.labelId=null,this.mode=n.get("mode"),this.id=e.nextId().toString()}return h(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._updateColor(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("item",t)},enumerable:!0,configurable:!0}),e.prototype.registerInput=function(t){return this._inputs.push(t),this.id+"-"+ ++this._ids},e.prototype.ngAfterContentInit=function(){if(this._viewLabel&&this._inputs.length){var t=this.getLabelText().trim();this._viewLabel=t.length>0}this._inputs.length>1&&this.setElementClass("item-multiple-inputs",!0)},e.prototype._updateColor=function(t,e){e=e||"item",this._setColor(e,t)},e.prototype.getLabelText=function(){return this._label?this._label.text:""},Object.defineProperty(e.prototype,"contentLabel",{set:function(t){t&&(this._label=t,this.labelId=t.id="lbl-"+this.id,t.type&&this.setElementClass("item-label-"+t.type,!0),this._viewLabel=!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"viewLabel",{set:function(t){this._label||(this._label=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_buttons",{set:function(t){t.forEach(function(t){t._size||t.setElementClass("item-button",!0)})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_icons",{set:function(t){t.forEach(function(t){t.setElementClass("item-icon",!0)})},enumerable:!0,configurable:!0}),e.decorators=[{type:i.Component,args:[{selector:"ion-list-header,ion-item,[ion-item],ion-item-divider",template:'
',host:{class:"item"},changeDetection:i.ChangeDetectionStrategy.OnPush,encapsulation:i.ViewEncapsulation.None}]}],e.ctorParameters=[{type:o.a},{type:s.c},{type:i.ElementRef},{type:i.Renderer}],e.propDecorators={color:[{type:i.Input}],mode:[{type:i.Input}],contentLabel:[{type:i.ContentChild,args:[l.a]}],viewLabel:[{type:i.ViewChild,args:[l.a]}],_buttons:[{type:i.ContentChildren,args:[r.a]}],_icons:[{type:i.ContentChildren,args:[a.a]}]},e}(_.a),u=function(){function t(){}return t.decorators=[{type:i.Directive,args:[{selector:"ion-item,[ion-item]",host:{class:"item-block"}}]}],t.ctorParameters=[],t}(),p=function(){function t(){}return t.decorators=[{type:i.Directive,args:[{selector:"ion-item-group"}]}],t.ctorParameters=[],t}()},function(t,e,n){e.DeviceManagerService=n(43).DeviceManagerService},function(t,e,n){"use strict";function i(t){return t.indexOf("px")>0?parseInt(t,10):0}function r(t){return t>0?t+"px":""}var s=n(0),o=n(22),a=n(42),_=n(2),l=n(49),h=n(36),c=n(531),u=n(67),p=n(13),d=n(17);n.d(e,"a",function(){return m});var f=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},m=function(t){function e(e,n,i,r,s,o,a,_){t.call(this,e,n,i),this._app=r,this._keyboard=s,this._zone=o,this._tabs=_,this._inputPolling=!1,this._mode=e.get("mode"),this._setMode("content",this._mode),this._sbPadding=e.getBoolean("statusbarPadding",!1),a&&(a._setContent(this),a._setContentRef(n))}return f(e,t),e.prototype.ngOnInit=function(){var t=this;this._fixedEle=this._elementRef.nativeElement.children[0],this._scrollEle=this._elementRef.nativeElement.children[1],this._zone.runOutsideAngular(function(){t._scroll=new c.a(t._scrollEle),t._scLsn=t.addScrollListener(t._app.setScrolling)})},e.prototype.ngOnDestroy=function(){this._scLsn&&this._scLsn(),this._scroll&&this._scroll.destroy(),this._scrollEle=this._footerEle=this._scLsn=this._scroll=null},e.prototype.addScrollListener=function(t){return this._addListener("scroll",t)},e.prototype.addTouchStartListener=function(t){return this._addListener("touchstart",t)},e.prototype.addTouchMoveListener=function(t){return this._addListener("touchmove",t)},e.prototype.addTouchEndListener=function(t){return this._addListener("touchend",t)},e.prototype.addMouseDownListener=function(t){return this._addListener("mousedown",t)},e.prototype.addMouseUpListener=function(t){return this._addListener("mouseup",t)},e.prototype.addMouseMoveListener=function(t){return this._addListener("mousemove",t)},e.prototype._addListener=function(t,e){var n=this;if(this._scrollEle)return this._scrollEle.removeEventListener(t,e),this._scrollEle.addEventListener(t,e),function(){n._scrollEle&&n._scrollEle.removeEventListener(t,e)}},e.prototype.getScrollElement=function(){return this._scrollEle},e.prototype.onScrollEnd=function(t){function e(){var o=s.scrollTop;return null!==i&&(Math.round(i)===Math.round(o)?r++:r=0,r>9)?t():(i=o,void n.i(h.l)(function(){n.i(h.l)(e)}))}var i=null,r=0,s=this._scrollEle;n.i(h.j)(e,100)},e.prototype.onScrollElementTransitionEnd=function(t){n.i(h.n)(this._scrollEle,t)},e.prototype.scrollTo=function(t,e,n){return void 0===n&&(n=300),this._scroll.scrollTo(t,e,n)},e.prototype.scrollToTop=function(t){return void 0===t&&(t=300),this._scroll.scrollToTop(t)},e.prototype.getScrollTop=function(){return this._scroll.getTop()},e.prototype.setScrollTop=function(t){this._scroll.setTop(t)},e.prototype.scrollToBottom=function(t){return void 0===t&&(t=300),this._scroll.scrollToBottom(t)},e.prototype.jsScroll=function(t){return this._scroll.jsScroll(t)},Object.defineProperty(e.prototype,"fullscreen",{get:function(){return!!this._fullscreen},set:function(t){this._fullscreen=n.i(d.k)(t)},enumerable:!0,configurable:!0}),e.prototype.setScrollElementStyle=function(t,e){this._scrollEle.style[t]=e},e.prototype.getContentDimensions=function(){var t=this._scrollEle,e=t.parentElement;return{contentHeight:e.offsetHeight,contentTop:e.offsetTop,contentBottom:e.offsetTop+e.offsetHeight,contentWidth:e.offsetWidth,contentLeft:e.offsetLeft,contentRight:e.offsetLeft+e.offsetWidth,scrollHeight:t.scrollHeight,scrollTop:t.scrollTop,scrollBottom:t.scrollTop+t.scrollHeight,scrollWidth:t.scrollWidth,scrollLeft:t.scrollLeft,scrollRight:t.scrollLeft+t.scrollWidth}},e.prototype.addScrollPadding=function(t){t>this._scrollPadding&&(this._scrollPadding=t,this._scrollEle.style.paddingBottom=t+"px")},e.prototype.clearScrollPaddingFocusOut=function(){var t=this;this._inputPolling||(this._inputPolling=!0,this._keyboard.onClose(function(){t._scrollPadding=0,t._scrollEle.style.paddingBottom=t._paddingBottom>0?t._paddingBottom+"px":"",t._inputPolling=!1,t.addScrollPadding(0)},200,1/0))},e.prototype.resize=function(){var t=this;n.i(h.l)(function(){t.readDimensions(),t.writeDimensions()})},e.prototype.readDimensions=function(){this._paddingTop=0,this._paddingRight=0,this._paddingBottom=0,this._paddingLeft=0,this._headerHeight=0,this._footerHeight=0,this._tabsPlacement=null;var t=this._elementRef.nativeElement;if(t){for(var e,n=t.parentElement,r=0;r0&&this._footerEle&&(this._footerEle.style.bottom=r(i-this._footerHeight)));var s="marginTop",o="marginBottom",a=n,_=i;this._fullscreen&&(n+=this._paddingTop,i+=this._paddingBottom,s="paddingTop",o="paddingBottom"),n!==this.contentTop&&(t.style[s]=r(n),e.style.marginTop=r(a),this.contentTop=n),i!==this.contentBottom&&(t.style[o]=r(i),e.style.marginBottom=r(_),this.contentBottom=i),null!==this._tabsPlacement&&this._tabs&&("top"===this._tabsPlacement?this._tabs.setTabbarPosition(this._headerHeight,-1):this._tabs.setTabbarPosition(-1,0))}}},e.decorators=[{type:s.Component,args:[{selector:"ion-content",template:'
',host:{"[class.statusbar-padding]":"_sbPadding"},changeDetection:s.ChangeDetectionStrategy.OnPush,encapsulation:s.ViewEncapsulation.None}]}],e.ctorParameters=[{type:_.c},{type:s.ElementRef},{type:s.Renderer},{type:o.a},{type:l.a},{type:s.NgZone},{type:p.a,decorators:[{type:s.Optional}]},{type:u.a,decorators:[{type:s.Optional}]}],e.propDecorators={fullscreen:[{type:s.Input}]},e}(a.a)},function(t,e,n){"use strict";var i=n(0),r=n(22),s=n(17),o=n(300),a=n(13);n.d(e,"a",function(){return h});var _=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=function(t){function e(e,i,r,a){void 0===r&&(r={}),void 0===a&&(a={}),a.showBackdrop=!n.i(s.a)(a.showBackdrop)||!!a.showBackdrop,a.enableBackdropDismiss=!n.i(s.a)(a.enableBackdropDismiss)||!!a.enableBackdropDismiss,r.component=i,r.opts=a,t.call(this,o.a,r,null),this._app=e,this.isOverlay=!0}return _(e,t),e.prototype.getTransitionName=function(t){var e="back"===t?"popoverLeave":"popoverEnter";return this._nav&&this._nav.config.get(e)},e.prototype.present=function(t){return void 0===t&&(t={}),this._app.present(this,t)},e}(a.a),h=function(){function t(t){this._app=t}return t.prototype.create=function(t,e,n){return void 0===e&&(e={}),void 0===n&&(n={}),new l(this._app,t,e,n)},t.decorators=[{type:i.Injectable}],t.ctorParameters=[{type:r.a}],t}()},function(t,e,n){"use strict";var i=n(0),r=n(22);n.d(e,"a",function(){return s});var s=function(){function t(t){this._app=t,this.id=1,this.requestedStart={},this.disabledGestures={},this.disabledScroll=new Set,this.capturedID=null}return t.prototype.create=function(t,e){return void 0===e&&(e={}),new o(t,this.newID(),this,e)},t.prototype.newID=function(){var t=this.id;return this.id++,t},t.prototype.start=function(t,e,n){return this.canStart(t)?(this.requestedStart[e]=n,!0):(delete this.requestedStart[e],!1)},t.prototype.capture=function(t,e,n){if(!this.start(t,e,n))return!1;var i=this.requestedStart,r=-1e4;for(var s in i)r=Math.max(r,i[s]);return r===n?(this.capturedID=e,this.requestedStart={},!0):(delete i[e],!1)},t.prototype.release=function(t){delete this.requestedStart[t],this.capturedID&&t===this.capturedID&&(this.capturedID=null)},t.prototype.disableGesture=function(t,e){var n=this.disabledGestures[t];n||(n=new Set,this.disabledGestures[t]=n),n.add(e)},t.prototype.enableGesture=function(t,e){var n=this.disabledGestures[t];n&&n.delete(e)},t.prototype.disableScroll=function(t){var e=!this.isScrollDisabled();this.disabledScroll.add(t),this._app&&e&&this.isScrollDisabled()&&this._app.setScrollDisabled(!0)},t.prototype.enableScroll=function(t){var e=this.isScrollDisabled();this.disabledScroll.delete(t),this._app&&e&&!this.isScrollDisabled()&&this._app.setScrollDisabled(!1)},t.prototype.canStart=function(t){return!this.capturedID&&!this.isDisabled(t)},t.prototype.isCaptured=function(){return!!this.capturedID},t.prototype.isScrollDisabled=function(){return this.disabledScroll.size>0},t.prototype.isDisabled=function(t){var e=this.disabledGestures[t];return!!(e&&e.size>0)},t.decorators=[{type:i.Injectable}],t.ctorParameters=[{type:r.a,decorators:[{type:i.Inject,args:[n.i(i.forwardRef)(function(){return r.a})]}]}],t}(),o=function(){function t(t,e,n,i){this.name=t,this.id=e,this.controller=n,this.priority=0,this.disable=i.disable||[],this.disableScroll=i.disableScroll||0,this.priority=i.priority||0;for(var r=0,s=this.disable;ri?n.i(o.q)(30,function(){t()}):n.i(o.j)(r,e),a++}void 0===e&&(e=l),void 0===i&&(i=h);var s=this,a=0,_=null;return t||(_=new Promise(function(e){t=e})),n.i(o.j)(r,e),_},t.prototype.close=function(){var t=this;n.i(o.l)(function(){n.i(o.t)()&&t._form.focusOut()})},t.prototype.focusOutline=function(t,e){function i(){n.i(o.l)(function(){e.body.classList[h?"add":"remove"]("focus-outline")})}function r(t){h||t.keyCode!==a.a.TAB||(h=!0,_())}function s(){h=!1,_()}function _(){i(),l._zone.runOutsideAngular(function(){e.removeEventListener("mousedown",s),e.removeEventListener("touchstart",s),h&&(e.addEventListener("mousedown",s),e.addEventListener("touchstart",s))})}var l=this,h=!1;return t===!0?(h=!0,i()):void(t!==!1&&e.addEventListener("keydown",r))},t.decorators=[{type:i.Injectable}],t.ctorParameters=[{type:r.c},{type:s.a},{type:i.NgZone}],t}(),l=150,h=100},function(t,e,n){"use strict";function i(t,e,n,i){function s(t,e,n,i,r,o){var a=[];if(e===n.length-1)for(var _=0;_0?s(m,0,p,p[0],a,h):[];return new o({data:g,size:p,datatype:f})};return a}var r=n(75);e.name="algorithm13",e.factory=i},function(t,e,n){"use strict";var i=n(108),r=n(24);n.d(e,"a",function(){return _}),n.d(e,"b",function(){return l});var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(e){t.call(this,"No component factory found for "+n.i(r.a)(e)),this.component=e}return s(e,t),e}(i.b),a=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw new o(t)},t}(),_=function(){function t(){}return t.NULL=new a,t}(),l=function(){function t(t,e){this._parent=e,this._factories=new Map;for(var n=0;n=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},a=function(){function t(t){this.saveLoadEventEmitter=new r.EventEmitter,this.storage=t,console.log("storage constructor")}return t.prototype.getData=function(t){return this.storage.get(t)},t.prototype.saveData=function(t,e){return this.storage.set(t,e)},t.prototype.removeDataByKey=function(t){return this.storage.remove(t)},t.prototype.clearAll=function(){return this.storage.clear()},t.prototype.saveSettings=function(){console.log("in storage service about to emit"),this.saveLoadEventEmitter.next("save"),console.log("emitted from storage service with .next")},t.prototype.loadSettings=function(){console.log("in storage service about to emit"),this.saveLoadEventEmitter.next("load"),console.log("emitted from storage service with .next")},t=s([n.i(r.Injectable)(),o("design:paramtypes",["function"==typeof(e="undefined"!=typeof i.Storage&&i.Storage)&&e||Object])],t);var e}()},function(t,e,n){"use strict";var i=n(0),r=n(96),s=n(41);n.d(e,"a",function(){return a});var o={provide:s.a,useExisting:n.i(i.forwardRef)(function(){return a}),multi:!0},a=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){var e=n.i(r.a)(t)?"":t;this._renderer.setElementProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setElementProperty(this._elementRef.nativeElement,"disabled",t)},t.decorators=[{type:i.Directive,args:[{selector:"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]",host:{"(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[o]}]}],t.ctorParameters=[{type:i.Renderer},{type:i.ElementRef}],t}()},function(t,e,n){"use strict";var i=n(0),r=n(96),s=n(137),o=n(53);n.d(e,"a",function(){return h}),n.d(e,"b",function(){return c});var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},_=function(){function t(t){this._cd=t}return Object.defineProperty(t.prototype,"ngClassUntouched",{get:function(){return!!n.i(r.c)(this._cd.control)&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassTouched",{get:function(){return!!n.i(r.c)(this._cd.control)&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPristine",{get:function(){return!!n.i(r.c)(this._cd.control)&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassDirty",{get:function(){return!!n.i(r.c)(this._cd.control)&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassValid",{get:function(){return!!n.i(r.c)(this._cd.control)&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassInvalid",{get:function(){return!!n.i(r.c)(this._cd.control)&&this._cd.control.invalid},enumerable:!0,configurable:!0}),t}(),l={"[class.ng-untouched]":"ngClassUntouched","[class.ng-touched]":"ngClassTouched","[class.ng-pristine]":"ngClassPristine","[class.ng-dirty]":"ngClassDirty","[class.ng-valid]":"ngClassValid","[class.ng-invalid]":"ngClassInvalid"},h=function(t){function e(e){t.call(this,e)}return a(e,t),e.decorators=[{type:i.Directive,args:[{selector:"[formControlName],[ngModel],[formControl]",host:l}]}],e.ctorParameters=[{type:o.a,decorators:[{type:i.Self}]}],e}(_),c=function(t){function e(e){t.call(this,e)}return a(e,t),e.decorators=[{type:i.Directive,args:[{selector:"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]",host:l}]}],e.ctorParameters=[{type:s.a,decorators:[{type:i.Self}]}],e}(_)},function(t,e,n){"use strict";var i=n(0),r=n(184),s=n(262),o=n(128),a=n(211),_=n(137),l=n(41),h=n(53),c=n(212),u=n(260),p=n(147),d=n(455);n.d(e,"a",function(){return v});var f=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},m={provide:h.a,useExisting:n.i(i.forwardRef)(function(){return v})},g=Promise.resolve(null),v=function(t){function e(e,i,o,a){t.call(this),this._control=new s.b,this._registered=!1,this.update=new r.a,this._parent=e,this._rawValidators=i||[],this._rawAsyncValidators=o||[],this.valueAccessor=n.i(p.g)(this,a)}return f(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),n.i(p.h)(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this._control},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?n.i(p.c)(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return n.i(p.a)(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return n.i(p.b)(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._setUpControl=function(){this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._isStandalone=function(){return!this._parent||this.options&&this.options.standalone},e.prototype._setUpStandalone=function(){n.i(p.d)(this._control,this),this._control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof u.a)&&this._parent instanceof a.a?d.a.formGroupNameException():this._parent instanceof u.a||this._parent instanceof c.a||d.a.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||d.a.missingNameException()},e.prototype._updateValue=function(t){var e=this;g.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,i=null!=n&&0!=n;g.then(function(){i&&!e.control.disabled?e.control.disable():!i&&e.control.disabled&&e.control.enable()})},e.decorators=[{type:i.Directive,args:[{selector:"[ngModel]:not([formControlName]):not([formControl])",providers:[m],exportAs:"ngModel"}]}],e.ctorParameters=[{type:_.a,decorators:[{type:i.Optional},{type:i.Host}]},{type:Array,decorators:[{type:i.Optional},{type:i.Self},{type:i.Inject,args:[o.b]}]},{type:Array,decorators:[{type:i.Optional},{type:i.Self},{type:i.Inject,args:[o.c]}]},{type:Array,decorators:[{type:i.Optional},{type:i.Self},{type:i.Inject,args:[l.a]}]}],e.propDecorators={name:[{type:i.Input}],isDisabled:[{type:i.Input,args:["disabled"]}],model:[{type:i.Input,args:["ngModel"]}],options:[{type:i.Input,args:["ngModelOptions"]}],update:[{type:i.Output,args:["ngModelChange"]}]},e}(h.a)},function(t,e,n){"use strict";var i=n(0);n.d(e,"a",function(){return o});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},o=function(){function t(){}return t.prototype.transform=function(t,e){if(void 0==t)return"";if("string"==typeof t&&(t=parseFloat(t)),0==t||Math.abs(t)<1e-15)return"0.000 "+e;var n=0,i=" ";if(Math.abs(t)<1){for(;Math.abs(t)<1&&n<3;)n++,t=1e3*t;0==n?i=" ":1==n?i=" m":2==n?i=" u":3==n&&(i=" n")}else if(Math.abs(t)>=1e3){for(;Math.abs(t)>=1e3&&n<3;)n++,t/=1e3;0==n?i=" ":1==n?i=" k":2==n?i=" M":3==n&&(i=" G")}var r=t.toString(),s=t<0?5:4,o=r.indexOf(".");o=o===-1?r.length:o;var a=s-o;return a=a<0?0:a,r=t.toFixed(a),r+i+e},t=r([n.i(i.Pipe)({name:"unitFormat"}),s("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,n){if(Array.isArray(t)){for(var i="[",s=t.length,o=0;o/g,">")}},function(t,e,n){"use strict";var i=n(0),r=n(15),s=n(89);n.d(e,"a",function(){return _});var o=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},a=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},_=function(){function t(t,e,n){this.forcePopover=!1,this.disabled=!1,this.onSelection=new i.EventEmitter,this.noArrayMessage="None",this.viewInitialized=!1,this.awaitingViewInit={waiting:!1,value:""},this.popoverCtrl=t,this.platform=n,this.elementRef=e,this.isMobile=this.platform.is("android")||this.platform.is("ios")}return t.prototype.ngAfterViewInit=function(){this.viewInitialized=!0,this.dataArray?this.currentlySelected=this.dataArray[0]:(this.currentlySelected=this.noArrayMessage,this.dataArray=[this.noArrayMessage]),this.awaitingViewInit.waiting&&this.currentlySelected!==this.noArrayMessage&&this._applyActiveSelection(this.awaitingViewInit.value)},t.prototype.ngOnChanges=function(t){var e=this;t.dataArray&&t.dataArray.currentValue&&t.dataArray.currentValue.length>0&&(this.currentlySelected=t.dataArray.currentValue[0],this.awaitingViewInit.waiting&&setTimeout(function(){e._applyActiveSelection(e.awaitingViewInit.value)},20))},t.prototype.selectionChange=function(t){this.onSelection.emit(t.target.value),this.currentlySelected=t.target.value},t.prototype.setActiveSelection=function(t){this.viewInitialized&&this.currentlySelected!==this.noArrayMessage?this._applyActiveSelection(t):(this.awaitingViewInit.value=t,this.awaitingViewInit.waiting=!0)},t.prototype._applyActiveSelection=function(t){this.awaitingViewInit.waiting=!1,this.currentlySelected=t,this.isMobile||(this.elementRef.nativeElement.children[0].children[0].children[0].value=t)},t.prototype.openGenPopover=function(t){var e=this,n=this.popoverCtrl.create(s.a,{dataArray:this.dataArray});n.present({ev:t}),n.onWillDismiss(function(t){null!=t&&(e.currentlySelected=t.option,e.onSelection.emit(t.option))})},o([n.i(i.Input)(),a("design:type",Array)],t.prototype,"dataArray",void 0),o([n.i(i.Input)(),a("design:type",Boolean)],t.prototype,"forcePopover",void 0),o([n.i(i.Input)(),a("design:type",Boolean)],t.prototype,"disabled",void 0),o([n.i(i.Output)(),a("design:type",Object)],t.prototype,"onSelection",void 0),t=o([n.i(i.Component)({templateUrl:"dropdown-popover.html",selector:"dropdown-popover"}),a("design:paramtypes",["function"==typeof(e="undefined"!=typeof r.h&&r.h)&&e||Object,"function"==typeof(_="undefined"!=typeof i.ElementRef&&i.ElementRef)&&_||Object,"function"==typeof(l="undefined"!=typeof r.c&&r.c)&&l||Object])],t);var e,_,l}()},function(t,e,n){"use strict";var i=n(0);n.d(e,"a",function(){return o});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},o=function(){function t(){}return t.prototype.parseBaseNumberVal=function(t){var e=t.target.value,n=parseFloat(e),i=n;return e.indexOf("G")!==-1?i=n*Math.pow(10,9):e.indexOf("M")!==-1?i=n*Math.pow(10,6):e.indexOf("k")!==-1||e.indexOf("K")!==-1?i=n*Math.pow(10,3):e.indexOf("m")!==-1?i=n*Math.pow(10,-3):e.indexOf("u")!==-1?i=n*Math.pow(10,-6):e.indexOf("n")!==-1&&(i=n*Math.pow(10,-9)),i>Math.pow(10,9)?i=Math.pow(10,9):i<-Math.pow(10,9)&&(i=-Math.pow(10,9)),i},t.prototype.transformModelToPropKey=function(t){var e=t.toLowerCase().split(" ");return e[1]=e[1].charAt(0).toUpperCase()+e[1].slice(1),e.join("")},t.prototype.getShortName=function(t){var e="";switch(t){case"OpenScope MZ":e="osmz";break;case"OpenLogger MZ":e="olmz";break;default:e="osmz"}return e},t=r([n.i(i.Injectable)(),s("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var i=n(0),r=n(22),s=n(2),o=n(46),a=n(114),_=n(42),l=n(17),h=n(71),c=n(195),u=n(23),p=n(390),d=n(13);n.d(e,"a",function(){return m});var f=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},m=function(t){function e(e,n,r,s,o,a,_,l){t.call(this,s,o,_),this.viewCtrl=n,this._app=r,this._platform=a,this._linker=l,this._ids=-1,this._tabs=[],this._selectHistory=[],this.ionChange=new i.EventEmitter,this.mode=s.get("mode"),this.parent=e,this.id="t"+ ++g,this._sbPadding=s.getBoolean("statusbarPadding"),this._subPages=s.getBoolean("tabsHideOnSubPages"),this.tabsHighlight=s.getBoolean("tabsHighlight"),this.parent?this.parent.registerChildNav(this):n&&n.getNav()?(this.parent=n.getNav(),this.parent.registerChildNav(this)):this._app&&this._app._setRootNav(this),n&&(n._setContent(this),n._setContentRef(o))}return f(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("tabs",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("tabs",t)},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.parent.unregisterChildNav(this)},e.prototype.ngAfterViewInit=function(){var t=this;this._setConfig("tabsPlacement","bottom"),this._setConfig("tabsLayout","icon-top"),this._setConfig("tabsHighlight",this.tabsHighlight),this.tabsHighlight&&this._platform.onResize(function(){t._highlight.select(t.getSelected())}),this.initTabs()},e.prototype.initTabs=function(){var t=n.i(l.d)(this.selectedIndex)?0:parseInt(this.selectedIndex,10),e=this._linker.initNav(this);e&&n.i(l.d)(e.component)&&(t=this._linker.getSelectedTabIndex(this,e.name,t));var i=this._tabs.find(function(e,n){return n===t&&e.enabled&&e.show});if(i||(i=this._tabs.find(function(t){return t.enabled&&t.show})),i){var r=null;if(e){var s=this._linker.initNav(i);s&&s.component&&(i.root=s.component,i.rootParams=s.data,r=s.id)}this.select(i,{id:r})}this._tabs.forEach(function(t){t.updateHref(t.root,t.rootParams)})},e.prototype._setConfig=function(t,e){var i=this[t];n.i(l.d)(i)&&(i=this._config.get(t,e)),this.setElementAttribute(t,i)},e.prototype.add=function(t){return this._tabs.push(t),this.id+"-"+ ++this._ids},e.prototype.select=function(t,e){var i=this;void 0===e&&(e={});var r="number"==typeof t?this.getByIndex(t):t;if(!n.i(l.d)(r)){var s=this.getSelected();if(r===s)return this._touchActive(r);var a;s&&(a=s.getActive(),a&&a._willLeave()),e.animate=!1;var _=r.getActive();_&&_._willEnter(),r.load(e,function(t){if(r.ionSelect.emit(r),i.ionChange.emit(r),r.root&&(i._tabs.forEach(function(t){t.setSelected(t===r)}),i.tabsHighlight&&i._highlight.select(r),e.updateUrl!==!1&&i._linker.navChange(c.k)),_&&_._didEnter(),a&&a._didLeave(),i._selectHistory[i._selectHistory.length-1]!==r.id&&i._selectHistory.push(r.id),t&&_){var n=_.getContent();n&&n instanceof o.a&&n.resize()}})}},e.prototype.previousTab=function(t){var e=this;void 0===t&&(t=!0);for(var n=this._selectHistory.length-2;n>=0;n--){var i=this._tabs.find(function(t){return t.id===e._selectHistory[n]});if(i&&i.enabled&&i.show)return t&&this._selectHistory.splice(n+1),i}return null},e.prototype.getByIndex=function(t){return this._tabs[t]},e.prototype.getSelected=function(){for(var t=0;t1?t.popToRoot(null,null):t.root!==e.component&&t.setRoot(t.root))},e.prototype.setTabbarPosition=function(t,e){if(this._top!==t||this._bottom!==e){var n=this._tabbar.nativeElement;n.style.top=t>-1?t+"px":"",n.style.bottom=e>-1?e+"px":"",n.classList.add("show-tabbar"),this._top=t,this._bottom=e}},e.decorators=[{type:i.Component,args:[{selector:"ion-tabs",template:'
',encapsulation:i.ViewEncapsulation.None}]}],e.ctorParameters=[{type:h.a,decorators:[{type:i.Optional}]},{type:d.a,decorators:[{type:i.Optional}]},{type:r.a},{type:s.c},{type:i.ElementRef},{type:u.f},{type:i.Renderer},{type:a.b}],e.propDecorators={color:[{type:i.Input}],mode:[{type:i.Input}],selectedIndex:[{type:i.Input}],tabsLayout:[{type:i.Input}],tabsPlacement:[{type:i.Input}],tabsHighlight:[{type:i.Input}],ionChange:[{type:i.Output}],_highlight:[{type:i.ViewChild,args:[p.a]}],_tabbar:[{type:i.ViewChild,args:["tabbar"]}],portal:[{type:i.ViewChild,args:["portal",{read:i.ViewContainerRef}]}]},e}(_.a),g=-1},function(t,e,n){"use strict";function i(t,e,i,o){function a(t,e){switch(t.length){case 1:switch(e.length){case 1:if(t[0]!==e[0])throw new RangeError("Dimension mismatch in multiplication. Vectors must have the same length");break;case 2:if(t[0]!==e[0])throw new RangeError("Dimension mismatch in multiplication. Vector length ("+t[0]+") must match Matrix rows ("+e[0]+")");break;default:throw new Error("Can only multiply a 1 or 2 dimensional matrix (Matrix B has "+e.length+" dimensions)")}break;case 2:switch(e.length){case 1:if(t[1]!==e[0])throw new RangeError("Dimension mismatch in multiplication. Matrix columns ("+t[1]+") must match Vector length ("+e[0]+")");break;case 2:if(t[1]!==e[0])throw new RangeError("Dimension mismatch in multiplication. Matrix A columns ("+t[1]+") must match Matrix B rows ("+e[0]+")");break;default:throw new Error("Can only multiply a 1 or 2 dimensional matrix (Matrix B has "+e.length+" dimensions)")}break;default:throw new Error("Can only multiply a 1 or 2 dimensional matrix (Matrix A has "+t.length+" dimensions)")}}function _(t,e,n){if(0===n)throw new Error("Cannot multiply two empty vectors");var i,r=t._data,s=t._datatype,a=e._data,_=e._datatype,l=x,h=y;s&&_&&s===_&&"string"==typeof s&&(i=s,l=o.find(x,[i,i]),h=o.find(y,[i,i]));for(var c=h(r[0],a[0]),u=1;uI)for(var O=0,k=0;k-1&&(t.splice(n,1),!0)},t.clear=function(t){t.length=0},t.isEmpty=function(t){return 0==t.length},t.fill=function(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=null),t.fill(e,n,null===i?t.length:i)},t.equals=function(t,e){if(t.length!=e.length)return!1;for(var n=0;nr&&(i=o,r=_)}}return i},t.flatten=function(t){var e=[];return i(t,e),e},t.addAll=function(t,e){for(var n=0;n=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},a=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},_=function(){function t(t,e,n){this.tooltipAnimation=!0,this.tooltipPlacement="bottom",this.forceShow=!1,this.forceShowDelay=100,this.onlyForceShow=!1,this.displayDelay=750,this.viewContainerRef=t,this.resolver=e,this.platform=n,this.mobile=this.platform.is("mobile")}return t.prototype.ngOnChanges=function(t){var e=this;setTimeout(function(){void 0!=t.forceShow&&t.forceShow.currentValue?e.show():void 0==t.forceShow||t.forceShow.currentValue||e.hide()},this.forceShowDelay)},t.prototype.setShowTimeout=function(){var t=this;this.onlyForceShow||(clearTimeout(this.timeoutRef),this.timeoutRef=setTimeout(function(){t.show()},this.displayDelay))},t.prototype.show=function(){if(!(this.tooltipDisabled||this.visible||this.mobile&&!this.forceShow))if(this.visible=!0,"string"==typeof this.content){var t=this.resolver.resolveComponentFactory(r.a);if(!this.visible)return;this.tooltip=this.viewContainerRef.createComponent(t),this.tooltip.instance.hostElement=this.viewContainerRef.element.nativeElement,this.tooltip.instance.content=this.content,this.tooltip.instance.placement=this.tooltipPlacement,this.tooltip.instance.animation=this.tooltipAnimation}else{var e=this.content;e.hostElement=this.viewContainerRef.element.nativeElement,e.placement=this.tooltipPlacement,e.animation=this.tooltipAnimation,e.show()}},t.prototype.clearTimeout=function(){clearTimeout(this.timeoutRef)},t.prototype.hide=function(){this.clearTimeout(),this.visible&&!this.forceShow&&(this.visible=!1,this.tooltip&&this.tooltip.destroy(),this.content instanceof r.a&&this.content.hide())},o([n.i(i.Input)("tooltip"),a("design:type",Object)],t.prototype,"content",void 0),o([n.i(i.Input)(),a("design:type",Boolean)],t.prototype,"tooltipDisabled",void 0),o([n.i(i.Input)(),a("design:type",Boolean)],t.prototype,"tooltipAnimation",void 0),o([n.i(i.Input)(),a("design:type",Object)],t.prototype,"tooltipPlacement",void 0),o([n.i(i.Input)(),a("design:type",Boolean)],t.prototype,"forceShow",void 0),o([n.i(i.Input)(),a("design:type",Number)],t.prototype,"forceShowDelay",void 0),o([n.i(i.Input)(),a("design:type",Boolean)],t.prototype,"onlyForceShow",void 0),o([n.i(i.HostListener)("focusin"),n.i(i.HostListener)("mouseenter"),a("design:type",Function),a("design:paramtypes",[]),a("design:returntype",void 0)],t.prototype,"setShowTimeout",null),o([n.i(i.HostListener)("focusout"),n.i(i.HostListener)("mouseleave"),a("design:type",Function),a("design:paramtypes",[]),a("design:returntype",void 0)],t.prototype,"hide",null),t=o([n.i(i.Directive)({selector:"[tooltip]"}),a("design:paramtypes",["function"==typeof(e="undefined"!=typeof i.ViewContainerRef&&i.ViewContainerRef)&&e||Object,"function"==typeof(_="undefined"!=typeof i.ComponentFactoryResolver&&i.ComponentFactoryResolver)&&_||Object,"function"==typeof(l="undefined"!=typeof s.c&&s.c)&&l||Object])],t);var e,_,l}()},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(){}return t}()},function(t,e,n){"use strict";function i(t,e,n,i){var o=i("equalScalar",{"boolean, boolean":function(t,e){return t===e},"number, number":function(t,n){return t===n||r(t,n,e.epsilon)},"BigNumber, BigNumber":function(t,n){return t.eq(n)||s(t,n,e.epsilon)},"Fraction, Fraction":function(t,e){return t.equals(e)},"Complex, Complex":function(t,e){return t.equals(e)},"Unit, Unit":function(t,e){if(!t.equalBase(e))throw new Error("Cannot compare units with different base");return o(t.value,e.value)}});return o}var r=n(19).nearlyEqual,s=n(142);e.factory=i},function(t,e,n){"use strict";n.d(e,"b",function(){return i}),n.d(e,"a",function(){return r});var i;!function(t){t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL"}(i||(i={}));var r=function(){function t(){}return t}()},function(t,e,n){"use strict";function i(){return o}function r(t){n.i(s.a)(o)&&(o=t)}var s=n(97);e.a=i,e.b=r,n.d(e,"c",function(){return a});var o=null,a=function(){function t(){this.resourceLoaderType=null}return Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(t){this._attrToPropMap=t},enumerable:!0,configurable:!0}),t}()},function(t,e,n){"use strict";function i(t,e,n){if(!(this instanceof i))throw new SyntaxError("Constructor must be called with the new operator");this.actual=t,this.expected=e,this.relation=n,this.message="Dimension mismatch ("+(Array.isArray(t)?"["+t.join(", ")+"]":t)+" "+(this.relation||"!=")+" "+(Array.isArray(e)?"["+e.join(", ")+"]":e)+")",this.stack=(new Error).stack}i.prototype=new RangeError,i.prototype.constructor=RangeError,i.prototype.name="DimensionError",i.prototype.isDimensionError=!0,t.exports=i},function(t,e,n){"use strict";var i=n(0),r=n(207),s=n(109),o=n(15),a=n(225),_=(n.n(a),n(475)),l=n(89),h=n(65),c=n(167),u=n(191),p=n(278),d=n(275),f=n(357),m=n(367),g=n(129),v=n(63),x=n(474);n.d(e,"a",function(){return w});var y=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},b=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},w=function(){function t(){}return t=y([n.i(i.NgModule)({imports:[r.b,o.a.forRoot(l.a),o.a.forRoot(h.a),o.a.forRoot(c.a),o.a.forRoot(u.a),o.a.forRoot(p.a),o.a.forRoot(d.a),o.a.forRoot(f.a),o.a.forRoot(m.a)],declarations:[l.a,h.a,v.a,c.a,g.a,x.a,p.a,d.a,u.a,f.a,m.a],exports:[l.a,v.a,h.a,r.b,s.c,_.a,c.a,a.DigilentChartModule,g.a,x.a,p.a,d.a,u.a,f.a,m.a]}),b("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";function i(t,e,i,r){var s=i(n(320)),o=i(n(125)),a=r("divide",{"number, number":function(t,e){return t/e},"Complex, Complex":function(t,e){return t.div(e)},"BigNumber, BigNumber":function(t,e){return t.div(e)},"Fraction, Fraction":function(t,e){return t.div(e)},"Unit, number | Fraction | BigNumber":function(t,e){var n=t.clone(),i=s(1,o(e));return n.value=a(null===n.value?n._normalize(i):n.value,e),n},"number | Fraction | BigNumber, Unit":function(t,e){var n=e.clone();n=n.pow(-1);var i=s(1,o(t));return n.value=a(t,null===e.value?e._normalize(i):e.value),n},"Unit, Unit":function(t,e){return t.divide(e)}});return a}e.factory=i},function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){if(l(t)&&o(t,e))return t[e];if("function"==typeof t[e]&&_(t,e))throw new Error('Cannot access method "'+e+'" as a property');throw new Error('No access to property "'+e+'"')}function s(t,e,n){if(l(t)&&o(t,e))return t[e]=n,n;throw new Error('No access to property "'+e+'"')}function o(t,e){return!(!t||"object"!==i(t))&&(!!h(c,e)||!(e in Object.prototype)&&!(e in Function.prototype))}function a(t,e){if(!_(t,e))throw new Error('No access to method "'+e+'"')}function _(t,e){return!(!t||"function"!=typeof t[e])&&(!(h(t,e)&&Object.getPrototypeOf&&e in Object.getPrototypeOf(t))&&(!!h(u,e)||!(e in Object.prototype)&&!(e in Function.prototype)))}function l(t){return"object"===i(t)&&t&&t.constructor===Object}var h=n(32).hasOwnProperty,c={length:!0,name:!0},u={toString:!0,valueOf:!0,toLocaleString:!0};e.getSafeProperty=r,e.setSafeProperty=s,e.isSafeProperty=o,e.validateSafeMethod=a,e.isSafeMethod=_,e.isPlainObject=l},function(t,e,n){"use strict";var i=n(134),r=n(1597),s=n(428),o=n(87),a=n(80),_=n(719),l=function(){function t(t){this.closed=!1,t&&(this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){this.closed=!0;var n=this,l=n._unsubscribe,h=n._subscriptions;if(this._subscriptions=null,s.isFunction(l)){var c=o.tryCatch(l).call(this);c===a.errorObject&&(e=!0,(t=t||[]).push(a.errorObject.e))}if(i.isArray(h))for(var u=-1,p=h.length;++u=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},a=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},_=function(){function t(t){this.platform=t}return t.prototype.stringToArrBuff=function(t){for(var e=new ArrayBuffer(t.length),n=new Uint8Array(e),i=0;ia&&(a=e[n[_]].data.length);var l=n[_];o+=this.getInstrumentLabel(i,l)}o+="\n";for(var _=0;_=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},a=function(){function t(t){this.loadingCtrl=t}return t.prototype.displayLoading=function(t){var e=this.loadingCtrl.create({content:t,spinner:"crescent",cssClass:"custom-loading-indicator"});return e.present(),e},t=s([n.i(i.Injectable)(),o("design:paramtypes",["function"==typeof(e="undefined"!=typeof r.e&&r.e)&&e||Object])],t);var e}()},function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e,n,r,_){function l(){if(!(this instanceof l))throw new SyntaxError("Constructor must be called with the new operator")}function h(t){for(var e in t)if(a(t,e)&&e in s)throw new Error('Scope contains an illegal symbol, "'+e+'" is a reserved keyword')}return l.prototype.eval=function(t){return this.compile().eval(t)},l.prototype.type="Node",l.prototype.isNode=!0,l.prototype.comment="",l.prototype.compile=function(){var t=this._compile(_.expression.mathWithTransform,{}),e={},n=null;return{eval:function(i){var r=i||{};return h(r),t(r,e,n)}}},l.prototype._compile=function(t,e){throw new Error("Method _compile should be implemented by type "+this.type)},l.prototype.forEach=function(t){throw new Error("Cannot run forEach on a Node interface")},l.prototype.map=function(t){throw new Error("Cannot run map on a Node interface")},l.prototype._ifNode=function(e){if(!t.isNode(e))throw new TypeError("Callback function must return a Node");return e},l.prototype.traverse=function(t){function e(t,n){t.forEach(function(t,i,r){n(t,i,r),e(t,n)})}t(this,null,null),e(this,t)},l.prototype.transform=function(t){function e(t,n){return t.map(function(t,i,r){var s=n(t,i,r);return e(s,n)})}var n=t(this,null,null);return e(n,t)},l.prototype.filter=function(t){var e=[];return this.traverse(function(n,i,r){t(n,i,r)&&e.push(n)}),e},l.prototype.find=function(){throw new Error("Function Node.find is deprecated. Use Node.filter instead.")},l.prototype.match=function(){throw new Error("Function Node.match is deprecated. See functions Node.filter, Node.transform, Node.traverse.")},l.prototype.clone=function(){throw new Error("Cannot clone a Node interface")},l.prototype.cloneDeep=function(){return this.map(function(t){return t.cloneDeep()})},l.prototype.equals=function(t){return!!t&&o(this,t)},l.prototype.toString=function(t){var e;if(t&&"object"===i(t))switch(i(t.handler)){case"object":case"undefined":break;case"function":e=t.handler(this,t);break;default:throw new TypeError("Object or function expected as callback")}return"undefined"!=typeof e?e:this._toString(t)},l.prototype.toJSON=function(){throw new Error("Cannot serialize object: toJSON not implemented by "+this.type)},l.prototype.toHTML=function(t){var e;if(t&&"object"===i(t))switch(i(t.handler)){case"object":case"undefined":break;case"function":e=t.handler(this,t);break;default:throw new TypeError("Object or function expected as callback")}return"undefined"!=typeof e?e:this.toHTML(t)},l.prototype._toString=function(){throw new Error("_toString not implemented for "+this.type)},l.prototype.toTex=function(t){var e;if(t&&"object"===i(t))switch(i(t.handler)){case"object":case"undefined":break;case"function":e=t.handler(this,t);break;default:throw new TypeError("Object or function expected as callback")}return"undefined"!=typeof e?e:this._toTex(t)},l.prototype._toTex=function(t){throw new Error("_toTex not implemented for "+this.type)},l.prototype.getIdentifier=function(){return this.type},l.prototype.getContent=function(){return this},l}var s=n(646),o=n(32).deepEqual,a=n(32).hasOwnProperty;e.name="Node",e.path="expression.node",e.math=!0,e.factory=r},function(t,e,n){"use strict";function i(t,e,i,s){var o=i(n(9)),a=i(n(91)),_=n(26),l=i(n(158)),h=i(n(414)),c=i(n(179)),u=i(n(50)),p=i(n(40)),d=s("add",r({"DenseMatrix, DenseMatrix":function(t,e){return u(t,e,a)},"DenseMatrix, SparseMatrix":function(t,e){return l(t,e,a,!1)},"SparseMatrix, DenseMatrix":function(t,e){return l(e,t,a,!0)},"SparseMatrix, SparseMatrix":function(t,e){return h(t,e,a)},"Array, Array":function(t,e){return d(o(t),o(e)).valueOf()},"Array, Matrix":function(t,e){return d(o(t),e)},"Matrix, Array":function(t,e){return d(t,o(e))},"DenseMatrix, any":function(t,e){return p(t,e,a,!1)},"SparseMatrix, any":function(t,e){return c(t,e,a,!1)},"any, DenseMatrix":function(t,e){return p(e,t,a,!0)},"any, SparseMatrix":function(t,e){return c(e,t,a,!0)},"Array, any":function(t,e){return p(o(t),e,a,!1).valueOf()},"any, Array":function(t,e){return p(o(e),t,a,!0).valueOf()},"any, any":a,"any, any, ...any":function(t,e,n){for(var i=d(t,e),r=0;r=0&&t[i]==e;i--)n--;t=t.substring(0,n)}return t},t.replace=function(t,e,n){return t.replace(e,n)},t.replaceAll=function(t,e,n){return t.replace(e,n)},t.slice=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=null),t.slice(e,null===n?void 0:n)},t.replaceAllMapped=function(t,e,n){return t.replace(e,function(){for(var t=[],e=0;ee?1:0},t}()),y=(function(){function t(t){void 0===t&&(t=[]),this.parts=t}return t.prototype.add=function(t){this.parts.push(t)},t.prototype.toString=function(){return this.parts.join("")},t}(),function(){function t(){}return t.toFixed=function(t,e){return t.toFixed(e)},t.equal=function(t,e){return t===e},t.parseIntAutoRadix=function(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e},t.parseInt=function(t,e){if(10==e){if(/^(\-|\+)?[0-9]+$/.test(t))return parseInt(t,e)}else if(16==e){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(t))return parseInt(t,e)}else{var n=parseInt(t,e);if(!isNaN(n))return n}throw new Error("Invalid integer literal when parsing "+t+" in base "+e)},Object.defineProperty(t,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),t.isNumeric=function(t){return!isNaN(t-parseFloat(t))},t.isNaN=function(t){return isNaN(t)},t.isInteger=function(t){return Number.isInteger(t)},t}()),b=(g.RegExp,function(){function t(){}return t.apply=function(t,e){return t.apply(null,e)},t.bind=function(t,e){return t.bind(e)},t}(),function(){function t(){}return t.parse=function(t){return g.JSON.parse(t)},t.stringify=function(t){return g.JSON.stringify(t,null,2)},t}()),w=function(){function t(){}return t.create=function(t,e,n,i,r,s,o){return void 0===e&&(e=1),void 0===n&&(n=1),void 0===i&&(i=0),void 0===r&&(r=0),void 0===s&&(s=0),void 0===o&&(o=0),new v(t,e-1,n,i,r,s,o)},t.fromISOString=function(t){return new v(t)},t.fromMillis=function(t){return new v(t)},t.toMillis=function(t){return t.getTime()},t.now=function(){return new v},t.toJson=function(t){return t.toJSON()},t}(),C=null}).call(e,n(135))},function(t,e,n){"use strict";var i=n(0),r=n(15);n.d(e,"a",function(){return a});var s=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},a=function(){function t(t,e){this.viewCtrl=t,this.params=e,this.dataArray=this.params.get("dataArray")}return t.prototype.close=function(t){this.viewCtrl.dismiss({option:t})},t=s([n.i(i.Component)({templateUrl:"gen-popover.html"}),o("design:paramtypes",["function"==typeof(e="undefined"!=typeof r.i&&r.i)&&e||Object,"function"==typeof(a="undefined"!=typeof r.f&&r.f)&&a||Object])],t);var e,a}()},function(t,e,n){"use strict";var i=n(36),r=n(17);n.d(e,"a",function(){return s});var s=function(){function t(t,e,n){this._dur=null,this._es=null,this._upd=0,this.isPlaying=!1,this.hasCompleted=!1,this.element(t).opts=e,this._raf=n||i.l}return t.prototype.element=function(t){if(t)if("string"==typeof t){t=document.querySelectorAll(t);for(var e=0;e_;for(var e=0;e_)return!0;for(var e=0;e0?(this._e[r].style[i.k.transition]="",this._e[r].style[i.k.transitionDuration]=t+"ms",n&&(this._e[r].style[i.k.transitionTimingFn]=n)):this._e[r].style[i.k.transition]="none"},t.prototype._before=function(){if(!this._rv)for(var t=void 0,e=0;ethis._upd){this._upd=e,t=Math.min(1,Math.max(0,t));for(var n=0;n.05&&e<.95;var n=64,i=t?1:0;this._progressEnd(t,i,n,this._isAsync),this._isAsync&&(this._asyncEnd(n,!0),this._raf&&this._raf(this._playToStep.bind(this,i)))},t.prototype._progressEnd=function(t,e,n,i){for(var r=0;r=0&&t[i]==e;i--)n--;t=t.substring(0,n)}return t},t.replace=function(t,e,n){return t.replace(e,n)},t.replaceAll=function(t,e,n){return t.replace(e,n)},t.slice=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=null),t.slice(e,null===n?void 0:n)},t.replaceAllMapped=function(t,e,n){return t.replace(e,function(){for(var t=[],e=0;ee?1:0},t}()),y=(function(){function t(t){void 0===t&&(t=[]),this.parts=t}return t.prototype.add=function(t){this.parts.push(t)},t.prototype.toString=function(){return this.parts.join("")},t}(),function(){function t(){}return t.toFixed=function(t,e){return t.toFixed(e)},t.equal=function(t,e){return t===e},t.parseIntAutoRadix=function(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e},t.parseInt=function(t,e){if(10==e){if(/^(\-|\+)?[0-9]+$/.test(t))return parseInt(t,e)}else if(16==e){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(t))return parseInt(t,e)}else{var n=parseInt(t,e);if(!isNaN(n))return n}throw new Error("Invalid integer literal when parsing "+t+" in base "+e)},Object.defineProperty(t,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),t.isNumeric=function(t){return!isNaN(t-parseFloat(t))},t.isNaN=function(t){return isNaN(t)},t.isInteger=function(t){return Number.isInteger(t)},t}(),g.RegExp,function(){function t(){}return t.apply=function(t,e){return t.apply(null,e)},t.bind=function(t,e){return t.bind(e)},t}(),function(){function t(){}return t.parse=function(t){return g.JSON.parse(t)},t.stringify=function(t){return g.JSON.stringify(t,null,2)},t}(),function(){function t(){}return t.create=function(t,e,n,i,r,s,o){return void 0===e&&(e=1),void 0===n&&(n=1),void 0===i&&(i=0),void 0===r&&(r=0),void 0===s&&(s=0),void 0===o&&(o=0),new v(t,e-1,n,i,r,s,o)},t.fromISOString=function(t){return new v(t)},t.fromMillis=function(t){return new v(t)},t.toMillis=function(t){return t.getTime()},t.now=function(){return new v},t.toJson=function(t){return t.toJSON()},t}(),null)}).call(e,n(135))},function(t,e,n){"use strict";(function(t){function i(t){return void 0!==t&&null!==t}function r(t){return void 0===t||null===t}function s(t){return"number"==typeof t}function o(t){return"string"==typeof t}function a(t){return"function"==typeof t}function _(t){return Array.isArray(t)}function l(t){if("string"==typeof t)return t;if(void 0===t||null===t)return""+t;if(t.overriddenName)return t.overriddenName;if(t.name)return t.name;var e=t.toString(),n=e.indexOf("\n");return n===-1?e:e.substring(0,n)}function h(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function c(t,e,n){for(var r=e.split("."),s=t;r.length>1;){var o=r.shift();s=s.hasOwnProperty(o)&&i(s[o])?s[o]:s[o]={}}void 0!==s&&null!==s||(s={}),s[r.shift()]=n}function u(){if(r(y))if(i(p.Symbol)&&i(Symbol.iterator))y=Symbol.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),e=0;e=0&&t[i]==e;i--)n--;t=t.substring(0,n)}return t},t.replace=function(t,e,n){return t.replace(e,n)},t.replaceAll=function(t,e,n){return t.replace(e,n)},t.slice=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=null),t.slice(e,null===n?void 0:n)},t.replaceAllMapped=function(t,e,n){return t.replace(e,function(){for(var t=[],e=0;ee?1:0},t}()),g=(function(){function t(t){void 0===t&&(t=[]),this.parts=t}return t.prototype.add=function(t){this.parts.push(t)},t.prototype.toString=function(){return this.parts.join("")},t}(),function(){function t(){}return t.toFixed=function(t,e){return t.toFixed(e)},t.equal=function(t,e){return t===e},t.parseIntAutoRadix=function(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e},t.parseInt=function(t,e){if(10==e){if(/^(\-|\+)?[0-9]+$/.test(t))return parseInt(t,e)}else if(16==e){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(t))return parseInt(t,e)}else{var n=parseInt(t,e);if(!isNaN(n))return n}throw new Error("Invalid integer literal when parsing "+t+" in base "+e)},Object.defineProperty(t,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),t.isNumeric=function(t){return!isNaN(t-parseFloat(t))},t.isNaN=function(t){return isNaN(t)},t.isInteger=function(t){return Number.isInteger(t)},t}()),v=(d.RegExp,function(){function t(){}return t.apply=function(t,e){return t.apply(null,e)},t.bind=function(t,e){return t.bind(e)},t}(),function(){function t(){}return t.parse=function(t){return d.JSON.parse(t)},t.stringify=function(t){return d.JSON.stringify(t,null,2)},t}()),x=function(){function t(){}return t.create=function(t,e,n,i,r,s,o){return void 0===e&&(e=1),void 0===n&&(n=1),void 0===i&&(i=0),void 0===r&&(r=0),void 0===s&&(s=0),void 0===o&&(o=0),new f(t,e-1,n,i,r,s,o)},t.fromISOString=function(t){return new f(t)},t.fromMillis=function(t){return new f(t)},t.toMillis=function(t){return t.getTime()},t.now=function(){return new f},t.toJson=function(t){return t.toJSON()},t}(),y=null}).call(e,n(135))},function(t,e,n){"use strict";function i(t,e,n){return null===O&&(O=t.createRenderComponentType("",0,g.c.None,[],{})),new k(t,e,n)}function r(t,e,n){return null===R&&(R=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/components/dropdown-popover/dropdown-popover.html",0,g.c.None,P,{})),new D(t,e,n)}function s(t,e,n){return new j(t,e,n)}function o(t,e,n){return new M(t,e,n)}function a(t,e,n){return new L(t,e,n)}var _=n(10),l=n(6),h=n(65),c=n(11),u=n(5),p=n(4),d=n(47),f=n(14),m=n(23),g=n(8),v=n(7),x=n(33),y=n(21),b=n(20),w=n(25),C=n(2),E=n(55),T=n(37),A=n(216),I=n(217);n.d(e,"a",function(){return N}),e.b=r;var S=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},O=null,k=function(t){function e(n,i,r){t.call(this,e,O,u.a.HOST,n,i,r,p.b.CheckAlways)}return S(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("dropdown-popover",t,null),this._appEl_0=new l.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._DropdownPopoverComponent_0_4=new h.a(this.parentInjector.get(d.a),new f.a(this._el_0),this.parentInjector.get(m.f)),this._appEl_0.initComponent(this._DropdownPopoverComponent_0_4,[],e),e.create(this._DropdownPopoverComponent_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===h.a&&0===e?this._DropdownPopoverComponent_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._DropdownPopoverComponent_0_4.ngAfterViewInit()},e}(_.a),N=new v.a("dropdown-popover",i,h.a),P=[],R=null,D=function(t){function e(n,i,r){t.call(this,e,R,u.a.COMPONENT,n,i,r,p.b.CheckAlways)}return S(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","dropdown-popover-container"),this._text_1=this.renderer.createText(this._el_0," \n ",null),this._anchor_2=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_2=new l.a(2,0,this,this._anchor_2),this._TemplateRef_2_5=new y.a(this._appEl_2,s),this._NgIf_2_6=new x.a(this._appEl_2.vcRef,this._TemplateRef_2_5),this._text_3=this.renderer.createText(this._el_0,"\n ",null),this._anchor_4=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_4=new l.a(4,0,this,this._anchor_4),this._TemplateRef_4_5=new y.a(this._appEl_4,o),this._NgIf_4_6=new x.a(this._appEl_4.vcRef,this._TemplateRef_4_5),this._text_5=this.renderer.createText(this._el_0,"\n",null),this._expr_0=p.n,this._expr_1=p.n,this.init([],[this._el_0,this._text_1,this._anchor_2,this._text_3,this._anchor_4,this._text_5],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===y.b&&2===e?this._TemplateRef_2_5:t===x.a&&2===e?this._NgIf_2_6:t===y.b&&4===e?this._TemplateRef_4_5:t===x.a&&4===e?this._NgIf_4_6:n},e.prototype.detectChangesInternal=function(t){var e=this.context.isMobile||this.context.forcePopover;c.c(t,this._expr_0,e)&&(this._NgIf_2_6.ngIf=e,this._expr_0=e);var n=!this.context.isMobile&&!this.context.forcePopover;c.c(t,this._expr_1,n)&&(this._NgIf_4_6.ngIf=n,this._expr_1=n),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(_.a),j=function(t){function e(n,i,r){t.call(this,e,R,u.a.EMBEDDED,n,i,r,p.b.CheckAlways)}return S(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"button",null),this.renderer.setElementAttribute(this._el_2,"class","popover-button disable-hover"),this.renderer.setElementAttribute(this._el_2,"icon-right",""),this.renderer.setElementAttribute(this._el_2,"ion-button",""),this._appEl_2=new l.a(2,0,this,this._el_2);var e=w.a(this.viewUtils,this.injector(2),this._appEl_2);this._Button_2_4=new b.a(null,"",this.parent.parentInjector.get(C.c),new f.a(this._el_2),this.renderer),this._appEl_2.initComponent(this._Button_2_4,[],e),this._text_3=this.renderer.createText(null,"\n ",null),this._el_4=this.renderer.createElement(null,"span",null),this._text_5=this.renderer.createText(this._el_4,"",null),this._text_6=this.renderer.createText(null,"\n ",null),this._el_7=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_7,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_7,"src","assets/img/arrow-dropdown.svg"),this._text_8=this.renderer.createText(null,"\n ",null),e.create(this._Button_2_4,[[].concat([this._text_3,this._el_4,this._text_6,this._el_7,this._text_8])],null),this._text_9=this.renderer.createText(this._el_0,"\n ",null),this._expr_1=p.n;var n=this.renderer.listen(this._el_2,"click",this.eventHandler(this._handle_click_2_0.bind(this)));return this._expr_2=p.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._text_9],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===b.a&&2<=e&&e<=8?this._Button_2_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_2_4.ngAfterContentInit();var e=this.parent.context.disabled;c.c(t,this._expr_1,e)&&(this.renderer.setElementProperty(this._el_2,"disabled",e),this._expr_1=e);var n=c.e(1,"",this.parent.context.currentlySelected,"");c.c(t,this._expr_2,n)&&(this.renderer.setText(this._text_5,n),this._expr_2=n),this.detectViewChildrenChanges(t)},e.prototype._handle_click_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.openGenPopover(t)!==!1;return e},e}(_.a),M=function(t){function e(n,i,r){t.call(this,e,R,u.a.EMBEDDED,n,i,r,p.b.CheckAlways)}return S(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"select",null),this.renderer.setElementAttribute(this._el_2,"class","dropdown-select"),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._anchor_4=this.renderer.createTemplateAnchor(this._el_2,null),this._appEl_4=new l.a(4,2,this,this._anchor_4),this._TemplateRef_4_5=new y.a(this._appEl_4,a),this._NgFor_4_6=new E.a(this._appEl_4.vcRef,this._TemplateRef_4_5,this.parent.parentInjector.get(T.a),this.parent.ref),this._text_5=this.renderer.createText(this._el_2,"\n ",null),this._text_6=this.renderer.createText(this._el_0,"\n ",null),this._expr_1=p.n;var e=this.renderer.listen(this._el_2,"change",this.eventHandler(this._handle_change_2_0.bind(this)));return this._expr_2=p.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._anchor_4,this._text_5,this._text_6],[e],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===y.b&&4===e?this._TemplateRef_4_5:t===E.a&&4===e?this._NgFor_4_6:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.context.dataArray;c.c(t,this._expr_2,n)&&(this._NgFor_4_6.ngForOf=n,null===e&&(e={}),e.ngForOf=new p.m(this._expr_2,n),this._expr_2=n),null!==e&&this._NgFor_4_6.ngOnChanges(e),t||this._NgFor_4_6.ngDoCheck(),this.detectContentChildrenChanges(t);var i=this.parent.context.disabled;c.c(t,this._expr_1,i)&&(this.renderer.setElementProperty(this._el_2,"disabled",i),this._expr_1=i),this.detectViewChildrenChanges(t)},e.prototype._handle_change_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.selectionChange(t)!==!1;return e},e}(_.a),L=function(t){function e(n,i,r){t.call(this,e,R,u.a.EMBEDDED,n,i,r,p.b.CheckAlways)}return S(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"option",null),this._NgSelectOption_0_3=new A.b(new f.a(this._el_0),this.renderer,null),this._NgSelectMultipleOption_0_4=new I.b(new f.a(this._el_0),this.renderer,null),this._text_1=this.renderer.createText(this._el_0,"",null),this._expr_0=p.n,this._expr_1=p.n,this._expr_2=p.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===A.b&&0<=e&&e<=1?this._NgSelectOption_0_3:t===I.b&&0<=e&&e<=1?this._NgSelectMultipleOption_0_4:n},e.prototype.detectChangesInternal=function(t){var e=this.context.$implicit;c.c(t,this._expr_0,e)&&(this._NgSelectOption_0_3.value=e,this._expr_0=e);var n=this.context.$implicit;c.c(t,this._expr_1,n)&&(this._NgSelectMultipleOption_0_4.value=n,this._expr_1=n),this.detectContentChildrenChanges(t);var i=c.e(1,"",this.context.$implicit,"");c.c(t,this._expr_2,i)&&(this.renderer.setText(this._text_1,i),this._expr_2=i),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgSelectOption_0_3.ngOnDestroy(),this._NgSelectMultipleOption_0_4.ngOnDestroy()},e}(_.a)},function(t,e,n){"use strict";var i=n(0),r=n(57);n.n(r);n.d(e,"a",function(){return a});var s=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},a=function(){function t(){this.xAxis={position:.5,base:.1},this.yAxis=[],this.cursorType="disabled",this.cursorPositions=[{x:null,y:null},{x:null,y:null}],this.activeSeries=1,this.dataContainers=[],this.overSeriesAnchor={over:!1,seriesNum:null},this.previousYPos=0,this.chartPan=new r.Subject,this.offsetChange=new r.Subject,this.seriesAnchorVertPanRef=this.seriesAnchorVertPan.bind(this),this.unbindCustomEventsRef=this.unbindCustomEvents.bind(this),this.seriesAnchorTouchStartRef=this.seriesAnchorTouchStart.bind(this),this.seriesAnchorTouchVertPanRef=this.seriesAnchorTouchVertPan.bind(this)}return t.prototype.resetService=function(){this.digilentChart=void 0,this.timelineChartRef=void 0,this.chart=void 0,this.tpdArray=void 0,this.tpdIndex=void 0,this.vpdArray=void 0,this.vpdIndices=void 0,this.xAxis={position:.5,base:.1},this.yAxis=[],this.activeSeries=1},t.prototype.init=function(t){this.digilentChart=t,this.chart=this.digilentChart.digilentChart,this.tpdArray=this.chart.getSecsPerDivArray(),this.tpdIndex=this.chart.getActiveXIndex(),this.vpdArray=this.chart.getVoltsPerDivArray(),this.vpdIndices=this.chart.getActiveYIndices(),this.defaultVpdIndices=this.vpdIndices.slice(),this.defaultTpdIndex=this.tpdIndex,this.activeSeries=1,this.setValPerDivAndUpdate("x",1,this.tpdArray[this.tpdIndex],!1);for(var e=0;e0&&(n=r[e].data[r[e].data.length-1][0]-s.max);var i=r[e].data.length-1;r[e].data=r[e].data.filter(function(t,o){var a=o===i?t[0]:r[e].data[o+1][0],_=0===o?t[0]:r[e].data[o-1][0];return a>=s.min+n&&_<=s.max+n}),r[e].data=largestTriangleThreeBuckets(r[e].data,1e3,0,1)},a=0;a-20&&i<5&&r<_+10&&r>_-10)return t.overSeriesAnchor={over:!0,seriesNum:o},void t.chart.getPlaceholder().css("cursor","ns-resize")}t.overSeriesAnchor.over&&(t.overSeriesAnchor={over:!1,seriesNum:null},t.chart.getPlaceholder().css("cursor","default"))}}),$("#loggerChart").bind("mousedown",function(e){if(t.overSeriesAnchor.over)return t.chart.unbindMoveEvents(),t.setActiveSeries(t.overSeriesAnchor.seriesNum+1),t.chart.triggerRedrawOverlay(),$("#loggerChart").bind("mousemove",t.seriesAnchorVertPanRef),$("#loggerChart").bind("mouseup",t.unbindCustomEventsRef),$("#loggerChart").bind("mouseout",t.unbindCustomEventsRef),void(t.previousYPos=e.clientY)})},t.prototype.refreshCursors=function(){for(var t=this.chart.getCursors(),e=[],n=[],i=0;i-20&&n<5&&ia-10)return this.overSeriesAnchor={over:!0,seriesNum:s},this.chart.unbindMoveEvents(),this.setActiveSeries(this.overSeriesAnchor.seriesNum+1),this.chart.triggerRedrawOverlay(),$("#loggerChart").bind("touchmove",this.seriesAnchorTouchVertPanRef),$("#loggerChart").bind("touchend",this.unbindCustomEventsRef),$("#loggerChart").bind("touchleave",this.unbindCustomEventsRef),void(this.previousYPos=t.originalEvent.touches[0].clientY)}this.overSeriesAnchor={over:!1,seriesNum:null}}},t.prototype.setActiveSeries=function(t){this.updateYAxisLabels(t),this.chart.setActiveYAxis(t),this.activeSeries=t},t.prototype.updateYAxisLabels=function(t){if(!(this.dataContainers.length>1&&t>this.dataContainers.length||t===this.activeSeries)){var e=this.chart.getAxes(),n="y"+(t-1===0?"":t.toString())+"axis",i="y"+(this.activeSeries-1===0?"":this.activeSeries.toString())+"axis";e[i].options.show=!1,e[n].options.show=!0,this.chart.setupGrid(),this.chart.draw()}},t.prototype.updateSeriesAnchors=function(t,e){if(void 0!=this.dataContainers&&void 0!=this.chart)for(var n=this.chart.offset(),i=this.chart.getAxes(),r=this.chart.getData(),s=0;s=0&&t[i]==e;i--)n--;t=t.substring(0,n)}return t},t.replace=function(t,e,n){return t.replace(e,n)},t.replaceAll=function(t,e,n){return t.replace(e,n)},t.slice=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=null),t.slice(e,null===n?void 0:n)},t.replaceAllMapped=function(t,e,n){return t.replace(e,function(){for(var t=[],e=0;ee?1:0},t}()),p=(function(){function t(t){void 0===t&&(t=[]),this.parts=t}return t.prototype.add=function(t){this.parts.push(t)},t.prototype.toString=function(){return this.parts.join("")},t}(),function(){function t(){}return t.toFixed=function(t,e){return t.toFixed(e)},t.equal=function(t,e){return t===e},t.parseIntAutoRadix=function(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e},t.parseInt=function(t,e){if(10==e){if(/^(\-|\+)?[0-9]+$/.test(t))return parseInt(t,e)}else if(16==e){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(t))return parseInt(t,e)}else{var n=parseInt(t,e);if(!isNaN(n))return n}throw new Error("Invalid integer literal when parsing "+t+" in base "+e)},Object.defineProperty(t,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),t.isNumeric=function(t){return!isNaN(t-parseFloat(t))},t.isNaN=function(t){return isNaN(t)},t.isInteger=function(t){return Number.isInteger(t)},t}(),h.RegExp,function(){function t(){}return t.apply=function(t,e){return t.apply(null,e)},t.bind=function(t,e){return t.bind(e)},t}(),function(){function t(){}return t.parse=function(t){return h.JSON.parse(t)},t.stringify=function(t){return h.JSON.stringify(t,null,2)},t}()),d=(function(){function t(){}return t.create=function(t,e,n,i,r,s,o){return void 0===e&&(e=1),void 0===n&&(n=1),void 0===i&&(i=0),void 0===r&&(r=0),void 0===s&&(s=0),void 0===o&&(o=0),new c(t,e-1,n,i,r,s,o)},t.fromISOString=function(t){return new c(t)},t.fromMillis=function(t){return new c(t)},t.toMillis=function(t){return t.getTime()},t.now=function(){return new c},t.toJson=function(t){return t.toJSON()},t}(),null)}).call(e,n(135))},function(t,e,n){"use strict";var i=n(0),r=n(22),s=n(290),o=n(17),a=n(13);n.d(e,"b",function(){return l}),n.d(e,"a",function(){return h});var _=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=function(t){function e(e,i){void 0===i&&(i={}),i.inputs=i.inputs||[],i.buttons=i.buttons||[],i.enableBackdropDismiss=!n.i(o.a)(i.enableBackdropDismiss)||!!i.enableBackdropDismiss,t.call(this,s.a,i,null),this._app=e,this.isOverlay=!0}return _(e,t),e.prototype.getTransitionName=function(t){var e="back"===t?"alertLeave":"alertEnter";return this._nav&&this._nav.config.get(e)},e.prototype.setTitle=function(t){this.data.title=t},e.prototype.setSubTitle=function(t){this.data.subTitle=t},e.prototype.setMessage=function(t){this.data.message=t},e.prototype.addInput=function(t){this.data.inputs.push(t)},e.prototype.addButton=function(t){this.data.buttons.push(t)},e.prototype.setCssClass=function(t){this.data.cssClass=t},e.prototype.present=function(t){return void 0===t&&(t={}),this._app.present(this,t)},e}(a.a),h=function(){function t(t){this._app=t}return t.prototype.create=function(t){return void 0===t&&(t={}),new l(this._app,t)},t.decorators=[{type:i.Injectable}],t.ctorParameters=[{type:r.a}],t}()},function(t,e,n){"use strict";function i(t){var e=new a;return n.i(s.j)(function(){window.addEventListener("online",function(t){e.publish("app:online",t)},!1),window.addEventListener("offline",function(t){e.publish("app:offline",t)},!1),window.addEventListener("orientationchange",function(t){e.publish("app:rotated",t)}),window.addEventListener("statusTap",function(e){var n=document.elementFromPoint(t.width()/2,t.height()/2);if(n){var i=n.closest(".scroll-content");if(i){var r=new o.a(i);r.scrollTo(0,0,300)}}}),window.addEventListener("resize",function(){t.windowResize()})},2e3),e}function r(t){return function(){return i(t)}}var s=n(36),o=n(531);n.d(e,"a",function(){return a}),e.b=r;var a=function(){function t(){this._channels=[]}return t.prototype.subscribe=function(t){for(var e=this,n=[],i=1;io)for(var c=o-1,u=_.length;c=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},o=function(){function t(){this.triggerLevel=.5,this.triggerSource="Osc Ch 1",this.awgPower=!1,this.laChanActive=!1}return t=r([n.i(i.Injectable)(),s("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var i=n(0),r=n(2),s=n(42);n.d(e,"a",function(){return a});var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=function(t){function e(e,n,i,r,s,o,a){t.call(this,e,n,i),this.mode=e.get("mode"),this.type=""===r?"floating":""===s?"stacked":""===o?"fixed":""===a?"inset":null}return o(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("label",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("label",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t,t&&this.setElementAttribute("id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this.getNativeElement().textContent||""},enumerable:!0,configurable:!0}),e.decorators=[{type:i.Directive,args:[{selector:"ion-label"}]}],e.ctorParameters=[{type:r.c},{type:i.ElementRef},{type:i.Renderer},{type:void 0,decorators:[{type:i.Attribute,args:["floating"]}]},{type:void 0,decorators:[{type:i.Attribute,args:["stacked"]}]},{type:void 0,decorators:[{type:i.Attribute,args:["fixed"]}]},{type:void 0,decorators:[{type:i.Attribute,args:["inset"]}]}],e.propDecorators={color:[{type:i.Input}],mode:[{type:i.Input}],id:[{type:i.Input}]},e}(s.a)},function(t,e,n){"use strict";var i=n(0),r=n(2),s=n(42),o=n(17),a=n(877),_=n(48);n.d(e,"a",function(){return h});var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},h=function(t){function e(e,n,i,r){t.call(this,e,n,i),this._gestureCtrl=r,this._enableSliding=!0,this._containsSlidingItems=!1,this.mode=e.get("mode")}return l(e,t),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("list",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sliding",{get:function(){return this._enableSliding},set:function(t){this._enableSliding=n.i(o.k)(t),this._updateSlidingState()},enumerable:!0,configurable:!0}),e.prototype.containsSlidingItem=function(t){this._containsSlidingItems=t,this._updateSlidingState()},e.prototype._updateSlidingState=function(){var t=this._enableSliding&&this._containsSlidingItems;t?this._slidingGesture||(this._slidingGesture=new a.a(this),this._slidingGesture.listen()):(this._slidingGesture&&this._slidingGesture.destroy(),this._slidingGesture=null)},e.prototype.closeSlidingItems=function(){this._slidingGesture&&this._slidingGesture.closeOpened()},e.prototype.destroy=function(){this._slidingGesture&&this._slidingGesture.destroy()},e.decorators=[{type:i.Directive,args:[{selector:"ion-list"}]}],e.ctorParameters=[{type:r.c},{type:i.ElementRef},{type:i.Renderer},{type:_.a}],e.propDecorators={mode:[{type:i.Input}],sliding:[{type:i.Input}]},e}(s.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(){this._menus=[]}return t.prototype.open=function(t){var e=this.get(t);if(e){var n=this.getOpen();return n&&e!==n&&n.setOpen(!1,!1),e.open()}return Promise.resolve(!1)},t.prototype.close=function(t){var e;return e=t?this.get(t):this.getOpen(),e?e.close():Promise.resolve(!1)},t.prototype.toggle=function(t){var e=this.get(t);if(e){var n=this.getOpen();return n&&e!==n&&n.setOpen(!1,!1),e.toggle()}return Promise.resolve(!1)},t.prototype.enable=function(t,e){var n=this.get(e);if(n)return n.enable(t)},t.prototype.swipeEnable=function(t,e){var n=this.get(e);if(n)return n.swipeEnable(t)},t.prototype.isOpen=function(t){var e=this.get(t);return e&&e.isOpen||!1},t.prototype.isEnabled=function(t){var e=this.get(t);return e&&e.enabled||!1},t.prototype.get=function(t){var e;return"left"===t||"right"===t?(e=this._menus.find(function(e){return e.side===t&&e.enabled}),e?e:this._menus.find(function(e){return e.side===t})||null):t?this._menus.find(function(e){return e.id===t})||null:(e=this._menus.find(function(t){return t.enabled}),e?e:this._menus.length?this._menus[0]:null)},t.prototype.getOpen=function(){return this._menus.find(function(t){return t.isOpen})},t.prototype.getMenus=function(){return this._menus},t.prototype.register=function(t){this._menus.push(t)},t.prototype.unregister=function(t){var e=this._menus.indexOf(t);e>-1&&this._menus.splice(e,1)},t.registerType=function(t,e){r[t]=e},t.create=function(t,e,n){return new r[t](e,n)},t}(),r={}},function(t,e,n){"use strict";function i(t,e,n){var i=new _(t,e,n);return i.init(),i}function r(t){return t=t.trim(),"/"!==t.charAt(0)&&(t="/"+t),t.length>1&&"/"===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),t}var s=n(195),o=n(17),a=n(13);n.d(e,"b",function(){return _}),e.a=i;var _=function(){function t(t,e,n){this._app=t,this._serializer=e,this._location=n,this.segments=[],this.history=[]}return t.prototype.init=function(){var t=this,e=r(this._location.path());this.segments=this._serializer.parse(e),this.historyPush(e),this._location.subscribe(function(e){t.urlChange(r(e.url))})},t.prototype.urlChange=function(t){if(!this.isCurrentUrl(t)){this.isBackUrl(t)?this.historyPop():this.historyPush(t);var e=this._app.getRootNav();if(e){if("/"===t){if(!n.i(o.a)(this.indexAliasUrl))return void e.goToRoot({updateUrl:!1,isNavRoot:!0});t=this.indexAliasUrl}this.segments=this._serializer.parse(t),this.loadNavFromPath(e)}}},t.prototype.navChange=function(t){if(t){var e=this._app.getActiveNav();if(e){this.segments=this.pathFromNavs(e);var n=this._serializer.serialize(this.segments);this.updateLocation(n,t)}}},t.prototype.updateLocation=function(t,e){this.indexAliasUrl===t&&(t="/"),e===s.a&&this.isBackUrl(t)?(this.historyPop(),this._location.back()):this.isCurrentUrl(t)||(this.historyPush(t),this._location.go(t))},t.prototype.getComponentFromName=function(t){var e=this._serializer.createSegmentFromName(t);return e&&e.component?e.component:null},t.prototype.createUrl=function(t,e,n,i){void 0===i&&(i=!0);var r=this._serializer.createSegmentFromName(e);if(r){var s=this.pathFromNavs(t,r.component,n),o=this._serializer.serialize(s);return i?this._location.prepareExternalUrl(o):o}return""},t.prototype.pathFromNavs=function(t,e,i){for(var r,o,a,_=[];t&&(!e&&n.i(s.b)(t)&&(r=t.getActive(!0),r&&(e=r.component,i=r.data)),o=this._serializer.serializeComponent(e,i),e=i=null,o);)_.push(o),n.i(s.c)(t)?(a=this.getTabSelector(t),_.push({id:a,name:a,component:null,data:null}),t=t.parent&&t.parent.parent):t=t.parent;return _.reverse()},t.prototype.getTabSelector=function(t){return n.i(o.a)(t.tabUrlPath)?t.tabUrlPath:n.i(o.a)(t.tabTitle)?this._serializer.formatUrlPart(t.tabTitle):"tab-"+t.index},t.prototype.getSelectedTabIndex=function(t,e,i){var r=this;void 0===i&&(i=0);var s=e.match(/tab-(\d+)/);if(s)return parseInt(s[1],10);var a=t._tabs.find(function(t){return n.i(o.a)(t.tabUrlPath)&&t.tabUrlPath===e||n.i(o.a)(t.tabTitle)&&r._serializer.formatUrlPart(t.tabTitle)===e});return n.i(o.a)(a)?a.index:i},t.prototype.initNav=function(t){var e=this.segments;if(t&&e.length){if(!t.parent)return e[0].navId=t.id,e[0];for(var n=1;n=0;_--)if(r=o.getByIndex(_),r&&r.id===i.id)return void(_===a?e():o.popTo(r,{animate:!1,updateUrl:!1},e));o.push(i.component,i.data,{id:i.id,animate:!1,updateUrl:!1},e)},t.prototype.isBackUrl=function(t){return t===this.history[this.history.length-2]},t.prototype.isCurrentUrl=function(t){return t===this.history[this.history.length-1]},t.prototype.historyPush=function(t){this.isCurrentUrl(t)||(this.history.push(t),this.history.length>30&&this.history.shift())},t.prototype.historyPop=function(){this.history.pop(),this.history.length||this.historyPush(this._location.path())},t}()},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("abs",{number:Math.abs,Complex:function(t){return t.abs()},BigNumber:function(t){return t.abs()},Fraction:function(t){return t.abs()},"Array | Matrix":function(t){return r(t,s,!0)},Unit:function(t){return t.abs()}});return s.toTex={1:"\\left|${args[0]}\\right|"},s}var r=n(12);e.name="abs",e.factory=i},function(t,e,n){"use strict";function i(t){function e(i){if(!(this instanceof e))throw new SyntaxError("Constructor must be called with the new operator");this._dimensions=[],this._isScalar=!0;for(var r=0,s=arguments.length;r0)return void n.error(e)}else if(e[r].statusCode>0)return void n.error(e)}else for(var o in e[r])if(e[r][o][0].statusCode>0)return void n.error(e);n.next(e),n.complete()},function(t){n.error(t)},function(){n.complete()})})},t.decorators=[{type:i.Injectable}],t.ctorParameters=[{type:o.a},null],t}()},function(t,e,n){"use strict";var i=n(0),r=n(22),s=n(138),o=n(17),a=n(294),_=n(13);n.d(e,"a",function(){return c});var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},h=function(t){function e(e,i){void 0===i&&(i={}),i.showBackdrop=!n.i(o.a)(i.showBackdrop)||!!i.showBackdrop,i.dismissOnPageChange=!!n.i(o.a)(i.dismissOnPageChange)&&!!i.dismissOnPageChange,t.call(this,a.a,i,null),this._app=e,this.isOverlay=!0}return l(e,t),e.prototype.getTransitionName=function(t){var e="back"===t?"loadingLeave":"loadingEnter";return this._nav&&this._nav.config.get(e)},e.prototype.setContent=function(t){this.data.content=t},e.prototype.present=function(t){return void 0===t&&(t={}),this._app.present(this,t,s.c.LOADING)},e.prototype.dismissAll=function(){this._nav&&this._nav.popAll()},e}(_.a),c=function(){function t(t){this._app=t}return t.prototype.create=function(t){return void 0===t&&(t={}),new h(this._app,t)},t.decorators=[{type:i.Injectable}],t.ctorParameters=[{type:r.a}],t}()},function(t,e,n){"use strict";var i=n(0),r=n(22),s=n(138),o=n(17),a=n(296),_=n(13);n.d(e,"a",function(){return c});var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},h=function(t){function e(e,i,r,s){void 0===r&&(r={}),void 0===s&&(s={}),r.component=i,s.showBackdrop=!n.i(o.a)(s.showBackdrop)||!!s.showBackdrop,s.enableBackdropDismiss=!n.i(o.a)(s.enableBackdropDismiss)||!!s.enableBackdropDismiss,r.opts=s,t.call(this,a.a,r,null),this._app=e,this.isOverlay=!0}return l(e,t),e.prototype.getTransitionName=function(t){var e="back"===t?"modalLeave":"modalEnter";return this._nav&&this._nav.config.get(e)},e.prototype.present=function(t){return void 0===t&&(t={}),this._app.present(this,t,s.c.MODAL)},e}(_.a),c=function(){function t(t){this._app=t}return t.prototype.create=function(t,e,n){return void 0===e&&(e={}),void 0===n&&(n={}),new h(this._app,t,e,n)},t.decorators=[{type:i.Injectable}],t.ctorParameters=[{type:r.a}],t}()},function(t,e,n){"use strict";var i=n(0),r=n(2),s=n(42),o=n(13);n.d(e,"b",function(){return _}),n.d(e,"a",function(){return l}),n.d(e,"d",function(){return h}),n.d(e,"c",function(){return c});var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},_=function(t){function e(e,n,i,r){t.call(this,e,n,i),this._setMode("header",e.get("mode")),r&&r._setHeader(this)}return a(e,t),e.decorators=[{type:i.Directive,args:[{selector:"ion-header"}]}],e.ctorParameters=[{type:r.c},{type:i.ElementRef},{type:i.Renderer},{type:o.a,decorators:[{type:i.Optional}]}],e}(s.a),l=function(t){function e(e,n,i,r){t.call(this,e,n,i),this._setMode("footer",e.get("mode")),r&&r._setFooter(this)}return a(e,t),e.decorators=[{type:i.Directive,args:[{selector:"ion-footer"}]}],e.ctorParameters=[{type:r.c},{type:i.ElementRef},{type:i.Renderer},{type:o.a,decorators:[{type:i.Optional}]}],e}(s.a),h=function(t){function e(e,n,i){t.call(this,e,n,i)}return a(e,t),e.prototype._setTitle=function(t){this._title=t},e.prototype.getTitleText=function(){return this._title&&this._title.getTitleText()||""},e}(s.a),c=function(t){function e(e,n,i,r){t.call(this,n,i,r),this.mode=n.get("mode"),this._sbPadding=n.getBoolean("statusbarPadding")}return a(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("toolbar",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("toolbar",t)},enumerable:!0,configurable:!0}),e.decorators=[{type:i.Component,args:[{selector:"ion-toolbar",template:'
',host:{class:"toolbar","[class.statusbar-padding]":"_sbPadding"},changeDetection:i.ChangeDetectionStrategy.OnPush}]}],e.ctorParameters=[{type:o.a,decorators:[{type:i.Optional}]},{type:r.c},{type:i.ElementRef},{type:i.Renderer}],e.propDecorators={color:[{type:i.Input}],mode:[{type:i.Input}]},e}(h)},function(t,e,n){"use strict";var i=n(0),r=n(23);n.d(e,"a",function(){return s});var s=function(){function t(t){var e=this;t.ready().then(function(){e.plugin=window.TapticEngine})}return t.prototype.available=function(){return!!this.plugin},t.prototype.selection=function(){this.plugin&&this.plugin.selection()},t.prototype.gestureSelectionStart=function(){this.plugin&&this.plugin.gestureSelectionStart()},t.prototype.gestureSelectionChanged=function(){this.plugin&&this.plugin.gestureSelectionChanged()},t.prototype.gestureSelectionEnd=function(){this.plugin&&this.plugin.gestureSelectionEnd()},t.prototype.notification=function(t){this.plugin&&this.plugin.notification(t)},t.prototype.impact=function(t){this.plugin&&this.plugin.impact(t)},t.decorators=[{type:i.Injectable}],t.ctorParameters=[{type:r.f}],t}()},function(t,e,n){"use strict";function i(t,e,i,s){var o=i(n(9)),a=s("size",{Matrix:function(t){return o(t.size())},Array:r.size,string:function(t){return"Array"===e.matrix?[t.length]:o([t.length])},"number | Complex | BigNumber | Unit | boolean | null":function(t){return"Array"===e.matrix?[]:o([])}});return a.toTex=void 0,a}var r=n(16);e.name="size",e.factory=i},function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e,n,r){var s=r("_typeof",{any:function(e){var n=i(e);return"object"===n?null===e?"null":Array.isArray(e)?"Array":e instanceof Date?"Date":e instanceof RegExp?"RegExp":t.isBigNumber(e)?"BigNumber":t.isComplex(e)?"Complex":t.isFraction(e)?"Fraction":t.isMatrix(e)?"Matrix":t.isUnit(e)?"Unit":t.isIndex(e)?"Index":t.isRange(e)?"Range":t.isResultSet(e)?"ResultSet":t.isNode(e)?e.type:t.isChain(e)?"Chain":t.isHelp(e)?"Help":"Object":"function"===n?"Function":n}});return s.toTex=void 0,s}e.name="typeof",e.factory=r},function(t,e,n){"use strict";function i(t,e,i,s){var o=i(n(72)),a=t.SparseMatrix,_=function(t,e,n,i){var _=t._data,l=t._size,h=t._datatype,c=e._values,u=e._index,p=e._ptr,d=e._size,f=e._datatype;if(l.length!==d.length)throw new r(l.length,d.length);if(l[0]!==d[0]||l[1]!==d[1])throw new RangeError("Dimension mismatch. Matrix A ("+l+") must match Matrix B ("+d+")");if(!c)throw new Error("Cannot perform operation on Dense Matrix and Pattern Sparse Matrix");var m,g=l[0],v=l[1],x=o,y=0,b=n;"string"==typeof h&&h===f&&(m=h,x=s.find(o,[m,m]),y=s.convert(0,m),b=s.find(n,[m,m]));for(var w=[],C=[],E=[],T=0;T-1&&(t.splice(n,1),!0)},t.clear=function(t){t.length=0},t.isEmpty=function(t){return 0==t.length},t.fill=function(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=null),t.fill(e,n,null===i?t.length:i)},t.equals=function(t,e){if(t.length!=e.length)return!1;for(var n=0;ns&&(i=a,s=_)}}return i},t.flatten=function(t){var e=[];return i(t,e),e},t.addAll=function(t,e){for(var n=0;ne?{maxlength:{requiredLength:e,actualLength:r.length}}:null}},t.pattern=function(e){return function(i){if(n.i(h.c)(t.required(i)))return null;var r=new RegExp("^"+e+"$"),s=i.value;return r.test(s)?null:{pattern:{requiredPattern:"^"+e+"$",actualValue:s}}}},t.nullValidator=function(t){return null},t.compose=function(t){if(n.i(h.a)(t))return null;var e=t.filter(h.c);return 0==e.length?null:function(t){return o(r(t,e))}},t.composeAsync=function(t){if(n.i(h.a)(t))return null;var e=t.filter(h.c);return 0==e.length?null:function(t){var n=s(t,e).map(i);return Promise.all(n).then(o)}},t}()},function(t,e,n){"use strict";var i=n(0),r=n(66);n.d(e,"a",function(){return a});var s=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},a=function(){function t(t){this.utilService=t,this.valChange=new i.EventEmitter,this.ignoreFocusOut=!1}return t.prototype.onFocusOut=function(t){this.ignoreFocusOut||this.parseAndEmit(t),this.ignoreFocusOut=!1},t.prototype.onkeypress=function(t){"Enter"===t.key&&(this.parseAndEmit(t),this.ignoreFocusOut=!0)},t.prototype.parseAndEmit=function(t){var e=this.utilService.parseBaseNumberVal(t);this.valChange.emit(e)},s([n.i(i.Output)("valChange"),o("design:type","function"==typeof(e="undefined"!=typeof i.EventEmitter&&i.EventEmitter)&&e||Object)],t.prototype,"valChange",void 0),s([n.i(i.HostListener)("focusout",["$event"]),o("design:type",Function),o("design:paramtypes",[Object]),o("design:returntype",void 0)],t.prototype,"onFocusOut",null),s([n.i(i.HostListener)("keypress",["$event"]),o("design:type",Function),o("design:paramtypes",[Object]),o("design:returntype",void 0)],t.prototype,"onkeypress",null),t=s([n.i(i.Directive)({selector:"[formatInput]"}),o("design:paramtypes",["function"==typeof(a="undefined"!=typeof r.a&&r.a)&&a||Object])],t);var e,a}()},function(t,e,n){"use strict";var i=n(0);n.d(e,"a",function(){return r});var r=function(){function t(){this.signalTypes=["","","","","","","",""],this.signalFreqs=[0,0,0,0,0,0,0,0],this.vpps=[0,0,0,0,0,0,0,0],this.vOffsets=[0,0,0,0,0,0,0,0],this.oscSampleFreqs=[0,0,0,0,0,0,0,0],this.oscBufferSizes=[0,0,0,0,0,0,0,0],this.laSampleFreqs=[0,0,0,0,0,0,0,0],this.laBufferSizes=[0,0,0,0,0,0,0,0]}return t.prototype.setEnumeration=function(t){this.enumeration=t},t.prototype.getEnumeration=function(){return this.enumeration},t.prototype.setTriggerArmed=function(t){this.triggerArmed=t},t.prototype.getTriggerArmed=function(){return this.triggerArmed},t.prototype.setAwgSettings=function(t,e){this.signalTypes[e]=t.signalType,this.signalFreqs[e]=t.signalFreq,this.vpps[e]=t.vpp,this.vOffsets[e]=t.vOffset},t.prototype.getAwgSettings=function(t){return{signalType:this.signalTypes[t],signalFreq:this.signalFreqs[t],vpp:this.vpps[t],vOffset:this.vOffsets[t]}},t.prototype.setOscParameters=function(t,e){this.oscSampleFreqs[e]=t.sampleFreq,this.oscBufferSizes[e]=t.bufferSize},t.prototype.getOscParameters=function(t){return{sampleFreq:this.oscSampleFreqs[t],bufferSize:this.oscBufferSizes[t]}},t.prototype.setLaParameters=function(t,e){this.laSampleFreqs[e]=t.sampleFreq,this.laBufferSizes[e]=t.bufferSize},t.prototype.getLaParameters=function(t){return{sampleFreq:this.laSampleFreqs[t],bufferSize:this.laBufferSizes[t]}},t.prototype.setTriggerTargets=function(t){this.targets=t},t.prototype.getTriggerTargets=function(){return this.targets},t.decorators=[{type:i.Injectable}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";var i=n(0),r=n(48),s=n(17);n.d(e,"a",function(){return o});var o=function(){function t(t,e,n){this._gestureCtrl=t,this._elementRef=e,this._renderer=n,this._gestureID=null,this.disableScroll=!0}return t.prototype.ngOnInit=function(){n.i(s.k)(this.disableScroll)&&(this._gestureID=this._gestureCtrl.newID(),this._gestureCtrl.disableScroll(this._gestureID))},t.prototype.ngOnDestroy=function(){this._gestureID&&this._gestureCtrl.enableScroll(this._gestureID)},t.prototype.getNativeElement=function(){return this._elementRef.nativeElement},t.prototype.setElementClass=function(t,e){this._renderer.setElementClass(this._elementRef.nativeElement,t,e)},t.decorators=[{type:i.Directive,args:[{selector:"ion-backdrop",host:{role:"presentation",tappable:"","disable-activated":""}}]}],t.ctorParameters=[{type:r.a},{type:i.ElementRef},{type:i.Renderer}],t.propDecorators={disableScroll:[{type:i.Input}]},t}()},function(t,e,n){"use strict";function i(t,e,i,o){function a(e,n){return t.isSparseMatrix(e)&&t.isSparseMatrix(n)?_(e.toJSON().values,n.toJSON().values):t.isSparseMatrix(e)?a(e.toArray(),n):t.isSparseMatrix(n)?a(e,n.toArray()):t.isDenseMatrix(e)?a(e.toJSON().data,n):t.isDenseMatrix(n)?a(e,n.toJSON().data):Array.isArray(e)?Array.isArray(n)?_(e,n):a(e,[n]):a([e],n)}function _(t,e){for(var n=0,i=Math.min(t.length,e.length);ne.length?1:t.length0?1:-1:s(i,o);if("Array"===i||"Matrix"===i||"Array"===o||"Matrix"===o)return n=a(t,e),0!==n?n:s(i,o);if(i!==o)return s(i,o);if("Complex"===i)return r(t,e);if("Unit"===i)return t.equalBase(e)?p(t.value,e.value):_(t.formatUnits(),e.formatUnits());if("boolean"===i)return u(t,e);if("string"===i)return s(t,e);if("Object"===i)return l(t,e);if("null"===i)return 0;if("undefined"===i)return 0;throw new TypeError('Unsupported type of value "'+i+'"')}});return p.toTex=void 0,p}function r(t,e){return t.re>e.re?1:t.ree.im?1:t.im
'}]}],e.ctorParameters=[{type:void 0,decorators:[{type:i.Inject,args:[c]}]},{type:i.ComponentFactoryResolver},{type:i.ElementRef},{type:i.Renderer},{type:s.c},{type:_.f},{type:r.a}],e.propDecorators={_viewport:[{type:i.ViewChild,args:["viewport",{read:i.ViewContainerRef}]}],_modalPortal:[{type:i.ViewChild,args:["modalPortal",{read:a.a}]}],_overlayPortal:[{type:i.ViewChild,args:["overlayPortal",{read:a.a}]}],_loadingPortal:[{type:i.ViewChild,args:["loadingPortal",{read:a.a}]}],_toastPortal:[{type:i.ViewChild,args:["toastPortal",{read:a.a}]}]},e}(o.a);!function(t){t[t.DEFAULT=0]="DEFAULT",t[t.MODAL=1]="MODAL",t[t.LOADING=2]="LOADING",t[t.TOAST=3]="TOAST"}(l||(l={}))},function(t,e,n){"use strict";var i=n(0),r=n(90),s=n(2),o=n(526),a=n(36),_=n(17),l=n(42),h=n(884);n.d(e,"b",function(){return u}),n.d(e,"a",function(){return p}),n.d(e,"c",function(){ return d});var c=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=function(t){function e(e,r,s){var o=this;t.call(this,e,r,s),this.ionWillChange=new i.EventEmitter,this.ionDidChange=new i.EventEmitter,this.ionDrag=new i.EventEmitter,this.rapidUpdate=n.i(_.l)(function(){o.update()},10),this.id=++f,this.slideId="slides-"+this.id,this.setElementClass(this.slideId,!0)}return c(e,t),e.prototype.ngOnInit=function(){var t=this;this.options||(this.options={}),n.i(_.a)(this.options.pager)&&(this.showPager=n.i(_.k)(this.options.pager));var e="."+this.slideId+" .swiper-pagination",i=n.i(_.f)({pagination:e},this.options);i.onTap=function(e,n){return t.onTap(e,n),t.options.onTap&&t.options.onTap(e,n)},i.onClick=function(e,n){return t.onClick(e,n),t.options.onClick&&t.options.onClick(e,n)},i.onDoubleTap=function(e,n){return t.onDoubleTap(e,n),t.options.onDoubleTap&&t.options.onDoubleTap(e,n)},i.onTransitionStart=function(e,n){return t.onTransitionStart(e,n),t.options.onTransitionStart&&t.options.onTransitionStart(e,n)},i.onTransitionEnd=function(e,n){return t.onTransitionEnd(e,n),t.options.onTransitionEnd&&t.options.onTransitionEnd(e,n)},i.onSlideChangeStart=function(e){return t.ionWillChange.emit(e),t.options.onSlideChangeStart&&t.options.onSlideChangeStart(e)},i.onSlideChangeEnd=function(e){return t.ionDidChange.emit(e),t.options.onSlideChangeEnd&&t.options.onSlideChangeEnd(e)},i.onLazyImageLoad=function(e,n,i){return t.options.onLazyImageLoad&&t.options.onLazyImageLoad(e,n,i)},i.onLazyImageReady=function(e,n,i){return t.options.onLazyImageReady&&t.options.onLazyImageReady(e,n,i)},i.onSliderMove=function(e,n){return t.ionDrag.emit(e),t.options.onSliderMove&&t.options.onSliderMove(e,n)},setTimeout(function(){var e=new h.a(t.getNativeElement().children[0],i);t.slider=e},300)},e.prototype.onTap=function(t,e){},e.prototype.onClick=function(t,e){},e.prototype.onDoubleTap=function(t,e){this.toggleZoom(t,e)},e.prototype.onLazyImageLoad=function(t,e,n){},e.prototype.onLazyImageReady=function(t,e,n){},e.prototype.initZoom=function(){var t=this;this.zoomDuration=this.zoomDuration||230,this.maxScale=this.zoomMax||3,this.zoomElement=this.getNativeElement().children[0].children[0],this.zoomElement&&this.zoomElement.classList.add("ion-scroll-zoom"),this.zoomGesture=new o.a(this.zoomElement),this.zoomGesture.listen(),this.scale=1,this.zoomLastPosX=0,this.zoomLastPosY=0;var e,n;this.viewportWidth=this.getNativeElement().offsetWidth,this.viewportHeight=this.getNativeElement().offsetHeight,this.zoomElement.addEventListener("touchstart",function(e){t.onTouchStart(e)}),this.zoomElement.addEventListener("touchmove",function(e){t.onTouchMove(e)}),this.zoomElement.addEventListener("touchend",function(e){t.onTouchEnd(e)}),this.zoomGesture.on("pinchstart",function(n){e=t.scale}),this.zoomGesture.on("pinch",function(i){t.scale=Math.max(1,Math.min(e*i.scale,10)),t.zoomElement.style[a.k.transform]="scale("+t.scale+")",n=t.zoomElement.getBoundingClientRect()}),this.zoomGesture.on("pinchend",function(){if(t.scale>t.maxScale){var e=new r.a(t.zoomElement).duration(t.zoomDuration).easing("linear").from("scale",t.scale).to("scale",t.maxScale);e.play(),t.scale=t.maxScale}})},e.prototype.resetZoom=function(){this.zoomElement&&(this.zoomElement.parentElement.style[a.k.transform]="",this.zoomElement.style[a.k.transform]="scale(1)"),this.scale=1,this.zoomLastPosX=0,this.zoomLastPosY=0},e.prototype.toggleZoom=function(t,e){if(this.enableZoom){var n=new r.a(this.touch.target.children[0]).duration(this.zoomDuration).easing("linear"),i=new r.a;i.add(n),this.scale>1?(n.from("scale",this.scale),n.to("scale",1),i.play(),this.scale=1):(n.from("scale",this.scale),n.to("scale",this.maxScale),i.play(),this.scale=this.maxScale)}},e.prototype.onTransitionStart=function(t,e){},e.prototype.onTransitionEnd=function(t,e){},e.prototype.onTouchStart=function(t){var e=t.target.closest(".slide").children[0].children[0];this.touch={x:null,y:null,startX:t.touches[0].clientX,startY:t.touches[0].clientY,deltaX:0,deltaY:0,lastX:0,lastY:0,target:e.parentElement,zoomable:e,zoomableWidth:e.offsetWidth,zoomableHeight:e.offsetHeight}},e.prototype.onTouchMove=function(t){this.touch.deltaX=t.touches[0].clientX-this.touch.startX,this.touch.deltaY=t.touches[0].clientY-this.touch.startY;var e=this.touch.zoomableWidth*this.scale,n=this.touch.zoomableHeight*this.scale,i=Math.min(this.viewportWidth/2-e/2,0),r=-i;Math.min(this.viewportHeight/2-n/2,0);if(!(this.scale<=1))if(this.touch.x=this.touch.deltaX+this.touch.lastX,this.touch.y=this.touch.deltaY+this.touch.lastY,this.touch.xr,this.touch.x>this.viewportWidth);else if(!(-this.touch.x>this.viewportWidth))return this.touch.target.style[a.k.transform]="translateX("+this.touch.x+"px) translateY("+this.touch.y+"px)",t.preventDefault(),t.stopPropagation(),!1},e.prototype.onTouchEnd=function(t){if(this.scale>1){if(Math.abs(this.touch.x)>this.viewportWidth)var e=e>0?this.viewportWidth-1:-(this.viewportWidth-1);this.touch.lastX=this.touch.x,this.touch.lastY=this.touch.y}},e.prototype.update=function(){var t=this;setTimeout(function(){t.slider.update(),t.length()>10&&(t.showPager=!1)},300)},e.prototype.slideTo=function(t,e,n){this.slider.slideTo(t,e,n)},e.prototype.slideNext=function(t,e){this.slider.slideNext(e,t)},e.prototype.slidePrev=function(t,e){this.slider.slidePrev(e,t)},e.prototype.getActiveIndex=function(){return this.slider.activeIndex},e.prototype.getPreviousIndex=function(){return this.slider.previousIndex},e.prototype.length=function(){return this.slider.slides.length},e.prototype.isEnd=function(){return this.slider.isEnd},e.prototype.isBeginning=function(){return this.slider.isBeginning},e.prototype.getSlider=function(){return this.slider},e.decorators=[{type:i.Component,args:[{selector:"ion-slides",template:'
',changeDetection:i.ChangeDetectionStrategy.OnPush,encapsulation:i.ViewEncapsulation.None}]}],e.ctorParameters=[{type:s.c},{type:i.ElementRef},{type:i.Renderer}],e.propDecorators={options:[{type:i.Input}],pager:[{type:i.Input}],zoom:[{type:i.Input}],zoomDuration:[{type:i.Input}],zoomMax:[{type:i.Input}],ionWillChange:[{type:i.Output}],ionDidChange:[{type:i.Output}],ionDrag:[{type:i.Output}]},e}(l.a),p=function(){function t(t,e){this.slides=e,this.ele=t.nativeElement,this.ele.classList.add("swiper-slide"),e.rapidUpdate()}return t.prototype.ngOnDestroy=function(){this.slides.rapidUpdate()},t.decorators=[{type:i.Component,args:[{selector:"ion-slide",template:'
',changeDetection:i.ChangeDetectionStrategy.OnPush,encapsulation:i.ViewEncapsulation.None}]}],t.ctorParameters=[{type:i.ElementRef},{type:u,decorators:[{type:i.Host}]}],t.propDecorators={zoom:[{type:i.Input}]},t}(),d=function(){function t(){}return t.decorators=[{type:i.Directive,args:[{selector:"slide-lazy",host:{class:"swiper-lazy"}}]}],t.ctorParameters=[],t}(),f=-1},function(t,e,n){"use strict";function i(t,e,i,o){var a=i(n(9)),_=i(n(92)),l=i(n(133)),h=i(n(94)),c=i(n(50)),u=i(n(40)),p=n(26),d=o("larger",{"boolean, boolean":function(t,e){return t>e},"number, number":function(t,n){return t>n&&!r(t,n,e.epsilon)},"BigNumber, BigNumber":function(t,n){return t.gt(n)&&!s(t,n,e.epsilon)},"Fraction, Fraction":function(t,e){return 1===t.compare(e)},"Complex, Complex":function(){throw new TypeError("No ordering relation is defined for complex numbers")},"Unit, Unit":function(t,e){if(!t.equalBase(e))throw new Error("Cannot compare units with different base");return d(t.value,e.value)},"SparseMatrix, SparseMatrix":function(t,e){return l(t,e,d)},"SparseMatrix, DenseMatrix":function(t,e){return _(e,t,d,!0)},"DenseMatrix, SparseMatrix":function(t,e){return _(t,e,d,!1)},"DenseMatrix, DenseMatrix":function(t,e){return c(t,e,d)},"Array, Array":function(t,e){return d(a(t),a(e)).valueOf()},"Array, Matrix":function(t,e){return d(a(t),e)},"Matrix, Array":function(t,e){return d(t,a(e))},"SparseMatrix, any":function(t,e){return h(t,e,d,!1)},"DenseMatrix, any":function(t,e){return u(t,e,d,!1)},"any, SparseMatrix":function(t,e){return h(e,t,d,!0)},"any, DenseMatrix":function(t,e){return u(e,t,d,!0)},"Array, any":function(t,e){return u(a(t),e,d,!1).valueOf()},"any, Array":function(t,e){return u(a(e),t,d,!0).valueOf()}});return d.toTex={2:"\\left(${args[0]}".concat(p.operators.larger,"${args[1]}\\right)")},d}var r=n(19).nearlyEqual,s=n(142);e.name="larger",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var o=i("isInteger",{number:s.isInteger,BigNumber:function(t){return t.isInt()},Fraction:function(t){return 1===t.d&&isFinite(t.n)},"Array | Matrix":function(t){return r(t,o)}});return o}var r=n(12),s=n(19);e.name="isInteger",e.factory=i},function(t,e,n){"use strict";t.exports=function(t,e,n){if(null===n||void 0===n)return t.eq(e);if(t.eq(e))return!0;if(t.isNaN()||e.isNaN())return!1;if(t.isFinite()&&e.isFinite()){var i=t.minus(e).abs();if(i.isZero())return!0;var r=t.constructor.max(t.abs(),e.abs());return i.lte(r.times(n))}return!1}},function(t,e,n){"use strict";var i=n(238);t.exports=function(t){return Array.isArray(t)||i(t)}},function(t,e,n){"use strict";e.array=n(16),e.boolean=n(1318),e.function=n(159),e.number=n(19),e.object=n(32),e.string=n(64),e.emitter=n(695)},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n(1),s=n(420),o=n(160),a=n(161),_=function(t){function e(e,n){t.call(this),this.array=e,this.scheduler=n,n||1!==e.length||(this._isScalar=!0,this.value=e[0])}return i(e,t),e.create=function(t,n){return new e(t,n)},e.of=function(){for(var t=[],n=0;n1?new e(t,i):1===r?new s.ScalarObservable(t[0],i):new o.EmptyObservable(i)},e.dispatch=function(t){var e=t.array,n=t.index,i=t.count,r=t.subscriber;return n>=i?void r.complete():(r.next(e[n]),void(r.closed||(t.index=n+1,this.schedule(t))))},e.prototype._subscribe=function(t){var n=0,i=this.array,r=i.length,s=this.scheduler;if(s)return s.schedule(e.dispatch,0,{array:i,index:n,count:r,subscriber:t});for(var o=0;o1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function l(t){return n.i(f.c)(t)?m.a.compose(t.map(x.a)):null}function h(t){return n.i(f.c)(t)?m.a.composeAsync(t.map(x.b)):null}function c(t,e){if(!d.a.contains(t,"model"))return!1;var i=t.model;return!!i.isFirstChange()||!n.i(f.k)(e,i.currentValue)}function u(t){return n.i(f.l)(t,g.a)||n.i(f.l)(t,y.a)||n.i(f.l)(t,w.a)||n.i(f.l)(t,C.a)||n.i(f.l)(t,b.b)}function p(t,e){if(n.i(f.a)(e))return null;var i,r,s;return e.forEach(function(e){n.i(f.l)(e,v.a)?i=e:u(e)?(n.i(f.c)(r)&&_(t,"More than one built-in value accessor matches form control with"),r=e):(n.i(f.c)(s)&&_(t,"More than one custom value accessor matches form control with"),s=e)}),n.i(f.c)(s)?s:n.i(f.c)(r)?r:n.i(f.c)(i)?i:(_(t,"No valid value accessor for form control with"),null)}var d=n(127),f=n(96),m=n(128),g=n(259),v=n(60),x=n(762),y=n(342),b=n(213),w=n(216),C=n(217);e.c=i,e.d=r,e.f=s,e.e=o,e.a=l,e.b=h,e.h=c,e.g=p},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"d",function(){return r}),n.d(e,"c",function(){return s}),n.d(e,"b",function(){return o}),n.d(e,"e",function(){return a});var i;!function(t){t[t.Get=0]="Get",t[t.Post=1]="Post",t[t.Put=2]="Put",t[t.Delete=3]="Delete",t[t.Options=4]="Options",t[t.Head=5]="Head",t[t.Patch=6]="Patch"}(i||(i={}));var r;!function(t){t[t.Unsent=0]="Unsent",t[t.Open=1]="Open",t[t.HeadersReceived=2]="HeadersReceived",t[t.Loading=3]="Loading",t[t.Done=4]="Done",t[t.Cancelled=5]="Cancelled"}(r||(r={}));var s;!function(t){t[t.Basic=0]="Basic",t[t.Cors=1]="Cors",t[t.Default=2]="Default",t[t.Error=3]="Error",t[t.Opaque=4]="Opaque"}(s||(s={}));var o;!function(t){t[t.NONE=0]="NONE",t[t.JSON=1]="JSON",t[t.FORM=2]="FORM",t[t.FORM_DATA=3]="FORM_DATA",t[t.TEXT=4]="TEXT",t[t.BLOB=5]="BLOB",t[t.ARRAY_BUFFER=6]="ARRAY_BUFFER"}(o||(o={}));var a;!function(t){t[t.Text=0]="Text",t[t.Json=1]="Json",t[t.ArrayBuffer=2]="ArrayBuffer",t[t.Blob=3]="Blob"}(a||(a={}))},function(t,e,n){"use strict";function i(t,e){if(n.i(r.c)(t))for(var s=0;s-1&&(t.splice(n,1),!0)},t.clear=function(t){t.length=0},t.isEmpty=function(t){return 0==t.length},t.fill=function(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=null),t.fill(e,n,null===i?t.length:i)},t.equals=function(t,e){if(t.length!=e.length)return!1;for(var n=0;ns&&(i=a,s=_)}}return i},t.flatten=function(t){var e=[];return i(t,e),e},t.addAll=function(t,e){for(var n=0;n=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},w=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},C=function(){function t(t,e,n,r,s,o,a,_,l,h,c,u,p){var d=this;this.deviceDataTransferService=o,this.containerRef=a,this.compFactoryResolver=_,this.navCtrl=l,this.exportService=h,this.deviceManagerService=c,this.toastService=u,this.uiHelper=p,this.chartLoad=new i.EventEmitter,this.resetDevice=new i.EventEmitter,this.stopRun=new i.EventEmitter,this.running=!1,this.unitFormatPipeInstance=new y.a,this.timelineChart=null,this.numXCursors=0,this.activeSeries=1,this.numYCursors=0,this.cursorType="Disabled",this.cursor1Chan="Osc 1",this.cursor2Chan="Osc 1",this.cursorsEnabled=!0,this.activeChannels=[1,1],this.mathEnabled=!0,this.activeVPDIndex=[9,9],this.voltsPerDivVals=this.generalVoltsPerDivVals,this.activeTPDIndex=27,this.timelineView=!1,this.timeDivision=1,this.base=0,this.voltDivision=[1,1],this.voltBase=[0,0],this.cursorPositions=[{x:null,y:null},{x:null,y:null}],this.currentBufferArray=[],this.oscopeChansActive=[],this.colorArray=["#FFA500","#4487BA","#ff3b99","#00c864"],this.selectedMathInfo=[],this.seriesDataContainer=[],this.yAxisOptionsContainer=[],this.activeOscChannel=1,this.overSeriesAnchor={over:!1,seriesNum:null},this.showFft=!1,this.TODOKILLME=0,this.overTriggerLevel=!1,this.annotationRefs=[],this.minBodeFirmwareVersion="1.37.0",this.minLogFirmwareVersion="1.262.0",this.cotDisabled=this.uiHelper.generateDisableCheck("cotTip",function(){return 0===d.currentBufferArray.length?{message:d.tooltipService.getTooltip("chartCenterOnTriggerDisabledEmptyBuffer").message,isDisabled:!0}:d.running?{message:d.tooltipService.getTooltip("chartCenterOnTriggerDisabledDeviceRunning").message,isDisabled:!0}:{message:d.tooltipService.getTooltip("chartCenterOnTrigger").message,isDisabled:!1}}),this.fftDisabled=this.uiHelper.generateDisableCheck("fftTip",function(){return 0==d.currentBufferArray.length?{message:d.tooltipService.getTooltip("chartToggleFftDisabledDeviceRunning").message,isDisabled:!0}:{message:d.tooltipService.getTooltip("chartToggleFft").message,isDisabled:!1}}),this.autoScaleDisabled=this.uiHelper.generateDisableCheck("autoScaleTip",function(){return 0===d.currentBufferArray.length?{message:d.tooltipService.getTooltip("chartAutoScaleDisabledDeviceRunning").message,isDisabled:!0}:{message:d.tooltipService.getTooltip("chartAutoscale").message,isDisabled:!1}}),this.exportChartDisabled=this.uiHelper.generateDisableCheck("exportChartTip",function(){return 0===d.currentBufferArray.length?{message:d.tooltipService.getTooltip("chartSettingsDisabledEmptyBuffer").message,isDisabled:!0}:{message:d.tooltipService.getTooltip("chartSettings").message,isDisabled:!1}}),this.loggerDisabled=this.uiHelper.generateDisableCheck("loggerTip",function(){return d.running?{message:d.tooltipService.getTooltip("chartToLoggerDisabledDeviceRunning").message,isDisabled:!0}:{message:d.tooltipService.getTooltip("chartToLogger").message,isDisabled:!1}}),this.modalCtrl=t,this.settingsService=r,this.tooltipService=s,this.popoverCtrl=n,this.platform=e,this.secsPerDivVals=this.generateNiceNumArray(1e-9,10),this.generalVoltsPerDivVals=this.generateNiceNumArray(.001,5)}return t.prototype.ngAfterViewInit=function(){console.log("View Init"),this.seriesAnchorVertPanRef=this.seriesAnchorVertPan.bind(this),this.unbindCustomEventsRef=this.unbindCustomEvents.bind(this),this.seriesAnchorTouchStartRef=this.seriesAnchorTouchStart.bind(this),this.triggerLevelTouchStartRef=this.triggerLevelAnchorTouchStart.bind(this),this.triggerLevelTouchVertPanRef=this.triggerLevelTouchVertPan.bind(this),this.triggerLevelVertPanRef=this.triggerLevelVertPan.bind(this),this.seriesAnchorTouchVertPanRef=this.seriesAnchorTouchVertPan.bind(this);var t=$("#flotContainer");t.css({width:"100%",height:"100%"}),void 0==this.chart&&(this.createChart(),this.fftChartOptions=this.getFftChartOptions())},t.prototype.initializeValues=function(){if(void 0!==this.deviceDescriptor){for(var t=0;tthis.deviceDescriptor.instruments.osc.chans[t-1].adcVpp/1e3&&n>0;)n--;this.voltDivision[t-1]=this.voltsPerDivVals[n],this.activeVPDIndex[t-1]=n,this.chart.setActiveYIndices(this.activeVPDIndex),this.setSeriesSettings({voltsPerDiv:this.voltDivision[t-1],voltBase:this.voltBase[t-1],seriesNum:t-1})},t.prototype.setNearestPresetSecPerDivVal=function(t,e){e=void 0!=e&&e;for(var n=0;this.secsPerDivVals[n]this.oscopeChansActive.length-1)){for(var n=0;this.voltsPerDivVals[n]t.chart.width()-20&&i_-10&&"LA"!==t.deviceDataTransferService.triggerSource)return t.overTriggerLevel=!0,void t.chart.getPlaceholder().css("cursor","ns-resize")}if(t.overTriggerLevel&&(t.overTriggerLevel=!1,t.chart.getPlaceholder().css("cursor","default")),void 0!=t.numSeries){for(var l=0;l-20&&i<5&&rc-10)return t.overSeriesAnchor={ over:!0,seriesNum:t.numSeries[l]},void t.chart.getPlaceholder().css("cursor","ns-resize")}t.overSeriesAnchor.over&&(t.overSeriesAnchor={over:!1,seriesNum:null},t.chart.getPlaceholder().css("cursor","default"))}}),$("#flotContainer").bind("mousedown",function(e){return t.overSeriesAnchor.over?(t.chart.unbindMoveEvents(),t.setActiveSeries(t.overSeriesAnchor.seriesNum+1),t.chart.triggerRedrawOverlay(),$("#flotContainer").bind("mousemove",t.seriesAnchorVertPanRef),$("#flotContainer").bind("mouseup",t.unbindCustomEventsRef),$("#flotContainer").bind("mouseout",t.unbindCustomEventsRef),void(t.previousYPos=e.clientY)):void(t.overTriggerLevel&&(t.chart.unbindMoveEvents(),$("#flotContainer").bind("mousemove",t.triggerLevelVertPanRef),$("#flotContainer").bind("mouseup",t.unbindCustomEventsRef),$("#flotContainer").bind("mouseout",t.unbindCustomEventsRef)))}),$("#flotContainer").bind("touchstart",this.seriesAnchorTouchStartRef),$("#flotContainer").bind("touchstart",this.triggerLevelTouchStartRef),$("#flotContainer").bind("contextmenu",function(e){return t.addAnnotation(e),!1}),this.onLoad(this.chart)},t.prototype.fftChartContext=function(t){return this.addAnnotation(t),!1},t.prototype.addAnnotation=function(t){var e=this,n=t.clientX-t.offsetX,i=t.clientY-t.offsetY,r=document.getElementsByClassName("flotTip")[0];if(void 0!=r){var s=r.innerHTML;if(void 0!=s&&""!==s){var o=r.attributes[1].value.split("; ");o[o.length-1]=o[o.length-1].slice(0,-1);for(var a={},l=0;l0)for(var t=0;t-20&&n<5&&ia-10)return this.overSeriesAnchor={over:!0,seriesNum:this.numSeries[s]},this.chart.unbindMoveEvents(),this.setActiveSeries(this.overSeriesAnchor.seriesNum+1),this.chart.triggerRedrawOverlay(),$("#flotContainer").bind("touchmove",this.seriesAnchorTouchVertPanRef),$("#flotContainer").bind("touchend",this.unbindCustomEventsRef),$("#flotContainer").bind("touchleave",this.unbindCustomEventsRef),void(this.previousYPos=t.originalEvent.touches[0].clientY)}this.overSeriesAnchor={over:!1,seriesNum:null}}},t.prototype.triggerLevelAnchorTouchStart=function(t){var e=this.chart.offset(),n=t.clientX-e.left,i=t.clientY-e.top,r=this.chart.getAxes(),s=parseInt(this.deviceDataTransferService.triggerSource.split(" ")[2])-1,o="y"+(0===s?"":(s+1).toString())+"axis",a=r[o].p2c(this.deviceDataTransferService.triggerLevel);return n>this.chart.width()-20&&na-10?(this.overTriggerLevel=!0,this.chart.getPlaceholder().css("cursor","ns-resize"),this.chart.unbindMoveEvents(),$("#flotContainer").bind("touchmove",this.triggerLevelTouchVertPanRef),$("#flotContainer").bind("touchend",this.unbindCustomEventsRef),void $("#flotContainer").bind("touchleave",this.unbindCustomEventsRef)):void(this.overTriggerLevel=!1)},t.prototype.seriesAnchorsHandler=function(t,e){this.flotOverlayRef=e;var n=this.chart.offset();if(!(void 0==this.seriesAnchorContainer||this.seriesAnchorContainer.length<1))for(var i=this.chart.getAxes(),r=0;rthis.oscopeChansActive.length-1&&(e.font="10pt Calibri",e.fillStyle="white",e.fillText("A"+(this.seriesAnchorContainer[r].seriesNum+1-this.oscopeChansActive.length).toString(),14,9)),e.restore()}},t.prototype.triggerLevelAnchorHandler=function(t,e){if("LA"!==this.deviceDataTransferService.triggerSource){this.flotOverlayRef=e;var n=this.chart.offset(),i=this.chart.getAxes(),r="green",s=2,o=this.deviceDataTransferService.triggerLevel,a=parseInt(this.deviceDataTransferService.triggerSource.split(" ")[2])-1,_="y"+(0===a?"":(a+1).toString())+"axis",l=i[_].p2c(o);e.save(),e.translate(n.left+this.chart.width(),l+10),e.beginPath(),e.moveTo(0,0),e.lineTo(0,10),e.lineTo(-10,5),e.closePath(),e.strokeStyle=r,e.lineWidth=s,e.stroke(),e.fillStyle="black",e.fill(),e.restore()}},t.prototype.seriesAnchorVertPan=function(t){var e="y"+(this.activeSeries-1===0?"":this.activeSeries.toString())+"axis",n=this.chart.getAxes(),i=n[e].c2p(t.clientY),r=n[e].c2p(this.previousYPos),s=i-r,o=(n[e].max+n[e].min)/2,a=(n[e].max-n[e].min)/10,_=o-s,l=_-5*a,h=_+5*a;n[e].options.min=l,n[e].options.max=h,this.chart.setupGrid(),this.chart.draw(),this.voltBase[this.activeSeries-1]=o,this.previousYPos=t.clientY},t.prototype.triggerLevelVertPan=function(t){var e=this.chart.getAxes(),n=this.chart.offset(),i=parseInt(this.deviceDataTransferService.triggerSource.split(" ")[2])-1,r="y"+(0===i?"":(i+1).toString())+"axis",s=e[r].c2p(t.clientY-n.top);s=Math.max(Math.min(s,this.deviceDescriptor.instruments.osc.chans[i].inputVoltageMax/1e3),this.deviceDescriptor.instruments.osc.chans[i].inputVoltageMin/1e3),this.deviceDataTransferService.triggerLevel=s,this.chart.triggerRedrawOverlay()},t.prototype.seriesAnchorTouchVertPan=function(t){var e="y"+(this.activeSeries-1===0?"":this.activeSeries.toString())+"axis",n=this.chart.getAxes(),i=n[e].c2p(t.originalEvent.touches[0].clientY),r=n[e].c2p(this.previousYPos),s=i-r,o=(n[e].max+n[e].min)/2,a=(n[e].max-n[e].min)/10,_=o-s,l=_-5*a,h=_+5*a;n[e].options.min=l,n[e].options.max=h,this.chart.setupGrid(),this.chart.draw(),this.voltBase[this.activeSeries-1]=o,this.previousYPos=t.originalEvent.touches[0].clientY},t.prototype.triggerLevelTouchVertPan=function(t){var e=this.chart.getAxes(),n=this.chart.offset(),i=parseInt(this.deviceDataTransferService.triggerSource.split(" ")[2])-1,r="y"+(0===i?"":(i+1).toString())+"axis",s=e[r].c2p(t.originalEvent.touches[0].clientY-n.top);s=Math.max(Math.min(s,this.deviceDescriptor.instruments.osc.chans[i].inputVoltageMax/1e3),this.deviceDescriptor.instruments.osc.chans[i].inputVoltageMin/1e3),this.deviceDataTransferService.triggerLevel=s,this.chart.triggerRedrawOverlay()},t.prototype.unbindCustomEvents=function(t){$("#flotContainer").unbind("mousemove",this.seriesAnchorVertPanRef),$("#flotContainer").unbind("mousemove",this.triggerLevelVertPanRef),$("#flotContainer").unbind("touchmove",this.seriesAnchorTouchVertPanRef),$("#flotContainer").unbind("touchmove",this.triggerLevelTouchVertPanRef),$("#flotContainer").unbind("mouseup",this.unbindCustomEventsRef),$("#flotContainer").unbind("mouseout",this.unbindCustomEventsRef),this.chart.getPlaceholder().css("cursor","default")},t.prototype.drawSeriesAnchors=function(){this.seriesAnchorContainer=[];for(var t=this.chart.getData(),e=0;e>16&255,g:e>>8&255,b:255&e}},t.prototype.generateChartOptions=function(){for(var t=0;tthis.deviceDescriptor.instruments.osc.numChans-1){e="rgb(0,128,0)";var r=t-this.deviceDescriptor.instruments.osc.numChans;r*=1.25,i=1.25+r,n=-38.75+r}else e=this.colorArray[t],n=-1,i=1;var s={position:"left",axisLabel:"Ch "+(t+1),axisLabelColour:"#666666",axisLabelUseCanvas:!0,show:0===t,min:n,max:i,ticks:this.tickGenerator,tickFormatter:this.yTickFormatter,tickColor:"#666666",font:{color:"#666666"}},o={data:[],yaxis:t+1,lines:{show:0===t},points:{show:!1},color:e};this.seriesDataContainer.push(o),this.yAxisOptionsContainer.push(s)}return this.yAxisOptionsContainer},t.prototype.tickGenerator=function(t){for(var e=t.min,n=t.max,i=(n-e)/10,r=[],s=0;s<11;s++)r.push(s*i+e);return r},t.prototype.yTickFormatter=function(t,e){for(var n=Math.abs(e.max-e.min)/10,i=0,r="";n<1;)i++,n=1e3*n;return t=(parseFloat(t)*Math.pow(1e3,i)).toFixed(0),0==i?r=" V":1==i?r=" mV":2==i?r=" uV":3==i&&(r=" nV"),t+r},t.prototype.xTickFormatter=function(t,e){var n=Math.abs(e.max-e.min)/10;if(0==parseFloat(t))return"0 s";for(var i=0,r="";n<1;)i++,n=1e3*n;t=parseFloat(t)*Math.pow(1e3,i);var s,o=t.toFixed(0).length;return s=t<0?o<5?5-o:0:o<4?4-o:0,t=t.toFixed(s),0==i?r=" s":1==i?r=" ms":2==i?r=" us":3==i?r=" ns":4==i&&(r=" ps"),t+r},t.prototype.pinchEvent=function(t){console.log(t),alert("hey")},t.prototype.loadDeviceSpecificValues=function(t){this.deviceDescriptor=t;for(var e=t.instruments.osc.chans[0].adcVpp/1e3/Math.pow(2,t.instruments.osc.chans[0].effectiveBits),n=0;e>this.generalVoltsPerDivVals[n]&&nthis.oscopeChansActive.length||t===this.activeSeries)){var e=this.chart.getAxes(),n="y"+(t-1===0?"":t.toString())+"axis",i="y"+(this.activeOscChannel-1===0?"":this.activeOscChannel.toString())+"axis";e[i].options.show=!1,e[n].options.show=!0,this.chart.setupGrid(),this.chart.draw()}},t.prototype.decimateData=function(t,e,n){var i=Math.round((n.max-n.min)/e.dt);if(i<=2e3)return this.currentBufferArray[t];for(var r=Math.floor(i/2e3),s=[],o=0;othis.currentBufferArray[this.numSeries[r]].dt*this.currentBufferArray[this.numSeries[r]].y.length||isNaN(o.max)||e)&&(o.max=this.currentBufferArray[this.numSeries[r]].dt*this.currentBufferArray[this.numSeries[r]].y.length);var a=this.flotDecimateData(this.numSeries[r],o).data;(this.numSeries[r]0&&this.updateMath();var h=performance.now(),c=1e3/(h-this.TODOKILLME);this.TODOKILLME=h,console.warn("FPS: "+c)},t.prototype.clearExtraSeries=function(t){this.numSeries=t;for(var e=0;ethis.secsPerDivVals[r]&&rthis.voltsPerDivVals[r]&&rthis.voltsPerDivVals.length-2||(this.activeVPDIndex[t]++,this.chart.setActiveYIndices(this.activeVPDIndex),this.setSeriesSettings({voltsPerDiv:this.voltsPerDivVals[this.activeVPDIndex[t]],voltBase:this.voltBase[t],seriesNum:t}))},t.prototype.incrementOffset=function(t){this.voltBase[t]=this.voltBase[t]+this.voltDivision[t],this.setSeriesSettings({voltsPerDiv:this.voltDivision[t],voltBase:this.voltBase[t],seriesNum:t})},t.prototype.decrementOffset=function(t){this.voltBase[t]=this.voltBase[t]-this.voltDivision[t],this.setSeriesSettings({voltsPerDiv:this.voltDivision[t],voltBase:this.voltBase[t],seriesNum:t})},t.prototype.decrementTPD=function(t){this.activeTPDIndex<1||(this.activeTPDIndex--,this.chart.setActiveXIndex(this.activeTPDIndex),this.setTimeSettings({timePerDiv:this.secsPerDivVals[this.activeTPDIndex],base:this.base},!1))},t.prototype.incrementTPD=function(t){this.activeTPDIndex>this.secsPerDivVals.length-2||(this.activeTPDIndex++,this.chart.setActiveXIndex(this.activeTPDIndex),this.setTimeSettings({timePerDiv:this.secsPerDivVals[this.activeTPDIndex],base:this.base},!1))},t.prototype.incrementBase=function(){this.base=this.base+this.timeDivision,this.setTimeSettings({timePerDiv:this.timeDivision,base:this.base},!1)},t.prototype.decrementBase=function(){this.base=this.base-this.timeDivision,this.setTimeSettings({timePerDiv:this.timeDivision,base:this.base},!1)},t.prototype.toggleVisibility=function(t){ts[r].data.length&&(o=s[r].data.length-1),a<0&&(a=0),a>s[r].data.length&&(a=s[r].data.length-1),this.selectedMathInfo[i].value=this.updateMathByName(this.selectedMathInfo[i],a,o)}else this.selectedMathInfo[i].value="----"},t.prototype.updateMathByName=function(t,e,n){switch(t.measurement){case"Frequency":return this.unitFormatPipeInstance.transform(mathFunctions.getFrequency(this.chart,t.channel,n,e),"Hz");case"Pos Pulse Width":return"Pos Pulse Width";case"Pos Duty Cycle":return"Pos Duty Cycle";case"Period":return this.unitFormatPipeInstance.transform(mathFunctions.getPeriod(this.chart,t.channel,n,e),"s");case"Neg Pulse Width":return"Neg Pulse Width";case"Neg Duty Cycle":return"Neg Duty Cycle";case"Rise Rate":return"Rise Rate";case"Rise Time":return"Rise Time";case"Amplitude":return this.unitFormatPipeInstance.transform(mathFunctions.getAmplitude(this.chart,t.channel,n,e),"V");case"High":return"High";case"Low":return"Low";case"Peak to Peak":return this.unitFormatPipeInstance.transform(mathFunctions.getPeakToPeak(this.chart,t.channel,n,e),"Vpp");case"Maximum":return this.unitFormatPipeInstance.transform(mathFunctions.getMax(this.chart,t.channel,n,e),"V");case"Minimum":return this.unitFormatPipeInstance.transform(mathFunctions.getMin(this.chart,t.channel,n,e),"V");case"Mean":return this.unitFormatPipeInstance.transform(mathFunctions.getMean(this.chart,t.channel,n,e),"V");case"RMS":return this.unitFormatPipeInstance.transform(mathFunctions.getRMS(this.chart,t.channel,n,e),"V");case"Overshoot":return"Overshoot";case"Cycle Mean":return"Cycle Mean";case"Cycle RMS":return"Cycle RMS";case"Undershoot":return"Undershoot";default:return"default"}},t.prototype.calculateDataFromWindow=function(){if(void 0==this.chart)return{bufferSize:0,sampleFreq:0};var t=this.chart.width(),e=t/10*(1/this.secsPerDivVals[this.activeTPDIndex]);return t=Math.min(2*t,this.deviceDescriptor.instruments.osc.chans[0].bufferSizeMax),e=Math.min(Math.max(e,this.deviceDescriptor.instruments.osc.chans[0].sampleFreqMin/1e3),this.deviceDescriptor.instruments.osc.chans[0].sampleFreqMax/1e3),{bufferSize:t,sampleFreq:e}},t.prototype.updateTriggerLine=function(){var t=this.chart.getCursors();if(0===t.length)return void this.addTriggerLine(this.numSeries[0]);for(var e,n=0;n *",n.i(i.animate)("0s")),n.i(i.transition)("* <=> *",n.i(i.animate)("250ms ease-in-out"))])]}),w("design:paramtypes",["function"==typeof(A="undefined"!=typeof r.d&&r.d)&&A||Object,"function"==typeof(I="undefined"!=typeof r.c&&r.c)&&I||Object,"function"==typeof(S="undefined"!=typeof r.h&&r.h)&&S||Object,"function"==typeof(O="undefined"!=typeof p.a&&p.a)&&O||Object,"function"==typeof(k="undefined"!=typeof d.a&&d.a)&&k||Object,"function"==typeof(N="undefined"!=typeof m.a&&m.a)&&N||Object,"function"==typeof(P="undefined"!=typeof i.ViewContainerRef&&i.ViewContainerRef)&&P||Object,"function"==typeof(R="undefined"!=typeof i.ComponentFactoryResolver&&i.ComponentFactoryResolver)&&R||Object,"function"==typeof(D="undefined"!=typeof r.g&&r.g)&&D||Object,"function"==typeof(j="undefined"!=typeof g.a&&g.a)&&j||Object,"function"==typeof(M="undefined"!=typeof v.DeviceManagerService&&v.DeviceManagerService)&&M||Object,"function"==typeof(L="undefined"!=typeof f.a&&f.a)&&L||Object,"function"==typeof(B="undefined"!=typeof x.a&&x.a)&&B||Object])],t);var e,C,E,T,A,I,S,O,k,N,P,R,D,j,M,L,B}()},function(t,e,n){"use strict";var i=n(0),r=n(109),s=n(2),o=n(39),a=n(42),_=n(17),l=n(44);n.d(e,"a",function(){return u});var h=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},c={provide:r.a,useExisting:n.i(i.forwardRef)(function(){return u}),multi:!0},u=function(t){function e(e,n,r,s,o){t.call(this,e,s,o),this._form=n,this._item=r,this._checked=!1,this._disabled=!1,this.ionChange=new i.EventEmitter,this.mode=e.get("mode"),n.register(this),r&&(this.id="chk-"+r.registerInput("checkbox"),this._labelId="lbl-"+r.id,this._item.setElementClass("item-checkbox",!0))}return h(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("checkbox",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("checkbox",t)},enumerable:!0,configurable:!0}),e.prototype._click=function(t){t.preventDefault(),t.stopPropagation(),this.onChange(!this._checked)},Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(t){this._setChecked(n.i(_.k)(t)),this.onChange(this._checked)},enumerable:!0,configurable:!0}),e.prototype._setChecked=function(t){this._disabled||t===this._checked||(this._checked=t,this._init&&this.ionChange.emit(this),this._item&&this._item.setElementClass("item-checkbox-checked",t))},e.prototype.writeValue=function(t){ this._setChecked(n.i(_.k)(t))},e.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(n){t(n),e._setChecked(n),e.onTouched()}},e.prototype.registerOnTouched=function(t){this.onTouched=t},Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=n.i(_.k)(t),this._item&&this._item.setElementClass("item-checkbox-disabled",this._disabled)},enumerable:!0,configurable:!0}),e.prototype.onChange=function(t){this._setChecked(t),this.onTouched()},e.prototype.onTouched=function(){},e.prototype.ngAfterContentInit=function(){this._init=!0},e.prototype.ngOnDestroy=function(){this._form.deregister(this)},e.decorators=[{type:i.Component,args:[{selector:"ion-checkbox",template:'
',host:{"[class.checkbox-disabled]":"_disabled"},providers:[c],encapsulation:i.ViewEncapsulation.None}]}],e.ctorParameters=[{type:s.c},{type:o.a},{type:l.a,decorators:[{type:i.Optional}]},{type:i.ElementRef},{type:i.Renderer}],e.propDecorators={color:[{type:i.Input}],mode:[{type:i.Input}],ionChange:[{type:i.Output}],_click:[{type:i.HostListener,args:["click",["$event"]]}],checked:[{type:i.Input}],disabled:[{type:i.Input}]},e}(a.a)},function(t,e,n){"use strict";var i=n(0),r=n(22),s=n(2),o=n(17),a=n(71),_=n(122),l=n(13);n.d(e,"a",function(){return c});var h=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},c=function(t){function e(e,n,i,r,s,o){t.call(this,r,s,o),this._app=e,this.navCtrl=i,this._hidden=!1,this._hideBb=!1,this.mode=r.get("mode"),n&&n._setNavbar(this),this._bbIcon=r.get("backButtonIcon"),this._sbPadding=r.getBoolean("statusbarPadding")}return h(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("toolbar",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("toolbar",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hideBackButton",{get:function(){return this._hideBb},set:function(t){this._hideBb=n.i(o.k)(t)},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){this.setBackButtonText(this._config.get("backButtonText","Back"))},e.prototype.backButtonClick=function(t){t.preventDefault(),t.stopPropagation(),this.navCtrl&&this.navCtrl.pop(null,null)},e.prototype.setBackButtonText=function(t){this._renderer.setText(this._bbTxt.nativeElement,t)},e.prototype.didEnter=function(){try{this._app.setTitle(this.getTitleText())}catch(t){console.error(t)}},e.prototype.setHidden=function(t){this._hidden=t},e.decorators=[{type:i.Component,args:[{selector:"ion-navbar",template:'
',host:{"[hidden]":"_hidden",class:"toolbar","[class.statusbar-padding]":"_sbPadding"}}]}],e.ctorParameters=[{type:r.a},{type:l.a,decorators:[{type:i.Optional}]},{type:a.a,decorators:[{type:i.Optional}]},{type:s.c},{type:i.ElementRef},{type:i.Renderer}],e.propDecorators={_bbTxt:[{type:i.ViewChild,args:["bbTxt"]}],color:[{type:i.Input}],mode:[{type:i.Input}],hideBackButton:[{type:i.Input}]},e}(_.d)},function(t,e,n){"use strict";var i=n(0),r=n(2),s=n(17),o=n(396);n.d(e,"a",function(){return a});var a=function(){function t(t){this._config=t,this._ids=0,this._trns={}}return t.prototype.getRootTrnsId=function(t){for(var e=t.parent;e;){if(n.i(s.a)(e._trnsId))return e._trnsId;e=e.parent}return null},t.prototype.nextId=function(){return this._ids++},t.prototype.get=function(t,e,i,r){var s=n.i(o.b)(this._config,r.animation,e,i,r);return s.trnsId=t,this._trns[t]?this._trns[t].add(s):this._trns[t]=s,s},t.prototype.destroy=function(t){this._trns[t]&&(this._trns[t].destroy(),delete this._trns[t])},t.decorators=[{type:i.Injectable}],t.ctorParameters=[{type:r.c}],t}()},function(t,e,n){"use strict";function i(t,e,n,i,r){var s=!n&&"__zone_symbol__addEventListener"in t;return s?(t.__zone_symbol__addEventListener(e,r,i),function(){return t.__zone_symbol__removeEventListener(e,r)}):(t.addEventListener(e,r,i),function(){return t.removeEventListener(e,r)})}n.d(e,"a",function(){return s});var r=function(){function t(t,e,n,r,s,o){this.ele=t,this.pointerDown=e,this.pointerMove=n,this.pointerUp=r,this.zone=s,this.option=o,this.rmTouchStart=null,this.rmTouchMove=null,this.rmTouchEnd=null,this.rmTouchCancel=null,this.rmMouseStart=null,this.rmMouseMove=null,this.rmMouseUp=null,this.lastTouchEvent=0,this.mouseWait=2e3,this.bindTouchEnd=this.handleTouchEnd.bind(this),this.bindMouseUp=this.handleMouseUp.bind(this),this.rmTouchStart=i(t,"touchstart",s,o,this.handleTouchStart.bind(this)),this.rmMouseStart=i(t,"mousedown",s,o,this.handleMouseDown.bind(this))}return t.prototype.handleTouchStart=function(t){this.lastTouchEvent=Date.now()+this.mouseWait,this.pointerDown(t)&&(!this.rmTouchMove&&this.pointerMove&&(this.rmTouchMove=i(this.ele,"touchmove",this.zone,this.option,this.pointerMove)),this.rmTouchEnd||(this.rmTouchEnd=i(this.ele,"touchend",this.zone,this.option,this.bindTouchEnd)),this.rmTouchCancel||(this.rmTouchCancel=i(this.ele,"touchcancel",this.zone,this.option,this.bindTouchEnd)))},t.prototype.handleMouseDown=function(t){this.lastTouchEvent>Date.now()||this.pointerDown(t)&&(!this.rmMouseMove&&this.pointerMove&&(this.rmMouseMove=i(document,"mousemove",this.zone,this.option,this.pointerMove)),this.rmMouseUp||(this.rmMouseUp=i(document,"mouseup",this.zone,this.option,this.bindMouseUp)))},t.prototype.handleTouchEnd=function(t){this.stopTouch(),this.pointerUp&&this.pointerUp(t)},t.prototype.handleMouseUp=function(t){this.stopMouse(),this.pointerUp&&this.pointerUp(t)},t.prototype.stopTouch=function(){this.rmTouchMove&&this.rmTouchMove(),this.rmTouchEnd&&this.rmTouchEnd(),this.rmTouchCancel&&this.rmTouchCancel(),this.rmTouchMove=null,this.rmTouchEnd=null,this.rmTouchCancel=null},t.prototype.stopMouse=function(){this.rmMouseMove&&this.rmMouseMove(),this.rmMouseUp&&this.rmMouseUp(),this.rmMouseMove=null,this.rmMouseUp=null},t.prototype.stop=function(){this.stopTouch(),this.stopMouse()},t.prototype.destroy=function(){this.rmTouchStart&&this.rmTouchStart(),this.rmTouchStart=null,this.rmMouseStart&&this.rmMouseStart(),this.rmMouseStart=null,this.stop(),this.pointerDown=null,this.pointerMove=null,this.pointerUp=null,this.ele=null},t}(),s=function(){function t(t){void 0===t&&(t=!0),this.zoneWrapped=t,this.events=[]}return t.prototype.listenRef=function(t,e,n,i){return this.listen(t.nativeElement,e,n,i)},t.prototype.pointerEvents=function(t){var e=t.element;if(e||(e=t.elementRef.nativeElement),!e||!t.pointerDown)return void console.error("PointerEvents config is invalid");var n=t.zone||this.zoneWrapped,i=t.nativeOptions||!1,s=new r(e,t.pointerDown,t.pointerMove,t.pointerUp,n,i),o=function(){return s.destroy()};return this.events.push(o),s},t.prototype.listen=function(t,e,n,r){if(void 0===r&&(r=!1),t){var s=i(t,e,this.zoneWrapped,r,n);return this.events.push(s),s}},t.prototype.unlistenAll=function(){for(var t=0,e=this.events;t2?" (type: "+s(n)+", value: "+JSON.stringify(n)+")":" (type: "+t.data.actual+")",new TypeError("Cannot calculate "+e+", unexpected type of argument"+i)):String(t).indexOf("complex numbers")!==-1?(i=arguments.length>2?" (type: "+s(n)+", value: "+JSON.stringify(n)+")":"",new TypeError("Cannot calculate "+e+", no ordering relation is defined for complex numbers"+i)):t}}e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var s=t.DenseMatrix,o=function(t,e,n,o){var a=t._data,_=t._size,l=t._datatype,h=e._values,c=e._index,u=e._ptr,p=e._size,d=e._datatype;if(_.length!==p.length)throw new r(_.length,p.length);if(_[0]!==p[0]||_[1]!==p[1])throw new RangeError("Dimension mismatch. Matrix A ("+_+") must match Matrix B ("+p+")");if(!h)throw new Error("Cannot perform operation on Dense Matrix and Pattern Sparse Matrix");var f,m,g=_[0],v=_[1],x="string"==typeof l&&l===d?l:void 0,y=x?i.find(n,[x,x]):n,b=[];for(f=0;f=this._players.length)this._activePlayer=new r.a,this._onFinish();else{var s=this._players[this._currentIndex++];s.onDone(function(){return e._onNext(!0)}),this._activePlayer=s,t&&s.play()}},t.prototype._onFinish=function(){this._finished||(this._finished=!0,n.i(i.e)(this.parentPlayer)||this.destroy(),this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this._players.forEach(function(t){return t.init()})},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){n.i(i.e)(this.parentPlayer)||this.init(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0),this._activePlayer.play()},t.prototype.pause=function(){this._activePlayer.pause()},t.prototype.restart=function(){this._players.length>0&&(this.reset(),this._players[0].restart())},t.prototype.reset=function(){this._players.forEach(function(t){return t.reset()})},t.prototype.finish=function(){this._onFinish(),this._players.forEach(function(t){return t.finish()})},t.prototype.destroy=function(){this._onFinish(),this._players.forEach(function(t){return t.destroy()})},t.prototype.setPosition=function(t){this._players[0].setPosition(t)},t.prototype.getPosition=function(){return this._players[0].getPosition()},t}()},function(t,e,n){"use strict";function i(t,e,i){void 0===i&&(i=null);var r={};return l.c.forEach(e,function(t,e){r[e]=t==u.a?i:t.toString()}),l.c.forEach(t,function(t,e){n.i(h.e)(r[e])||(r[e]=i)}),r}function r(t,e,i){var r=i.length-1,s=i[0],o=_(s.styles.styles),a={},c=!1;l.c.forEach(t,function(t,e){o[e]||(o[e]=t,a[e]=t,c=!0)});var p=l.c.merge({},o),d=i[r];l.a.insert(d.styles.styles,0,e);var f=_(d.styles.styles),m={},g=!1;return l.c.forEach(p,function(t,e){n.i(h.e)(f[e])||(m[e]=u.a,g=!0)}),g&&d.styles.styles.push(m),l.c.forEach(f,function(t,e){n.i(h.e)(o[e])||(a[e]=u.a,c=!0)}),c&&s.styles.styles.push(a),i}function s(t){var e={};return l.c.keys(t).forEach(function(t){e[t]=null}),e}function o(t,e){return e.map(function(e){var i={};return l.c.forEach(e,function(e,r){e==c.d&&(e=t[r],n.i(h.e)(e)||(e=u.a)),t[r]=e,i[r]=e}),i})}function a(t,e,n){l.c.forEach(n,function(n,i){e.setElementStyle(t,i,n)})}function _(t){var e={};return t.forEach(function(t){l.c.forEach(t,function(t,n){e[n]=t})}),e}var l=n(69),h=n(24),c=n(434),u=n(438);e.a=i,e.b=r,e.d=s,e.f=o,e.e=a,e.c=_},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t){this.styles=t}return t}()},function(t,e,n){"use strict";var i=n(0);n.d(e,"b",function(){return r}),n.d(e,"a",function(){return s}),n.d(e,"c",function(){return o});var r=new i.OpaqueToken("EventManagerPlugins"),s=function(){function t(t,e){var n=this;this._zone=e,t.forEach(function(t){return t.manager=n}),this._plugins=t.slice().reverse()}return t.prototype.addEventListener=function(t,e,n){var i=this._findPluginFor(e);return i.addEventListener(t,e,n)},t.prototype.addGlobalEventListener=function(t,e,n){var i=this._findPluginFor(e);return i.addGlobalEventListener(t,e,n)},t.prototype.getZone=function(){return this._zone},t.prototype._findPluginFor=function(t){for(var e=this._plugins,n=0;n=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},o=function(){function t(){this.progressBarDone=new i.EventEmitter,this.progressBarValue=0,this.maxValue=100}return t.prototype.start=function(t,e,n,i){var r=this;e=e||0,n=n||100,i=i||50,this.progressBarValue=e,this.maxValue=n;var s=performance.now();this.intervalRef=setInterval(function(){var e=(performance.now()-s)/t*100;e>=n&&r.stop(),r.progressBarValue=e},i)},t.prototype.manualStart=function(t,e){t=t||0,e=e||100,this.progressBarValue=t,this.maxValue=e},t.prototype.manualUpdateVal=function(t){this.progressBarValue=t,this.progressBarValue>=this.maxValue&&this.stop()},t.prototype.stop=function(){clearInterval(this.intervalRef),this.progressBarDone.emit("Done")},r([n.i(i.Output)(),s("design:type","function"==typeof(e="undefined"!=typeof i.EventEmitter&&i.EventEmitter)&&e||Object)],t.prototype,"progressBarDone",void 0),t=r([n.i(i.Component)({templateUrl:"progress-bar.html",selector:"digilent-progress-bar"}),s("design:paramtypes",[])],t);var e}()},function(t,e,n){"use strict";var i=n(0);n.d(e,"a",function(){return o});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},o=function(){function t(t,e){this.element=t,this.cdr=e,this.placement="bottom",this.animation=!0,this.top=-1e5,this.left=-1e5,this.isIn=!1,this.isFade=!1}return t.prototype.ngAfterViewInit=function(){this.show(),this.cdr.detectChanges()},t.prototype.show=function(){if(this.hostElement){var t=this.positionElements(this.hostElement,this.element.nativeElement.children[0],this.placement);this.top=t.top,this.left=t.left,this.isIn=!0,this.animation&&(this.isFade=!0)}},t.prototype.hide=function(){this.top=-1e5,this.left=-1e5,this.isIn=!0,this.animation&&(this.isFade=!1)},t.prototype.positionElements=function(t,e,n,i){void 0===i&&(i=!1);var r,s=n.split("-"),o=s[0],a=s[1]||"center",_=i?this.offset(t):this.position(t),l=e.offsetWidth,h=e.offsetHeight,c={center:function(){return _.left+_.width/2-l/2},left:function(){return _.left},right:function(){return _.left+_.width}},u={center:function(){return _.top+_.height/2-h/2},top:function(){return _.top},bottom:function(){return _.top+_.height}};switch(o){case"right":r={top:u[a](),left:c[o]()};break;case"left":r={top:u[a](),left:_.left-l};break;case"bottom":r={top:u[o](),left:c[a]()};break;default:r={top:_.top-h,left:c[a]()}}return r},t.prototype.position=function(t){var e={top:0,left:0},n=this.offset(t),i=this.parentOffsetEl(t);i!==window.document&&(e=this.offset(i),e.top+=i.clientTop-i.scrollTop,e.left+=i.clientLeft-i.scrollLeft);var r=t.getBoundingClientRect();return{width:r.width||t.offsetWidth,height:r.height||t.offsetHeight,top:n.top-e.top,left:n.left-e.left}},t.prototype.offset=function(t){var e=t.getBoundingClientRect();return{width:e.width||t.offsetWidth,height:e.height||t.offsetHeight,top:e.top+(window.pageYOffset||window.document.documentElement.scrollTop),left:e.left+(window.pageXOffset||window.document.documentElement.scrollLeft)}},t.prototype.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:window.getComputedStyle?window.getComputedStyle(t)[e]:t.style[e]},t.prototype.isStaticPositioned=function(t){return"static"===(this.getStyle(t,"position")||"static")},t.prototype.parentOffsetEl=function(t){for(var e=t.offsetParent||window.document;e&&e!==window.document&&this.isStaticPositioned(e);)e=e.offsetParent;return e||window.document},r([n.i(i.Input)(),s("design:type",Object)],t.prototype,"hostElement",void 0),r([n.i(i.Input)(),s("design:type",String)],t.prototype,"content",void 0),r([n.i(i.Input)(),s("design:type",Object)],t.prototype,"placement",void 0),r([n.i(i.Input)(),s("design:type",Boolean)],t.prototype,"animation",void 0),t=r([n.i(i.Component)({selector:"tooltip-content",template:'\n\n'}),s("design:paramtypes",["function"==typeof(e="undefined"!=typeof i.ElementRef&&i.ElementRef)&&e||Object,"function"==typeof(o="undefined"!=typeof i.ChangeDetectorRef&&i.ChangeDetectorRef)&&o||Object])],t);var e,o}()},function(t,e,n){"use strict";var i=n(0),r=n(1),s=(n.n(r),n(54));n.n(s);n.d(e,"a",function(){return _});var o=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},a=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},_=function(){function t(){console.log("command parser service constructor")}return t.prototype.parseChunkedTransfer=function(t){var e=this;return new Promise(function(n,i){if("{"===String.fromCharCode.apply(null,new Uint8Array(t.slice(0,1))))return void i("json");var r,s=100,o=0,a=e._findNewLineChar(s,t,o);console.log("first"),console.log(a),console.log(String.fromCharCode.apply(null,new Uint8Array(t.slice(0,300)))),r=e._getChunkLength(a.stringBuffer),o=a.endingIndex;var _;try{_=JSON.parse(String.fromCharCode.apply(null,new Uint8Array(t.slice(o,o+r+2))))}catch(t){return void i(t)}o=o+r+2,console.log(o),a=e._findNewLineChar(s,t,o),r=e._getChunkLength(a.stringBuffer),console.log(a),o=a.endingIndex,console.log(o,r);var l;try{l=new Int16Array(t.slice(o,o+r))}catch(t){return void i(t)}n({json:_,typedArray:l})})},t.prototype.observableParseChunkedTransfer=function(t){var e=this,n=performance.now();return r.Observable.create(function(i){if("{"===String.fromCharCode.apply(null,new Uint8Array(t.slice(0,1))))return void i.error("json");var r,s=100,o=0,a=e._findNewLineChar(s,t,o);r=e._getChunkLength(a.stringBuffer),o=a.endingIndex;var _;try{_=JSON.parse(String.fromCharCode.apply(null,new Uint8Array(t.slice(o,o+r+2))))}catch(t){i.error(t)}o=o+r+2,a=e._findNewLineChar(s,t,o),r=e._getChunkLength(a.stringBuffer),o=a.endingIndex;var l;try{l=new Int16Array(t.slice(o,o+r))}catch(t){return void i.error(t)}var h=performance.now();console.log("in function parse time: "+(h-n)),i.next({json:_,typedArray:l}),i.complete()})},t.prototype._getChunkLength=function(t){return parseInt(t,16)},t.prototype._findNewLineChar=function(t,e,n){var i="",r=n;t+=r;for(var s="";r=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},a=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},_=function(){function t(t){this.storageService=t}return t.prototype.saveScalingOptions=function(t){this.storageService.saveData("scalingOptions",JSON.stringify(t)).catch(function(t){console.warn(t)})},t.prototype.getAllScalingOptions=function(){var t=this;return new Promise(function(e,n){t.storageService.getData("scalingOptions").then(function(t){if(null!=t){var n=JSON.parse(t);n.forEach(function(t){t.expression=r.eval("f(v)="+t.expressionString)}),e(n)}else e([])})})},t.prototype.getScalingOption=function(t){var e=this;return new Promise(function(n,i){e.storageService.getData("scalingOptions").then(function(e){if(null!=e){var s=JSON.parse(e).filter(function(e){return e.name===t})[0];s.expression=r.eval("f(v)="+s.expressionString),n(s)}else i()})})},t.prototype.evaluateExpression=function(t,e){return new Promise(function(e,n){if(t.includes("v"))try{var i=r.eval("f(v)="+t);i(2),e(i)}catch(t){console.log(t),n()}else n()})},t=o([n.i(i.Injectable)(),a("design:paramtypes",["function"==typeof(e="undefined"!=typeof s.a&&s.a)&&e||Object])],t);var e}()},function(t,e,n){"use strict";var i=n(0),r=n(1),s=(n.n(r),n(54));n.n(s);n.d(e,"a",function(){return o});var o=function(){function t(){}return t.prototype.parseChunkedTransfer=function(t){var e=this;return new Promise(function(n,i){var r=String.fromCharCode.apply(null,new Uint8Array(t.slice(0,1)));if(isNaN(parseInt(r,16)))return void i({message:"json or bad packet",payload:t});var s,o=100,a=0,_=e._findNewLineChar(o,t,a);s=e._getChunkLength(_.stringBuffer),a=_.endingIndex;var l;try{l=JSON.parse(String.fromCharCode.apply(null,new Uint8Array(t.slice(a,a+s+2))))}catch(t){return void i(t)}a=a+s+2,_=e._findNewLineChar(o,t,a),s=e._getChunkLength(_.stringBuffer),a=_.endingIndex;var h=t.slice(a,a+s);if(h.byteLength!==s)return console.warn(new Uint8Array(t)),void i("corrupt transfer");var c;try{c=new Int16Array(h)}catch(t){return void i(t)}n({json:l,typedArray:c})})},t.prototype.observableParseChunkedTransfer=function(t,e){var n=this;return e=void 0==e?"i16":e,r.Observable.create(function(i){var r=String.fromCharCode.apply(null,new Uint8Array(t.slice(0,1)));if(isNaN(parseInt(r,16))){var s=new TextDecoder("utf-8").decode(new Uint8Array(t.slice(0))),o=JSON.parse(s);return void i.error({message:"json or bad packet",payload:o})}var a,_=100,l=0,h=n._findNewLineChar(_,t,l);a=n._getChunkLength(h.stringBuffer),l=h.endingIndex;var c;try{c=JSON.parse(String.fromCharCode.apply(null,new Uint8Array(t.slice(l,l+a+2))))}catch(t){return void i.error(t)}l=l+a+2,h=n._findNewLineChar(_,t,l),a=n._getChunkLength(h.stringBuffer),l=h.endingIndex;var u=t.slice(l,l+a);if(u.byteLength!==a)return console.warn(new Uint8Array(t)),void i.error("corrupt transfer");var p;try{switch(e){case"i16":p=new Int16Array(u);break;case"u8":p=new Uint8Array(u);break;default:p=new Int16Array(u)}}catch(t){return void i.error(t)}i.next({json:c,typedArray:p}),i.complete()})},t.prototype._getChunkLength=function(t){return parseInt(t,16)},t.prototype._findNewLineChar=function(t,e,n){var i="",r=n;t+=r;for(var s="";r0?new ot(i):(e||(e=new _t(void 0),e.comment=t.comment),e)}function b(e){var n,i,r,s,o=w(e);if("="===e.token){if(t.isSymbolNode(o))return n=o.name,m(e),r=b(e),new st(new gt(n),r);if(t.isAccessorNode(o))return m(e),r=b(e),new st(o.object,o.index,r);if(t.isFunctionNode(o)&&t.isSymbolNode(o.fn)&&(s=!0,i=[],n=o.name,o.args.forEach(function(e,n){t.isSymbolNode(e)?i[n]=e.name:s=!1}),s))return m(e),r=b(e),new lt(n,i,r);throw tt(e,"Invalid left hand side of assignment operator =")}return o}function w(t){for(var e=C(t);"?"===t.token;){var n=t.conditionalLevel;t.conditionalLevel=t.nestingLevel,m(t);var i=e,r=b(t);if(":"!==t.token)throw tt(t,"False part of conditional expression expected");t.conditionalLevel=null,m(t);var s=b(t);e=new at(i,r,s),t.conditionalLevel=n}return e}function C(t){for(var e=E(t);"or"===t.token;)m(t),e=new ut("or","or",[e,E(t)]);return e}function E(t){for(var e=T(t);"xor"===t.token;)m(t),e=new ut("xor","xor",[e,T(t)]);return e}function T(t){for(var e=A(t);"and"===t.token;)m(t),e=new ut("and","and",[e,A(t)]);return e}function A(t){for(var e=I(t);"|"===t.token;)m(t),e=new ut("|","bitOr",[e,I(t)]);return e}function I(t){for(var e=S(t);"^|"===t.token;)m(t),e=new ut("^|","bitXor",[e,S(t)]);return e}function S(t){for(var e=O(t);"&"===t.token;)m(t),e=new ut("&","bitAnd",[e,O(t)]);return e}function O(t){for(var e=[k(t)],n=[],i={"==":"equal","!=":"unequal","<":"smaller",">":"larger","<=":"smallerEq",">=":"largerEq"};i.hasOwnProperty(t.token);){var r={name:t.token,fn:i[t.token]};n.push(r),m(t),e.push(k(t))}return 1===e.length?e[0]:2===e.length?new ut(n[0].name,n[0].fn,e):new mt(n.map(function(t){return t.fn}),e)}function k(t){var e,n,i,r,s;for(e=N(t),n={"<<":"leftShift",">>":"rightArithShift",">>>":"rightLogShift"};n.hasOwnProperty(t.token);)i=t.token,r=n[i],m(t),s=[e,N(t)],e=new ut(i,r,s);return e}function N(t){var e,n,i,r,s;for(e=P(t),n={to:"to",in:"to"};n.hasOwnProperty(t.token);)i=t.token,r=n[i],m(t),"in"===i&&""===t.token?e=new ut("*","multiply",[e,new gt("in")],!0):(s=[e,P(t)],e=new ut(i,r,s));return e}function P(t){var e,n=[];if(e=":"===t.token?new _t(1):R(t),":"===t.token&&t.conditionalLevel!==t.nestingLevel){for(n.push(e);":"===t.token&&n.length<3;)m(t),")"===t.token||"]"===t.token||","===t.token||""===t.token?n.push(new gt("end")):n.push(R(t));e=3===n.length?new ft(n[0],n[2],n[1]):new ft(n[0],n[1])}return e}function R(t){var e,n,i,r,s;for(e=D(t),n={"+":"add","-":"subtract"};n.hasOwnProperty(t.token);)i=t.token,r=n[i],m(t),s=[e,D(t)],e=new ut(i,r,s);return e}function D(t){var e,n,i,r,s;for(e=j(t),n=e,i={"*":"multiply",".*":"dotMultiply","/":"divide","./":"dotDivide","%":"mod",mod:"mod"};;){if(!i.hasOwnProperty(t.token))break;r=t.token,s=i[r],m(t),n=j(t),e=new ut(r,s,[e,n])}return e}function j(e){var n,i;for(n=M(e),i=n;;){if(!(e.tokenType===vt.SYMBOL||"in"===e.token&&t.isConstantNode(n))&&(e.tokenType!==vt.NUMBER||t.isConstantNode(i)||t.isOperatorNode(i)&&"!"!==i.op)&&"("!==e.token)break;i=M(e),n=new ut("*","multiply",[n,i],!0)}return n}function M(e){for(var n=L(e),r=n,s=[];;){if("/"!==e.token||!t.isConstantNode(r))break;if(s.push(i({},e)),m(e),e.tokenType!==vt.NUMBER){i(e,s.pop());break}if(s.push(i({},e)),m(e),e.tokenType!==vt.SYMBOL&&"("!==e.token){s.pop(),i(e,s.pop());break}i(e,s.pop()),s.pop(),r=L(e),n=new ut("/","divide",[n,r])}return n}function L(t){var e,n,i,r={"-":"unaryMinus","+":"unaryPlus","~":"bitNot",not:"not"};return r.hasOwnProperty(t.token)?(i=r[t.token],e=t.token,m(t),n=[L(t)],new ut(e,i,n)):B(t)}function B(t){var e,n,i,r;return e=F(t),"^"!==t.token&&".^"!==t.token||(n=t.token,i="^"===n?"pow":"dotPow",m(t),r=[e,L(t)],e=new ut(n,i,r)),e}function F(t){var e,n,i,r,s;for(e=q(t),n={"!":"factorial","'":"ctranspose"};n.hasOwnProperty(t.token);)i=t.token,r=n[i],f(t),s=[e],e=new ut(i,r,s),e=H(t,e);return e}function q(t){var e=[];if(t.tokenType===vt.SYMBOL&&t.extraNodes.hasOwnProperty(t.token)){var n=t.extraNodes[t.token];if(f(t),"("===t.token){if(e=[],g(t),f(t),")"!==t.token)for(e.push(b(t));","===t.token;)f(t),e.push(b(t));if(")"!==t.token)throw tt(t,"Parenthesis ) expected");v(t),f(t)}return new n(e)}return V(t)}function V(t){var e,n;return t.tokenType===vt.SYMBOL||t.tokenType===vt.DELIMITER&&t.token in yt?(n=t.token,f(t),e=bt.hasOwnProperty(n)?new _t(bt[n]):wt.indexOf(n)!==-1?new _t(nt(n,"number")):new gt(n),e=H(t,e)):U(t)}function H(e,n,i){for(var r;!("("!==e.token&&"["!==e.token&&"."!==e.token||i&&i.indexOf(e.token)===-1);)if(r=[],"("===e.token){if(!t.isSymbolNode(n)&&!t.isAccessorNode(n))return n;if(g(e),f(e),")"!==e.token)for(r.push(b(e));","===e.token;)f(e),r.push(b(e));if(")"!==e.token)throw tt(e,"Parenthesis ) expected");v(e),f(e),n=new dt(n,r)}else if("["===e.token){if(g(e),f(e),"]"!==e.token)for(r.push(b(e));","===e.token;)f(e),r.push(b(e));if("]"!==e.token)throw tt(e,"Parenthesis ] expected");v(e),f(e),n=new it(n,new ht(r))}else{if(f(e),e.tokenType!==vt.SYMBOL)throw tt(e,"Property name expected after dot");r.push(new _t(e.token)),f(e);var s=!0;n=new it(n,new ht(r,s))}return n}function U(t){var e,n;return'"'===t.token?(n=z(t),e=new _t(n),e=H(t,e)):G(t)}function z(t){for(var e="";""!==c(t)&&'"'!==c(t);)"\\"===c(t)&&(e+=c(t),u(t)),e+=c(t),u(t);if(f(t),'"'!==t.token)throw tt(t,'End of string " expected');return f(t),JSON.parse('"'+e+'"')}function G(t){var e,n;return"'"===t.token?(n=W(t),e=new _t(n),e=H(t,e)):Y(t)}function W(t){for(var e="";""!==c(t)&&"'"!==c(t);)"\\"===c(t)&&(e+=c(t),u(t)),e+=c(t),u(t);if(f(t),"'"!==t.token)throw tt(t,"End of string ' expected");return f(t),JSON.parse('"'+e+'"')}function Y(t){var e,n,i,r;if("["===t.token){if(g(t),f(t),"]"!==t.token){var s=$(t);if(";"===t.token){for(i=1,n=[s];";"===t.token;)f(t),n[i]=$(t),i++;if("]"!==t.token)throw tt(t,"End of matrix ] expected");v(t),f(t),r=n[0].items.length;for(var o=1;o":!0,"<=":!0,">=":!0,"<<":!0,">>":!0,">>>":!0},yt={mod:!0,to:!0,in:!0,and:!0,xor:!0,or:!0,not:!0},bt={true:!0,false:!1,null:null,undefined:void 0},wt=["NaN","Infinity"];return _.isAlpha=function(t,e,n){return _.isValidLatinOrGreek(t)||_.isValidMathSymbol(t,n)||_.isValidMathSymbol(e,t)},_.isValidLatinOrGreek=function(t){return/^[a-zA-Z_$\u00C0-\u02AF\u0370-\u03FF\u2100-\u214F]$/.test(t)},_.isValidMathSymbol=function(t,e){return/^[\uD835]$/.test(t)&&/^[\uDC00-\uDFFF]$/.test(e)&&/^[^\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDFCC\uDFCD]$/.test(e)},_.isWhitespace=function(t,e){return" "===t||"\t"===t||"\n"===t&&e>0},_.isDecimalMark=function(t,e){return"."===t&&"/"!==e&&"*"!==e&&"^"!==e},_.isDigitDot=function(t){return t>="0"&&t<="9"||"."===t},_.isDigit=function(t){return t>="0"&&t<="9"},_}var s=n(232),o=n(12);e.name="parse",e.path="expression",e.factory=r},function(t,e,n){"use strict";function i(t,e,i,s){var o=i(n(77)),a=i(n(68)),_=i(n(309)),l=i(n(9)),h=i(n(93)),c=i(n(40)),u=s("divide",r({"Array | Matrix, Array | Matrix":function(t,e){return a(t,_(e))},"DenseMatrix, any":function(t,e){return c(t,e,o,!1)},"SparseMatrix, any":function(t,e){return h(t,e,o,!1)},"Array, any":function(t,e){return c(l(t),e,o,!1).valueOf()},"any, Array | Matrix":function(t,e){return a(t,_(e))}},o.signatures));return u.toTex={2:"\\frac{${args[0]}}{${args[1]}}"},u}var r=n(32).extend;e.name="divide",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,o){function a(n,i){if(e.predictable&&!r(i)&&n<0)try{var s=d(i),o=f(s);if((i===o||Math.abs((i-o)/i)<1e-14)&&s.d%2===1)return(s.n%2===0?1:-1)*Math.pow(-n,i)}catch(t){}return n*n<1&&i===1/0||n*n>1&&i===-(1/0)?0:e.predictable&&(n<-1&&i===1/0||n>-1&&n<0&&i===-(1/0))?NaN:r(i)||n>=0||e.predictable?Math.pow(n,i):new t.Complex(n,0).pow(i,0)}function _(t,e){if(!r(e)||e<0)throw new TypeError("For A^b, b must be a positive integer (value is "+e+")");var n=s(t);if(2!==n.length)throw new Error("For A^b, A must be 2 dimensional (A has "+n.length+" dimensions)");if(n[0]!==n[1])throw new Error("For A^b, A must be square (size is "+n[0]+"x"+n[1]+")");for(var i=c(n[0]).valueOf(),o=t;e>=1;)1===(1&e)&&(i=u(o,i)),e>>=1,o=u(o,o);return i}function l(t,e){return p(_(t.valueOf(),e))}var h=n(26),c=i(n(201)),u=i(n(68)),p=i(n(9)),d=i(n(412)),f=i(n(319)),m=o("pow",{"number, number":a,"Complex, Complex":function(t,e){return t.pow(e)},"BigNumber, BigNumber":function(n,i){return i.isInteger()||n>=0||e.predictable?n.pow(i):new t.Complex(n.toNumber(),0).pow(i.toNumber(),0)},"Fraction, Fraction":function(t,n){if(1!==n.d){if(e.predictable)throw new Error("Function pow does not support non-integer exponents for fractions.");return a(t.valueOf(),n.valueOf())}return t.pow(n)},"Array, number":_,"Array, BigNumber":function(t,e){return _(t,e.toNumber())},"Matrix, number":l,"Matrix, BigNumber":function(t,e){return l(t,e.toNumber())},"Unit, number | BigNumber":function(t,e){return t.pow(e)}});return m.toTex={2:"\\left(${args[0]}\\right)".concat(h.operators.pow,"{${args[1]}}")},m}var r=n(19).isInteger,s=n(16).size;e.name="pow",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){function s(n){return isNaN(n)?NaN:n>=0||e.predictable?Math.sqrt(n):new t.Complex(n,0).sqrt()}var o=i("sqrt",{number:s,Complex:function(t){return t.sqrt()},BigNumber:function(t){return!t.isNegative()||e.predictable?t.sqrt():s(t.toNumber())},"Array | Matrix":function(t){return r(t,o,!0)},Unit:function(t){return t.pow(.5)}});return o.toTex={1:"\\sqrt{${args[0]}}"},o}var r=n(12);e.name="sqrt",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,o){function a(e,n){var i=_(e),r=i?new t.BigNumber(0):0;if(l(e),n){var o=h(n);return e.length>0?o.resize(e,r):o}var a=[];return e.length>0?s(a,e,r):a}function _(e){var n=!1;return e.forEach(function(e,i,r){t.isBigNumber(e)&&(n=!0,r[i]=e.toNumber())}),n}function l(t){t.forEach(function(t){if("number"!=typeof t||!r(t)||t<0)throw new Error("Parameters in function zeros must be positive integers")})}var h=i(n(9)),c=o("zeros",{"":function(){return"Array"===e.matrix?a([]):a([],"default")},"...number | BigNumber | string":function(t){var n=t[t.length-1];if("string"==typeof n){var i=t.pop();return a(t,i)}return"Array"===e.matrix?a(t):a(t,"default")},Array:a,Matrix:function(t){var e=t.storage();return a(t.valueOf(),e)},"Array | Matrix, string":function(t,e){return a(t.valueOf(),e)}});return c.toTex=void 0,c}var r=n(19).isInteger,s=n(16).resize;e.name="zeros",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var r=t.DenseMatrix,s=function(t,e,n,s){var o=t._values,a=t._index,_=t._ptr,l=t._size,h=t._datatype;if(!o)throw new Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var c,u=l[0],p=l[1],d=n;"string"==typeof h&&(c=h,e=i.convert(e,c),d=i.find(n,[c,c]));for(var f=[],m=new r({data:f,size:[u,p],datatype:c}),g=[],v=[],x=0;x=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},l=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},h=function(){function t(t,e,n,r){var s=this;this.tooltipService=n,this.events=r,this.headerClicked=new i.EventEmitter,this.dcOn=[],this.voltageLimitFormats=[],this.showCurrent=!1,this.readVoltages=[],this.showDcSettings=!0,this.toastService=e,this.voltageSupplies=[0,1,2],this.contentHidden=!0,this.voltages=[5,5,-5],this.currents=["1.00","1.00","1.00"],this.maxVoltages=[6,25,-25],this.maxCurrents=[1,1,1],this.correctCurrents=[!0,!0,!0],this.correctVoltages=[!0,!0,!0],this.deviceManagerService=t,this.activeDevice=this.deviceManagerService.getActiveDevice(),0!==this.activeDevice.instruments.dc.chans[0].currentIncrement&&(this.showCurrent=!0),this.events.subscribe("restore-defaults",function(){for(var t=0;t0&&(i="+"+e/1e3),n>0&&(r="+"+n/1e3),Math.abs(e)===Math.abs(n)?this.voltageLimitFormats.push("± "+n/1e3+" V"):0===e?this.voltageLimitFormats.push("+ "+r+" V"):0===n?this.voltageLimitFormats.push(i+" V"):this.voltageLimitFormats.push(""+i+"  :  "+r+" V")},t.prototype.setVoltages=function(t,e){this.activeDevice.instruments.dc.setVoltages(t,e).subscribe(function(n){console.log("DC channels: "+t+" set to "+e)},function(t){console.log(t)},function(){})},t.prototype.getVoltages=function(t){var e=this;this.activeDevice.instruments.dc.getVoltages(t).subscribe(function(t){console.log(t);for(var n in t.dc)e.voltages[parseInt(n)-1]=t.dc[n][0].voltage},function(t){console.log(t)},function(){})},t.prototype.initializeFromGetStatus=function(t){var e=this,n=function(n){t.dc[n].forEach(function(i,r,s){void 0!=i.voltage&&(e.voltages[parseInt(n)-1]=t.dc[n][r].voltage)})};for(var i in t.dc)n(i)},t.prototype.togglePower=function(t){for(var e=this,n=0;nthis.activeDevice.instruments.dc.chans[t].voltageMax/1e3?(this.correctVoltages[t]=!1,!1):(this.correctVoltages[t]=!0,!0)},t.prototype.validateCurrent=function(t){return parseFloat(this.currents[t])<0||parseFloat(this.currents[t])>this.maxCurrents[t]?void(this.correctCurrents[t]=!1):void(this.correctCurrents[t]=!0)},_([n.i(i.Output)(),l("design:type","function"==typeof(e="undefined"!=typeof i.EventEmitter&&i.EventEmitter)&&e||Object)],t.prototype,"headerClicked",void 0),_([n.i(i.Input)(),l("design:type",Boolean)],t.prototype,"contentHidden",void 0),t=_([n.i(i.Component)({templateUrl:"dc-supply.html",selector:"dc-supply"}),l("design:paramtypes",["function"==typeof(h="undefined"!=typeof s.DeviceManagerService&&s.DeviceManagerService)&&h||Object,"function"==typeof(c="undefined"!=typeof o.a&&o.a)&&c||Object,"function"==typeof(u="undefined"!=typeof a.a&&a.a)&&u||Object,"function"==typeof(p="undefined"!=typeof r.n&&r.n)&&p||Object])],t);var e,h,c,u,p}()},function(t,e,n){"use strict";var i=n(0),r=n(15),s=n(150),o=n(45),a=(n.n(o),n(38)),_=n(28),l=n(110);n.d(e,"a",function(){return u});var h=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i; if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},c=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},u=function(){function t(t,e,n,r,s,o){this.dataTransferService=o,this.headerClicked=new i.EventEmitter,this.gpioChans=[],this.laChans=[],this.laActiveChans=[],this.gpioVals=[],this.gpioDirections=[],this.showDigiContent=!0,this.selectedMode="io",this.directionMode=!1,this.isLogger=!1,this.alertCtrl=t,this.toastService=s,this.tooltipService=e,this.popoverCtrl=r,this.deviceManagerService=n,this.activeDev=this.deviceManagerService.devices[this.deviceManagerService.activeDeviceIndex],this.isLogger="OpenLogger MZ"===this.activeDev.deviceModel;for(var a=0;a=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},u=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};!function(t){t[t.IDLE=0]="IDLE",t[t.LOOPBACK=1]="LOOPBACK",t[t.WAVETYPE=2]="WAVETYPE",t[t.POWER=3]="POWER"}(h||(h={}));var p=function(){function t(t,e,n,r,s,o){var a=this;this.dataTransferService=s,this.events=o,this.fgenTutorialFinish=new i.EventEmitter,this.waveType=[],this.frequency=[],this.amplitude=[],this.offset=[],this.powerOn=[],this.attemptingPowerOff=!1,this.showSettings=!0,this.showChanSettings=[!0],this.tutorialStage=h.IDLE,this.tutorialMode=!1,this.awaitingResponse=!1,this.isOpenLogger=!0,this.asyncSetHandle=null,this.settingsService=n,this.tooltipService=r,this.toastService=e,this.deviceManagerService=t,this.activeDevice=this.deviceManagerService.getActiveDevice(),this.supportedSignalTypes=this.activeDevice.instruments.awg.chans[0].signalTypes;for(var _=0;_this.activeDevice.instruments.awg.chans[n].signalFreqMax/1e3&&(t=this.activeDevice.instruments.awg.chans[n].signalFreqMax/1e3),this.frequency[n]===t)return console.log("the same"),this.frequency[n]=10*t+1,void setTimeout(function(){i.frequency[n]=t},1);this.frequency[n]=t;break;case"amplitude":t=Math.abs(t);var r=(this.activeDevice.instruments.awg.chans[n].vOutMax+this.activeDevice.instruments.awg.chans[n].vOutMin)/2e3;if(console.log(r),this.offset[n]>=r?t/2+this.offset[n]>this.activeDevice.instruments.awg.chans[n].vOutMax/1e3&&(t=2*Math.abs(this.activeDevice.instruments.awg.chans[n].vOutMax/1e3-this.offset[n])):this.offset[n]-t/2this.activeDevice.instruments.awg.chans[n].vOffsetMax/1e3&&(t=this.activeDevice.instruments.awg.chans[n].vOffsetMax/1e3),this.offset[n]===t)return console.log("the same"),this.offset[n]=10*t+1,void setTimeout(function(){i.offset[n]=t},1);this.offset[n]=t;break;case"dutyCycle":if(t<0?t=0:t>100&&(t=100),this.dutyCycle===t)return console.log("the same"),this.dutyCycle=10*t+1,void setTimeout(function(){i.dutyCycle=t},1);this.dutyCycle=t}this.setWaveformIfLogger(n)},t.prototype.toggleWave=function(t,e){this.powerOn[e]&&!this.isOpenLogger||(this.waveType[e]=t,this.tutorialMode&&this.highlightPower(),this.setWaveformIfLogger(e))},t.prototype.toggleChanSettings=function(t){this.showChanSettings[t]=!this.showChanSettings[t]},t.prototype.toggleAwgSettings=function(){this.showSettings=!this.showSettings},t.prototype.frequencyMousewheel=function(t,e){this.powerOn[e]&&!this.isOpenLogger||(t.deltaY<0?this.incrementFrequency(e):this.decrementFrequency(e),this.setWaveformIfLogger(e))},t.prototype.voltageMousewheel=function(t,e,n){this.powerOn[n]&&!this.isOpenLogger||(t.deltaY<0?"amplitude"===e?this.incrementAmplitude(n):this.incrementOffset(n):"amplitude"===e?this.decrementAmplitude(n):this.decrementOffset(n),this.setWaveformIfLogger(n))},t.prototype.incrementAmplitude=function(t){var e=this.amplitude[t]+.1;this.amplitude[t]=Math.min(e,this.activeDevice.instruments.awg.chans[0].dacVpp/1e3),this.setWaveformIfLogger(t)},t.prototype.decrementAmplitude=function(t){var e=this.amplitude[t]-.1;this.amplitude[t]=Math.max(e,0),this.setWaveformIfLogger(t)},t.prototype.incrementOffset=function(t){var e=this.offset[t]+.1;this.offset[t]=Math.min(e,this.activeDevice.instruments.awg.chans[0].vOffsetMax/1e3),this.setWaveformIfLogger(t)},t.prototype.decrementOffset=function(t){var e=this.offset[t]-.1;this.offset[t]=Math.max(e,this.activeDevice.instruments.awg.chans[0].vOffsetMin/1e3),this.setWaveformIfLogger(t)},t.prototype.incrementFrequency=function(t){var e=this.frequency[t].toString(),n=parseInt(e.charAt(0),10),i=e.split(".")[0].length-1;n++,10===n&&(n=1,i++);var r=n*Math.pow(10,i);rthis.activeDevice.instruments.awg.chans[t].signalFreqMax/1e3&&(r=this.activeDevice.instruments.awg.chans[t].signalFreqMax/1e3),this.frequency[t]=r,this.setWaveformIfLogger(t)},t.prototype.decrementFrequency=function(t){var e=this.frequency[t].toString(),n=parseInt(e.charAt(0),10),i=e.split(".")[0].length-1;n--,0===n&&(n=9,i--);var r=n*Math.pow(10,i);rthis.activeDevice.instruments.awg.chans[t].signalFreqMax/1e3&&(r=this.activeDevice.instruments.awg.chans[t].signalFreqMax/1e3),this.frequency[t]=r,this.setWaveformIfLogger(t)},t.prototype.togglePower=function(t,e){this.togglePromise(t,e).catch(function(t){return console.error(t)})},t.prototype.togglePromise=function(t,e){var n=this;return new Promise(function(t,i){n.awaitingResponse=!0,n.tutorialMode&&n.finishTutorial();var r=[],s=[];if(r[e]=e+1,s[e]={signalType:n.waveType[e],signalFreq:"dc"===n.waveType[e]?0:n.frequency[e],vpp:"dc"===n.waveType[e]?0:n.amplitude[e],vOffset:n.offset[e]},n.powerOn[e])n.stopPromise(r).then(t);else{if(console.log(n.dataTransferService),(n.dataTransferService.laChanActive||"LA"===n.dataTransferService.triggerSource)&&"local"!==n.activeDevice.transport.getType())return n.toastService.createToast("laOnNoAwg"),void(n.awaitingResponse=!1);var o={awg:{setRegularWaveform:[r,s],run:[r]}};n.activeDevice.multiCommand(o).subscribe(function(i){console.log(i),i.command&&"setRegularWaveform"==i.command&&(n.frequency[e]=i.actualSignalFreq/1e3),n.awaitingResponse=!1,t()},function(t){console.log(t),n.awaitingResponse=!1,console.log("AWG Set Regular and Run Failed"),n.stop(r),n.toastService.createToast("awgRunError",!0),i(t)},function(){n.powerOn[e]=!n.powerOn[e],n.dataTransferService.awgPower=n.powerOn[e]})}})},t.prototype.setArbitraryWaveform=function(t,e,n){},t.prototype.setRegularWaveform=function(t,e){var n=this;this.activeDevice.instruments.awg.setRegularWaveform(t,e).subscribe(function(t){},function(e){console.log("AWG Set Regular Failed"),n.stop(t),n.toastService.createToast("awgParamError",!0)},function(){})},t.prototype.stop=function(t){this.stopPromise(t).catch(function(t){return console.error(t)})},t.prototype.stopPromise=function(t){var e=this;return new Promise(function(n,i){e.awaitingResponse=!0,e.activeDevice.instruments.awg.stop(t).subscribe(function(i){e.awaitingResponse=!1;var r=!1;for(var s in t)e.powerOn[s]=!1,r=r||0===i.awg[t[s]][0].statusCode&&e.attemptingPowerOff;e.dataTransferService.awgPower=!1,r&&(e.attemptingPowerOff=!1,e.toastService.createToast("awgRunError",!0)),n()},function(t){e.awaitingResponse=!1,console.log("AWG Stop Failed"),i(t)},function(){})})},t.prototype.isSquare=function(t){return"square"===this.waveType[t]},t.prototype.setWaveformIfLogger=function(t){var e=this;this.isOpenLogger&&(null!==this.asyncSetHandle&&clearTimeout(this.asyncSetHandle),this.asyncSetHandle=setTimeout(function(){e.setRegularWaveform([t+1],[{signalType:e.waveType[t],signalFreq:"dc"===e.waveType[t]?0:e.frequency[t],vpp:"dc"===e.waveType[t]?0:e.amplitude[t],vOffset:e.offset[t]}]),e.asyncSetHandle=null},100))},c([n.i(i.Output)(),u("design:type","function"==typeof(e="undefined"!=typeof i.EventEmitter&&i.EventEmitter)&&e||Object)],t.prototype,"fgenTutorialFinish",void 0),t=c([n.i(i.Component)({templateUrl:"function-gen.html",selector:"fgen"}),u("design:paramtypes",["function"==typeof(p="undefined"!=typeof s.DeviceManagerService&&s.DeviceManagerService)&&p||Object,"function"==typeof(d="undefined"!=typeof a.a&&a.a)&&d||Object,"function"==typeof(f="undefined"!=typeof o.a&&o.a)&&f||Object,"function"==typeof(m="undefined"!=typeof _.a&&_.a)&&m||Object,"function"==typeof(g="undefined"!=typeof l.a&&l.a)&&g||Object,"function"==typeof(v="undefined"!=typeof r.n&&r.n)&&v||Object])],t);var e,p,d,f,m,g,v}()},function(t,e,n){"use strict";var i=n(0),r=n(28),s=n(15),o=n(31);n.d(e,"a",function(){return l});var a=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},_=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},l=function(){function t(t,e,n){this.tooltipService=t,this.toastCtrl=e,this.settingsService=n,this.tpdChange=new i.EventEmitter,this.showTimeSettings=!0,this.defaultBufferSize=10,this.loggerBufferSize=this.defaultBufferSize,this.loggerBufferSize=this.settingsService.getLoggerBufferSize()||this.loggerBufferSize}return t.prototype.ngOnDestroy=function(){this.settingsService.setLoggerBufferSize(this.loggerBufferSize)},t.prototype.loggerBufferSizeChange=function(t){console.log("Timeframe changed:",t),t<=0?(t=this.loggerBufferSize,this.toastCtrl.create({message:"Invalid buffer size value. Must be some positive numeric value",duration:3e3}).present()):this.loggerBufferSize=t},t.prototype.valChange=function(t){return console.log(t),tthis.tpdArray[this.tpdArray.length-1]&&(t=this.tpdArray[this.tpdArray.length-1]),this.tpdAbsolute===t?void console.log("the same"):void this.tpdChange.emit(t)},t.prototype.incrementTpd=function(){this.tpdChange.emit(this.tpdArray[this.tpdIndex+1])},t.prototype.decrementTpd=function(){this.tpdChange.emit(this.tpdArray[this.tpdIndex-1])},t.prototype.incrementLoggerBufferSize=function(){for(var t=1,e=this.loggerBufferSize;e>=10;)e/=10,t*=10;this.loggerBufferSize+=t},t.prototype.decrementLoggerBufferSize=function(){for(var t=1,e=this.loggerBufferSize;e>10;)e/=10,t*=10;this.loggerBufferSize-t<=0||(this.loggerBufferSize-=t)},t.prototype.toggleSeriesSettings=function(){this.showTimeSettings=!this.showTimeSettings},a([n.i(i.Input)("tpdArray"),_("design:type",Array)],t.prototype,"tpdArray",void 0),a([n.i(i.Input)("tpdIndex"),_("design:type",Number)],t.prototype,"tpdIndex",void 0),a([n.i(i.Input)("tpdAbsolute"),_("design:type",Number)],t.prototype,"tpdAbsolute",void 0),a([n.i(i.Output)("tpdChange"),_("design:type","function"==typeof(e="undefined"!=typeof i.EventEmitter&&i.EventEmitter)&&e||Object)],t.prototype,"tpdChange",void 0),t=a([n.i(i.Component)({templateUrl:"logger-xaxis.html",selector:"logger-xaxis"}),_("design:paramtypes",["function"==typeof(l="undefined"!=typeof r.a&&r.a)&&l||Object,"function"==typeof(h="undefined"!=typeof s.l&&s.l)&&h||Object,"function"==typeof(c="undefined"!=typeof o.a&&o.a)&&c||Object])],t);var e,l,h,c}()},function(t,e,n){"use strict";var i=n(0),r=n(15),s=n(45);n.n(s);n.d(e,"a",function(){return _});var o=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},a=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},_=function(){function t(t,e){this.viewCtrl=t,this.deviceManagerService=e,this.getPinoutAddress()}return t.prototype.getPinoutAddress=function(){var t=this.deviceManagerService.devices[this.deviceManagerService.activeDeviceIndex];if(t){var e=t.deviceModel;switch(console.log(e),e){case"OpenScope MZ":console.log("openscope in get pinout"),this.pinoutAddress="assets/img/osmz-pinout.svg";break;case"OpenLogger MZ":this.pinoutAddress="assets/img/olmz-pinout.png";break;default:console.log("No pinout found")}}},t.prototype.close=function(t){this.viewCtrl.dismiss({option:t})},t=o([n.i(i.Component)({templateUrl:"pinout-popover.html"}),a("design:paramtypes",["function"==typeof(e="undefined"!=typeof r.i&&r.i)&&e||Object,"function"==typeof(_="undefined"!=typeof s.DeviceManagerService&&s.DeviceManagerService)&&_||Object])],t);var e,_}()},function(t,e,n){"use strict";var i=n(0),r=n(840),s=(n.n(r),n(834)),o=(n.n(s),n(831)),a=(n.n(o),n(832)),_=(n.n(a),n(833)),l=(n.n(_),n(835)),h=(n.n(l),n(836)),c=(n.n(h),n(837)),u=(n.n(c),n(838)),p=(n.n(u),n(839));n.n(p);n.d(e,"a",function(){return d});var d=function(){function t(){this.chartLoad=new i.EventEmitter,this.initialChartLoad=!0}return t.prototype.ngAfterViewInit=function(){console.log("View Init");var t=$("#"+this.chartId);t.css({width:"100%",height:"100%"}),void 0==this.digilentChart&&this.createChart()},t.prototype.createChart=function(t){var e=this;return console.log("creating digilent chart under id: "+this.chartId),t=void 0==t?[]:t,void 0==this.chartId||void 0==this.flotOptions?void setTimeout(function(){console.log("trying to create chart again"),e.createChart()},200):(this.digilentChart=$.plot("#"+this.chartId,t,this.flotOptions),this.setNearestPresetSecPerDivVal(),void(this.initialChartLoad&&(this.initialChartLoad=!1,this.chartLoad.emit())))},t.prototype.setData=function(t,e){return e?void this.createChart(t):(this.digilentChart.setData(t),this.digilentChart.setupGrid(),this.digilentChart.draw(),void this.setNearestPresetSecPerDivVal())},t.prototype.refreshChart=function(t){this.createChart(t),this.setNearestPresetSecPerDivVal()},t.prototype.setNearestPresetSecPerDivVal=function(){if(void 0!=this.flotOptions.zoomPan){for(var t=this.digilentChart.getAxes(),e=(t.xaxis.max-t.xaxis.min)/10,n=this.digilentChart.getSecsPerDivArray(),i=0;n[i]\n '}]}],t.ctorParameters=[],t.propDecorators={chartLoad:[{type:i.Output}],chartId:[{type:i.Input}],flotOptions:[{type:i.Input}],chartType:[{type:i.Input}]},t}()},function(t,e,n){"use strict";var i=n(0),r=n(2),s=n(42);n.d(e,"a",function(){return a});var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=function(t){function e(e,n,i){t.call(this,e,n,i),this._name="",this._ios="",this._md="",this._css="",this._hidden=!1,this.mode=e.get("mode"),this._iconMode=e.get("iconMode")}return o(e,t),Object.defineProperty(e.prototype,"color",{get:function(){return this._color},set:function(t){this._setColor("icon",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("icon",t)},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this._css&&this.setElementClass(this._css,!1)},Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(t){/^md-|^ios-|^logo-/.test(t)?this._name=t:this._name=this._iconMode+"-"+t,this.update()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ios",{get:function(){return this._ios},set:function(t){this._ios=t,this.update()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"md",{get:function(){return this._md},set:function(t){this._md=t,this.update()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isActive",{get:function(){return void 0===this._isActive||this._isActive===!0||"true"===this._isActive},set:function(t){this._isActive=t,this.update()},enumerable:!0,configurable:!0}),e.prototype.update=function(){var t;t=this._ios&&"ios"===this._iconMode?this._ios:this._md&&"md"===this._iconMode?this._md:this._name;var e=this._hidden=null===t;if(!e){var n=t.split("-",2)[0];"ios"===n&&!this.isActive&&t.indexOf("logo-")<0&&t.indexOf("-outline")<0&&(t+="-outline");var i="ion-"+t;if(this._css!==i){this._css&&this.setElementClass(this._css,!1),this._css=i,this.setElementClass(i,!0);var r=t.replace("ios-","").replace("md-","").replace("-"," ");this.setElementAttribute("aria-label",r)}}},e.decorators=[{type:i.Directive,args:[{selector:"ion-icon",host:{role:"img"}}]}],e.ctorParameters=[{type:r.c},{type:i.ElementRef},{type:i.Renderer}],e.propDecorators={color:[{type:i.Input}],mode:[{type:i.Input}],name:[{type:i.Input}],ios:[{type:i.Input}],md:[{type:i.Input}],isActive:[{type:i.Input}],_hidden:[{type:i.HostBinding,args:["class.hide"]}]},e}(s.a)},function(t,e,n){"use strict";var i=n(0),r=n(2),s=n(42),o=n(36);n.d(e,"a",function(){return _});var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},_=function(t){function e(e,n,i){t.call(this,e,n,i),this._dur=null,this.paused=!1,this.mode=e.get("mode")}return a(e,t),Object.defineProperty(e.prototype,"color",{get:function(){return this._color},set:function(t){this._setColor("spinner",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("spinner",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t,this.load()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"duration",{get:function(){return this._dur},set:function(t){this._dur=t,this.load()},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._init=!0,this.load()},e.prototype.load=function(){if(this._init){this._l=[],this._c=[];var t=this._name||this._config.get("spinner","ios"),e=l[t];if(e){if(this._applied="spinner-"+t,e.lines)for(var n=0,i=e.lines;n',host:{"[class.spinner-paused]":"paused"},changeDetection:i.ChangeDetectionStrategy.OnPush,encapsulation:i.ViewEncapsulation.None}]}],e.ctorParameters=[{type:r.c},{type:i.ElementRef},{type:i.Renderer}],e.propDecorators={color:[{type:i.Input}],mode:[{type:i.Input}],name:[{type:i.Input}],duration:[{type:i.Input}],paused:[{type:i.Input}]},e}(s.a),l={ios:{dur:1e3,lines:12,fn:function(t,e,n){return{y1:17,y2:29,style:(i={},i[o.k.transform]="rotate("+(30*e+(e<6?180:-180))+"deg)",i[o.k.animationDelay]=-(t-t/n*e)+"ms",i)};var i}},"ios-small":{dur:1e3,lines:12,fn:function(t,e,n){return{y1:12,y2:20,style:(i={},i[o.k.transform]="rotate("+(30*e+(e<6?180:-180))+"deg)",i[o.k.animationDelay]=-(t-t/n*e)+"ms",i)};var i}},bubbles:{dur:1e3,circles:9,fn:function(t,e,n){return{r:5,style:(i={top:9*Math.sin(2*Math.PI*e/n),left:9*Math.cos(2*Math.PI*e/n)},i[o.k.animationDelay]=-(t-t/n*e)+"ms",i)};var i}},circles:{dur:1e3,circles:8,fn:function(t,e,n){return{r:5,style:(i={top:9*Math.sin(2*Math.PI*e/n),left:9*Math.cos(2*Math.PI*e/n)},i[o.k.animationDelay]=-(t-t/n*e)+"ms",i)};var i}},crescent:{dur:750,circles:1,fn:function(t){return{r:26,style:{}}}},dots:{dur:750,circles:3,fn:function(t,e,n){return{r:6,style:(i={left:9-9*e},i[o.k.animationDelay]=-(110*e)+"ms",i)};var i}}}},function(t,e,n){"use strict";function i(t,e,i){if(e){if(n.i(h.b)(e))return e;if("function"==typeof e)return new h.a(e,i);if("string"==typeof e){var r=t.getComponentFromName(e);if(r)return new h.a(r,i)}}return console.error("invalid page component: "+e),null}function r(t,e){var r=[];if(n.i(l.b)(e))for(var s=0;s=this.max?this.message="Index out of range ("+this.index+" > "+(this.max-1)+")":this.message="Index out of range ("+this.index+")",this.stack=(new Error).stack}i.prototype=new RangeError,i.prototype.constructor=RangeError,i.prototype.name="IndexError",i.prototype.isIndexError=!0,t.exports=i},function(t,e,n){"use strict";function i(t,e,i,_,l){function h(e){return!!t.Unit&&t.Unit.isValuelessUnit(e)}function c(t){if(!(this instanceof c))throw new SyntaxError("Constructor must be called with the new operator");if("string"!=typeof t)throw new TypeError('String expected for parameter "name"');this.name=t}function u(t){throw new Error("Undefined symbol "+t)}var p=i(n(84));return c.prototype=new p,c.prototype.type="SymbolNode",c.prototype.isSymbolNode=!0,c.prototype._compile=function(e,n){var i=this.name;if(o(n,i))return function(t,e,n){return e[i]};if(i in e)return function(t,n,r){return i in t?a(t,i):a(e,i)};var r=h(i);return function(e,n,s){return i in e?a(e,i):r?new t.Unit(null,i):u(i)}},c.prototype.forEach=function(t){},c.prototype.map=function(t){return this.clone()},c.prototype.clone=function(){return new c(this.name)},c.prototype._toString=function(t){return this.name},c.prototype.toHTML=function(t){var e=s(this.name);return"true"===e||"false"===e?''+e+"":"i"===e?''+e+"":"Infinity"===e?''+e+"":"NaN"===e?''+e+"":"null"===e?''+e+"":"undefined"===e?''+e+"":''+e+""},c.prototype.toJSON=function(){return{mathjs:"SymbolNode",name:this.name}},c.fromJSON=function(t){return new c(t.name)},c.prototype._toTex=function(t){var e=!1;"undefined"==typeof l[this.name]&&h(this.name)&&(e=!0); var n=r.toSymbol(this.name,e);return"\\"===n[0]?n:" "+n},c}var r=n(26),s=n(64).escape,o=n(32).hasOwnProperty,a=n(78).getSafeProperty;e.name="SymbolNode",e.path="expression.node",e.math=!0,e.factory=i},function(t,e,n){"use strict";function i(t,e){var n=t;"keep"!==e&&(n=t.getContent());for(var i=n.getIdentifier(),r=0;re?1:-1},"number, number":function(t,n){return t===n||r(t,n,e.epsilon)?0:t>n?1:-1},"BigNumber, BigNumber":function(n,i){return n.eq(i)||s(n,i,e.epsilon)?new t.BigNumber(0):new t.BigNumber(n.cmp(i))},"Fraction, Fraction":function(e,n){return new t.Fraction(e.compare(n))},"Complex, Complex":function(){throw new TypeError("No ordering relation is defined for complex numbers")},"Unit, Unit":function(t,e){if(!t.equalBase(e))throw new Error("Cannot compare units with different base");return p(t.value,e.value)},"SparseMatrix, SparseMatrix":function(t,e){return l(t,e,p)},"SparseMatrix, DenseMatrix":function(t,e){return _(e,t,p,!0)},"DenseMatrix, SparseMatrix":function(t,e){return _(t,e,p,!1)},"DenseMatrix, DenseMatrix":function(t,e){return c(t,e,p)},"Array, Array":function(t,e){return p(a(t),a(e)).valueOf()},"Array, Matrix":function(t,e){return p(a(t),e)},"Matrix, Array":function(t,e){return p(t,a(e))},"SparseMatrix, any":function(t,e){return h(t,e,p,!1)},"DenseMatrix, any":function(t,e){return u(t,e,p,!1)},"any, SparseMatrix":function(t,e){return h(e,t,p,!0)},"any, DenseMatrix":function(t,e){return u(e,t,p,!0)},"Array, any":function(t,e){return u(a(t),e,p,!1).valueOf()},"any, Array":function(t,e){return u(a(e),t,p,!0).valueOf()}});return p.toTex=void 0,p}var r=n(19).nearlyEqual,s=n(142);e.name="compare",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,r){var s=i(n(9)),o=i(n(72)),a=i(n(92)),_=i(n(133)),l=i(n(94)),h=i(n(50)),c=i(n(40)),u=n(26),p=r("equal",{"any, any":function(t,e){return null===t?null===e:null===e?null===t:void 0===t?void 0===e:void 0===e?void 0===t:o(t,e)},"SparseMatrix, SparseMatrix":function(t,e){return _(t,e,o)},"SparseMatrix, DenseMatrix":function(t,e){return a(e,t,o,!0)},"DenseMatrix, SparseMatrix":function(t,e){return a(t,e,o,!1)},"DenseMatrix, DenseMatrix":function(t,e){return h(t,e,o)},"Array, Array":function(t,e){return p(s(t),s(e)).valueOf()},"Array, Matrix":function(t,e){return p(s(t),e)},"Matrix, Array":function(t,e){return p(t,s(e))},"SparseMatrix, any":function(t,e){return l(t,e,o,!1)},"DenseMatrix, any":function(t,e){return c(t,e,o,!1)},"any, SparseMatrix":function(t,e){return l(e,t,o,!0)},"any, DenseMatrix":function(t,e){return c(e,t,o,!0)},"Array, any":function(t,e){return c(s(t),e,o,!1).valueOf()},"any, Array":function(t,e){return c(s(e),t,o,!0).valueOf()}});return p.toTex={2:"\\left(${args[0]}".concat(u.operators.equal,"${args[1]}\\right)")},p}e.name="equal",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("isNumeric",{"number | BigNumber | Fraction | boolean":function(){return!0},"Complex | Unit | string | null | undefined | Node":function(){return!1},"Array | Matrix":function(t){return r(t,s)}});return s}var r=n(12);e.name="isNumeric",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,l){function f(e,n){if(!(this instanceof f))throw new SyntaxError("Constructor must be called with the new operator");if(n&&!p(n))throw new Error("Invalid datatype: "+n);if(t.isMatrix(e))"DenseMatrix"===e.type?(this._data=_.clone(e._data),this._size=_.clone(e._size),this._datatype=n||e._datatype):(this._data=e.toArray(),this._size=e.size(),this._datatype=n||e._datatype);else if(e&&h(e.data)&&h(e.size))this._data=e.data,this._size=e.size,this._datatype=n||e.datatype;else if(h(e))this._data=w(e),this._size=a.size(this._data),a.validate(this._data,this._size),this._datatype=n;else{if(e)throw new TypeError("Unsupported type of data ("+r.types.type(e)+")");this._data=[],this._size=[0],this._datatype=n}}function m(e,n){if(!t.isIndex(n))throw new TypeError("Invalid index");var i=n.isScalar();if(i)return e.get(n.min());var r=n.size();if(r.length!==e._size.length)throw new s(r.length,e._size.length);for(var o=n.min(),a=n.max(),_=0,l=e._size.length;_");var p=n.max().map(function(t){return t+1});b(e,p,r);var d=l.length,f=0;x(e._data,n,i,d,f)}return e}function x(t,e,n,i,r){var s=r===i-1,o=e.dimension(r);s?o.forEach(function(e,i){d(e),t[e]=n[i[0]]}):o.forEach(function(s,o){d(s),x(t[s],e,n[o[0]],i,r+1)})}function y(t,e,n){if(0===e.length){for(var i=t._data;h(i);)i=i[0];return i}return t._size=e.slice(0),t._data=a.resize(t._data,t._size,n),t}function b(t,e,n){for(var i=t._size.slice(0),r=!1;i.lengthi[s]&&(i[s]=e[s],r=!0);r&&y(t,i,n)}function w(t){for(var e=0,n=t.length;e0?e:0,i=e<0?-e:0,r=this._size[0],s=this._size[1],o=Math.min(r-i,s-n),a=[],_=0;_0?i:0,d=i<0?-i:0,m=e[0],g=e[1],v=Math.min(m-d,g-_);if(h(n)){if(n.length!==v)throw new Error("Invalid value array length");o=function(t){return n[t]}}else if(t.isMatrix(n)){var x=n.size();if(1!==x.length||x[0]!==v)throw new Error("Invalid matrix length");o=function(t){return n.get([t])}}else o=function(){return n};r||(r=t.isBigNumber(o(0))?new t.BigNumber(0):0);var y=[];if(e.length>0){y=a.resize(y,e,r);for(var b=0;b-1?i:n.getPluralCategory(t)}function r(t,e){"string"==typeof e&&(e=parseInt(e,10));var n=e,i=n.toString().replace(/^[^.]*\.?/,""),r=Math.floor(Math.abs(n)),s=i.length,a=parseInt(i,10),_=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0,l=t.split("-")[0].toLowerCase();switch(l){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?o.One:o.Other;case"agq":case"bas":case"cu":case"dav":case"dje":case"dua":case"dyo":case"ebu":case"ewo":case"guz":case"kam":case"khq":case"ki":case"kln":case"kok":case"ksf":case"lrc":case"lu":case"luo":case"luy":case"mer":case"mfe":case"mgh":case"mua":case"mzn":case"nmg":case"nus":case"qu":case"rn":case"rw":case"sbp":case"twq":case"vai":case"yav":case"yue":case"zgh":case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?o.One:o.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===r||1===n?o.One:o.Other;case"ar":return 0===n?o.Zero:1===n?o.One:2===n?o.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?o.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?o.Many:o.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===r&&0===s?o.One:o.Other;case"be":return n%10===1&&n%100!==11?o.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?o.Few:n%10===0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?o.Many:o.Other;case"br":return n%10===1&&n%100!==11&&n%100!==71&&n%100!==91?o.One:n%10===2&&n%100!==12&&n%100!==72&&n%100!==92?o.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10===9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?o.Few:0!==n&&n%1e6===0?o.Many:o.Other;case"bs":case"hr":case"sr":return 0===s&&r%10===1&&r%100!==11||a%10===1&&a%100!==11?o.One:0===s&&r%10===Math.floor(r%10)&&r%10>=2&&r%10<=4&&!(r%100>=12&&r%100<=14)||a%10===Math.floor(a%10)&&a%10>=2&&a%10<=4&&!(a%100>=12&&a%100<=14)?o.Few:o.Other;case"cs":case"sk":return 1===r&&0===s?o.One:r===Math.floor(r)&&r>=2&&r<=4&&0===s?o.Few:0!==s?o.Many:o.Other;case"cy":return 0===n?o.Zero:1===n?o.One:2===n?o.Two:3===n?o.Few:6===n?o.Many:o.Other;case"da":return 1===n||0!==_&&(0===r||1===r)?o.One:o.Other;case"dsb":case"hsb":return 0===s&&r%100===1||a%100===1?o.One:0===s&&r%100===2||a%100===2?o.Two:0===s&&r%100===Math.floor(r%100)&&r%100>=3&&r%100<=4||a%100===Math.floor(a%100)&&a%100>=3&&a%100<=4?o.Few:o.Other;case"ff":case"fr":case"hy":case"kab":return 0===r||1===r?o.One:o.Other;case"fil":return 0===s&&(1===r||2===r||3===r)||0===s&&r%10!==4&&r%10!==6&&r%10!==9||0!==s&&a%10!==4&&a%10!==6&&a%10!==9?o.One:o.Other;case"ga":return 1===n?o.One:2===n?o.Two:n===Math.floor(n)&&n>=3&&n<=6?o.Few:n===Math.floor(n)&&n>=7&&n<=10?o.Many:o.Other;case"gd":return 1===n||11===n?o.One:2===n||12===n?o.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?o.Few:o.Other;case"gv":return 0===s&&r%10===1?o.One:0===s&&r%10===2?o.Two:0!==s||r%100!==0&&r%100!==20&&r%100!==40&&r%100!==60&&r%100!==80?0!==s?o.Many:o.Other:o.Few;case"he":return 1===r&&0===s?o.One:2===r&&0===s?o.Two:0!==s||n>=0&&n<=10||n%10!==0?o.Other:o.Many;case"is":return 0===_&&r%10===1&&r%100!==11||0!==_?o.One:o.Other;case"ksh":return 0===n?o.Zero:1===n?o.One:o.Other;case"kw":case"naq":case"se":case"smn":return 1===n?o.One:2===n?o.Two:o.Other;case"lag":return 0===n?o.Zero:0!==r&&1!==r||0===n?o.Other:o.One;case"lt":return n%10!==1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?o.Few:0!==a?o.Many:o.Other:o.One;case"lv":case"prg":return n%10===0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===s&&a%100===Math.floor(a%100)&&a%100>=11&&a%100<=19?o.Zero:n%10===1&&n%100!==11||2===s&&a%10===1&&a%100!==11||2!==s&&a%10===1?o.One:o.Other;case"mk":return 0===s&&r%10===1||a%10===1?o.One:o.Other;case"mt":return 1===n?o.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?o.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?o.Many:o.Other;case"pl":return 1===r&&0===s?o.One:0===s&&r%10===Math.floor(r%10)&&r%10>=2&&r%10<=4&&!(r%100>=12&&r%100<=14)?o.Few:0===s&&1!==r&&r%10===Math.floor(r%10)&&r%10>=0&&r%10<=1||0===s&&r%10===Math.floor(r%10)&&r%10>=5&&r%10<=9||0===s&&r%100===Math.floor(r%100)&&r%100>=12&&r%100<=14?o.Many:o.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?o.One:o.Other;case"ro":return 1===r&&0===s?o.One:0!==s||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?o.Few:o.Other;case"ru":case"uk":return 0===s&&r%10===1&&r%100!==11?o.One:0===s&&r%10===Math.floor(r%10)&&r%10>=2&&r%10<=4&&!(r%100>=12&&r%100<=14)?o.Few:0===s&&r%10===0||0===s&&r%10===Math.floor(r%10)&&r%10>=5&&r%10<=9||0===s&&r%100===Math.floor(r%100)&&r%100>=11&&r%100<=14?o.Many:o.Other;case"shi":return 0===r||1===n?o.One:n===Math.floor(n)&&n>=2&&n<=10?o.Few:o.Other;case"si":return 0===n||1===n||0===r&&1===a?o.One:o.Other;case"sl":return 0===s&&r%100===1?o.One:0===s&&r%100===2?o.Two:0===s&&r%100===Math.floor(r%100)&&r%100>=3&&r%100<=4||0!==s?o.Few:o.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?o.One:o.Other;default:return o.Other}}var s=n(0);n.d(e,"b",function(){return _}),e.c=i,n.d(e,"a",function(){return l});var o,a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},_=function(){function t(){}return t}(),l=function(t){function e(e){t.call(this),this._locale=e}return a(e,t),e.prototype.getPluralCategory=function(t){var e=r(this._locale,t);switch(e){case o.Zero:return"zero";case o.One:return"one";case o.Two:return"two";case o.Few:return"few";case o.Many:return"many";default:return"other"}},e.decorators=[{type:s.Injectable}],e.ctorParameters=[{type:void 0,decorators:[{type:s.Inject,args:[s.LOCALE_ID]}]}],e}(_);!function(t){t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other"}(o||(o={}))},function(t,e,n){"use strict";var i=n(0);n.d(e,"b",function(){return r}),n.d(e,"a",function(){return s});var r=function(){function t(){}return t}(),s=new i.OpaqueToken("appBaseHref")},function(t,e,n){"use strict";function i(){return""+r()+r()+r()}function r(){return s.o.fromCharCode(97+s.p.floor(25*s.p.random()))}var s=n(24),o=n(117);n.d(e,"b",function(){return a}),e.a=i,n.d(e,"e",function(){return _}),n.d(e,"c",function(){return l}),n.d(e,"d",function(){return h}),n.d(e,"f",function(){return c});var a=new o.a("AppId"),_={provide:a,useFactory:i,deps:[]},l=new o.a("Platform Initializer"),h=new o.a("appBootstrapListener"),c=new o.a("Application Packages Root URL")},function(t,e,n){"use strict";var i=n(137),r=n(147);n.d(e,"a",function(){return o});var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(){t.apply(this,arguments)}return s(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return n.i(r.c)(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return n.i(r.a)(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return n.i(r.b)(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e}(i.a)},function(t,e,n){"use strict";var i=n(0),r=n(184),s=n(127),o=n(96),a=n(262),_=n(128),l=n(137),h=n(147);n.d(e,"a",function(){return d});var c=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u={provide:l.a,useExisting:n.i(i.forwardRef)(function(){return d})},p=Promise.resolve(null),d=function(t){function e(e,i){t.call(this),this._submitted=!1,this.ngSubmit=new r.a,this.form=new a.a({},n.i(h.a)(e),n.i(h.b)(i))}return c(e,t),Object.defineProperty(e.prototype,"submitted",{get:function(){return this._submitted},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;p.then(function(){var i=e._findContainer(t.path);t._control=i.registerControl(t.name,t.control),n.i(h.d)(t.control,t),t.control.updateValueAndValidity({emitEvent:!1})})},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;p.then(function(){var i=e._findContainer(t.path);n.i(o.c)(i)&&i.removeControl(t.name)})},e.prototype.addFormGroup=function(t){var e=this;p.then(function(){var i=e._findContainer(t.path),r=new a.a({});n.i(h.e)(r,t),i.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(t){var e=this;p.then(function(){var i=e._findContainer(t.path);n.i(o.c)(i)&&i.removeControl(t.name)})},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;p.then(function(){var i=n.form.get(t.path);i.setValue(e)})},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(){return this._submitted=!0,this.ngSubmit.emit(null),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this._submitted=!1},e.prototype._findContainer=function(t){return t.pop(),s.b.isEmpty(t)?this.form:this.form.get(t)},e.decorators=[{type:i.Directive,args:[{selector:"form:not([ngNoForm]):not([formGroup]),ngForm,[ngForm]",providers:[u],host:{"(submit)":"onSubmit()","(reset)":"onReset()"},outputs:["ngSubmit"],exportAs:"ngForm"}]}],e.ctorParameters=[{type:Array,decorators:[{type:i.Optional},{type:i.Self},{type:i.Inject,args:[_.b]}]},{type:Array,decorators:[{type:i.Optional},{type:i.Self},{type:i.Inject,args:[_.c]}]}],e}(l.a)},function(t,e,n){"use strict";var i=n(0),r=n(127),s=n(41),o=n(53);n.d(e,"a",function(){return _}),n.d(e,"b",function(){return l});var a={provide:s.a,useExisting:n.i(i.forwardRef)(function(){return l}),multi:!0},_=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=-1,n=0;n\n ')},t.decorators=[{type:i.Directive,args:[{selector:"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]",host:{"(change)":"onChange()","(blur)":"onTouched()"},providers:[a]}]}],t.ctorParameters=[{type:i.Renderer},{type:i.ElementRef},{type:_},{type:i.Injector}],t.propDecorators={name:[{type:i.Input}],formControlName:[{type:i.Input}],value:[{type:i.Input}]},t}()},function(t,e,n){"use strict";var i=n(0),r=n(184),s=n(127),o=n(96),a=n(128),_=n(137),l=n(261),h=n(147);n.d(e,"a",function(){return p});var c=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u={provide:_.a,useExisting:n.i(i.forwardRef)(function(){return p})},p=function(t){function e(e,n){t.call(this),this._validators=e,this._asyncValidators=n,this._submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new r.a}return c(e,t),e.prototype.ngOnChanges=function(t){this._checkFormPresent(),s.a.contains(t,"form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"submitted",{get:function(){return this._submitted},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this.form.get(t.path);return n.i(h.d)(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){s.b.remove(this.directives,t)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);n.i(h.e)(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(t){},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.addFormArray=function(t){var e=this.form.get(t.path);n.i(h.e)(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(t){},e.prototype.getFormArray=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this.form.get(t.path);n.setValue(e)},e.prototype.onSubmit=function(){return this._submitted=!0,this.ngSubmit.emit(null),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this._submitted=!1},e.prototype._updateDomValue=function(){var t=this;this.directives.forEach(function(e){var i=t.form.get(e.path);e._control!==i&&(n.i(h.f)(e._control,e),i&&n.i(h.d)(i,e),e._control=i)}),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange(function(){return t._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},e.prototype._updateValidators=function(){var t=n.i(h.a)(this._validators);this.form.validator=a.a.compose([this.form.validator,t]);var e=n.i(h.b)(this._asyncValidators);this.form.asyncValidator=a.a.composeAsync([this.form.asyncValidator,e]); },e.prototype._checkFormPresent=function(){n.i(o.a)(this.form)&&l.a.missingFormException()},e.decorators=[{type:i.Directive,args:[{selector:"[formGroup]",providers:[u],host:{"(submit)":"onSubmit()","(reset)":"onReset()"},exportAs:"ngForm"}]}],e.ctorParameters=[{type:Array,decorators:[{type:i.Optional},{type:i.Self},{type:i.Inject,args:[a.b]}]},{type:Array,decorators:[{type:i.Optional},{type:i.Self},{type:i.Inject,args:[a.c]}]}],e.propDecorators={form:[{type:i.Input,args:["formGroup"]}],ngSubmit:[{type:i.Output}]},e}(_.a)},function(t,e,n){"use strict";function i(t){return!(t instanceof p||t instanceof h.a||t instanceof f)}var r=n(0),s=n(128),o=n(211),a=n(137),_=n(261),l=n(147),h=n(214);n.d(e,"a",function(){return p}),n.d(e,"b",function(){return f});var c=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u={provide:a.a,useExisting:n.i(r.forwardRef)(function(){return p})},p=function(t){function e(e,n,i){t.call(this),this._parent=e,this._validators=n,this._asyncValidators=i}return c(e,t),e.prototype._checkParentType=function(){i(this._parent)&&_.a.groupParentException()},e.decorators=[{type:r.Directive,args:[{selector:"[formGroupName]",providers:[u]}]}],e.ctorParameters=[{type:a.a,decorators:[{type:r.Optional},{type:r.Host},{type:r.SkipSelf}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[s.b]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[s.c]}]}],e.propDecorators={name:[{type:r.Input,args:["formGroupName"]}]},e}(o.a),d={provide:a.a,useExisting:n.i(r.forwardRef)(function(){return f})},f=function(t){function e(e,n,i){t.call(this),this._parent=e,this._validators=n,this._asyncValidators=i}return c(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return n.i(l.c)(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return n.i(l.a)(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return n.i(l.b)(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){i(this._parent)&&_.a.arrayParentException()},e.decorators=[{type:r.Directive,args:[{selector:"[formArrayName]",providers:[d]}]}],e.ctorParameters=[{type:a.a,decorators:[{type:r.Optional},{type:r.Host},{type:r.SkipSelf}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[s.b]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[s.c]}]}],e.propDecorators={name:[{type:r.Input,args:["formArrayName"]}]},e}(a.a)},function(t,e,n){"use strict";function i(t,e){return n.i(a.a)(t)?""+e:(n.i(a.m)(e)||(e="Object"),a.n.slice(t+": "+e,0,50))}function r(t){return t.split(":")[0]}var s=n(0),o=n(127),a=n(96),_=n(41);n.d(e,"a",function(){return h}),n.d(e,"b",function(){return c});var l={provide:_.a,useExisting:n.i(s.forwardRef)(function(){return h}),multi:!0},h=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this.value=t;var e=i(this._getOptionId(t),t);this._renderer.setElementProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=n,t(e._getOptionValue(n))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setElementProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){for(var e=0,i=o.c.keys(this._optionMap);e-1)})}},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var i=[];if(n.hasOwnProperty("selectedOptions"))for(var r=n.selectedOptions,s=0;s0){var i=t.substring(0,e),r=t.substring(e+1).trim();n.set(i,r)}}),n},t.prototype.append=function(t,e){t=i(t);var s=this._headersMap.get(t),o=n.i(r.b)(s)?s:[];o.push(e),this._headersMap.set(t,o)},t.prototype.delete=function(t){this._headersMap.delete(i(t))},t.prototype.forEach=function(t){this._headersMap.forEach(t)},t.prototype.get=function(t){return r.c.first(this._headersMap.get(i(t)))},t.prototype.has=function(t){return this._headersMap.has(i(t))},t.prototype.keys=function(){return r.e.keys(this._headersMap)},t.prototype.set=function(t,e){var s=[];if(n.i(r.b)(e)){var o=e.join(",");s.push(o)}else s.push(e);this._headersMap.set(i(t),s)},t.prototype.values=function(){return r.e.values(this._headersMap)},t.prototype.toJSON=function(){var t={};return this._headersMap.forEach(function(e,s){var o=[];n.i(r.f)(e,function(t){return o=r.c.concat(o,t.split(","))}),t[i(s)]=o}),t},t.prototype.getAll=function(t){var e=this._headersMap.get(i(t));return n.i(r.b)(e)?e:[]},t.prototype.entries=function(){throw new Error('"entries" method is not implemented on Headers class')},t}()},function(t,e,n){"use strict";var i=n(0);n.d(e,"a",function(){return r});var r=new i.OpaqueToken("DocumentToken")},function(t,e,n){"use strict";function i(t,e,n){return null===b&&(b=t.createRenderComponentType("",0,m.c.None,[],{})),new w(t,e,n)}function r(t,e,n){return null===E&&(E=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/node_modules/ionic-angular/components/checkbox/checkbox.d.ts class Checkbox - inline template",0,m.c.None,C,{})),new T(t,e,n)}var s=n(10),o=n(6),a=n(151),_=n(11),l=n(5),h=n(4),c=n(2),u=n(39),p=n(44),d=n(14),f=n(41),m=n(8),g=n(7),v=n(20),x=n(25);e.a=r;var y=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},b=null,w=function(t){function e(n,i,r){t.call(this,e,b,l.a.HOST,n,i,r,h.b.CheckAlways)}return y(e,t),Object.defineProperty(e.prototype,"_NG_VALUE_ACCESSOR_0_5",{get:function(){return null==this.__NG_VALUE_ACCESSOR_0_5&&(this.__NG_VALUE_ACCESSOR_0_5=[this._Checkbox_0_4]),this.__NG_VALUE_ACCESSOR_0_5},enumerable:!0,configurable:!0}),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-checkbox",t,null),this._appEl_0=new o.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);this._Checkbox_0_4=new a.a(this.parentInjector.get(c.c),this.parentInjector.get(u.a),this.parentInjector.get(p.a,null),new d.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Checkbox_0_4,[],e),e.create(this._Checkbox_0_4,this.projectableNodes,null);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this._expr_1=h.n,this.init([].concat([this._el_0]),[this._el_0],[n],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===a.a&&0===e?this._Checkbox_0_4:t===f.a&&0===e?this._NG_VALUE_ACCESSOR_0_5:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Checkbox_0_4.ngAfterContentInit();var e=this._Checkbox_0_4._disabled;_.c(t,this._expr_1,e)&&(this.renderer.setElementClass(this._el_0,"checkbox-disabled",e),this._expr_1=e),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Checkbox_0_4.ngOnDestroy()},e.prototype._handle_click_0_0=function(t){this._appEl_0.componentView.markPathToRootAsCheckOnce();var e=this._Checkbox_0_4._click(t)!==!1;return e},e}(s.a),C=(new g.a("ion-checkbox",i,a.a),[]),E=null,T=function(t){function e(n,i,r){t.call(this,e,E,l.a.COMPONENT,n,i,r,h.b.CheckAlways)}return y(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","checkbox-icon"),this._el_1=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_1,"class","checkbox-inner"),this._el_2=this.renderer.createElement(e,"button",null),this.renderer.setElementAttribute(this._el_2,"class","item-cover"),this.renderer.setElementAttribute(this._el_2,"ion-button","item-cover"),this.renderer.setElementAttribute(this._el_2,"role","checkbox"),this.renderer.setElementAttribute(this._el_2,"type","button"),this._appEl_2=new o.a(2,null,this,this._el_2);var n=x.a(this.viewUtils,this.injector(2),this._appEl_2);return this._Button_2_4=new v.a(null,"item-cover",this.parentInjector.get(c.c),new d.a(this._el_2),this.renderer),this._appEl_2.initComponent(this._Button_2_4,[],n),this._text_3=this.renderer.createText(null," ",null),n.create(this._Button_2_4,[[].concat([this._text_3])],null),this._expr_0=h.n,this._expr_1=h.n,this._expr_2=h.n,this._expr_3=h.n,this._expr_4=h.n,this.init([],[this._el_0,this._el_1,this._el_2,this._text_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===v.a&&2<=e&&e<=3?this._Button_2_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_2_4.ngAfterContentInit();var e=this.context._checked;_.c(t,this._expr_0,e)&&(this.renderer.setElementClass(this._el_0,"checkbox-checked",e),this._expr_0=e);var n=this.context.id;_.c(t,this._expr_1,n)&&(this.renderer.setElementProperty(this._el_2,"id",n),this._expr_1=n);var i=this.context._checked;_.c(t,this._expr_2,i)&&(this.renderer.setElementAttribute(this._el_2,"aria-checked",null==i?null:i.toString()),this._expr_2=i);var r=this.context._labelId;_.c(t,this._expr_3,r)&&(this.renderer.setElementAttribute(this._el_2,"aria-labelledby",null==r?null:r.toString()),this._expr_3=r);var s=this.context._disabled;_.c(t,this._expr_4,s)&&(this.renderer.setElementAttribute(this._el_2,"aria-disabled",null==s?null:s.toString()),this._expr_4=s),this.detectViewChildrenChanges(t)},e}(s.a)},function(t,e,n){"use strict";var i=n(0),r=n(15),s=n(63),o=n(99),a=n(45),_=(n.n(a),n(225));n.n(_);n.d(e,"a",function(){return c});var l=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},h=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},c=function(){function t(t,e,n){var i=this;this.loggerPlotService=t,this.deviceManagerService=e,this.events=n,this.colorArray=["#FFA510","#4487BA","#FF5080","#00d400","#AC9D93","#8800AA","#EAEA00","#784421"],this.unitFormatPipeInstance=new s.a,this.activeDevice=this.deviceManagerService.devices[this.deviceManagerService.activeDeviceIndex],this.instrument=this.activeDevice.instruments.logger.daq.numChans>0?"daq":"analog";var r=this.activeDevice.instruments.logger[this.instrument].numChans;this.unitSymbols=Array.from({length:r},function(){return"V"}),this.loggerChartOptions=this.generateBodeOptions(),this.events.subscribe("units:update",function(t){i.setChannelUnit(t[0].channel,t[0].units)})}return t.prototype.ngOnDestroy=function(){this.events.unsubscribe("units:update")},t.prototype.setChannelUnit=function(t,e){this.unitSymbols[t]=e||"V",this.loggerChartOptions=this.generateBodeOptions(),this.loggerChart.flotOptions=this.loggerChartOptions,console.log(this.loggerChartOptions,this.loggerChart.flotOptions),console.log(this.unitSymbols,t)},t.prototype.plotLoaded=function(){console.log("chart loaded"),console.log(this.loggerChart),this.loggerChart.digilentChart.setSecsPerDivArray(this.generateNiceNumArray(1e-6,1e8)),this.loggerChart.digilentChart.setVoltsPerDivArray(this.generateNiceNumArray(.001,5)),this.loggerChart.digilentChart.setActiveXIndex(7);var t=this.activeDevice.instruments.logger[this.instrument].numChans,e=Array.from({length:t},function(){return 8});this.loggerChart.digilentChart.setActiveYIndices(e),this.loggerPlotService.init(this.loggerChart)},t.prototype.generateNiceNumArray=function(t,e){for(var n=[],i=Math.ceil(Math.log10(t)),r=t*Math.pow(10,-1*i),s=0;r*Math.pow(10,i)<=e;)n[s]=this.decimalAdjust("round",r*Math.pow(10,i),i),1===r?r=2:2===r?r=5:(r=1,i++),s++;return n},t.prototype.decimalAdjust=function(t,e,n){return"undefined"==typeof n||0===+n?Math[t](e):(e=+e,n=+n,isNaN(e)||"number"!=typeof n||n%1!==0?NaN:(e=e.toString().split("e"),e=Math[t](+(e[0]+"e"+(e[1]?+e[1]-n:-n))),e=e.toString().split("e"),+(e[0]+"e"+(e[1]?+e[1]+n:n))))},t.prototype.generateBodeOptions=function(){var t=this,e={series:{lines:{show:!0}},legend:{show:!1},canvas:!0,grid:{hoverable:!0,clickable:!0,autoHighlight:!1,borderWidth:0,backgroundColor:"black",labelMargin:15,margin:{top:15,left:10,right:28,bottom:10}},colors:this.colorArray,axisLabels:{show:!0},tooltip:{show:!0,cssClass:"flotTip",content:function(e,n,i,r){return t.unitFormatPipeInstance.transform(n,"s")+" ("+t.unitFormatPipeInstance.transform(i,"V")+")"},onHover:function(t,e){var n=t.series.color;e[0].style.borderBottomColor=n,e[0].style.borderTopColor=n,e[0].style.borderLeftColor=n,e[0].style.borderRightColor=n}},cursorMoveOnPan:!0,yaxes:this.generateFftYaxisOptions(),xaxis:{tickColor:"#666666",ticks:this.tickGenerator,tickFormatter:this.xTickFormatter,font:{color:"#666666"}},zoomPan:{enabled:!0,startingXIndex:21}};return e},t.prototype.generateFftYaxisOptions=function(){for(var t=[],e=0;e=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},l=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},h=function(){function t(t,e){this.loggerPlotService=t,this.deviceManagerService=e,this.colorArray=["#FFA510","#4487BA","#FF5080","#00d400","#AC9D93","#8800AA","#EAEA00","#784421"],this.loggerChartOptions=this.generateBodeOptions(),this.unitFormatPipeInstance=new r.a,this.activeDevice=this.deviceManagerService.devices[this.deviceManagerService.activeDeviceIndex]}return t.prototype.plotLoaded=function(){console.log("chart loaded"),console.log(this.loggerTimeline),this.loggerPlotService.setTimelineRef(this.loggerTimeline)},t.prototype.generateBodeOptions=function(){var t={series:{lines:{show:!0},downsample:{threshold:1e3}},timelineChart:{enabled:!0,updateExistingChart:!0},legend:{show:!1},cursors:[],grid:{hoverable:!0,clickable:!0,autoHighlight:!1,borderWidth:0,backgroundColor:"black",margin:{top:0,left:0,right:0,bottom:0}},colors:this.colorArray,yaxis:{ticks:[]},xaxis:{ticks:[]}};return console.log(t),t},_([n.i(i.ViewChild)("loggerTimeline"),l("design:type","function"==typeof(e="undefined"!=typeof a.DigilentChart&&a.DigilentChart)&&e||Object)],t.prototype,"loggerTimeline",void 0),t=_([n.i(i.Component)({selector:"logger-timeline",templateUrl:"logger-timeline.html"}),l("design:paramtypes",["function"==typeof(h="undefined"!=typeof s.a&&s.a)&&h||Object,"function"==typeof(c="undefined"!=typeof o.DeviceManagerService&&o.DeviceManagerService)&&c||Object])],t);var e,h,c}()},function(t,e,n){"use strict";var i=n(0);n.d(e,"a",function(){return o});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},o=function(){function t(){}return t.prototype.generateDisableCheck=function(t,e){return function(){var n=this,i=e();return this[t]!==i.message&&Promise.resolve().then(function(){n[t]=i.message}),i}},t=r([n.i(i.Injectable)(),s("design:paramtypes",[])],t)}()},function(t,e,n){e.DigilentChartModule=n(492).DigilentChartModule},function(t,e,n){"use strict";var i=n(0),r=n(2),s=n(42);n.d(e,"a",function(){return a}),n.d(e,"b",function(){return _}),n.d(e,"c",function(){return l}),n.d(e,"d",function(){return h});var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=function(t){function e(e,n,i){t.call(this,e,n,i),this.mode=e.get("mode")}return o(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("card",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("card",t)},enumerable:!0,configurable:!0}),e.decorators=[{type:i.Directive,args:[{selector:"ion-card"}]}],e.ctorParameters=[{type:r.c},{type:i.ElementRef},{type:i.Renderer}],e.propDecorators={color:[{type:i.Input}],mode:[{type:i.Input}]},e}(s.a),_=function(){function t(){}return t.decorators=[{type:i.Directive,args:[{selector:"ion-card-content"}]}],t.ctorParameters=[],t}(),l=function(){function t(){}return t.decorators=[{type:i.Directive,args:[{selector:"ion-card-header"}]}],t.ctorParameters=[],t}(),h=function(){function t(){}return t.decorators=[{type:i.Directive,args:[{selector:"ion-card-title"}]}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";function i(t,e){for(var n=0;t&&n<4;){if(void 0!==r(t))return e&&t.parentNode!==e?null:t;t=t.parentNode,n++}return null}function r(t){return t.$ionIndex}var s=n(0),o=n(46),a=n(36),_=n(44),l=n(876),h=n(17);n.d(e,"a",function(){return c}),n.d(e,"b",function(){return u}),e.d=i,e.c=r;var c=function(){function t(t,e,n,i){this._rendered=e,this._zone=n,this._content=i,this._enableReorder=!1,this._visibleReorder=!1,this._lastToIndex=-1,this.ionItemReorder=new s.EventEmitter,this._element=t.nativeElement}return t.prototype.ngOnDestroy=function(){this._element=null,this._reorderGesture&&this._reorderGesture.destroy()},Object.defineProperty(t.prototype,"reorder",{get:function(){return this._enableReorder},set:function(t){var e=this,i=n.i(h.k)(t);!i&&this._reorderGesture?(this._reorderGesture.destroy(),this._reorderGesture=null,this._visibleReorder=!1,setTimeout(function(){return e._enableReorder=!1},400)):i&&!this._reorderGesture&&(this._reorderGesture=new l.a(this),this._enableReorder=!0,n.i(a.q)(2,function(){return e._visibleReorder=!0}))},enumerable:!0,configurable:!0}),t.prototype.reorderPrepare=function(){for(var t=this._element,e=t.children,n=0,i=e.length;n=i)for(var o=i;o<=e;o++)o!==t&&(r[o].style[s]=o>t?"translateY("+-n+"px)":"");if(e<=i)for(var o=e;o<=i;o++)o!==t&&(r[o].style[s]=o'}]}],t.ctorParameters=[{type:c,decorators:[{type:s.Inject,args:[n.i(s.forwardRef)(function(){return _.a})]}]},{type:s.ElementRef}],t.propDecorators={onClick:[{type:s.HostListener,args:["click",["$event"]]}]},t}()},function(t,e,n){"use strict";var i=n(0),r=n(113),s=n(152),o=n(13);n.d(e,"a",function(){return a});var a=function(){function t(t,e,n,i){this._menu=t,this._viewCtrl=n,this._navbar=i,this._inNavbar=!!i}return t.prototype.toggle=function(){var t=this._menu.get(this.menuToggle);t&&t.toggle()},Object.defineProperty(t.prototype,"isHidden",{get:function(){if(this._inNavbar&&this._viewCtrl){if(this._viewCtrl.isFirst())return!1;var t=this._menu.get(this.menuToggle);if(t)return!t.persistent}return!1},enumerable:!0,configurable:!0}),t.decorators=[{type:i.Directive,args:[{selector:"[menuToggle]",host:{"[hidden]":"isHidden",menuToggle:""}}]}],t.ctorParameters=[{type:r.a},{type:i.ElementRef},{type:o.a,decorators:[{type:i.Optional}]},{type:s.a,decorators:[{type:i.Optional}]}],t.propDecorators={menuToggle:[{type:i.Input}],toggle:[{type:i.HostListener,args:["click"]}]},t}()},function(t,e,n){"use strict";var i=n(0),r=n(181),s=n(36),o=n(17),a=n(2),_=n(197),l=n(27),h=n(123),c=n(154),u=n(13);n.d(e,"a",function(){return p}),n.d(e,"b",function(){return d});var p=function(){function t(t,e,n,r){this.elementRef=e,this._sanitizer=n,this._haptic=r,this.y=0,this.pos=[],this.startY=null,this.receivingEvents=!1,this.events=new c.a,this.ionChange=new i.EventEmitter,this.rotateFactor=t.getNumber("pickerRotateFactor",0)}return t.prototype.ngAfterViewInit=function(){var t=this.colEle.nativeElement;this.colHeight=t.clientHeight,this.optHeight=t.firstElementChild?t.firstElementChild.clientHeight:0,this.setSelected(this.col.selectedIndex,0),this.events.pointerEvents({elementRef:this.elementRef,pointerDown:this.pointerStart.bind(this),pointerMove:this.pointerMove.bind(this),pointerUp:this.pointerEnd.bind(this)})},t.prototype.ngOnDestroy=function(){this.events.unlistenAll()},t.prototype.pointerStart=function(t){n.i(s.m)(this.rafId),this.startY=n.i(s.c)(t).y,this.receivingEvents=!0,this.velocity=0,this.pos.length=0,this.pos.push(this.startY,Date.now());for(var e=this.col.options.length-1,i=0,r=0;rthis.minY?(i=Math.pow(i,.8),this.bounceFrom=i):i0)this.update(this.minY,100,!0,!0);else if(this.bounceFrom<0)this.update(this.maxY,100,!0,!0);else if(null!==this.startY){var e=n.i(s.c)(t).y;this.pos.push(e,Date.now());for(var i=this.pos.length-1,r=i,o=Date.now()-100,a=i;a>0&&this.pos[a]>o;a-=2)r=a;if(r!==i){var _=this.pos[i]-this.pos[r],l=this.pos[r-1]-this.pos[i-1];this.velocity=l/_*g}if(Math.abs(e-this.startY)>3){t.preventDefault(),t.stopPropagation();var h=this.y+(e-this.startY);this.update(h,0,!0,!0)}}this.startY=null,this.decelerate()}},t.prototype.decelerate=function(){var t=0;if(n.i(s.m)(this.rafId),isNaN(this.y)||!this.optHeight)this.update(t,0,!0,!0),this._haptic.gestureSelectionEnd();else if(Math.abs(this.velocity)>0){this.velocity*=m,this.velocity=this.velocity>0?Math.max(this.velocity,1):Math.min(this.velocity,-1),t=Math.round(this.y-this.velocity),t>this.minY?(t=this.minY,this.velocity=0):t1;this.update(t,0,!0,!e),e&&(this.rafId=n.i(s.r)(this.decelerate.bind(this)))}else if(this.y%this.optHeight!==0){var i=Math.abs(this.y%this.optHeight);this.velocity=i>this.optHeight/2?1:-1,this._haptic.gestureSelectionEnd(),this.decelerate()}var r=Math.max(Math.abs(Math.round(t/this.optHeight)),0);r!==this.lastTempIndex&&this._haptic.gestureSelectionChanged(),this.lastTempIndex=r},t.prototype.optClick=function(t,e){this.velocity||(t.preventDefault(),t.stopPropagation(),this.setSelected(e,150))},t.prototype.setSelected=function(t,e){var i=t>-1?t*this.optHeight*-1:0;n.i(s.m)(this.rafId),this.velocity=0,this.update(i,e,!0,!0)},t.prototype.update=function(t,e,n,i){t=Math.round(t),this.col.selectedIndex=Math.max(Math.abs(Math.round(t/this.optHeight)),0);for(var r=0;r90||_<-90)&&(l=-9999,_=0)):h=a,s._trans=this._sanitizer.bypassSecurityTrustStyle("rotateX("+_+"deg) translate3d("+l+"px,"+h+"px,"+c+"px)"),s._dur=e>0?e+"ms":""}n&&(this.y=t),i&&(void 0===this.lastIndex?this.lastIndex=this.col.selectedIndex:this.lastIndex!==this.col.selectedIndex&&(this.lastIndex=this.col.selectedIndex,this.ionChange.emit(this.col.options[this.col.selectedIndex])))},t.prototype.refresh=function(){for(var t=this.col.options.length-1,e=0,i=0;i{{col.prefix}}
{{col.suffix}}
',host:{"[style.min-width]":"col.columnWidth","[class.picker-opts-left]":'col.align=="left"',"[class.picker-opts-right]":'col.align=="right"'}}]}],t.ctorParameters=[{type:a.c},{type:i.ElementRef},{type:r.b},{type:h.a}],t.propDecorators={colEle:[{type:i.ViewChild,args:["colEle"]}],col:[{type:i.Input}],ionChange:[{type:i.Output}]},t}(),d=function(){function t(t,e,n,i,r){this._viewCtrl=t,this._elementRef=e,this._config=n,this.d=i.data,this.mode=n.get("mode"),r.setElementClass(e.nativeElement,"picker-"+this.mode,!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){r.setElementClass(e.nativeElement,t,!0)}),this.id=++f,this.lastClick=0}return t.prototype.ionViewDidLoad=function(){var t=this.d;t.buttons=t.buttons.map(function(t){return n.i(o.o)(t)?{text:t}:(t.role&&(t.cssRole="picker-toolbar-"+t.role),t)}),t.columns=t.columns.map(function(e){return n.i(o.a)(e.columnWidth)||(e.columnWidth=100/t.columns.length+"%"),n.i(o.a)(e.options)||(e.options=[]),e.options=e.options.map(function(t){var e={text:"",value:"",disabled:t.disabled};return n.i(o.a)(t)&&(n.i(o.o)(t)||n.i(o.e)(t)?(e.text=t.toString(),e.value=t):(e.text=n.i(o.a)(t.text)?t.text:t.value,e.value=n.i(o.a)(t.value)?t.value:t.text)),e}),e})},t.prototype.refresh=function(){this._cols.forEach(function(t){t.refresh()})},t.prototype._colChange=function(t){var e=this._viewCtrl;e.ionChange.emit(this.getSelected())},t.prototype._keyUp=function(t){if(this.enabled&&this._viewCtrl.isLast())if(t.keyCode===_.a.ENTER){if(this.lastClick+1e3\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n ',host:{role:"dialog"},encapsulation:i.ViewEncapsulation.None}]}],t.ctorParameters=[{type:u.a},{type:i.ElementRef},{type:a.c},{type:l.a},{type:i.Renderer}],t.propDecorators={_cols:[{type:i.ViewChildren,args:[p]}],_keyUp:[{type:i.HostListener,args:["body:keyup",["$event"]]}]},t}(),f=-1,m=.97,g=1e3/60},function(t,e,n){"use strict";var i=n(0),r=n(109),s=n(2),o=n(39),a=n(17),_=n(42),l=n(44),h=n(36),c=n(123),u=n(154);n.d(e,"a",function(){return f});var p=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},d={provide:r.a,useExisting:n.i(i.forwardRef)(function(){return f}),multi:!0},f=function(t){function e(e,n,r,s,o,a){t.call(this,n,r,s),this._form=e,this._haptic=o,this._item=a,this._checked=!1,this._init=!1,this._disabled=!1,this._activated=!1,this._msPrv=0,this._fn=null,this._events=new u.a,this.ionChange=new i.EventEmitter,this.mode=n.get("mode"),e.register(this),a&&(this.id="tgl-"+a.registerInput("toggle"),this._labelId="lbl-"+a.id,this._item.setElementClass("item-toggle",!0))}return p(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("toggle",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("toggle",t)},enumerable:!0,configurable:!0}),e.prototype.pointerDown=function(t){return this._startX=n.i(h.c)(t).x,this._activated=!0,!0},e.prototype.pointerMove=function(t){if(this._startX){var e=n.i(h.c)(t).x;this._checked?e+15this._startX&&(this.onChange(!0),this._haptic.selection(),this._startX=e,this._activated=ee&&(this.onChange(!1),this._haptic.selection()):this._startX-4
',host:{"[class.toggle-disabled]":"_disabled"},providers:[d],encapsulation:i.ViewEncapsulation.None}]}],e.ctorParameters=[{type:o.a},{type:s.c},{type:i.ElementRef},{type:i.Renderer},{type:c.a},{type:l.a,decorators:[{type:i.Optional}]}],e.propDecorators={color:[{type:i.Input}],mode:[{type:i.Input}],ionChange:[{type:i.Output}],checked:[{type:i.Input}],disabled:[{type:i.Input}]},e}(_.a)},function(t,e,n){"use strict";var i=n(0),r=n(195),s=n(17),o=n(13),a=n(42),_=n(71),l=n(27),h=n(890);n.d(e,"a",function(){return u});var c=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=function(t){function e(e,n,r,s,o,a,_,l,h,c,u){t.call(this,r,o,_),this.parent=e,this._app=n,this.config=r,this._keyboard=s,this._zone=a,this._cfr=l,this._gestureCtrl=h,this._trnsCtrl=c,this._linker=u,this._children=[],this._ids=-1,this._init=!1,this._queue=[],this._trnsId=null,this._trnsTm=0,this._views=[],this.viewDidLoad=new i.EventEmitter,this.viewWillEnter=new i.EventEmitter,this.viewDidEnter=new i.EventEmitter,this.viewWillLeave=new i.EventEmitter,this.viewDidLeave=new i.EventEmitter,this.viewWillUnload=new i.EventEmitter,this._sbEnabled=r.getBoolean("swipeBackEnabled"),this._sbThreshold=r.getNumber("swipeBackThreshold",40),this.id="n"+ ++p}return c(e,t),e.prototype.push=function(t,e,i,s){return this._queueTrns({insertStart:-1,insertViews:[n.i(r.f)(this._linker,t,e)],opts:i},s)},e.prototype.insert=function(t,e,i,s,o){return this._queueTrns({insertStart:t,insertViews:[n.i(r.f)(this._linker,e,i)],opts:s},o)},e.prototype.insertPages=function(t,e,i,s){return this._queueTrns({insertStart:t,insertViews:n.i(r.d)(this._linker,e),opts:i},s)},e.prototype.pop=function(t,e){return this._queueTrns({removeStart:-1,removeCount:1,opts:t},e)},e.prototype.popTo=function(t,e,i){var r=n.i(o.b)(t)?this.indexOf(t):n.i(s.e)(t)?t:-1;return this._queueTrns({removeStart:r+1,removeCount:-1,opts:e},i)},e.prototype.popToRoot=function(t,e){return this._queueTrns({removeStart:1,removeCount:-1,opts:t},e)},e.prototype.popAll=function(){for(var t=[],e=this._views.length-1;e>=0;e--)t.push(this.pop(null));return Promise.all(t)},e.prototype.remove=function(t,e,n,i){return void 0===e&&(e=1),this._queueTrns({removeStart:t,removeCount:e,opts:n},i)},e.prototype.setRoot=function(t,e,i,s){var o=[n.i(r.f)(this._linker,t,e)];return this._setPages(o,i,s)},e.prototype.setPages=function(t,e,i){var s=n.i(r.d)(this._linker,t);return this._setPages(s,e,i)},e.prototype._setPages=function(t,e,i){return n.i(s.d)(e)&&(e={}),e.animate!==!0&&(e.animate=!1),this._queueTrns({insertStart:0,insertViews:t,removeStart:0,removeCount:-1,opts:e},i)},e.prototype._queueTrns=function(t,e){var i,o=this,a=e,_=e;if(void 0===e&&(i=new Promise(function(t,e){a=t,_=e})),t.resolve=function(t,e,n,i,r){o.setTransitioning(!1),o._trnsId=null,a&&a(t,e,n,i,r),o._sbCheck(),o._nextTrns()},t.reject=function(t,e){for(o.setTransitioning(!1),o._trnsId=null,o._queue.length=0;e&&(e.enteringView&&e.enteringView._state!==r.g.LOADED&&e.enteringView._destroy(o._renderer),e.parent););e&&o._trnsCtrl.destroy(e.trnsId),o._sbCheck(),_&&_(!1,!1,t),o._nextTrns()},t.insertViews){if(t.insertViews=t.insertViews.filter(function(t){return null!==t}),!t.insertViews.length)return void t.reject("invalid views to insert")}else if(n.i(s.a)(t.removeStart)&&!this._views.length&&!this._isPortal)return void t.reject("no views in the stack to be removed");return this._queue.push(t),this._nextTrns(),i},e.prototype._nextTrns=function(){if(this.isTransitioning())return!1;var t=this._nextTI();if(!t)return!1;var e=this.getActive(),i=this._getEnteringView(t,e);i&&n.i(s.d)(i._state)&&this._viewInit(i);var r=(t.enteringRequiresTransition||t.leavingRequiresTransition)&&i!==e;return r?this._viewTest(i,e,t):(this._postViewInit(i,e,t,t.resolve),!0)},e.prototype._nextTI=function(){var t=this._queue.shift();if(!t)return null;var e=this._views.length;return n.i(s.a)(t.removeStart)&&(t.removeStart<0&&(t.removeStart=e-1),t.removeCount<0&&(t.removeCount=e-t.removeStart),t.leavingRequiresTransition=t.removeStart+t.removeCount===e),t.insertViews&&((t.insertStart<0||t.insertStart>e)&&(t.insertStart=e),t.enteringRequiresTransition=t.insertStart===e),t},e.prototype._getEnteringView=function(t,e){var i=t.insertViews;if(i)return i[i.length-1];var r=t.removeStart;if(n.i(s.a)(r))for(var o=this._views,a=r+t.removeCount,_=o.length-1;_>=0;_--){var l=o[_];if((_=a)&&l!==e)return l}return null},e.prototype._postViewInit=function(t,e,i,o){var a=i.opts||{},_=i.insertViews,l=i.removeStart,h=[];if(n.i(s.a)(l)){for(var c=0;c-1?this._views.splice(i.insertStart+c,0,this._views.splice(p,1)[0]):(u._setNav(this),u.id=this.id+"-"+ ++this._ids,this._views.splice(i.insertStart+c,0,u))}i.enteringRequiresTransition&&(a.direction=a.direction||r.h)}for(var c=0;cd&&this._app.setEnabled(!1,_),s.progressAnimation?t.progressStart():t.play())},e.prototype._viewsWillLifecycles=function(t,e){t&&this._willEnter(t),e&&this._willLeave(e)},e.prototype._trnsFinish=function(t,e,n){var i,r,s=t.hasCompleted;s&&(t.enteringView&&(i=t.enteringView.name,this._didEnter(t.enteringView)),t.leavingView&&(r=t.leavingView.name,this._didLeave(t.leavingView)),this._cleanup(t.enteringView)),t.parent||(this._trnsCtrl.destroy(t.trnsId),this._app.setEnabled(!0),e.updateUrl!==!1&&this._linker.navChange(e.direction),e.keyboardClose!==!1&&this._keyboard.isOpen()&&this._keyboard.close()),n(s,!0,i,r,e.direction)},e.prototype._cleanup=function(t){for(var e=this,n=this.indexOf(t),i=!1,s=this._views.length-1;s>=0;s--){var o=this._views[s];s>n?(this._willUnload(o),o._destroy(this._renderer)):s-1&&this._children.splice(e,1)},e.prototype.destroy=function(){for(var t=this._views.length-1;t>=0;t--)this._views[t]._willUnload(),this._views[t]._destroy(this._renderer);this._views.length=0,this._sbGesture&&this._sbGesture.destroy(),this._sbTrns&&this._sbTrns.destroy(),this._sbGesture=this._sbTrns=null,this.parent&&this.parent.unregisterChildNav&&this.parent.unregisterChildNav(this)},e.prototype.swipeBackStart=function(){if(!(this.isTransitioning()||this._queue.length>0)){var t={direction:r.a,progressAnimation:!0};this._queueTrns({removeStart:-1,removeCount:1,opts:t},null)}},e.prototype.swipeBackProgress=function(t){this._sbTrns&&this._sbGesture&&(this._app.setEnabled(!1,f),this.setTransitioning(!0,f),this._sbTrns.progressStep(t))},e.prototype.swipeBackEnd=function(t,e){this._sbTrns&&this._sbGesture&&this._sbTrns.progressEnd(t,e)},e.prototype._sbCheck=function(){var t=this;if(this._sbEnabled&&!this._isPortal){if(!this._sbGesture){var e={edge:"left",threshold:this._sbThreshold};this._sbGesture=new h.a(this.getNativeElement(),e,this,this._gestureCtrl)}this.canSwipeBack()?this._sbGesture.isListening||this._zone.runOutsideAngular(function(){t._sbGesture.listen()}):this._sbGesture.isListening&&this._sbGesture.unlisten()}},e.prototype.canSwipeBack=function(){return this._sbEnabled&&!this._children.length&&!this.isTransitioning()&&this._app.isEnabled()&&this.canGoBack()},e.prototype.canGoBack=function(){var t=this.getActive();return!(!t||!t.enableBack())||!1},e.prototype.isTransitioning=function(){return 0!==this._trnsTm&&this._trnsTm>Date.now()},e.prototype.setTransitioning=function(t,e){void 0===e&&(e=2e3),this._trnsTm=t?Date.now()+e+m:0},e.prototype.getActive=function(){return this._views[this._views.length-1]},e.prototype.isActive=function(t){return t===this.getActive()},e.prototype.getByIndex=function(t){return this._views[t]},e.prototype.getPrevious=function(t){return t||(t=this.getActive()),this._views[this.indexOf(t)-1]},e.prototype.first=function(){return this._views[0]},e.prototype.last=function(){return this._views[this._views.length-1]},e.prototype.indexOf=function(t){return this._views.indexOf(t)},e.prototype.length=function(){return this._views.length},e.prototype.getViews=function(){return this._views},e.prototype.isSwipeBackEnabled=function(){return this._sbEnabled},e.prototype.dismissPageChangeViews=function(){for(var t=0;t'+e+"";case"string":return''+e+"";case"boolean":return''+e+"";case"null":return''+e+"";case"undefined":return''+e+"";default:return''+e+""}},a.prototype.toJSON=function(){return{mathjs:"ConstantNode",value:this.value}},a.fromJSON=function(t){return new a(t.value)},a.prototype._toTex=function(t){var e=this._toString(t);switch(l(this.value)){case"string":return"\\mathtt{"+s(e)+"}";case"number":case"BigNumber":var n=e.toLowerCase().indexOf("e");return n!==-1?e.substring(0,n)+"\\cdot10^{"+e.substring(n+1)+"}":e;case"Fraction":return this.value.toLatex();default:return e}},a}var r=n(64).format,s=n(26).escape;e.name="ConstantNode",e.path="expression.node",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,h){function c(e,n,i,r){if(!(this instanceof c))throw new SyntaxError("Constructor must be called with the new operator");if("string"!=typeof e)throw new TypeError('string expected for parameter "op"');if("string"!=typeof n)throw new TypeError('string expected for parameter "fn"');if(!Array.isArray(i)||!i.every(t.isNode))throw new TypeError('Array containing Nodes expected for parameter "args"');this.implicit=r===!0,this.op=e,this.fn=n,this.args=i||[]}function u(t,e,n,i,r){var s=l.getPrecedence(t,e),o=l.getAssociativity(t,e);if("all"===e||i.length>2&&"OperatorNode:add"!==t.getIdentifier()&&"OperatorNode:multiply"!==t.getIdentifier()){var a=i.map(function(t){switch(t.getContent().type){case"ArrayNode":case"ConstantNode":case"SymbolNode":case"ParenthesisNode":return!1;default:return!0}});return a}var _;switch(i.length){case 0:_=[];break;case 1:var h=l.getPrecedence(i[0],e);if(r&&null!==h){var c,u;if("keep"===e?(c=i[0].getIdentifier(),u=t.getIdentifier()):(c=i[0].getContent().getIdentifier(),u=t.getContent().getIdentifier()),l.properties[s][u].latexLeftParens===!1){_=[!1];break}if(l.properties[h][c].latexParens===!1){_=[!1];break}}if(null===h){_=[!1];break}if(h<=s){_=[!0];break}_=[!1];break;case 2:var p,d=l.getPrecedence(i[0],e),f=l.isAssociativeWith(t,i[0],e);p=null!==d&&(d===s&&"right"===o&&!f||d=2&&"OperatorNode:multiply"===t.getIdentifier()&&t.implicit&&"auto"===e&&"hide"===n&&(_=i.map(function(t,e){var n="ParenthesisNode"===t.getIdentifier();return!(!_[e]&&!n)})),_}var p=i(n(84));return c.prototype=new p,c.prototype.type="OperatorNode",c.prototype.isOperatorNode=!0,c.prototype._compile=function(t,e){if("string"!=typeof this.fn||!a(t,this.fn))throw t[this.fn]?new Error('No access to function "'+this.fn+'"'):new Error("Function "+this.fn+' missing in provided namespace "math"');var n=_(t,this.fn),i=s(this.args,function(n){return n._compile(t,e)});if(1===i.length){var r=i[0];return function(t,e,i){return n(r(t,e,i))}}if(2===i.length){var o=i[0],l=i[1];return function(t,e,i){return n(o(t,e,i),l(t,e,i))}}return function(t,e,r){return n.apply(null,s(i,function(n){return n(t,e,r)}))}},c.prototype.forEach=function(t){for(var e=0;e2&&("OperatorNode:add"===this.getIdentifier()||"OperatorNode:multiply"===this.getIdentifier())){var c=i.map(function(e,n){return e=e.toString(t),r[n]&&(e="("+e+")"),e});return this.implicit&&"OperatorNode:multiply"===this.getIdentifier()&&"hide"===n?c.join(" "):c.join(" "+this.op+" ")}return this.fn+"("+this.args.join(", ")+")"},c.prototype.toJSON=function(){return{mathjs:"OperatorNode",op:this.op,fn:this.fn,args:this.args,implicit:this.implicit}},c.fromJSON=function(t){return new c(t.op,t.fn,t.args,t.implicit)},c.prototype.toHTML=function(t){var e=t&&t.parenthesis?t.parenthesis:"keep",n=t&&t.implicit?t.implicit:"hide",i=this.args,r=u(this,e,n,i,!1);if(1===i.length){var s=l.getAssociativity(this,e),a=i[0].toHTML(t);return r[0]&&(a='('+a+')'),"right"===s?''+o(this.op)+""+a:a+''+o(this.op)+""}if(2===i.length){var _=i[0].toHTML(t),h=i[1].toHTML(t);return r[0]&&(_='('+_+')'),r[1]&&(h='('+h+')'),this.implicit&&"OperatorNode:multiply"===this.getIdentifier()&&"hide"===n?_+''+h:_+''+o(this.op)+""+h}var c=i.map(function(e,n){return e=e.toHTML(t),r[n]&&(e='('+e+')'),e});return i.length>2&&("OperatorNode:add"===this.getIdentifier()||"OperatorNode:multiply"===this.getIdentifier())?this.implicit&&"OperatorNode:multiply"===this.getIdentifier()&&"hide"===n?c.join(''):c.join(''+o(this.op)+""):''+o(this.fn)+'('+c.join(',')+')'},c.prototype._toTex=function(t){var e=t&&t.parenthesis?t.parenthesis:"keep",n=t&&t.implicit?t.implicit:"hide",i=this.args,s=u(this,e,n,i,!0),o=r.operators[this.fn];if(o="undefined"==typeof o?this.op:o,1===i.length){var a=l.getAssociativity(this,e),_=i[0].toTex(t);return s[0]&&(_="\\left(".concat(_,"\\right)")),"right"===a?o+_:"left"===a?_+o:_+o}if(2===i.length){var h=i[0],c=h.toTex(t);s[0]&&(c="\\left(".concat(c,"\\right)"));var p=i[1],d=p.toTex(t);s[1]&&(d="\\left(".concat(d,"\\right)"));var f;switch(f="keep"===e?h.getIdentifier():h.getContent().getIdentifier(),this.getIdentifier()){case"OperatorNode:divide":return o+"{"+c+"}{"+d+"}";case"OperatorNode:pow":switch(c="{"+c+"}",d="{"+d+"}", f){case"ConditionalNode":case"OperatorNode:divide":c="\\left(".concat(c,"\\right)")}break;case"OperatorNode:multiply":if(this.implicit&&"hide"===n)return c+"~"+d}return c+o+d}if(i.length>2&&("OperatorNode:add"===this.getIdentifier()||"OperatorNode:multiply"===this.getIdentifier())){var m=i.map(function(e,n){return e=e.toTex(t),s[n]&&(e="\\left(".concat(e,"\\right)")),e});return"OperatorNode:multiply"===this.getIdentifier()&&this.implicit?m.join("~"):m.join(o)}return"\\mathrm{"+this.fn+"}\\left("+i.map(function(e){return e.toTex(t)}).join(",")+"\\right)"},c.prototype.getIdentifier=function(){return this.type+":"+this.fn},c}var r=n(26),s=n(16).map,o=n(64).escape,a=n(78).isSafeMethod,_=n(78).getSafeProperty,l=n(200);e.name="OperatorNode",e.path="expression.node",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("isNegative",{number:function(t){return t<0},BigNumber:function(t){return t.isNeg()&&!t.isZero()&&!t.isNaN()},Fraction:function(t){return t.s<0},Unit:function(t){return s(t.value)},"Array | Matrix":function(t){return r(t,s)}});return s}var r=n(12);e.name="isNegative",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("isZero",{number:function(t){return 0===t},BigNumber:function(t){return t.isZero()},Complex:function(t){return 0===t.re&&0===t.im},Fraction:function(t){return 1===t.d&&0===t.n},Unit:function(t){return s(t.value)},"Array | Matrix":function(t){return r(t,s)}});return s}var r=n(12);e.name="isZero",e.factory=i},function(t,e,n){"use strict";var i=n(143);t.exports=function(t){for(var e=0;e-1&&(t.splice(n,1),!0)},t.clear=function(t){t.length=0},t.isEmpty=function(t){return 0==t.length},t.fill=function(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=null),t.fill(e,n,null===i?t.length:i)},t.equals=function(t,e){if(t.length!=e.length)return!1;for(var n=0;nr&&(i=a,r=_)}}return i},t.flatten=function(t){var e=[];return i(t,e),e},t.addAll=function(t,e){for(var n=0;n0&&e.startsWith(t)?e.substring(t.length):e}function r(t){return/\/index.html$/g.test(t)?t.substring(0,t.length-11):t}var s=n(0),o=n(209);n.d(e,"a",function(){return a});var a=function(){function t(e){var n=this;this._subject=new s.EventEmitter,this._platformStrategy=e;var i=this._platformStrategy.getBaseHref();this._baseHref=t.stripTrailingSlash(r(i)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.path(!0),pop:!0,type:t.type})})}return t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(e,n){return void 0===n&&(n=""),this.path()==this.normalize(e+t.normalizeQueryParams(n))},t.prototype.normalize=function(e){return t.stripTrailingSlash(i(this._baseHref,r(e)))},t.prototype.prepareExternalUrl=function(t){return t.length>0&&!t.startsWith("/")&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e){void 0===e&&(e=""),this._platformStrategy.pushState(null,"",t,e)},t.prototype.replaceState=function(t,e){void 0===e&&(e=""),this._platformStrategy.replaceState(null,"",t,e)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.subscribe=function(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=function(t){return t.length>0&&"?"!=t.substring(0,1)?"?"+t:t},t.joinWithSlash=function(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e},t.stripTrailingSlash=function(t){return/\/$/g.test(t)&&(t=t.substring(0,t.length-1)),t},t.decorators=[{type:s.Injectable}],t.ctorParameters=[{type:o.b}],t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(){}return Object.defineProperty(t.prototype,"pathname",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"search",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hash",{get:function(){return null},enumerable:!0,configurable:!0}),t}()},function(t,e,n){"use strict";var i=n(24),r=n(117);n.d(e,"b",function(){return s}),n.d(e,"a",function(){return o});var s=new r.a("Application Initializer"),o=function(){function t(t){var e=this;this._done=!1;var r=[];if(t)for(var s=0;s0)t.bootstrapFactories.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+n.i(d.a)(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}},e.decorators=[{type:v.b}],e.ctorParameters=[{type:v.e}],e}(O),N=function(){function t(){}return Object.defineProperty(t.prototype,"componentTypes",{get:function(){return n.i(p.a)()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"components",{get:function(){return n.i(p.a)()},enumerable:!0,configurable:!0}),t}(),P=function(t){function e(e,n,i,s,o,a,_,l){var h=this;t.call(this),this._zone=e,this._console=n,this._injector=i,this._exceptionHandler=s,this._componentFactoryResolver=o,this._initStatus=a,this._testabilityRegistry=_,this._testability=l,this._bootstrapListeners=[],this._rootComponents=[],this._rootComponentTypes=[],this._changeDetectorRefs=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._enforceNoNewChanges=r(),this._zone.onMicrotaskEmpty.subscribe({next:function(){h._zone.run(function(){h.tick()})}})}return A(e,t),e.prototype.registerChangeDetector=function(t){this._changeDetectorRefs.push(t)},e.prototype.unregisterChangeDetector=function(t){u.a.remove(this._changeDetectorRefs,t)},e.prototype.bootstrap=function(t){var e=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");var i;i=t instanceof y.a?t:this._componentFactoryResolver.resolveComponentFactory(t),this._rootComponentTypes.push(i.componentType);var s=i.create(this._injector,[],i.selector);s.onDestroy(function(){e._unloadComponent(s)});var o=s.injector.get(C.a,null);return n.i(d.e)(o)&&s.injector.get(C.b).registerApplication(s.location.nativeElement,o),this._loadComponent(s),r()&&this._console.log("Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode."),s},e.prototype._loadComponent=function(t){this._changeDetectorRefs.push(t.changeDetectorRef),this.tick(),this._rootComponents.push(t);var e=this._injector.get(m.d,[]).concat(this._bootstrapListeners);e.forEach(function(e){return e(t)})},e.prototype._unloadComponent=function(t){u.a.contains(this._rootComponents,t)&&(this.unregisterChangeDetector(t.changeDetectorRef),u.a.remove(this._rootComponents,t))},e.prototype.tick=function(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var t=e._tickScope();try{this._runningTick=!0,this._changeDetectorRefs.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._changeDetectorRefs.forEach(function(t){return t.checkNoChanges()})}finally{this._runningTick=!1,n.i(w.b)(t)}},e.prototype.ngOnDestroy=function(){u.a.clone(this._rootComponents).forEach(function(t){return t.destroy()})},Object.defineProperty(e.prototype,"componentTypes",{get:function(){return this._rootComponentTypes},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"components",{get:function(){return this._rootComponents},enumerable:!0,configurable:!0}),e._tickScope=n.i(w.a)("ApplicationRef#tick()"),e.decorators=[{type:v.b}],e.ctorParameters=[{type:E.a},{type:g.a},{type:v.e},{type:c.a},{type:b.a},{type:f.a},{type:C.b,decorators:[{type:v.f}]},{type:C.a,decorators:[{type:v.f}]}],e}(N)},function(t,e,n){"use strict";function i(t,e){return n.i(r.g)(t)&&n.i(r.g)(e)?n.i(r.i)(t,e,i):!(n.i(r.g)(t)||n.i(s.m)(t)||n.i(r.g)(e)||n.i(s.m)(e))||n.i(s.k)(t,e)}var r=n(69),s=n(24);n.d(e,"b",function(){return o}),e.a=i,n.d(e,"d",function(){return a}),n.d(e,"c",function(){return _}),n.d(e,"e",function(){return l});var o={toString:function(){return"CD_INIT_VALUE"}},a=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t}(),_=function(){function t(){this.hasWrappedValue=!1}return t.prototype.unwrap=function(t){return t instanceof a?(this.hasWrappedValue=!0,t.wrapped):t},t.prototype.reset=function(){this.hasWrappedValue=!1},t}(),l=function(){function t(t,e){this.previousValue=t,this.currentValue=e}return t.prototype.isFirstChange=function(){return this.previousValue===o},t}()},function(t,e,n){"use strict";function i(t){return n.i(r.h)(t)||t===s.Default}var r=n(24);n.d(e,"d",function(){return s}),n.d(e,"b",function(){return o}),n.d(e,"c",function(){return a}),e.a=i;var s;!function(t){t[t.OnPush=0]="OnPush",t[t.Default=1]="Default"}(s||(s={}));var o;!function(t){t[t.CheckOnce=0]="CheckOnce",t[t.Checked=1]="Checked",t[t.CheckAlways=2]="CheckAlways",t[t.Detached=3]="Detached",t[t.Errored=4]="Errored",t[t.Destroyed=5]="Destroyed"}(o||(o={}));var a=[s.OnPush,s.Default];[o.CheckOnce,o.Checked,o.CheckAlways,o.Detached,o.Errored,o.Destroyed]},function(t,e,n){"use strict";var i=n(117),r=n(24);n.d(e,"a",function(){return s});var s=function(){function t(){}return t.prototype.log=function(t){n.i(r.r)(t)},t.prototype.warn=function(t){n.i(r.s)(t)},t.decorators=[{type:i.b}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";var i=n(108),r=n(24);n.d(e,"b",function(){return o}),n.d(e,"a",function(){return _});var s=new Object,o=s,a=function(){function t(){}return t.prototype.get=function(t,e){if(void 0===e&&(e=s),e===s)throw new Error("No provider for "+n.i(r.a)(t)+"!");return e},t}(),_=function(){function t(){}return t.prototype.get=function(t,e){return n.i(i.a)()},t.THROW_IF_NOT_FOUND=s,t.NULL=new a,t}()},function(t,e,n){"use strict";var i=n(183);n.d(e,"d",function(){return r}),n.d(e,"e",function(){return s}),n.d(e,"a",function(){return o}),n.d(e,"b",function(){return a}),n.d(e,"c",function(){return _}),n.d(e,"f",function(){return l});var r=n.i(i.a)("Inject",[["token",void 0]]),s=n.i(i.a)("Optional",[]),o=n.i(i.a)("Injectable",[]),a=n.i(i.a)("Self",[]),_=n.i(i.a)("SkipSelf",[]),l=n.i(i.a)("Host",[])},function(t,e,n){"use strict";var i=n(332);n.d(e,"a",function(){return r}),n.d(e,"c",function(){return s}),n.d(e,"b",function(){return o});var r=new i.a("LocaleId"),s=new i.a("Translations"),o=new i.a("TranslationsFormat")},function(t,e,n){"use strict";function i(t,e){return null}var r=n(757);n.d(e,"a",function(){return o}),n.d(e,"b",function(){return a}),n.d(e,"c",function(){return _}),n.d(e,"d",function(){return l});var s=n.i(r.a)(),o=s?r.b:function(t,e){return i},a=s?r.c:function(t,e){return e},_=s?r.d:function(t,e){return null},l=s?r.e:function(t){return null}},function(t,e,n){"use strict";var i=n(108);n.d(e,"c",function(){return r}),n.d(e,"b",function(){return s}),n.d(e,"d",function(){return o}),n.d(e,"a",function(){return a});var r=function(){function t(t,e,n,i,r,s){this.id=t,this.templateUrl=e,this.slotCount=n,this.encapsulation=i,this.styles=r,this.animations=s}return t}(),s=function(){function t(){}return Object.defineProperty(t.prototype,"injector",{get:function(){return n.i(i.a)()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){return n.i(i.a)()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return n.i(i.a)()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return n.i(i.a)()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return n.i(i.a)()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"source",{get:function(){return n.i(i.a)()},enumerable:!0,configurable:!0}),t}(),o=function(){function t(){}return t}(),a=function(){function t(){}return t}()},function(t,e,n){"use strict";function i(t){c=t}var r=n(117),s=n(69),o=n(24),a=n(56);n.d(e,"a",function(){return _}),n.d(e,"b",function(){return l}),e.c=i;var _=function(){function t(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this._watchAngularEvents()}return t.prototype._watchAngularEvents=function(){var t=this;this._ngZone.onUnstable.subscribe({next:function(){t._didWork=!0,t._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.subscribe({next:function(){a.a.assertNotInAngularZone(),n.i(o.d)(function(){t._isZoneStable=!0,t._runCallbacksIfReady()})}})})},t.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},t.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},t.prototype.isStable=function(){return this._isZoneStable&&0==this._pendingCount&&!this._ngZone.hasPendingMacrotasks},t.prototype._runCallbacksIfReady=function(){var t=this;this.isStable()?n.i(o.d)(function(){for(;0!==t._callbacks.length;)t._callbacks.pop()(t._didWork);t._didWork=!1}):this._didWork=!0},t.prototype.whenStable=function(t){this._callbacks.push(t),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findBindings=function(t,e,n){return[]},t.prototype.findProviders=function(t,e,n){return[]},t.decorators=[{type:r.b}],t.ctorParameters=[{type:a.a}],t}(),l=function(){function t(){this._applications=new s.d,c.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.getTestability=function(t){return this._applications.get(t)},t.prototype.getAllTestabilities=function(){return s.b.values(this._applications)},t.prototype.getAllRootElements=function(){return s.b.keys(this._applications)},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),c.findTestabilityInTree(this,t,e)},t.decorators=[{type:r.b}],t.ctorParameters=[],t}(),h=function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}(),c=new h},function(t,e,n){"use strict";var i=n(0),r=n(41);n.d(e,"a",function(){return o});var s={provide:r.a,useExisting:n.i(i.forwardRef)(function(){return o}),multi:!0},o=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setElementProperty(this._elementRef.nativeElement,"checked",t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setElementProperty(this._elementRef.nativeElement,"disabled",t)},t.decorators=[{type:i.Directive,args:[{selector:"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]",host:{"(change)":"onChange($event.target.checked)","(blur)":"onTouched()"},providers:[s]}]}],t.ctorParameters=[{type:i.Renderer},{type:i.ElementRef}],t}()},function(t,e,n){"use strict";var i=n(0),r=n(128),s=n(211),o=n(137),a=n(212),_=n(455);n.d(e,"a",function(){return c});var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},h={provide:o.a,useExisting:n.i(i.forwardRef)(function(){return c})},c=function(t){function e(e,n,i){t.call(this),this._parent=e,this._validators=n,this._asyncValidators=i}return l(e,t),e.prototype._checkParentType=function(){this._parent instanceof e||this._parent instanceof a.a||_.a.modelGroupParentException(); },e.decorators=[{type:i.Directive,args:[{selector:"[ngModelGroup]",providers:[h],exportAs:"ngModelGroup"}]}],e.ctorParameters=[{type:o.a,decorators:[{type:i.Host},{type:i.SkipSelf}]},{type:Array,decorators:[{type:i.Optional},{type:i.Self},{type:i.Inject,args:[r.b]}]},{type:Array,decorators:[{type:i.Optional},{type:i.Self},{type:i.Inject,args:[r.c]}]}],e.propDecorators={name:[{type:i.Input,args:["ngModelGroup"]}]},e}(s.a)},function(t,e,n){"use strict";var i=n(454);n.d(e,"a",function(){return r});var r=function(){function t(){}return t.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+i.a.formControlName)},t.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+i.a.formGroupName+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+i.a.ngModelGroup)},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+i.a.formControlName)},t.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+i.a.formGroupName)},t.arrayParentException=function(){throw new Error("formArrayName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+i.a.formArrayName)},t.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},t}()},function(t,e,n){"use strict";function i(t,e,i){return n.i(c.a)(e)?null:(e instanceof Array||(e=e.split(i)),e instanceof Array&&h.b.isEmpty(e)?null:e.reduce(function(t,e){if(t instanceof x)return n.i(c.c)(t.controls[e])?t.controls[e]:null;if(t instanceof y){var i=e;return n.i(c.c)(t.at(i))?t.at(i):null}return null},t))}function r(t){return n.i(c.d)(t)?n.i(a.fromPromise)(t):t}function s(t){return Array.isArray(t)?n.i(_.a)(t):t}function o(t){return Array.isArray(t)?n.i(_.b)(t):t}var a=n(701),_=(n.n(a),n(147)),l=n(184),h=n(127),c=n(96);n.d(e,"b",function(){return v}),n.d(e,"a",function(){return x}),n.d(e,"c",function(){return y});var u=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},p="VALID",d="INVALID",f="PENDING",m="DISABLED",g=function(){function t(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=function(){},this._pristine=!0,this._touched=!1}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this._status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this._status===p},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this._status===d},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this._status==f},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._status===m},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this._status!==m},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this._errors},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this._pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this._touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return!this._touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this._valueChanges},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this._statusChanges},enumerable:!0,configurable:!0}),t.prototype.setValidators=function(t){this.validator=s(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=o(t)},t.prototype.clearValidators=function(){this.validator=null},t.prototype.clearAsyncValidators=function(){this.asyncValidator=null},t.prototype.markAsTouched=function(t){var e=(void 0===t?{}:t).onlySelf;e=n.i(c.i)(e),this._touched=!0,n.i(c.c)(this._parent)&&!e&&this._parent.markAsTouched({onlySelf:e})},t.prototype.markAsUntouched=function(t){var e=(void 0===t?{}:t).onlySelf;this._touched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),n.i(c.c)(this._parent)&&!e&&this._parent._updateTouched({onlySelf:e})},t.prototype.markAsDirty=function(t){var e=(void 0===t?{}:t).onlySelf;e=n.i(c.i)(e),this._pristine=!1,n.i(c.c)(this._parent)&&!e&&this._parent.markAsDirty({onlySelf:e})},t.prototype.markAsPristine=function(t){var e=(void 0===t?{}:t).onlySelf;this._pristine=!0,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),n.i(c.c)(this._parent)&&!e&&this._parent._updatePristine({onlySelf:e})},t.prototype.markAsPending=function(t){var e=(void 0===t?{}:t).onlySelf;e=n.i(c.i)(e),this._status=f,n.i(c.c)(this._parent)&&!e&&this._parent.markAsPending({onlySelf:e})},t.prototype.disable=function(t){var e=void 0===t?{}:t,i=e.onlySelf,r=e.emitEvent;r=!n.i(c.c)(r)||r,this._status=m,this._errors=null,this._forEachChild(function(t){t.disable({onlySelf:!0})}),this._updateValue(),r&&(this._valueChanges.emit(this._value),this._statusChanges.emit(this._status)),this._updateAncestors(i),this._onDisabledChange(!0)},t.prototype.enable=function(t){var e=void 0===t?{}:t,n=e.onlySelf,i=e.emitEvent;this._status=p,this._forEachChild(function(t){t.enable({onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:i}),this._updateAncestors(n),this._onDisabledChange(!1)},t.prototype._updateAncestors=function(t){n.i(c.c)(this._parent)&&!t&&(this._parent.updateValueAndValidity(),this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.updateValueAndValidity=function(t){var e=void 0===t?{}:t,i=e.onlySelf,r=e.emitEvent;i=n.i(c.i)(i),r=!n.i(c.c)(r)||r,this._setInitialStatus(),this._updateValue(),this.enabled&&(this._errors=this._runValidator(),this._status=this._calculateStatus(),this._status!==p&&this._status!==f||this._runAsyncValidator(r)),r&&(this._valueChanges.emit(this._value),this._statusChanges.emit(this._status)),n.i(c.c)(this._parent)&&!i&&this._parent.updateValueAndValidity({onlySelf:i,emitEvent:r})},t.prototype._updateTreeValidity=function(t){var e=(void 0===t?{emitEvent:!0}:t).emitEvent;this._forEachChild(function(t){return t._updateTreeValidity({emitEvent:e})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e})},t.prototype._setInitialStatus=function(){this._status=this._allControlsDisabled()?m:p},t.prototype._runValidator=function(){return n.i(c.c)(this.validator)?this.validator(this):null},t.prototype._runAsyncValidator=function(t){var e=this;if(n.i(c.c)(this.asyncValidator)){this._status=f,this._cancelExistingSubscription();var i=r(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe({next:function(n){return e.setErrors(n,{emitEvent:t})}})}},t.prototype._cancelExistingSubscription=function(){n.i(c.c)(this._asyncValidationSubscription)&&this._asyncValidationSubscription.unsubscribe()},t.prototype.setErrors=function(t,e){var i=(void 0===e?{}:e).emitEvent;i=!n.i(c.c)(i)||i,this._errors=t,this._updateControlsErrors(i)},t.prototype.get=function(t){return i(this,t,".")},t.prototype.getError=function(t,e){void 0===e&&(e=null);var i=n.i(c.c)(e)&&!h.b.isEmpty(e)?this.get(e):this;return n.i(c.c)(i)&&n.i(c.c)(i._errors)?h.a.get(i._errors,t):null},t.prototype.hasError=function(t,e){return void 0===e&&(e=null),n.i(c.c)(this.getError(t,e))},Object.defineProperty(t.prototype,"root",{get:function(){for(var t=this;n.i(c.c)(t._parent);)t=t._parent;return t},enumerable:!0,configurable:!0}),t.prototype._updateControlsErrors=function(t){this._status=this._calculateStatus(),t&&this._statusChanges.emit(this._status),n.i(c.c)(this._parent)&&this._parent._updateControlsErrors(t)},t.prototype._initObservables=function(){this._valueChanges=new l.a,this._statusChanges=new l.a},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?m:n.i(c.c)(this._errors)?d:this._anyControlsHaveStatus(f)?f:this._anyControlsHaveStatus(d)?d:p},t.prototype._anyControlsHaveStatus=function(t){return this._anyControls(function(e){return e.status==t})},t.prototype._anyControlsDirty=function(){return this._anyControls(function(t){return t.dirty})},t.prototype._anyControlsTouched=function(){return this._anyControls(function(t){return t.touched})},t.prototype._updatePristine=function(t){var e=(void 0===t?{}:t).onlySelf;this._pristine=!this._anyControlsDirty(),n.i(c.c)(this._parent)&&!e&&this._parent._updatePristine({onlySelf:e})},t.prototype._updateTouched=function(t){var e=(void 0===t?{}:t).onlySelf;this._touched=this._anyControlsTouched(),n.i(c.c)(this._parent)&&!e&&this._parent._updateTouched({onlySelf:e})},t.prototype._onDisabledChange=function(t){},t.prototype._isBoxedValue=function(t){return n.i(c.j)(t)&&2===Object.keys(t).length&&"value"in t&&"disabled"in t},t.prototype._registerOnCollectionChange=function(t){this._onCollectionChange=t},t}(),v=function(t){function e(e,n,i){void 0===e&&(e=null),void 0===n&&(n=null),void 0===i&&(i=null),t.call(this,s(n),o(i)),this._onChange=[],this._applyFormState(e),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}return u(e,t),e.prototype.setValue=function(t,e){var i=this,r=void 0===e?{}:e,s=r.onlySelf,o=r.emitEvent,a=r.emitModelToViewChange,_=r.emitViewToModelChange;a=!n.i(c.c)(a)||a,_=!n.i(c.c)(_)||_,this._value=t,this._onChange.length&&a&&this._onChange.forEach(function(t){return t(i._value,_)}),this.updateValueAndValidity({onlySelf:s,emitEvent:o})},e.prototype.patchValue=function(t,e){void 0===e&&(e={}),this.setValue(t,e)},e.prototype.reset=function(t,e){void 0===t&&(t=null);var n=(void 0===e?{}:e).onlySelf;this._applyFormState(t),this.markAsPristine({onlySelf:n}),this.markAsUntouched({onlySelf:n}),this.setValue(this._value,{onlySelf:n})},e.prototype._updateValue=function(){},e.prototype._anyControls=function(t){return!1},e.prototype._allControlsDisabled=function(){return this.disabled},e.prototype.registerOnChange=function(t){this._onChange.push(t)},e.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=null,this._onCollectionChange=function(){}},e.prototype.registerOnDisabledChange=function(t){this._onDisabledChange=t},e.prototype._forEachChild=function(t){},e.prototype._applyFormState=function(t){this._isBoxedValue(t)?(this._value=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this._value=t},e}(g),x=function(t){function e(e,n,i){void 0===n&&(n=null),void 0===i&&(i=null),t.call(this,n,i),this.controls=e,this._initObservables(),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}return u(e,t),e.prototype.registerControl=function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},e.prototype.addControl=function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeControl=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),h.a.delete(this.controls,t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),h.a.delete(this.controls,t),e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.contains=function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled},e.prototype.setValue=function(t,e){var n=this,i=(void 0===e?{}:e).onlySelf;this._checkAllValuesPresent(t),h.a.forEach(t,function(t,e){n._throwIfControlMissing(e),n.controls[e].setValue(t,{onlySelf:!0})}),this.updateValueAndValidity({onlySelf:i})},e.prototype.patchValue=function(t,e){var n=this,i=(void 0===e?{}:e).onlySelf;h.a.forEach(t,function(t,e){n.controls[e]&&n.controls[e].patchValue(t,{onlySelf:!0})}),this.updateValueAndValidity({onlySelf:i})},e.prototype.reset=function(t,e){void 0===t&&(t={});var n=(void 0===e?{}:e).onlySelf;this._forEachChild(function(e,n){e.reset(t[n],{onlySelf:!0})}),this.updateValueAndValidity({onlySelf:n}),this._updatePristine({onlySelf:n}),this._updateTouched({onlySelf:n})},e.prototype.getRawValue=function(){return this._reduceChildren({},function(t,e,n){return t[n]=e.value,t})},e.prototype._throwIfControlMissing=function(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error("Cannot find form control with name: "+t+".")},e.prototype._forEachChild=function(t){h.a.forEach(this.controls,t)},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)})},e.prototype._updateValue=function(){this._value=this._reduceValue()},e.prototype._anyControls=function(t){var e=this,n=!1;return this._forEachChild(function(i,r){n=n||e.contains(r)&&t(i)}),n},e.prototype._reduceValue=function(){var t=this;return this._reduceChildren({},function(e,n,i){return(n.enabled||t.disabled)&&(e[i]=n.value),e})},e.prototype._reduceChildren=function(t,e){var n=t;return this._forEachChild(function(t,i){n=e(n,t,i)}),n},e.prototype._allControlsDisabled=function(){for(var t=0,e=Object.keys(this.controls);t0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},e}(g),y=function(t){function e(e,n,i){void 0===n&&(n=null),void 0===i&&(i=null),t.call(this,n,i),this.controls=e,this._initObservables(),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}return u(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){h.b.insert(this.controls,t,e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),h.b.removeAt(this.controls,t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),h.b.removeAt(this.controls,t),e&&(h.b.insert(this.controls,t,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this,i=(void 0===e?{}:e).onlySelf;this._checkAllValuesPresent(t),t.forEach(function(t,e){n._throwIfControlMissing(e),n.at(e).setValue(t,{onlySelf:!0})}),this.updateValueAndValidity({onlySelf:i})},e.prototype.patchValue=function(t,e){var n=this,i=(void 0===e?{}:e).onlySelf;t.forEach(function(t,e){n.at(e)&&n.at(e).patchValue(t,{onlySelf:!0})}),this.updateValueAndValidity({onlySelf:i})},e.prototype.reset=function(t,e){void 0===t&&(t=[]);var n=(void 0===e?{}:e).onlySelf;this._forEachChild(function(e,n){e.reset(t[n],{onlySelf:!0})}),this.updateValueAndValidity({onlySelf:n}),this._updatePristine({onlySelf:n}),this._updateTouched({onlySelf:n})},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t.value})},e.prototype._throwIfControlMissing=function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach(function(e,n){t(e,n)})},e.prototype._updateValue=function(){var t=this;this._value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})},e.prototype._anyControls=function(t){return this.controls.some(function(e){return e.enabled&&t(e)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")})},e.prototype._allControlsDisabled=function(){for(var t=0,e=this.controls;t0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(g)},function(t,e,n){"use strict";var i=n(0);n.d(e,"a",function(){return r});var r=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t.decorators=[{type:i.Injectable}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";var i=n(0),r=n(102),s=n(148),o=n(219),a=n(265),_=n(266);n.d(e,"b",function(){return h}),n.d(e,"a",function(){return c});var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},h=function(){function t(t){var e=void 0===t?{}:t,i=e.method,s=e.headers,o=e.body,l=e.url,h=e.search,c=e.withCredentials,u=e.responseType;this.method=n.i(r.a)(i)?n.i(a.a)(i):null,this.headers=n.i(r.a)(s)?s:null,this.body=n.i(r.a)(o)?o:null,this.url=n.i(r.a)(l)?l:null,this.search=n.i(r.a)(h)?n.i(r.b)(h)?new _.a(h):h:null,this.withCredentials=n.i(r.a)(c)?c:null,this.responseType=n.i(r.a)(u)?u:null}return t.prototype.merge=function(e){return new t({method:n.i(r.a)(e)&&n.i(r.a)(e.method)?e.method:this.method,headers:n.i(r.a)(e)&&n.i(r.a)(e.headers)?e.headers:this.headers,body:n.i(r.a)(e)&&n.i(r.a)(e.body)?e.body:this.body,url:n.i(r.a)(e)&&n.i(r.a)(e.url)?e.url:this.url,search:n.i(r.a)(e)&&n.i(r.a)(e.search)?n.i(r.b)(e.search)?new _.a(e.search):e.search.clone():this.search,withCredentials:n.i(r.a)(e)&&n.i(r.a)(e.withCredentials)?e.withCredentials:this.withCredentials,responseType:n.i(r.a)(e)&&n.i(r.a)(e.responseType)?e.responseType:this.responseType})},t}(),c=function(t){function e(){t.call(this,{method:s.a.Get,headers:new o.a})}return l(e,t),e.decorators=[{type:i.Injectable}],e.ctorParameters=[],e}(h)},function(t,e,n){"use strict";function i(t){if(n.i(o.b)(t)){var e=t;if(t=t.replace(/(\w)(\w*)/g,function(t,e,n){return e.toUpperCase()+n.toLowerCase()}),t=a.a[t],"number"!=typeof t)throw new Error('Invalid request method. The method "'+e+'" is not supported.')}return t}function r(t){return"responseURL"in t?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):void 0}function s(t){for(var e=new Uint16Array(t.length),n=0,i=t.length;n=200&&t<300}},function(t,e,n){"use strict";function i(t){void 0===t&&(t="");var e=new s.a;if(t.length>0){var n=t.split("&");n.forEach(function(t){var n=t.indexOf("="),i=n==-1?[t,""]:[t.slice(0,n),t.slice(n+1)],r=i[0],s=i[1],o=e.get(r)||[];o.push(s),e.set(r,o)})}return e}function r(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var s=n(460),o=n(102);n.d(e,"a",function(){return _});var a=function(){function t(){}return t.prototype.encodeKey=function(t){return r(t)},t.prototype.encodeValue=function(t){return r(t)},t}(),_=function(){function t(t,e){void 0===t&&(t=""),void 0===e&&(e=new a),this.rawParams=t,this.queryEncoder=e,this.paramsMap=i(t)}return t.prototype.clone=function(){var e=new t("",this.queryEncoder);return e.appendAll(this),e},t.prototype.has=function(t){return this.paramsMap.has(t)},t.prototype.get=function(t){var e=this.paramsMap.get(t);return n.i(s.b)(e)?s.c.first(e):null},t.prototype.getAll=function(t){var e=this.paramsMap.get(t);return n.i(o.a)(e)?e:[]},t.prototype.set=function(t,e){var i=this.paramsMap.get(t),r=n.i(o.a)(i)?i:[];s.c.clear(r),r.push(e),this.paramsMap.set(t,r)},t.prototype.setAll=function(t){var e=this;t.paramsMap.forEach(function(t,i){var r=e.paramsMap.get(i),a=n.i(o.a)(r)?r:[];s.c.clear(a),a.push(t[0]),e.paramsMap.set(i,a)})},t.prototype.append=function(t,e){var i=this.paramsMap.get(t),r=n.i(o.a)(i)?i:[];r.push(e),this.paramsMap.set(t,r)},t.prototype.appendAll=function(t){var e=this;t.paramsMap.forEach(function(t,i){for(var r=e.paramsMap.get(i),s=n.i(o.a)(r)?r:[],a=0;a0&&n.i(c.c)(i)){var r=n.i(p.a)().nextSibling(t);if(n.i(c.c)(r))for(var s=0;s-1},e.decorators=[{type:i.Injectable}],e.ctorParameters=[{type:_,decorators:[{type:i.Inject,args:[a]}]}],e}(s.a)},function(t,e,n){"use strict";var i=n(0),r=n(74),s=n(220);n.d(e,"b",function(){return a}),n.d(e,"a",function(){return _});var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=function(){function t(){this._styles=[],this._stylesSet=new Set}return t.prototype.addStyles=function(t){var e=this,n=[];t.forEach(function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),e._styles.push(t),n.push(t))}),this.onStylesAdded(n)},t.prototype.onStylesAdded=function(t){},t.prototype.getAllStyles=function(){return this._styles},t.decorators=[{type:i.Injectable}],t.ctorParameters=[],t}(),_=function(t){function e(e){t.call(this),this._hostNodes=new Set,this._hostNodes.add(e.head)}return o(e,t),e.prototype._addStylesToHost=function(t,e){for(var i=0;i=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},m=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},g=function(){function t(t,e,n,r,s,o,a){var _=this;if(this.deviceManagerService=t,this.tooltipService=e,this.modalCtrl=n,this.loadingService=r,this.storageService=s,this.exportService=o,this.popoverCtrl=a,this.chartLoad=new i.EventEmitter,this.unitFormatPipeInstance=new d.a,this.colorArray=["#FFA500","#4487BA","#ff3b99","#00c864"],this.awgChan=1,this.oscchan=1,this.vpp=2,this.vOffset=0,this.destroyed=!1,this.bodeDataContainer=[{data:[],yaxis:1,lines:{show:!0},points:{show:!0}}],this.timeoutTimer=12e4,this.currentDataFormat="log",this.logLabel="Amplitude (dB)",this.linLabel="Amplitude (V)",this.fileName="bodeCalibrationData.json",this.bodePlotOptions=this.generateBodeOptions(!0,!0),this.activeDevice=this.deviceManagerService.devices[this.deviceManagerService.activeDeviceIndex],this.activeDevice.resetInstruments().flatMap(function(t){return _.getStorageLocations()}).flatMap(function(t){return _.loadPreviousCalibration()}).subscribe(function(t){console.log(t),_.calibrationData=t},function(t){console.log(t)},function(){}),void 0==this.activeDevice)throw"No Active Device"}return t.prototype.ngOnDestroy=function(){this.destroyed=!0},t.prototype.openExportPop=function(t){var e=this,n=this.popoverCtrl.create(_.a,{dataArray:["Export CSV","Export PNG"]});n.onWillDismiss(function(t){null!=t&&("Export CSV"===t.option?e.exportCsv("WaveformsLiveData"):"Export PNG"===t.option&&e.exportCanvasAsPng())}),n.present({ev:t})},t.prototype.exportCsv=function(t){this.exportService.exportGenericCsv(t,this.bodeDataContainer,[0],[{instrument:"Osc",seriesNumberOffset:0,xUnit:"Hz",yUnit:"log"===this.currentDataFormat?"dB":"V",channels:[0]}])},t.prototype.exportCanvasAsPng=function(){this.bodePlot.digilentChart.triggerRedrawOverlay(),this.exportService.exportCanvasAsPng(this.bodePlot.digilentChart.getCanvas(),this.flotOverlayRef.canvas)},t.prototype.setAwgAndSingle=function(t,e){var n=this;return new Promise(function(i,r){n.setAwg(t).flatMap(function(t){console.log(t);var e=n.calcIdealSampleFreqAndBufferSize(t);return n.setOsc(e.sampleFreq,e.bufferSize)}).flatMap(function(t){return console.log(t),n.single()}).subscribe(function(t){n.startTime=performance.now(),n.readOsc(e).then(function(t){console.log("read osc return"),i(t)}).catch(function(t){r(t)})},function(t){console.log(t),r(t)},function(){})})},t.prototype.startSweep=function(t,e,n,i,r,s){var o=this;this.startFreq=t,this.stopFreq=e,this.bodeDataContainer[0].data=[],this.currentDataFormat=r?"log":"linear";var a=this.bodePlot.digilentChart.getAxes();return a.yaxis.options.axisLabel=r?this.logLabel:this.linLabel,console.log(a),a.xaxis.options.min=t,a.xaxis.options.max=e,this.bodePlot.digilentChart.setupGrid(),this.bodePlot.digilentChart.draw(),new Promise(function(i,r){void 0!=o.calibrationData?o.runSweep(t,e,n,s).then(function(t){i(t)}).catch(function(t){r(t)}):o.displayBodeModal().then(function(i){return console.log(i),i?o.runSweep(t,e,n,s):void r("interrupted")}).then(function(t){i(t)}).catch(function(t){r(t)})})},t.prototype.runSweep=function(t,e,n,i){var r=this;return new Promise(function(s,o){var a,_=r.loadingService.displayLoading("Generating Bode Plot. Please wait...");"Log"===i?a=r.buildLogPointArray(t,e,n):"Linear"===i&&(a=r.buildFrequencyArray(t,e,n)),a.reduce(function(t,e,n,i){return t.then(function(e){return console.log(e),console.log(t,n),console.log(i.length),console.log("continuing!!!"),r.setAwgAndSingle(i[n])}).catch(function(t){return console.log(t),Promise.reject(t)})},Promise.resolve()).then(function(t){console.log("DONE"),console.log(t),console.log(r.bodeDataContainer),_.dismiss(),s("done")}).catch(function(t){console.log("promise chain catch"),_.dismiss(),o(t)})})},t.prototype.interpolateAmp=function(t){var e=0;for(console.log("INTERPOLATING"),console.log(this.calibrationData),console.log("FREQUENCY TO INTERPOLATE"),console.log(t);this.calibrationData[e][0]=this.calibrationData.length)return this.calibrationData[this.calibrationData.length-1][1];var n=(this.calibrationData[e][1]-this.calibrationData[e-1][1])/(this.calibrationData[e][0]-this.calibrationData[e-1][0]),i=this.calibrationData[e][1]-this.calibrationData[e][0]*n;return console.log("INTERPOLATED AMP"),console.log(n*t+i),n*t+i},t.prototype.calcIdealSampleFreqAndBufferSize=function(t){var e,n;if(t<=1e3){var i=3;e=1e3*t,n=1e3*i}else if(t<=this.activeDevice.instruments.osc.chans[0].sampleFreqMax/1e4){var i=373;e=10*t,n=10*i}else e=this.activeDevice.instruments.osc.chans[0].sampleFreqMax/1e3,n=23604;return n%2===1&&n++,{sampleFreq:e,bufferSize:n}},t.prototype.buildFrequencyArray=function(t,e,n){for(var i=[],r=(e-t)/n,s=t;s<=e;s+=r)i.push(s);return i},t.prototype.buildLogPointArray=function(t,e,n){console.log(t,e);for(var i=[],r=0;t*Math.pow(10,++r)e){for(var l=i.length-1,_=i.length-1;i[_]>e;_--)l=_;console.log(l),i.splice(l,i.length-l)}return i.indexOf(e)===-1&&i.push(e),console.log(i),i},t.prototype.setAwg=function(t){var e=this;return s.Observable.create(function(n){var i=t;e.activeDevice.instruments.awg.stop([e.awgChan]).flatMap(function(n){return console.log(n),e.activeDevice.instruments.awg.setRegularWaveform([e.awgChan],[{signalType:"sine",signalFreq:t,vpp:e.vpp,vOffset:e.vOffset}])}).flatMap(function(t){return console.log(t),i=t.awg[e.awgChan.toString()][0].actualSignalFreq/1e3,e.activeDevice.instruments.awg.run([e.awgChan])}).subscribe(function(t){console.log(t),setTimeout(function(){console.log("done waiting for awg start up"),n.next(i),n.complete()},t.awg[e.awgChan.toString()][0].wait)},function(t){n.error(t),n.complete()},function(){})})},t.prototype.saveCalibration=function(){var t=this;return new Promise(function(e,n){t.saveCalibrationToDevice().then(function(i){console.log(i),t.saveCalibrationToLocalStorage().then(function(t){console.log(t),e(t)}).catch(function(t){console.log(t),n(t)})}).catch(function(i){console.log(i),t.saveCalibrationToLocalStorage().then(function(t){console.log(t),e(t)}).catch(function(t){console.log(t),n(t)})})})},t.prototype.saveCalibrationToDevice=function(){for(var t=this,e=JSON.stringify(this.calibrationData),n=new ArrayBuffer(e.length),i=new Uint8Array(n),r=0;re.timeoutTimer?void i("timeout"):void setTimeout(function(){e.readOsc(t).then(function(t){n(t)}).catch(function(t){i(t)})},100)},function(){})})},t.prototype.calculateFft=function(t){console.log(this.activeDevice.instruments.osc.dataBuffer[this.activeDevice.instruments.osc.dataBufferReadIndex]);var e=mathFunctions.getAmplitude(this.bodePlot.digilentChart,0,0,0,this.activeDevice.instruments.osc.dataBuffer[this.activeDevice.instruments.osc.dataBufferReadIndex][this.oscchan-1].data),n=mathFunctions.getFrequency(this.bodePlot.digilentChart,0,0,0,this.activeDevice.instruments.osc.dataBuffer[this.activeDevice.instruments.osc.dataBufferReadIndex][this.oscchan-1].data);if(t)return{freq:n,amp:e};if(console.log("CURRENT DATA FORMAT"),console.log(this.currentDataFormat),!(e<.01)){var i=this.interpolateAmp(n);return this.bodeDataContainer[0].data.push([n,"log"===this.currentDataFormat?20*Math.log10(e/i):e]),console.log("AMP AND FREQ"),console.log(e,n),console.log(this.bodePlotOptions),this.bodePlot.setData(this.bodeDataContainer,!1),{freq:n,amp:e}}},t.prototype.openCalibrationModal=function(){this.displayBodeModal(!0).then(function(t){console.log(t),!t}).catch(function(t){console.log(t)})},t.prototype.calibrate=function(){var t=this;return this.calibrationData=[],new Promise(function(e,n){var i=t.buildLogPointArray(1,1e6,2);console.log("CALIBRATION FREQ ARR"),console.log(i),i.reduce(function(e,n,i,r){return e.then(function(n){if(console.log(n),void 0==n)return t.setAwgAndSingle(r[i],!0);console.log(e,i),console.log(r.length);var s=t.calculateFft(!0);return t.calibrationData.push([s.freq,s.amp]),console.log("continuing!!!"),t.setAwgAndSingle(r[i],!0)}).catch(function(t){return console.log(t),Promise.reject(t)})},Promise.resolve()).then(function(i){var r=t.calculateFft(!0);t.calibrationData.push([r.freq,r.amp]),console.log("DONE"),console.log(i),console.log(t.calibrationData),t.saveCalibration().then(function(n){e(t.calibrationData)}).catch(function(t){n(t)})}).catch(function(t){console.log("promise chain catch"),n(t)})})},t.prototype.transformToLog=function(t){if("y"!==t||"log"!==this.currentDataFormat){var e=this.bodePlot.digilentChart.getAxes();e.yaxis.options.axisLabel=this.logLabel;for(var n=0;n=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},_=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},l=function(){function t(t,e,n,i){this.platform=t,this.viewCtrl=e,this.params=n,this.popoverCtrl=i,this.cursorTypeArray=["disabled","time","track","voltage"],this.cursorSelection=new s.Subject,this.availableChans=[],this.passData=this.params.get("passData"),this.selectedData={currentChannels:this.passData.currentChannels,currentType:this.passData.currentType},this.generateOptions()}return t.prototype.generateOptions=function(){var t=this;this.passData.availableChannels.forEach(function(e){t.availableChans.push(e.instrument+" Ch "+e.channel)})},t.prototype.ngOnInit=function(){this.setCurrentValuesInDropdown()},t.prototype.setCurrentValuesInDropdown=function(){this.typeDropPop.setActiveSelection(this.selectedData.currentType),this.c1DropPop.setActiveSelection(this.selectedData.currentChannels.c1.instrument+" Ch "+this.selectedData.currentChannels.c1.channel),this.c2DropPop.setActiveSelection(this.selectedData.currentChannels.c2.instrument+" Ch "+this.selectedData.currentChannels.c2.channel)},t.prototype.cursorTypeSelect=function(t){console.log(t),this.selectedData.currentType=t,this.cursorSelection.next(this.selectedData)},t.prototype.availableChannelSelect=function(t,e){var n=this.extractInstrumentAndChannel(t);1===e?this.selectedData.currentChannels.c1=n:this.selectedData.currentChannels.c2=n,this.cursorSelection.next(this.selectedData)},t.prototype.extractInstrumentAndChannel=function(t){var e=t.split(" ");return{instrument:e.slice(0,e.length-2).join(" "),channel:parseInt(e[e.length-1])}},a([n.i(r.ViewChild)("typeDropPop"),_("design:type","function"==typeof(e="undefined"!=typeof o.a&&o.a)&&e||Object)],t.prototype,"typeDropPop",void 0),a([n.i(r.ViewChild)("c1DropPop"),_("design:type","function"==typeof(l="undefined"!=typeof o.a&&o.a)&&l||Object)],t.prototype,"c1DropPop",void 0),a([n.i(r.ViewChild)("c2DropPop"),_("design:type","function"==typeof(h="undefined"!=typeof o.a&&o.a)&&h||Object)],t.prototype,"c2DropPop",void 0),t=a([n.i(r.Component)({templateUrl:"cursor-popover.html"}),_("design:paramtypes",["function"==typeof(c="undefined"!=typeof i.c&&i.c)&&c||Object,"function"==typeof(u="undefined"!=typeof i.i&&i.i)&&u||Object,"function"==typeof(p="undefined"!=typeof i.f&&i.f)&&p||Object,"function"==typeof(d="undefined"!=typeof i.h&&i.h)&&d||Object])],t);var e,l,h,c,u,p,d}()},function(t,e,n){"use strict";var i=n(0),r=n(15),s=n(83),o=n(38),a=n(54),_=(n.n(a),n(65)),l=n(368),h=n(45),c=(n.n(h),n(66)),u=n(99),p=n(82),d=n(31),f=n(28),m=n(170),g=n(190),v=n(357),x=n(367);n.d(e,"a",function(){return w});var y=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},b=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},w=function(){function t(t,e,n,i,r,s,o,a,_,l,h,c){var u=this;this.devicemanagerService=t,this.loadingService=e,this.toastService=n,this.utilityService=i,this.loggerPlotService=r,this.exportService=s,this.alertCtrl=o,this.settingsService=a,this.tooltipService=_,this.popoverCtrl=l,this.events=h,this.scalingService=c,this.showLoggerSettings=!0,this.showAdvSettings=!1,this.selectedChannels=[],this.defaultDaqParams={maxSampleCount:-1,startDelay:0,sampleFreq:5e5,storageLocation:"ram",logOnBoot:!0,service:"",apiKey:"",uri:""},this.daqParams=Object.assign({},this.defaultDaqParams),this.defaultDaqChannelParams={average:1,vOffset:0},this.daqChans=[],this.loggerState="idle",this.averagingEnabled=!1,this.maxAverage=256,this.startIndex=0,this.count=0,this.daqChanNumbers=[],this.logToLocations=["chart"],this.logAndStream=!1,this.modes=["continuous","finite"],this.selectedMode=this.modes[0],this.selectedLogLocation=this.logToLocations[0],this.storageLocations=[],this.cloudServices=["ThingSpeak"],this.selectedCloudService=this.cloudServices[0],this.loggingProfiles=["New Profile"],this.selectedLogProfile=this.loggingProfiles[0],this.dirtyProfile=!1,this.profileObjectMap={},this.running=!1,this.dataContainers=[],this.viewMoved=!1,this.daqChansToRead=[],this.scalingOptions=["None"],this.unitTransformer=[],this.filesInStorage={},this.destroyed=!1,this.dataAvailable=!1,this.messageQueue=[],this.nicStatus="disconnected",this.thingSpeakBaseUrl="http://api.thingspeak.com/channels/",this.thingSpeakResourcePath="/bulk_update.json",this.chanUnits=[],this.activeDevice=this.devicemanagerService.devices[this.devicemanagerService.activeDeviceIndex],console.log(this.activeDevice.instruments.logger);var p=this.loadingService.displayLoading("Loading device info...");this.init(),this.loadDeviceInfo().then(function(){p.dismiss(),u.running&&u.continueStream(),u.getProfileFromStorage()}).catch(function(t){console.log(t),u.toastService.createToast("deviceDroppedConnection",!0,void 0,5e3),p.dismiss()}),this.chanUnits=this.daqChans.map(function(){return"V"}),this.events.subscribe("profile:save",function(t){u.saveAndSetProfile(t[0].profileName,t[0].saveChart,t[0].saveDaq)}),this.events.subscribe("profile:delete",function(t){u.deleteProfile(t[0].profileName)}),this.events.subscribe("channels:selected",function(t){u.selectChannels(t[0].channels)}),this.events.subscribe("scale:update",function(t){var e=t[0].params,n=t[0].channel;u.updateScale(n,e.expression,e.name,e.unitDescriptor)}),this.events.subscribe("scale:delete",function(t){u.deleteScale(t[0].channel,t[0].name)})}return t.prototype.selectChannels=function(t){var e=this;if(this.selectedChannels=t,window.clearTimeout(this.chanSelectTimer),this.selectedChannels.indexOf(!0)>-1){var n=this.daqParams.sampleFreq,i=this.validateAndApply(this.daqParams.sampleFreq,"sampleFreq");n>i&&(this.chanSelectTimer=window.setTimeout(function(){var t=e.selectedChannels.lastIndexOf(!0)+1,n=e.activeDevice.instruments.logger.daq.chans[0],i=e.getMaxSampleFreq(),r=Math.floor(i/t)*n.sampleFreqUnits;e.toastService.createToast("loggerSampleFreqMax",!0,Math.round(r/1e3*100)/100+" kS/s",5e3)},1500))}},t.prototype.updateScale=function(t,e,n,i){var r=this;this.selectedScales[t]=n,this.selectedScales.forEach(function(t,s){t==n&&(r.unitTransformer[s]=e,r.events.publish("units:update",{channel:s,units:i}))}),this.scalingOptions.indexOf(n)===-1&&this.scalingOptions.push(n),setTimeout(function(){r.scalingChildren.toArray()[t]._applyActiveSelection(n)},20)},t.prototype.deleteScale=function(t,e){var n=this;this.unitTransformer[t]=void 0;var i=this.scalingOptions.indexOf(e);i!==-1&&this.scalingOptions.splice(i,1),this.selectedScales.forEach(function(t,i){t==e&&(n.selectedScales[i]=n.scalingOptions[0],n.events.publish("units:update",{channel:i}))})},t.prototype.ngDoCheck=function(){if(this.dirtyProfile=!1,this.selectedLogProfile&&this.selectedLogProfile!=this.loggingProfiles[0]){var t=this.generateProfileJson(this.profileObjectMap[this.selectedLogProfile].chart,this.profileObjectMap[this.selectedLogProfile].daq);this.dirtyProfile=JSON.stringify(t)!==JSON.stringify(this.profileObjectMap[this.selectedLogProfile])}},t.prototype.ngOnDestroy=function(){this.settingsService.saveLoggerProfile(this.activeDevice.macAddress,this.selectedLogProfile),this.clearChart(),this.chartPanSubscriptionRef.unsubscribe(),this.offsetChangeSubscriptionRef.unsubscribe(),this.events.unsubscribe("profile:save"),this.events.unsubscribe("profile:delete"),this.events.unsubscribe("channels:selected"),this.events.unsubscribe("scale:update"),this.events.unsubscribe("scale:delete"),this.running=!1,this.destroyed=!0},t.prototype.init=function(){var t=this;this.chartPanSubscriptionRef=this.loggerPlotService.chartPan.subscribe(function(e){t.running&&(t.viewMoved=!0)},function(t){},function(){}),this.offsetChangeSubscriptionRef=this.loggerPlotService.offsetChange.subscribe(function(e){e.axisNum>t.daqChans.length-1||(t.daqChans[e.axisNum].vOffset=e.offset)},function(t){},function(){});for(var e=0;e=1719||n.major>=1)&&t.logToLocations.push("SD")}),t.logToLocations.indexOf("cloud")===-1&&(0===n.major&&n.minor>=1877||n.major>=1)&&(t.storageLocations.unshift("cloud"),t.logToLocations.push("cloud"))}return t.storageLocations.length<1?(t.logToLocations=["chart"],t.logToSelect("chart"),new Promise(function(t,e){t()})):new Promise(function(e,n){t.storageLocations.reduce(function(e,n,i){return e.then(function(e){return t.listDir(n,"/")}).catch(function(e){return t.listDir(n,"/")})},Promise.resolve()).then(function(t){console.log("DONE READING STORAGE LOCATIONS"),e()}).catch(function(t){console.log(t),e()})})}).then(function(e){return console.log(e),t.getCurrentState()}).catch(function(e){return console.log(e),t.storageLocations.length<1&&(t.logToLocations=["chart"],t.logToSelect("chart")),t.getCurrentState()}).then(function(e){return console.log(e),t.loadProfilesFromDevice()}).then(function(e){return console.log(e), "local"===t.activeDevice.rootUri?"local":t.getNicStatus("wlan0")}).then(function(n){t.nicStatus=n,e()}).catch(function(t){console.log(t),n(t)})})},t.prototype.openChannelSelector=function(t){var e=this.popoverCtrl.create(v.a,{selectedChannels:this.selectedChannels,colorArray:this.colorArray},{cssClass:"logChannelsPopover"});e.present({ev:t})},t.prototype.scaleSelect=function(t,e){var n=this,i=this.selectedScales[e];this.selectedScales[e]=t,"None"===t?(this.unitTransformer[e]=void 0,this.events.publish("units:update",{channel:e}),this.chanUnits[e]="V"):this.scalingService.getScalingOption(t).then(function(t){n.unitTransformer[e]=t.expression,n.events.publish("units:update",{channel:e,units:t.unitDescriptor}),n.chanUnits[e]=t.unitDescriptor}).catch(function(){n.toastService.createToast("loggerScaleLoadErr",!0,void 0,5e3),n.selectedScales[e]=i,setTimeout(function(){n.scalingChildren.toArray()[e]._applyActiveSelection(i)},20)})},t.prototype.openScaleSettings=function(t,e,n){var i={channel:e};n||(i.scaleName=this.selectedScales[e]);var r=this.popoverCtrl.create(x.a,i,{cssClass:"logScalePopover"});r.present({ev:t})},t.prototype.continueStream=function(){this.running&&(this.daqChansToRead=this.selectedChannels.reduce(function(t,e,n){return e&&t.push(n+1),t},[]),this.daqChansToRead!==[]&&(this.count=-1e3),"chart"!==this.selectedLogLocation&&(this.logAndStream=!0,this.bothStartStream()),this.readLiveData())},t.prototype.fileExists=function(){var t=this;return new Promise(function(e,n){t.alertWrapper("File Exists","Your log file already exists. Would you like to overwrite or cancel?",[{text:"Cancel",handler:function(t){n()}},{text:"Overwrite",handler:function(t){e()}}])})},t.prototype.alertWrapper=function(t,e,n){var i=this;return new Promise(function(r,s){var o=i.alertCtrl.create({title:t,subTitle:e,buttons:void 0==n?["OK"]:n});o.onWillDismiss(function(t){r(t)}),o.present()})},t.prototype.xAxisValChange=function(t){console.log(t),this.loggerPlotService.setValPerDivAndUpdate("x",1,t)},t.prototype.yAxisValChange=function(t,e){return console.log(t),tthis.loggerPlotService.vpdArray[this.loggerPlotService.vpdArray.length-1]&&(t=this.loggerPlotService.vpdArray[this.loggerPlotService.vpdArray.length-1]),this.loggerPlotService.vpdArray[this.loggerPlotService.vpdIndices[e]]===t?void console.log("the same"):void this.loggerPlotService.setValPerDivAndUpdate("y",e+1,t)},t.prototype.mousewheel=function(t,e,n){return t.preventDefault(),"offset"===e?void this.buttonChangeOffset(n,t.deltaY<0?"increment":"decrement"):void(t.deltaY<0?"vpd"===e?this.decrementVpd(n):this.incrementFrequency(e):"vpd"===e?this.incrementVpd(n):this.decrementFrequency(e))},t.prototype.incrementVpd=function(t){this.loggerPlotService.vpdIndices[t]>this.loggerPlotService.vpdArray.length-2||this.loggerPlotService.setValPerDivAndUpdate("y",t+1,this.loggerPlotService.vpdArray[this.loggerPlotService.vpdIndices[t]+1])},t.prototype.decrementVpd=function(t){this.loggerPlotService.vpdIndices[t]<1||this.loggerPlotService.setValPerDivAndUpdate("y",t+1,this.loggerPlotService.vpdArray[this.loggerPlotService.vpdIndices[t]-1])},t.prototype.buttonChangeOffset=function(t,e){this.daqChans[t].vOffset+="increment"===e?.1:-.1,this.loggerPlotService.setPosition("y",t+1,this.daqChans[t].vOffset,!0)},t.prototype.incrementFrequency=function(t){for(var e="sampleFreq"===t?this.daqParams.sampleFreq.toString():this.daqParams.maxSampleCount.toString(),n=parseFloat(e),i=0;n*Math.pow(1e3,i)<1;)i++;e=(n*Math.pow(1e3,i)).toString();var r=parseInt(e.charAt(0),10),s=e.split(".")[0].length-1;r++,10===r&&(r=1,s++);var o=r*Math.pow(10,s)/Math.pow(1e3,i);this.validateAndApply(o,t)},t.prototype.getMaxSampleFreq=function(){var t,e=this.activeDevice.instruments.logger.daq.targets;return t="chart"===this.selectedLogLocation?e.ram.sampleFreqMax:"SD"===this.selectedLogLocation?10*e.sd0.sampleFreqMax:this.activeDevice.instruments.logger.daq.chans[0].sampleFreqMax},t.prototype.validateAndApply=function(t,e){if("sampleFreq"===e){var n=this.activeDevice.instruments.logger.daq.chans[0],i=this.getMaxSampleFreq(),r=this.selectedChannels.lastIndexOf(!0)+1,s=n.sampleFreqMin*n.sampleFreqUnits,o=this.selectedChannels.filter(function(t){return t}).length>1?Math.floor(i/r):i;o*=n.sampleFreqUnits,to&&(t=o),this.daqParams.sampleFreq=t}else"samples"===e&&(t<1&&(t=1),this.daqParams.maxSampleCount=t);return t},t.prototype.decrementFrequency=function(t){for(var e="sampleFreq"===t?this.daqParams.sampleFreq.toString():this.daqParams.maxSampleCount.toString(),n=parseFloat(e),i=0;n*Math.pow(1e3,i)<1;)i++;e=(n*Math.pow(1e3,i)).toString();var r=parseInt(e.charAt(0),10),s=e.split(".")[0].length-1;r--,0===r&&(r=9,s--);var o=r*Math.pow(10,s)/Math.pow(1e3,i);this.validateAndApply(o,t)},t.prototype.setViewToEdge=function(){if(!this.viewMoved){var t=this.selectedChannels.findIndex(function(t){return t});if(!this.dataAvailable||t===-1||void 0==this.dataContainers[t].data[0]||void 0==this.dataContainers[t].data[0][0])return void this.loggerPlotService.setPosition("x",1,5*this.loggerPlotService.xAxis.base,!0);for(var e=this.dataContainers[t].data[this.dataContainers[t].data.length-1][0],n=1;ne?r:e}}var s=10*this.loggerPlotService.xAxis.base,o=e-s;if(!(o<0)){var a=(e+o)/2;this.loggerPlotService.setPosition("x",1,a,!1)}}},t.prototype.logToSelect=function(t){console.log(t),"chart"===t?this.daqParams.storageLocation="ram":"SD"===t?this.daqParams.storageLocation="sd0":this.daqParams.storageLocation=t,this.selectedLogLocation=t},t.prototype.modeSelect=function(t){console.log(t),"finite"===t?this.daqParams.maxSampleCount=1e3:this.daqParams.maxSampleCount=-1,this.selectedMode=t},t.prototype.openProfileSettings=function(t,e){var n=this.popoverCtrl.create(l.a,{profileName:t,profileObj:this.profileObjectMap[t]},{cssClass:"profilePopover"});n.present({ev:e})},t.prototype.profileSaveClick=function(t,e){"New Profile"===t?this.openProfileSettings("",e):this.saveAndSetProfile(t,void 0!==this.profileObjectMap[t].chart,void 0!==this.profileObjectMap[t].daq)},t.prototype.profileSelect=function(t){var e=this;console.log(t);var n=this.selectedLogProfile;return this.selectedLogProfile=t,t===this.loggingProfiles[0]?void this.openProfileSettings(""):void 0==this.profileObjectMap[t]?(this.toastService.createToast("loggerProfileLoadErr",!0,void 0,5e3),console.log("profile not found in profile map"),this.selectedLogProfile=n,void setTimeout(function(){e.profileChild._applyActiveSelection(e.selectedLogProfile)},20)):void this.parseAndApplyProfileJson(JSON.parse(JSON.stringify(this.profileObjectMap[t])))},t.prototype.deleteProfile=function(t){var e=this;this.activeDevice.file.delete("flash",this.settingsService.profileToken+t+".json").subscribe(function(n){console.log(n);var i=e.loggingProfiles.indexOf(t);i!==-1&&e.loggingProfiles.splice(i,1),e.selectedLogProfile=e.loggingProfiles[0]},function(t){console.log(t),e.toastService.createToast("fileDeleteErr",!0,void 0,5e3)},function(){})},t.prototype.saveAndSetProfile=function(t,e,n){var i=this;console.log(t),this.saveProfile(t,e,n).then(function(t){i.toastService.createToast("loggerSaveSuccess")}).catch(function(t){console.log(t),i.toastService.createToast("loggerSaveFail")});var r=this.loggingProfiles.indexOf(t);r!==-1&&this.loggingProfiles.splice(r,1),this.loggingProfiles.push(t);var s=this.generateProfileJson(e,n),o=JSON.parse(JSON.stringify(s));this.profileObjectMap[t]=o,setTimeout(function(){i.selectedLogProfile=t,i.profileChild._applyActiveSelection(i.selectedLogProfile)},20)},t.prototype.loadProfilesFromDevice=function(){var t=this;return new Promise(function(e,n){t.listDir("flash","/").then(function(i){console.log(i);for(var r=[],s=0;s1&&(e.averagingEnabled=!0)});var r=t[n].maxSampleCount===-1?"continuous":"finite";this.modeChild._applyActiveSelection(r)}else"chart"===n?(this.xAxis.valChange(t[n].tpd),this.xAxis.loggerBufferSize=t[n].bufferSize,t[n].channels.forEach(function(t){var n=parseInt(Object.keys(t)[0]);e.loggerPlotService.vpdArray.indexOf(t[n].vpd)!==-1&&(e.loggerPlotService.vpdIndices[n-1]=e.loggerPlotService.vpdArray.indexOf(t[n].vpd)),e.daqChans[n-1].vOffset=t[n].vOffset})):"dc"===n&&(s=this.events).publish.apply(s,["profile:setDC"].concat(t[n]));var s},t.prototype.saveProfile=function(t,e,n){var i=this;return new Promise(function(r,s){for(var o=i.generateProfileJson(e,n),a=JSON.stringify(o),_=new ArrayBuffer(a.length),l=new Uint8Array(_),h=0;h=0&&(this.dataContainers[c].data=this.dataContainers[c].data.slice(u))}this.setViewToEdge(),this.loggerPlotService.setData(this.dataContainers,this.viewMoved),this.dataAvailable=!0;var d=performance.now();console.log("time to parse and draw:",d-e)},t.prototype.existingFileFoundAndValidate=function(t){var e=!1;if("ram"!==this.daqParams.storageLocation&&"cloud"!==this.daqParams.storageLocation&&""===this.daqParams.uri)return t.dismiss(),this.toastService.createToast("loggerInvalidFileName",!0,void 0,8e3),{reason:1};if("idle"!==this.loggerState&&"stopped"!==this.loggerState)return t.dismiss(),this.toastService.createToast("loggerInvalidState",!0,void 0,8e3),{reason:1};if("SD"!==this.selectedLogLocation)return{reason:0};var n=new RegExp(this.daqParams.uri+"_[0-9][0-9]*.log"),i=this.filesInStorage[this.daqParams.storageLocation].filter(function(t){return n.test(t)});return 0!==i.length?e=!0:this.filesInStorage[this.daqParams.storageLocation].push(this.daqParams.uri+"_0.log"),{reason:e?2:0,existingFiles:i}},t.prototype.startLogger=function(){var t=this;if(this.selectedChannels.indexOf(!0)===-1){var e="chart"===this.selectedLogLocation?"Streaming":"Logging";return void this.toastService.createToast("loggerNoChannelsError",!0,e,5e3)}if("cloud"===this.selectedLogLocation){if(!this.daqParams.apiKey)return void this.toastService.createToast("loggerApiKeyRequired",!0,void 0,5e3);if(!this.channelId)return void this.toastService.createToast("loggerChannelIdRequired",!0,void 0,5e3);if("connected"!=this.nicStatus)return void this.toastService.createToast("loggerNetworkError",!0,void 0,5e3)}var n=this.loadingService.displayLoading("Starting data logging...");this.getCurrentState(!0).then(function(e){console.log(e);var i=t.existingFileFoundAndValidate(n);return 2===i.reason?(n.dismiss(),t.fileExists().then(function(e){if(n=t.loadingService.displayLoading("Starting data logging..."),i.existingFiles&&i.existingFiles.length>0)return t.deleteFiles("sd0",i.existingFiles)}).catch(function(t){})):0===i.reason?Promise.resolve():void 0}).then(function(){return t.waitTillFileIdle()}).then(function(){return t.setParametersAndRun(n)}).catch(function(e){console.log(e),n.dismiss(),t.toastService.createToast("loggerUnknownRunError",!0,void 0,8e3)})},t.prototype.deleteFiles=function(t,e){var n=this;return new Promise(function(i,r){n.activeDevice.file.delete(t,e).subscribe(function(t){i(t)},function(t){r(t)})})},t.prototype.waitTillFileIdle=function(){var t=this;return new Promise(function(e,n){t.getFileCurrentState().then(function(i){"idle"==i.file.state?e():t.getFileCurrentState().then(e).catch(n)}).catch(n)})},t.prototype.getFileCurrentState=function(){var t=this;return new Promise(function(e,n){t.activeDevice.file.getCurrentState().subscribe(function(t){console.log(t),e(t)},function(t){n(t)})})},t.prototype.setParametersAndRun=function(t){for(var e=this,n=[],i=0;i0?r.channels.forEach(function(t){var e=Object.keys(t)[0],i=parseInt(e)-1;n.selectedChannels[i]=!0,n.daqChans[i].average=t[e].average,t[e].average>1&&(n.averagingEnabled=!0)}):this.selectedChannels[0]=!0,void 0!=r.actualCount&&r.actualCount>0&&(this.startIndex=r.actualCount)}},t.prototype.logAndStreamChange=function(){this.logAndStream&&this.bothStartStream()},t.prototype.bothStartStream=function(){this.clearChart(),this.viewMoved=!1,this.setViewToEdge()},t.prototype.setParameters=function(t,e){var n=this;return new Promise(function(i,r){var s;if("analog"===t){if(n.daqChans.length<1)return void i();var o=void 0;"SD"===n.selectedLogLocation?o=n.daqParams.uri+".log":"cloud"===n.selectedLogLocation&&(o=n.thingSpeakBaseUrl+n.channelId+n.thingSpeakResourcePath);var a=e.map(function(t){return n.daqChans[t-1].average}),_=Array.apply(null,Array(e.length)).map(function(){return"circular"});s=n.activeDevice.instruments.logger.daq.setParameters(e,n.daqParams.maxSampleCount,n.daqParams.sampleFreq,n.daqParams.startDelay,n.daqParams.storageLocation,n.daqParams.logOnBoot,n.selectedCloudService,n.daqParams.apiKey,o,a,_)}s.subscribe(function(t){console.log(t),i(t)},function(t){console.log(t),r(t)},function(){})})},t.prototype.run=function(t,e){var n=this;return new Promise(function(i,r){return n.daqChans.length<1?void i():void n.activeDevice.instruments.logger.daq.run(t,e).subscribe(function(t){console.log(t),i(t)},function(t){console.log(t),r(t)},function(){})})},t.prototype.stop=function(){var t=this;return new Promise(function(e,n){return t.daqChans.length<1?void e():void t.activeDevice.instruments.logger.daq.stop().subscribe(function(n){console.log(n),"ram"!=t.daqParams.storageLocation&&t.listDir(t.daqParams.storageLocation,"/").catch(function(t){console.log(t)}),e(n)},function(t){console.log(t),n(t)},function(){})})},t.prototype.read=function(t,e){var n=this;return new Promise(function(i,r){if(n.daqChansToRead.length<1||n.daqChans.length<1)return void i();var s={};n.activeDevice.instruments.logger.daq.read(t,e,n.startIndex,n.count).subscribe(function(o){var a=o.cmdRespObj,_=o.instruments,l={cmdRespObj:a,instruments:_};return n.startIndex>=0&&n.startIndex!==a.log.daq.startIndex?void r({message:"Could not keep up with device",data:l}):(n.updateValuesFromRead(l,t,e,e.length-1),n.deepMergeObj(s,l),void i(s))},function(e){if(console.log(e),void 0!=e.payload){var n=String.fromCharCode.apply(null,new Uint8Array(e.payload)),i=void 0;try{i=JSON.parse(n)}catch(t){return void r(t)}if(i&&i.log&&i.log[t]){if(2684354593===i.log[t].statusCode)return console.log("data not ready"),void r({message:"Data not ready",data:i});2684354595===i.log[t].statusCode&&r({message:"Could not keep up with device",data:i})}}r(e)},function(){})})},t.prototype.updateValuesFromRead=function(t,e,n,i){void 0!=t&&void 0!=t.instruments&&void 0!=t.instruments[e]&&0===t.instruments[e][n[i]].statusCode&&"daq"===e&&(this.startIndex=t.cmdRespObj.log.daq.startIndex,this.startIndex+=t.cmdRespObj.log.daq.actualCount,this.count=-1e3,this.daqParams.maxSampleCount>0&&this.startIndex>=this.daqParams.maxSampleCount&&(this.daqChansToRead.splice(this.daqChansToRead.indexOf(n[i]),1),this.daqChansToRead.length<1&&(this.running=!1)))},t.prototype.deepMergeObj=function(t,e){var n=this;this.isObject(t)&&this.isObject(e)&&Object.keys(e).forEach(function(i){e[i].constructor===Array?(t[i]=[],e[i].forEach(function(r,s,o){n.isObject(r)?(void 0==t[i][s]&&(t[i][s]={}),n.deepMergeObj(t[i][s],e[i][s])):t[i][s]=e[i][s]})):n.isObject(e[i])?(void 0==t[i]&&(t[i]={}),n.deepMergeObj(t[i],e[i])):t[i]=e[i]})},t.prototype.isObject=function(t){return t&&"object"==typeof t&&!Array.isArray(t)},t.prototype.listDir=function(t,e){var n=this;return new Promise(function(i,r){n.activeDevice.file.listDir(t,e).subscribe(function(e){n.filesInStorage[t]=e.file[0].files,console.log(n.filesInStorage),i(e)},function(t){r(t)},function(){})})},t.prototype.getCurrentState=function(t){var e=this;return void 0===t&&(t=!1),new Promise(function(n,i){return e.daqChans.length<1?void n():void e.activeDevice.instruments.logger.daq.getCurrentState().subscribe(function(i){void 0!=i.log&&void 0!=i.log.daq&&e.applyCurrentStateResponse(i,t),n(i)},function(t){console.log(t),i(t)},function(){})})},t.prototype.decrementAverage=function(t){this.daqChans[t].average>1&&(this.daqChans[t].average/=2)},t.prototype.incrementAverage=function(t){this.daqChans[t].average=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},v=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},x=function(){function t(t,e,n,i,r,s,o,a,_){var l=this;this.devicemanagerService=t,this.loadingService=e,this.toastService=n,this.utilityService=i,this.loggerPlotService=r,this.exportService=s,this.alertCtrl=o,this.settingsService=a,this.tooltipService=_,this.showLoggerSettings=!0,this.showAnalogChan=[],this.showDigitalChan=[],this.defaultAnalogParams={gain:1,vOffset:0,maxSampleCount:-1,sampleFreq:1e3,startDelay:0,overflow:"circular",storageLocation:"ram",uri:"",startIndex:0,count:0,state:"idle",linked:!1,linkedChan:-1},this.defaultDigitalParams={maxSampleCount:-1,sampleFreq:1e3,startDelay:0,overflow:"circular",storageLocation:"ram",uri:"",startIndex:0,count:0,state:"idle",linked:!1,linkedChan:-1,bitMask:255},this.analogChans=[],this.digitalChans=[],this.analogChanNumbers=[],this.digitalChanNumbers=[],this.overflowConditions=["circular"],this.modes=["log","stream","both"],this.samples=["continuous","finite"],this.selectedSamples=this.samples[0],this.selectedMode=this.modes[0],this.storageLocations=[],this.loggingProfiles=["New Profile"],this.selectedLogProfile=this.loggingProfiles[0],this.defaultProfileName="NewProfile",this.profileNameScratch=this.defaultProfileName,this.analogLinkOptions=[],this.digitalLinkOptions=[],this.profileObjectMap={},this.running=!1,this.dataContainers=[],this.viewMoved=!1,this.analogChansToRead=[],this.digitalChansToRead=[],this.filesInStorage={},this.destroyed=!1,this.dataAvailable=!1,this.activeDevice=this.devicemanagerService.devices[this.devicemanagerService.activeDeviceIndex],console.log(this.activeDevice.instruments.logger);var h=this.loadingService.displayLoading("Loading device info...");this.init(),this.loadDeviceInfo().then(function(t){console.log(t),h.dismiss(),l.running&&l.continueStream()}).catch(function(t){console.log(t),l.toastService.createToast("deviceDroppedConnection",!0,void 0,5e3),h.dismiss()})}return t.prototype.ngOnDestroy=function(){this.chartPanSubscriptionRef.unsubscribe(),this.offsetChangeSubscriptionRef.unsubscribe(),this.running=!1,this.destroyed=!0},t.prototype.init=function(){var t=this;this.chartPanSubscriptionRef=this.loggerPlotService.chartPan.subscribe(function(e){t.running&&(t.viewMoved=!0)},function(t){},function(){}),this.offsetChangeSubscriptionRef=this.loggerPlotService.offsetChange.subscribe(function(e){ e.axisNum>t.analogChans.length-1||(t.analogChans[e.axisNum].vOffset=e.offset)},function(t){},function(){});for(var e=0;ethis.loggerPlotService.vpdArray[this.loggerPlotService.vpdArray.length-1]&&(t=this.loggerPlotService.vpdArray[this.loggerPlotService.vpdArray.length-1]),this.loggerPlotService.vpdArray[this.loggerPlotService.vpdIndices[e]]===t?void console.log("the same"):void this.loggerPlotService.setValPerDivAndUpdate("y",e+1,t)},t.prototype.mousewheel=function(t,e,n,i){return"offset"===i?void this.buttonChangeOffset(n,t.deltaY<0?"increment":"decrement"):void(t.deltaY<0?"vpd"===i?this.decrementVpd(n):this.incrementFrequency(e,n,i):"vpd"===i?this.incrementVpd(n):this.decrementFrequency(e,n,i))},t.prototype.incrementVpd=function(t){this.loggerPlotService.vpdIndices[t]>this.loggerPlotService.vpdArray.length-2||this.loggerPlotService.setValPerDivAndUpdate("y",t+1,this.loggerPlotService.vpdArray[this.loggerPlotService.vpdIndices[t]+1])},t.prototype.decrementVpd=function(t){this.loggerPlotService.vpdIndices[t]<1||this.loggerPlotService.setValPerDivAndUpdate("y",t+1,this.loggerPlotService.vpdArray[this.loggerPlotService.vpdIndices[t]-1])},t.prototype.buttonChangeOffset=function(t,e){this.analogChans[t].vOffset+="increment"===e?.1:-.1,this.loggerPlotService.setPosition("y",t+1,this.analogChans[t].vOffset,!0)},t.prototype.incrementFrequency=function(t,e,n){for(var i="analog"===t?this.analogChans[e]:this.digitalChans[e],r="sampleFreq"===n?i.sampleFreq.toString():i.maxSampleCount.toString(),s=parseFloat(r),o=0;s*Math.pow(1e3,o)<1;)o++;r=(s*Math.pow(1e3,o)).toString();var a=parseInt(r.charAt(0),10),_=r.split(".")[0].length-1;a++,10===a&&(a=1,_++);var l=a*Math.pow(10,_)/Math.pow(1e3,o);this.validateAndApply(l,t,e,n)},t.prototype.validateAndApply=function(t,e,n,i){var r="analog"===e?this.analogChans[n]:this.digitalChans[n];if("sampleFreq"===i){var s=this.activeDevice.instruments.logger[e].chans[n],o=s.sampleFreqMin*s.sampleFreqUnits,a=s.sampleFreqMax*s.sampleFreqUnits;ta&&(t=a),r.sampleFreq=t}else if("samples"===i){var s=this.activeDevice.instruments.logger[e].chans[n],_="ram"===r.storageLocation?s.bufferSizeMax:2e9;t<1?t=1:t>_&&(t=_),r.maxSampleCount=t}},t.prototype.decrementFrequency=function(t,e,n){for(var i="analog"===t?this.analogChans[e]:this.digitalChans[e],r="sampleFreq"===n?i.sampleFreq.toString():i.maxSampleCount.toString(),s=parseFloat(r),o=0;s*Math.pow(1e3,o)<1;)o++;r=(s*Math.pow(1e3,o)).toString();var a=parseInt(r.charAt(0),10),_=r.split(".")[0].length-1;a--,0===a&&(a=9,_--);var l=a*Math.pow(10,_)/Math.pow(1e3,o);this.validateAndApply(l,t,e,n)},t.prototype.setViewToEdge=function(){if(!this.viewMoved){if(void 0==this.dataContainers[0].data[0]||void 0==this.dataContainers[0].data[0][0])return void this.loggerPlotService.setPosition("x",1,5*this.loggerPlotService.xAxis.base,!0);for(var t=this.dataContainers[0].data[this.dataContainers[0].data.length-1][0],e=1;et?n:t}var i=10*this.loggerPlotService.xAxis.base,r=t-i;if(!(r<0)){var s=(t+r)/2;this.loggerPlotService.setPosition("x",1,s,!1)}}},t.prototype.modeSelect=function(t){if(console.log(t),"stream"===this.selectedMode&&"stream"!==t){for(var e=0;e-1?"Ch "+(e.linkChan+1):"no",r="link"+t;n.linkChildren.forEach(function(t){r===t.elementRef.nativeElement.id&&t._applyActiveSelection(i)})}if(void 0!=e.storageLocation){var s="location"+t;n.locationChildren.forEach(function(t){s===t.elementRef.nativeElement.id&&t._applyActiveSelection(e.storageLocation)})}if(void 0!=e.samples){var o="samples"+t;n.samplesChildren.forEach(function(t){o===t.elementRef.nativeElement.id&&t._applyActiveSelection(e.samples)})}},20)},t.prototype.overflowSelect=function(t,e,n){console.log(t),"analog"===e?this.analogChans[n].overflow=t:this.digitalChans[n].overflow=t},t.prototype.locationSelect=function(t,e,n){console.log(t),"analog"===e?this.analogChans[n].storageLocation=t:this.digitalChans[n].storageLocation=t},t.prototype.profileSelect=function(t){var e=this;console.log(t);var n=this.selectedLogProfile;if(this.selectedLogProfile=t,t!==this.loggingProfiles[0])return void 0==this.profileObjectMap[t]?(this.toastService.createToast("loggerProfileLoadErr",!0,void 0,5e3),console.log("profile not found in profile map"),this.selectedLogProfile=n,void setTimeout(function(){e.profileChild._applyActiveSelection(e.selectedLogProfile)},20)):void this.parseAndApplyProfileJson(JSON.parse(JSON.stringify(this.profileObjectMap[t])))},t.prototype.saveAndSetProfile=function(){var t=this;this.saveProfile(this.profileNameScratch).then(function(e){t.toastService.createToast("loggerSaveSuccess")}).catch(function(e){console.log(e),t.toastService.createToast("loggerSaveFail")});var e=this.loggingProfiles.indexOf(this.profileNameScratch);e!==-1&&this.loggingProfiles.splice(e,1),this.loggingProfiles.push(this.profileNameScratch);var n=this.generateProfileJson(),i=JSON.parse(JSON.stringify(n));this.profileObjectMap[this.profileNameScratch]=i,setTimeout(function(){t.selectedLogProfile=t.profileNameScratch,t.profileChild._applyActiveSelection(t.selectedLogProfile),t.profileNameScratch=t.defaultProfileName},20)},t.prototype.loadProfilesFromDevice=function(){var t=this;return new Promise(function(e,n){t.listDir("flash","/").then(function(i){console.log(i);for(var r=[],s=0;s0&&(t.analog={}),this.digitalChans.length>0&&(t.digital={});for(var e=0;e=0&&(this.dataContainers[_].data=this.dataContainers[_].data.slice(h))}this.setViewToEdge(),this.loggerPlotService.setData(this.dataContainers,this.viewMoved),this.dataAvailable=!0},t.prototype.existingFileFoundAndValidate=function(t){for(var e=!1,n={},i=0;ithis.activeDevice.instruments.logger.analog.chans[t].adcVpp/1e3&&nthis.activeDevice.instruments.logger.analog.chans[t].gains.length-1&&n--,this.activeDevice.instruments.logger.analog.chans[t].gains[n]},t.prototype.setParameters=function(t,e){var n=this;return new Promise(function(i,r){var s,o={};if("analog"===t){if(n.analogChans.length<1)return void i();for(var a=["maxSampleCount","gain","vOffset","sampleFreq","startDelay","overflow","storageLocation","uri"],_=0;_0){var r="analog"===t?n.analogChans[_-1]:n.digitalChans[_-1];if(r.startIndex>=0&&r.startIndex!==i.instruments[t][_].startIndex)return a.Observable.create(function(t){t.error({message:"Could not keep up with device",data:i})});n.updateValuesFromRead(i,t,e,_-1)}return n.deepMergeObj(l,i),n.activeDevice.instruments.logger[t].read(t,[e[_]],[s[_]],[o[_]])})},a.Observable.create(function(t){t.next({}),t.complete()})).subscribe(function(s){var o="analog"===t?n.analogChans[e[e.length-1]-1]:n.digitalChans[e[e.length-1]-1];return o.startIndex>=0&&o.startIndex!==s.instruments[t][e[e.length-1]].startIndex?void r({message:"Could not keep up with device",data:s}):(n.updateValuesFromRead(s,t,e,e.length-1),n.deepMergeObj(l,s),void i(l))},function(e){if(console.log(e),void 0!=e.payload){var n=String.fromCharCode.apply(null,new Uint8Array(e.payload)),i=void 0;try{i=JSON.parse(n)}catch(t){return void r(t)}if(i&&i.log&&i.log[t])for(var s in i.log[t]){if(2684354593===i.log[t][s][0].statusCode)return console.log("data not ready"),void r({message:"Data not ready",data:i});2684354595===i.log[t][s][0].statusCode&&r({message:"Could not keep up with device",data:i})}}r(e)},function(){})})},t.prototype.updateValuesFromRead=function(t,e,n,i){void 0!=t&&void 0!=t.instruments&&void 0!=t.instruments[e]&&0===t.instruments[e][n[i]].statusCode&&("analog"===e?(this.analogChans[n[i]-1].startIndex=t.instruments[e][n[i]].startIndex,this.analogChans[n[i]-1].startIndex+=t.instruments[e][n[i]].actualCount,this.analogChans[n[i]-1].count=0,this.analogChans[n[i]-1].maxSampleCount>0&&this.analogChans[n[i]-1].startIndex>=this.analogChans[n[i]-1].maxSampleCount&&(this.analogChansToRead.splice(this.analogChansToRead.indexOf(n[i]),1),this.analogChansToRead.length<1&&(this.running=!1))):(this.digitalChans[n[i]-1].startIndex+=t.instruments[e][n[i]].actualCount,this.digitalChans[n[i]-1].maxSampleCount>0&&this.digitalChans[n[i]-1].startIndex>=this.digitalChans[n[i]-1].maxSampleCount&&(this.running=!1)))},t.prototype.deepMergeObj=function(t,e){var n=this;this.isObject(t)&&this.isObject(e)&&Object.keys(e).forEach(function(i){e[i].constructor===Array?(t[i]=[],e[i].forEach(function(r,s,o){n.isObject(r)?(void 0==t[i][s]&&(t[i][s]={}),n.deepMergeObj(t[i][s],e[i][s])):t[i][s]=e[i][s]})):n.isObject(e[i])?(void 0==t[i]&&(t[i]={}),n.deepMergeObj(t[i],e[i])):t[i]=e[i]})},t.prototype.isObject=function(t){return t&&"object"==typeof t&&!Array.isArray(t)},t.prototype.listDir=function(t,e){var n=this;return new Promise(function(i,r){n.activeDevice.file.listDir(t,e).subscribe(function(e){n.filesInStorage[t]=e.file[0].files,console.log(n.filesInStorage),i(e)},function(t){r(t)},function(){})})},t.prototype.getCurrentState=function(t,e,n){var i=this;return void 0===n&&(n=!1),new Promise(function(r,s){return"analog"===t&&i.analogChans.length<1?void r():"digital"===t&&i.digitalChans.length<1?void r():e.length<1?void r():void i.activeDevice.instruments.logger[t].getCurrentState(t,e).subscribe(function(t){void 0!=t.log&&void 0!=t.log.analog&&i.applyCurrentStateResponse(t,n),r(t)},function(t){console.log(t),s(t)},function(){})})},g([n.i(i.ViewChildren)("dropPopSamples"),v("design:type","function"==typeof(e="undefined"!=typeof i.QueryList&&i.QueryList)&&e||Object)],t.prototype,"samplesChildren",void 0),g([n.i(i.ViewChildren)("dropPopLocation"),v("design:type","function"==typeof(_="undefined"!=typeof i.QueryList&&i.QueryList)&&_||Object)],t.prototype,"locationChildren",void 0),g([n.i(i.ViewChildren)("dropPopLink"),v("design:type","function"==typeof(x="undefined"!=typeof i.QueryList&&i.QueryList)&&x||Object)],t.prototype,"linkChildren",void 0),g([n.i(i.ViewChild)("dropPopProfile"),v("design:type","function"==typeof(y="undefined"!=typeof l.a&&l.a)&&y||Object)],t.prototype,"profileChild",void 0),g([n.i(i.ViewChild)("dropPopMode"),v("design:type","function"==typeof(b="undefined"!=typeof l.a&&l.a)&&b||Object)],t.prototype,"modeChild",void 0),g([n.i(i.ViewChild)("xaxis"),v("design:type","function"==typeof(w="undefined"!=typeof h.a&&h.a)&&w||Object)],t.prototype,"xAxis",void 0),t=g([n.i(i.Component)({templateUrl:"openscope-logger.html",selector:"openscope-logger-component"}),v("design:paramtypes",["function"==typeof(C="undefined"!=typeof c.DeviceManagerService&&c.DeviceManagerService)&&C||Object,"function"==typeof(E="undefined"!=typeof s.a&&s.a)&&E||Object,"function"==typeof(T="undefined"!=typeof o.a&&o.a)&&T||Object,"function"==typeof(A="undefined"!=typeof u.a&&u.a)&&A||Object,"function"==typeof(I="undefined"!=typeof p.a&&p.a)&&I||Object,"function"==typeof(S="undefined"!=typeof d.a&&d.a)&&S||Object,"function"==typeof(O="undefined"!=typeof r.k&&r.k)&&O||Object,"function"==typeof(k="undefined"!=typeof f.a&&f.a)&&k||Object,"function"==typeof(N="undefined"!=typeof m.a&&m.a)&&N||Object])],t);var e,_,x,y,b,w,C,E,T,A,I,S,O,k,N}()},function(t,e,n){"use strict";var i=n(0),r=n(15),s=n(57),o=(n.n(s),n(89)),a=n(63);n.d(e,"a",function(){return h});var _=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},l=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},h=function(){function t(t,e,n){this.viewCtrl=t,this.params=e,this.popoverCtrl=n,this.buttonNames=[["Frequency","Period"],["Amplitude","Peak to Peak"],["Maximum","Minimum"],["Mean","RMS"]],this.chartMin=0,this.chartMax=0,this.minIndex=0,this.maxIndex=0,this.buttonSubject=new s.Subject,this.possibleChannelSelections=[],this.passData=this.params.get("passData"),console.log(this.passData),this.selectedChan=this.passData.selectedChan,this.chart=this.passData.chart,this.generatePossibleSelections(),console.log(this.possibleChannelSelections),this.unitFormatPipe=new a.a,this.calcSelectedRange()}return t.prototype.generatePossibleSelections=function(){var t=this;this.passData.availableChans.forEach(function(e,n,i){t.possibleChannelSelections.push(e.instrument+" Ch "+e.channel); })},t.prototype.openChannelSelect=function(t){var e=this,n=this.popoverCtrl.create(o.a,{dataArray:this.possibleChannelSelections});n.onWillDismiss(function(t){null!=t&&e.setActiveSeries(t.option)}),n.present({ev:t})},t.prototype.calcSelectedRange=function(){var t=this.chart.getAxes().xaxis;this.chartMin=t.min,this.chartMax=t.max,this.calcDataIndexRange()},t.prototype.calcDataIndexRange=function(){var t=this.selectedChan.seriesOffset,e=this.chart.getData();console.log(e),this.minIndex=Math.round((this.chartMin-e[t].data[0][0])/(e[t].data[1][0]-e[t].data[0][0])),this.maxIndex=Math.round((this.chartMax-e[t].data[0][0])/(e[t].data[1][0]-e[t].data[0][0])),this.minIndex<0&&(this.minIndex=0),this.minIndex>e[t].data.length&&(this.minIndex=e[t].data.length-1),this.maxIndex<0&&(this.maxIndex=0),this.maxIndex>e[t].data.length&&(this.maxIndex=e[t].data.length-1)},t.prototype.setActiveSeries=function(t){var e,n=t.split(" ");this.passData.availableChans.forEach(function(t){t.instrument===n[0]&&t.channel===parseInt(n[2])&&(e=t.seriesOffset)}),this.selectedChan={instrument:n[0],channel:parseInt(n[2]),seriesOffset:e}},t.prototype.getMetrics=function(t){switch(t){case"Frequency":return this.unitFormatPipe.transform(mathFunctions.getFrequency(this.chart,this.selectedChan.seriesOffset,this.minIndex,this.maxIndex),"Hz");case"Pos Pulse Width":return"Pos Pulse Width";case"Pos Duty Cycle":return"Pos Duty Cycle";case"Period":return this.unitFormatPipe.transform(mathFunctions.getPeriod(this.chart,this.selectedChan.seriesOffset,this.minIndex,this.maxIndex),"s");case"Neg Pulse Width":return"Neg Pulse Width";case"Neg Duty Cycle":return"Neg Duty Cycle";case"Rise Rate":return"Rise Rate";case"Rise Time":return"Rise Time";case"Amplitude":return this.unitFormatPipe.transform(mathFunctions.getAmplitude(this.chart,this.selectedChan.seriesOffset,this.minIndex,this.maxIndex),"V");case"High":return"High";case"Low":return"Low";case"Peak to Peak":return this.unitFormatPipe.transform(mathFunctions.getPeakToPeak(this.chart,this.selectedChan.seriesOffset,this.minIndex,this.maxIndex),"Vpp");case"Maximum":return this.unitFormatPipe.transform(mathFunctions.getMax(this.chart,this.selectedChan.seriesOffset,this.minIndex,this.maxIndex),"V");case"Minimum":return this.unitFormatPipe.transform(mathFunctions.getMin(this.chart,this.selectedChan.seriesOffset,this.minIndex,this.maxIndex),"V");case"Mean":return this.unitFormatPipe.transform(mathFunctions.getMean(this.chart,this.selectedChan.seriesOffset,this.minIndex,this.maxIndex),"V");case"RMS":return this.unitFormatPipe.transform(mathFunctions.getRMS(this.chart,this.selectedChan.seriesOffset,this.minIndex,this.maxIndex),"V");case"Overshoot":return"Overshoot";case"Cycle Mean":return"Cycle Mean";case"Cycle RMS":return"Cycle RMS";case"Undershoot":return"Undershoot";default:return"default"}},t.prototype.exportMathInfoToChart=function(t){this.buttonSubject.next({mathInfo:t,mathChannel:this.selectedChan,maxIndex:this.maxIndex,minIndex:this.minIndex,value:this.getMetrics(t)})},t=_([n.i(i.Component)({templateUrl:"math-popover.html"}),l("design:paramtypes",["function"==typeof(e="undefined"!=typeof r.i&&r.i)&&e||Object,"function"==typeof(h="undefined"!=typeof r.f&&r.f)&&h||Object,"function"==typeof(c="undefined"!=typeof r.h&&r.h)&&c||Object])],t);var e,h,c}()},function(t,e,n){"use strict";function i(t,e,n){return null===d&&(d=t.createRenderComponentType("",0,c.c.None,[],{})),new f(t,e,n)}function r(t,e,n){return null===v&&(v=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/components/progress-bar/progress-bar.html",0,c.c.None,g,{})),new x(t,e,n)}var s=n(10),o=n(6),a=n(167),_=n(11),l=n(5),h=n(4),c=n(8),u=n(7);n.d(e,"a",function(){return m}),e.b=r;var p=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},d=null,f=function(t){function e(n,i,r){t.call(this,e,d,l.a.HOST,n,i,r,h.b.CheckAlways)}return p(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("digilent-progress-bar",t,null),this._appEl_0=new o.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._ProgressBarComponent_0_4=new a.a,this._appEl_0.initComponent(this._ProgressBarComponent_0_4,[],e),e.create(this._ProgressBarComponent_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===a.a&&0===e?this._ProgressBarComponent_0_4:n},e}(s.a),m=new u.a("digilent-progress-bar",i,a.a),g=[],v=null,x=function(t){function e(n,i,r){t.call(this,e,v,l.a.COMPONENT,n,i,r,h.b.CheckAlways)}return p(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","progress-bar-container"),this.renderer.setElementAttribute(this._el_0,"text-center",""),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"progress",null),this.renderer.setElementAttribute(this._el_2,"class","progress-bar"),this._text_3=this.renderer.createText(this._el_0,"\n",null),this._expr_0=h.n,this._expr_1=h.n,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this.context.progressBarValue;_.c(t,this._expr_0,e)&&(this.renderer.setElementProperty(this._el_2,"value",e),this._expr_0=e);var n=this.context.maxValue;_.c(t,this._expr_1,n)&&(this.renderer.setElementProperty(this._el_2,"max",n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(s.a)},function(t,e,n){"use strict";var i=n(0),r=n(15),s=n(150),o=n(65),a=n(366),_=n(45),l=(n.n(_),n(38)),h=n(28),c=n(110);n.d(e,"a",function(){return d});var u=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},p=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},d=function(){function t(t,e,n,r,s){this.deviceDataTransferService=s,this.triggerTutotrialFinish=new i.EventEmitter,this.delay="0",this.lowerThresh="470",this.upperThresh="500",this.edgeDirection="rising",this.triggerSource="Osc Ch 1",this.triggerSources=[],this.triggerType="edge",this.showTriggerSettings=!0,this.tutorialMode=!1,this.tutorialStage="idle",this.bitmask="",this.popoverCtrl=t,this.tooltipService=n,this.toastService=r,this.devMngSrv=e,this.activeDevice=this.devMngSrv.devices[this.devMngSrv.activeDeviceIndex];for(var o=0;othis.activeDevice.instruments.osc.chans[0].inputVoltageMax||1e3*t-30=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},l=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},h=function(){function t(t,e,n,i,r){this.tooltipService=r,this.numSeries=[0,1],this.names=[],this.showSeriesSettings=[],this.configHover=!1,this.showOscSettings=!0,this.lockedSampleState=[],this.popoverCtrl=n,this.viewCtrl=t,this.params=e,this.settingsService=i}return t.prototype.ngOnInit=function(){for(var t=0;t-1&&!e.chart.oscopeChansActive[r]),t.targets.osc.indexOf(r+1)>-1&&!e.chart.oscopeChansActive[r]?(console.log("toggling vis on channel"+r),e.toggleVisibility(r,null)):t.targets.osc.indexOf(r+1)===-1&&e.chart.oscopeChansActive[r]&&(console.log("toggling off channel"),e.toggleVisibility(r,null))})},t.prototype.toggleSampleLock=function(t){this.lockedSampleState[t].sampleSizeLocked&&(this.lockedSampleState[t].manualSampleSize=this.chart.calculateDataFromWindow().bufferSize),this.lockedSampleState[t].sampleSizeLocked=!this.lockedSampleState[t].sampleSizeLocked},t.prototype.toggleSampleFreqLock=function(t){this.lockedSampleState[t].sampleFreqLocked&&(this.lockedSampleState[t].manualSampleFreq=this.chart.calculateDataFromWindow().sampleFreq),this.lockedSampleState[t].sampleFreqLocked=!this.lockedSampleState[t].sampleFreqLocked},t.prototype.formatInputAndUpdate=function(t,e,n){var i=this;if("offset"===n){if(t>this.chart.deviceDescriptor.instruments.osc.chans[e].inputVoltageMax/1e3?t=this.chart.deviceDescriptor.instruments.osc.chans[e].inputVoltageMax/1e3:tthis.chart.voltsPerDivVals[this.chart.voltsPerDivVals.length-1]&&(t=this.chart.voltsPerDivVals[this.chart.voltsPerDivVals.length-1]),this.chart.voltDivision[e]===t)return console.log("the same"),this.chart.voltDivision[e]=10*t+1,void setTimeout(function(){i.chart.voltDivision[e]=t},1);this.chart.voltDivision[e]=t,this.chart.setNearestPresetVoltsPerDivVal(t,e),this.chart.setSeriesSettings({voltsPerDiv:this.chart.voltDivision[e],voltBase:this.chart.voltBase[e],seriesNum:e})}else"sampleFreq"===n?(t=Math.max(Math.min(t,this.chart.deviceDescriptor.instruments.osc.chans[e].sampleFreqMax/1e3),this.chart.deviceDescriptor.instruments.osc.chans[e].sampleFreqMin/1e3),this.lockedSampleState[e].manualSampleFreq=t):"numSamples"===n&&(t=t%2===0?t:t+1,t=Math.max(Math.min(t,this.chart.deviceDescriptor.instruments.osc.chans[e].bufferSizeMax),2),this.lockedSampleState[e].manualSampleSize=t)},t.prototype.getSeriesColor=function(t){if(void 0===this.chart.chart)return"#535353";var e=this.chart.chart.getData();return e[t].lines.show?e[t].color:"#535353"},t.prototype.toggleOscSettings=function(){this.showOscSettings=!this.showOscSettings},t.prototype.toggleSeriesSettings=function(t){console.log("toggle series settings"+t),this.showSeriesSettings[t]=!this.showSeriesSettings[t]},t.prototype.toggleVisibility=function(t,e){this.chart.toggleVisibility(t)},t.prototype.seriesChanged=function(t){this.chart.setSeriesSettings({seriesNum:t,voltsPerDiv:this.chart.voltDivision[t],voltBase:this.chart.voltBase[t]})},t.prototype.setActiveSeries=function(t){this.chart.setActiveSeries(t+1)},_([n.i(i.Input)(),l("design:type","function"==typeof(e="undefined"!=typeof s.a&&s.a)&&e||Object)],t.prototype,"chart",void 0),_([n.i(i.Input)(),l("design:type",Boolean)],t.prototype,"running",void 0),t=_([n.i(i.Component)({templateUrl:"yaxis-controls.html",selector:"yaxis-controls"}),l("design:paramtypes",["function"==typeof(h="undefined"!=typeof r.i&&r.i)&&h||Object,"function"==typeof(c="undefined"!=typeof r.f&&r.f)&&c||Object,"function"==typeof(u="undefined"!=typeof r.h&&r.h)&&u||Object,"function"==typeof(p="undefined"!=typeof o.a&&o.a)&&p||Object,"function"==typeof(d="undefined"!=typeof a.a&&a.a)&&d||Object])],t);var e,h,c,u,p,d}()},function(t,e,n){"use strict";function i(t,e,n){return null===m&&(m=t.createRenderComponentType("",0,u.c.None,[],{})),new g(t,e,n)}function r(t,e,n){return null===y&&(y=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/directives/tooltip/TooltipContent.ts class TooltipContent - inline template",1,u.c.None,x,{})),new b(t,e,n)}var s=n(10),o=n(6),a=n(168),_=n(11),l=n(5),h=n(4),c=n(14),u=n(8),p=n(7),d=n(73);n.d(e,"a",function(){return v}),e.b=r;var f=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},m=null,g=function(t){function e(n,i,r){t.call(this,e,m,l.a.HOST,n,i,r,h.b.CheckAlways)}return f(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("tooltip-content",t,null),this._appEl_0=new o.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._TooltipContent_0_4=new a.a(new c.a(this._el_0),e.ref),this._appEl_0.initComponent(this._TooltipContent_0_4,[],e),e.create(this._TooltipContent_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===a.a&&0===e?this._TooltipContent_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._TooltipContent_0_4.ngAfterViewInit()},e}(s.a),v=new p.a("tooltip-content",i,a.a),x=[],y=null,b=function(t){function e(n,i,r){t.call(this,e,y,l.a.COMPONENT,n,i,r,h.b.CheckAlways)}return f(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._text_0=this.renderer.createText(e,"\n",null),this._el_1=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_1,"role","tooltip"),this._text_2=this.renderer.createText(this._el_1,"\n ",null),this._el_3=this.renderer.createElement(this._el_1,"div",null),this.renderer.setElementAttribute(this._el_3,"class","tooltip-arrow"),this._text_4=this.renderer.createText(this._el_1," \n ",null),this._el_5=this.renderer.createElement(this._el_1,"div",null),this.renderer.setElementAttribute(this._el_5,"class","tooltip-inner"),this._text_6=this.renderer.createText(this._el_5,"\n ",null),this.renderer.projectNodes(this._el_5,_.d(this.projectableNodes[0])),this._text_7=this.renderer.createText(this._el_5,"",null),this._text_8=this.renderer.createText(this._el_1," \n",null),this._text_9=this.renderer.createText(e,"\n",null),this._expr_0=h.n,this._expr_1=h.n,this._expr_2=h.n,this._expr_3=h.n,this._expr_4=h.n,this._expr_5=h.n,this.init([],[this._text_0,this._el_1,this._text_2,this._el_3,this._text_4,this._el_5,this._text_6,this._text_7,this._text_8,this._text_9],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=_.e(1,"tooltip ",this.context.placement,"");_.c(t,this._expr_0,e)&&(this.renderer.setElementProperty(this._el_1,"className",e),this._expr_0=e);var n=this.context.top+"px";_.c(t,this._expr_1,n)&&(this.renderer.setElementStyle(this._el_1,"top",null==this.viewUtils.sanitizer.sanitize(d.b.STYLE,n)?null:this.viewUtils.sanitizer.sanitize(d.b.STYLE,n).toString()),this._expr_1=n);var i=this.context.left+"px";_.c(t,this._expr_2,i)&&(this.renderer.setElementStyle(this._el_1,"left",null==this.viewUtils.sanitizer.sanitize(d.b.STYLE,i)?null:this.viewUtils.sanitizer.sanitize(d.b.STYLE,i).toString()),this._expr_2=i);var r=this.context.isIn;_.c(t,this._expr_3,r)&&(this.renderer.setElementClass(this._el_1,"in",r),this._expr_3=r);var s=this.context.isFade;_.c(t,this._expr_4,s)&&(this.renderer.setElementClass(this._el_1,"fade",s),this._expr_4=s);var o=_.e(1,"\n ",this.context.content,"\n ");_.c(t,this._expr_5,o)&&(this.renderer.setText(this._text_7,o),this._expr_5=o),this.detectViewChildrenChanges(t)},e}(s.a)},function(t,e,n){"use strict";var i=n(0),r=n(15),s=n(191),o=n(59),a=n(31),_=n(45);n.n(_);n.d(e,"a",function(){return c});var l=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},h=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},c=function(){function t(t,e,n,i,r,s,o,a){this.loadingCtrl=s,this.alertCtrl=o,this.popoverCtrl=a,this.isLogger=!1,this.loggerInstruments=[{dc:[1,2],awg:1,daq:[1]},{daq:[2]},{daq:[3]},{daq:[4]},{daq:[5]},{daq:[6]},{daq:[7]},{daq:[8]}],this.noInstructions="There was an error loading the calibration instructions for your device. Check your reference manual for correct setup before starting the calibration process.",this.showInstructions=!0,this.runningCalibration=!1,this.calibrationStatus="Ready To Calibrate",this.calibrationFailed=!1,this.calibrationSuccessful=!1,this.calibrationSaved=!1,this.calibrationReadAttempts=0,this.maxCalibrationReadAttempts=10,this.timeBetweenReadAttempts=2e3,this.storageLocations=["No Locations Found"],this.selectedLocation="No Location Selected",this.calibrationResults="Results here",this.calibrationResultsIndicator="",this.showAdvanced=!1,this.showMoreInfo=!1,this.saveAsDefault=!0,this.calibrationReason='Device calibration compensates for component variance and temperature differences. Click here for More Info',this.deviceManagerService=r,this.storageService=t,this.settingsService=e,this.viewCtrl=i,this.params=n,this.isLogger="OpenLogger MZ"===this.deviceManagerService.getActiveDevice().deviceModel,console.log("calibrate constructor"),this.getCalibrationInstructions()}return t.prototype.ionViewDidEnter=function(){var t=this,e=this.slider.getSlider();return void 0==e?void setTimeout(function(){t.ionViewDidEnter()},20):void e.lockSwipes()},t.prototype.toggleAdvanced=function(){this.showAdvanced=!this.showAdvanced},t.prototype.toggleMoreInfo=function(){this.showMoreInfo=!this.showMoreInfo},t.prototype.closeModal=function(){var t=this;this.calibrationSuccessful&&!this.calibrationSaved?this.presentConfirmNoSaveAlert().catch(function(e){console.log(e),t.viewCtrl.dismiss()}):this.viewCtrl.dismiss()},t.prototype.presentConfirmNoSaveAlert=function(){var t=this;return new Promise(function(e,n){var i=t.alertCtrl.create({title:"Calibration Not Saved",message:"Would you like to save your calibration?",buttons:[{text:"No",handler:function(){n()}},{text:"Yes",handler:function(){e()}}]});i.present()})},t.prototype.selectStorage=function(t){this.selectedLocation=t,console.log(this.selectedLocation)},t.prototype.toSlide=function(t,e){e=void 0!=e&&e;var n=this.slider.getSlider();n.unlockSwipes(),e?this.slider.slideTo(t,0):this.slider.slideTo(t),n.lockSwipes()},t.prototype.toCalibrationSuccessPage=function(){this.toNextSlide(),this.calibrationResultsIndicator="Calibration completed succesfully and has been applied to the instruments. By default, this calibration will be applied each time the device boots.",this.getStorageLocations()},t.prototype.saveCalibrationToDevice=function(){var t=this;return this.calibrationSaved=!0,this.calibrationResultsIndicator="Saving calibration.","No Location Selected"===this.selectedLocation?(this.calibrationResultsIndicator="Error saving calibration. Choose a valid storage location.",Promise.reject(this.calibrationResultsIndicator)):this.calibrationResults.indexOf("IDEAL")!==-1||this.calibrationResults.indexOf("UNCALIBRATED")!==-1||this.calibrationResults.indexOf("uncalibrated")!==-1||this.calibrationResults.indexOf("failed calibration")!==-1?(this.calibrationFailed=!0,this.calibrationResultsIndicator="Error saving calibration. One or more channels fell back to ideal values. Rerun calibration.",Promise.reject(this.calibrationResultsIndicator)):(console.log(this.selectedLocation),this.saveCalibration(this.selectedLocation).then(function(){return t.calibrationResultsIndicator="Save successful",Promise.resolve()}).catch(function(e){return t.calibrationResultsIndicator="Error saving calibration.",Promise.reject(t.calibrationResultsIndicator)}))},t.prototype.onSuccessfulCalibrationApply=function(){this.viewCtrl.dismiss()},t.prototype.getStorageLocations=function(){var t=this;this.deviceManagerService.devices[this.deviceManagerService.activeDeviceIndex].calibrationGetStorageTypes().subscribe(function(e){console.log(e),t.storageLocations=e.device[0].storageTypes,t.selectedLocation=t.storageLocations[0]},function(e){console.log(e),t.calibrationResultsIndicator="Could not get storage locations for device."},function(){})},t.prototype.getCalibrationInstructions=function(){var t=this;console.log(this.deviceManagerService),this.deviceManagerService.devices[this.deviceManagerService.activeDeviceIndex].calibrationGetInstructions().subscribe(function(e){return void 0==e.device[0].instructions&&void 0==e.device[0].step?void(t.calibrationInstructions=t.isLogger?Array.apply(null,Array(8)):[null]):void(t.calibrationInstructions=t.isLogger?e.device[0].step:[e.device[0].instructions])},function(e){console.log(e),t.calibrationInstructions=t.isLogger?Array.apply(null,Array(8)):[null]},function(){})},t.prototype.connectionImage=function(t){return this.isLogger?"assets/img/openlogger_calibration_"+t+".svg":"assets/img/openscope_calibration.svg"},t.prototype.toNextSlide=function(){this.calibrationStatus="Ready To Calibrate",this.showInstructions=!0,this.runningCalibration=!1;var t=this.slider.getSlider();t.unlockSwipes(),this.slider.slideTo(t.activeIndex+1,0),t.lockSwipes()},t.prototype.runCalibration=function(t){var e=this;if(this.currentStep=t,this.calibrationFailed=!1,this.calibrationSuccessful=!1,0===this.currentStep){var n=this.displayLoading();this.resetInstruments().then(function(){e.startCalibration(),n.dismiss(),e.showInstructions=!1,e.runningCalibration=!0}).catch(function(t){e.calibrationStatus="Error resetting the device. Make sure it is still connected and is on the latest firmware.",n.dismiss()})}else this.startCalibration(),this.showInstructions=!1,this.runningCalibration=!0},t.prototype.displayLoading=function(t){t=void 0==t?"Resetting Device...":t;var e=this.loadingCtrl.create({content:t,spinner:"crescent",cssClass:"custom-loading-indicator"});return e.present(),e},t.prototype.resetInstruments=function(){var t=this;return new Promise(function(e,n){t.deviceManagerService.devices[t.deviceManagerService.activeDeviceIndex].resetInstruments().subscribe(function(t){console.log(t),t.device[0].wait&&setTimeout(function(){e(t)},t.device[0].wait)},function(t){n(t)},function(){})})},t.prototype.startCalibration=function(){var t=this;this.calibrationFailed=!1,this.calibrationSuccessful=!1;var e=this.isLogger?this.loggerInstruments[this.currentStep]:{};this.deviceManagerService.devices[this.deviceManagerService.activeDeviceIndex].calibrationStart(e).subscribe(function(e){console.log(e);var n=e.device[0].wait<0?t.timeBetweenReadAttempts:e.device[0].wait;t.calibrationStatus="This should take about "+Math.round(e.device[0].wait/1e3)+" seconds.",t.calibrationReadAttempts=0,t.runProgressBar(n)},function(e){return console.log(e),t.calibrationFailed=!0,e.device&&2684354573===e.device[0].statusCode?void(t.calibrationStatus="Error running calibration. Please check your setup and try again."):void(t.calibrationStatus="Error starting calibration. Please try again.")},function(){})},t.prototype.runProgressBar=function(t){this.digilentProgressBar.toArray()[this.currentStep].start(t)},t.prototype.progressBarFinished=function(){this.readCalibrationAfterCalibrating()},t.prototype.exitModal=function(){var t=this;(this.saveAsDefault?this.saveCalibrationToDevice():Promise.resolve()).then(function(){t.viewCtrl.dismiss()}).catch(function(t){console.log("Failed to save calibration.")})},t.prototype.loadCalibration=function(t){var e=this;return this.calibrationResultsIndicator="Loading calibration.","No Location Selected"===this.selectedLocation?void(this.calibrationResultsIndicator="Error loading calibration. Choose a valid storage location."):void this.deviceManagerService.devices[this.deviceManagerService.activeDeviceIndex].calibrationLoad(t).subscribe(function(t){console.log(t),setTimeout(function(){e.readCalibration().catch(function(t){e.calibrationResultsIndicator="Error reading current calibration."})},750),e.calibrationResultsIndicator="Loaded calibration successfully."},function(t){console.log(t),e.calibrationResultsIndicator="Error loading calibration."},function(){})},t.prototype.loadSelectedCalibration=function(){this.loadCalibration(this.selectedLocation)},t.prototype.readCalibration=function(){var t=this;return new Promise(function(e,n){t.deviceManagerService.devices[t.deviceManagerService.activeDeviceIndex].calibrationRead().subscribe(function(n){console.log(n),t.calibrationStatus="Loaded current calibration data.",t.parseCalibrationInformation(n),e()},function(e){console.log(e),t.calibrationStatus="Error loading current calibration.",n()},function(){})})},t.prototype.toLoadExistingPage=function(){var t=this,e=this.slider.getSlider();e.unlockSwipes(),this.slider.slideTo(this.calibrationInstructions.length+1,0),e.lockSwipes(),this.calibrationResultsIndicator="Select a storage location and click load.", this.calibrationResults="",this.readCalibration().then(function(){t.getStorageLocations()}).catch(function(t){})},t.prototype.readCalibrationAfterCalibrating=function(){var t=this;this.deviceManagerService.devices[this.deviceManagerService.activeDeviceIndex].calibrationRead().subscribe(function(e){if(console.log(e),t.isLogger){var n=e.device[0].calibrationData.daq[t.currentStep+1].status;if("failed calibration"===n||"uncalibrated"===n)return t.calibrationFailed=!0,void(t.calibrationStatus="Calibration failed. Check your calibration setup and try again.")}t.calibrationStatus="Calibration Successful!",t.parseCalibrationInformation(e),t.calibrationSuccessful=!0},function(e){if(console.log(e),void 0==e.device&&t.calibrationReadAttempts=t.maxCalibrationReadAttempts&&(t.calibrationFailed=!0,t.calibrationStatus="Timeout attempting to read calibration. Check your calibration setup and try again.")}},function(){})},t.prototype.parseCalibrationInformation=function(t){var e=t.device[0].calibrationData;for(var n in e)e[n].numChans&&delete e[n].numChans;var i=JSON.stringify(e,void 0,4);this.calibrationResults=i},t.prototype.saveCalibration=function(t){var e=this;return new Promise(function(n,i){e.deviceManagerService.devices[e.deviceManagerService.activeDeviceIndex].calibrationSave(t).subscribe(function(t){console.log(t),n()},function(t){console.log(t),i(t)},function(){})})},t.prototype.openDevicePinout=function(t){var e=this.popoverCtrl.create(s.a,void 0,{cssClass:"pinoutPopover"});e.present({ev:t})},l([n.i(i.ViewChild)("calibrationSlider"),h("design:type","function"==typeof(e="undefined"!=typeof r.j&&r.j)&&e||Object)],t.prototype,"slider",void 0),l([n.i(i.ViewChildren)("digilentProgressBar"),h("design:type","function"==typeof(c="undefined"!=typeof i.QueryList&&i.QueryList)&&c||Object)],t.prototype,"digilentProgressBar",void 0),t=l([n.i(i.Component)({templateUrl:"calibrate.html",animations:[n.i(i.trigger)("expand",[n.i(i.state)("true",n.i(i.style)({height:"150px",visibility:"visible"})),n.i(i.state)("false",n.i(i.style)({height:"0",visibility:"hidden"})),n.i(i.transition)("void => *",n.i(i.animate)("0s")),n.i(i.transition)("* <=> *",n.i(i.animate)("250ms ease-in-out"))]),n.i(i.trigger)("rotate",[n.i(i.state)("true",n.i(i.style)({transform:"rotate(-180deg)"})),n.i(i.state)("false",n.i(i.style)({transform:"rotate(0deg)"})),n.i(i.transition)("void => *",n.i(i.animate)("0s")),n.i(i.transition)("* <=> *",n.i(i.animate)("250ms ease-in-out"))]),n.i(i.trigger)("expandMoreInfo",[n.i(i.state)("true",n.i(i.style)({visibility:"visible"})),n.i(i.state)("false",n.i(i.style)({height:"0",visibility:"hidden"})),n.i(i.transition)("void => *",n.i(i.animate)("0s")),n.i(i.transition)("* <=> *",n.i(i.animate)("250ms ease-in-out"))])]}),h("design:paramtypes",["function"==typeof(u="undefined"!=typeof o.a&&o.a)&&u||Object,"function"==typeof(p="undefined"!=typeof a.a&&a.a)&&p||Object,"function"==typeof(d="undefined"!=typeof r.f&&r.f)&&d||Object,"function"==typeof(f="undefined"!=typeof r.i&&r.i)&&f||Object,"function"==typeof(m="undefined"!=typeof _.DeviceManagerService&&_.DeviceManagerService)&&m||Object,"function"==typeof(g="undefined"!=typeof r.e&&r.e)&&g||Object,"function"==typeof(v="undefined"!=typeof r.k&&r.k)&&v||Object,"function"==typeof(x="undefined"!=typeof r.h&&r.h)&&x||Object])],t);var e,c,u,p,d,f,m,g,v,x}()},function(t,e,n){"use strict";var i=n(0),r=n(15),s=n(45),o=(n.n(s),n(38)),a=n(82),_=n(83),l=n(31),h=n(63),c=n(89);n.d(e,"a",function(){return d});var u=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},p=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},d=function(){function t(t,e,n,i,r,s,o,a,_,l){this.deviceManagerService=t,this.viewCtrl=e,this.params=n,this.popoverCtrl=i,this.toastService=r,this.exportService=s,this.alertCtrl=o,this.loadingService=a,this.settingsService=_,this.elementRef=l,this.storageLocations=[],this.showFolder={},this.files={},this.assumedTransferRate=1e5,this.maxFileSize=1e7,this.stopReason=0,this.stopReasonArray=["Log Completed Normally","Log Forced","Log Error","Log Overflow","Log Unknown Error"],this.showTheAlmightyJasper=!1,this.jasperCoords={x:0,y:0},this.jasperTop="80px",this.jasperLeft="80px",this.hideExportButton=!1,this.unitFormatPipe=new h.a,this.activeDevice=this.deviceManagerService.devices[this.deviceManagerService.activeDeviceIndex],this.hideExportButton=this.params.get("hideExportButton")||this.hideExportButton,this.init()}return t.prototype.init=function(){var t=this;this.getStorageLocations().then(function(e){console.log(e),t.storageLocations=e.device[0].storageLocations;for(var n=0,i=t.storageLocations;n
File size: "+n.unitFormatPipe.transform(t,"B")+".

":"Transferring files larger than 10MB is not supported.

File size: "+n.unitFormatPipe.transform(t,"B")+".

",l="https://reference.digilentinc.com/reference/software/waveforms-live/faq#faq",h=tMore info';"local"===e&&(h+='
Get dlog-utils'),n.alertWrapper("Warning",h,o)})},t.prototype.checkFileAndConfirm=function(t,e){var n=this;return new Promise(function(i,r){n.getFileSize(t,e).then(function(t){return console.log(t),t.file[0].actualFileSize>=1e6?n.displayBigFileWarning(t.file[0].actualFileSize,"remote"):Promise.resolve()}).catch(function(t){r("cancel")}).then(function(t){i()}).catch(function(t){r("cancel")})})},t.prototype.getFiles=function(t){var e=this;void 0==this.showFolder[t].files&&this.listFiles(t).then(function(n){console.log(n),e.showFolder[t].files=n.file[0].files,"flash"===t&&(e.showFolder[t].files=e.showFolder[t].files.filter(function(t){return t.indexOf(e.settingsService.profileToken)!==-1}))}).catch(function(t){console.log(t),e.toastService.createToast("fileReadErr",!0,void 0,5e3)})},t.prototype.toggleFolder=function(t){this.showFolder[t].show=!this.showFolder[t].show,this.showFolder[t].show&&this.getFiles(t)},t.prototype.openFileInput=function(){document.getElementById("fileBrowserSelect").click()},t.prototype.fileChange=function(t){var e=this;if(0!==t.target.files.length){var n=t.target.files[0].name,i=t.target.files[0].size;if(i>=this.maxFileSize)return void this.displayBigFileWarning(i,"local").catch(function(t){});var r=new FileReader;r.onerror=function(t){console.log("error"),console.log(t)},r.onload=function(t){console.log(t);var r=t.target.result;e.verifyLocalLogFile(r,i,n)},console.log(t.target.files[0]),r.readAsArrayBuffer(t.target.files[0])}},t.prototype.selectFile=function(t,e,n){var i=this,r=["Download","Delete"],s=e.split(".");"dlog"===s[s.length-1]&&(r.unshift("Download As CSV"),r[1]+=" As Binary");var o=this.popoverCtrl.create(c.a,{dataArray:r});o.onWillDismiss(function(t){console.log(t),null!=t&&("Delete"===t.option?i.deleteFile(n,e).then(function(t){console.log(t)}).catch(function(t){console.log(t)}):"Download"===t.option||"Download As Binary"===t.option?i.downloadFile(n,e):"Download As CSV"===t.option&&i.convertRemoteFileToCsv(n,e))}),o.present({ev:t})},t.prototype.close=function(){this.viewCtrl.dismiss()},t.prototype.verifyLocalLogFile=function(t,e,n){if(this.isValidHeader(t)){var i=t.slice(512),r=new Int16Array(i);this.exportBinaryDataAsCsv(r,n)}else this.toastService.createToast("logInvalidFileType",!0,void 0,5e3)},t.prototype.exportBinaryDataAsCsv=function(t,e){for(var n={data:[],yaxis:1,lines:{show:!0},points:{show:!1}},i=0;i=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},m=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},g=function(){function t(t,e,n,i,r,s,o,a,_){var l=this;this.loadingCtrl=a,this.modalCtrl=_,this.controlsVisible=!1,this.botVisible=!1,this.sideVisible=!1,this.running=!1,this.triggerStatus="Idle",this.tutorialMode=!1,this.tutorialStage=0,this.chartReady=!1,this.readAttemptCount=0,this.errorCount=0,this.previousOscSettings=[],this.previousTrigSettings={instrument:null,channel:null,type:null,lowerThreshold:null,upperThreshold:null,bitmask:null},this.previousLaSettings=[],this.readingOsc=!1,this.readingLa=!1,this.forceTriggerInterval=100,this.currentSamplingFrequencies=[],this.toastService=n,this.tooltipService=i,this.app=r,this.params=s,this.tutorialMode=this.params.get("tutorialMode")||!1,this.platform=o,this.deviceManagerService=t,this.activeDevice=this.deviceManagerService.getActiveDevice(),this.storage=e;var h;this.getOscStatus().then(function(){return l.getAwgStatus()}).then(function(t){return h=t,l.getTriggerStatus()}).then(function(){return l.readCurrentGpioStates()}).then(function(){return"OpenScope MZ"===l.activeDevice.deviceModel&&"running"===h.awg[1][0].state?Promise.resolve():l.applyLaBitmask()}).then(function(){return l.getVoltages()}).catch(function(t){console.log(t)});for(var c=0;c0?t.activeDevice.instruments.gpio.setParameters(r,s).subscribe(function(t){console.log(t),e(t)},function(t){console.log(t),n(t)},function(){}):e(i)}else n(i)},function(){})})},t.prototype.setGpioToInputs=function(t){var e=this;return new Promise(function(n,i){for(var r=[],s=[],o=0;othis.activeDevice.instruments.osc.chans[u].adcVpp/1e3&&dthis.activeDevice.instruments.osc.chans[u].gains.length-1&&d--;var f=this.chart1.calculateDataFromWindow();this.yaxisComponent.lockedSampleState[u].sampleFreqLocked||(f.sampleFreq=this.yaxisComponent.lockedSampleState[u].manualSampleFreq),this.yaxisComponent.lockedSampleState[u].sampleSizeLocked||(f.bufferSize=this.yaxisComponent.lockedSampleState[u].manualSampleSize);var m=this.chart1.voltBase[u],g=this.activeDevice.instruments.osc.chans[u].adcVpp/(2e3*this.activeDevice.instruments.osc.chans[u].gains[d]);if(m=Math.max(Math.min(m,g),-1*g),void 0!=this.previousOscSettings[u]&&this.previousOscSettings[u].offset===m&&this.previousOscSettings[u].gain===this.activeDevice.instruments.osc.chans[u].gains[d]&&this.previousOscSettings[u].sampleFreqMax===f.sampleFreq&&this.previousOscSettings[u].bufferSizeMax===f.bufferSize&&this.previousOscSettings[u].delay===h&&this.previousOscSettings[u].active===this.chart1.oscopeChansActive[u]||(s=!0,r=!0,this.currentSamplingFrequencies[u]=f.sampleFreq),this.chart1.oscopeChansActive[u]){var v=1e3*(f.bufferSize/f.sampleFreq);v>this.theoreticalAcqTime&&(this.theoreticalAcqTime=v),c[0].push(u+1),c[1].push(m),c[2].push(this.activeDevice.instruments.osc.chans[u].gains[d]),c[3].push(f.sampleFreq),c[4].push(f.bufferSize),c[5].push(h)}n[u]={offset:m,gain:this.activeDevice.instruments.osc.chans[u].gains[d],sampleFreqMax:f.sampleFreq,bufferSizeMax:f.bufferSize,delay:h,active:this.chart1.oscopeChansActive[u]}}for(var x=[[],[],[],[],[]],y=this.calculateBitmask(),u=0;u0&&(w.osc=c[0],this.readingOsc=!0),x[0].length>0&&(w.la=x[0],this.readingLa=!0),(s||t)&&c[0].length>0&&(b.osc={},b.osc.setParameters=[c[0],c[1],c[2],c[3],c[4],c[5]]),(o||t)&&x[0].length>0&&(b.la={},b.la.setParameters=[x[0],x[3],x[1],x[2],x[4]]),b.trigger={},r||t){var C=void 0;if("LA"===a[0]){var E=this.triggerComponent.getFallingBitmask(),T=this.triggerComponent.getRisingBitmask();C=0===E&&0===T?{instrument:"force"}:{instrument:"la",channel:1,risingEdge:T,fallingEdge:E}}else C="off"===this.triggerComponent.edgeDirection?{instrument:"force"}:{instrument:a[0].toLowerCase(),channel:parseInt(a[2]),type:_,lowerThreshold:l.lowerThreshold,upperThreshold:l.upperThreshold};b.trigger.setParameters=[[1],[C],[w]]}b.trigger.single=[[1]],console.log(b),this.activeDevice.multiCommand(b).subscribe(function(t){console.log(t)},function(t){console.log(t),e.running&&(e.running=!1,e.readingOsc=!1,e.readingLa=!1),void 0!=t.agent?e.toastService.createToast("agentNoActiveDevice"):t.command?2684354573===t.statusCode?e.toastService.createToast("deviceInstrumentInUse",!0,void 0,5e3):e.displayErrorFromCommand(t.command):e.toastService.createToast("deviceDroppedConnection",!0),e.abortSingle(!0)},function(){e.previousOscSettings=n,e.previousLaSettings=i,"local"!==e.activeDevice.transport.getType()?setTimeout(function(){e.readBuffers()},e.theoreticalAcqTime):e.readBuffers()}),this.previousTrigSettings={instrument:a[0],channel:parseInt(a[2]),type:this.triggerComponent.edgeDirection,lowerThreshold:l.lowerThreshold,upperThreshold:l.upperThreshold,bitmask:this.triggerComponent.bitmask}},t.prototype.displayErrorFromCommand=function(t){var e="genericSingleError";switch(t){case"setParameters":e="oscSetParamError"}this.toastService.createToast(e,!0)},t.prototype.readBuffers=function(){var t=this;console.log("READING OSCOPE"),this.readOscope(this.currentOscReadArray).then(function(){return console.log("READING LA"),t.readLa(t.currentLaReadArray)}).then(function(){console.log("CHECKING READ STATUS"),t.checkReadStatusAndDraw()}).catch(function(e){t.running=!1,t.readingOsc=!1,t.readingLa=!1,console.log(e)})},t.prototype.calculateBitmask=function(){for(var t=0,e=0;e1e3?1e3:100*e.readAttemptCount;setTimeout(function(){e.readLa(t).then(function(){n()}).catch(function(t){i(t)})},s)}},function(){})})},t.prototype.checkReadStatusAndDraw=function(){if(console.log("check read status and draw"),!this.readingOsc&&!this.readingLa){for(var t=[],e=0;e0&&(s=this.activeDevice.instruments.osc.dataBuffer[this.activeDevice.instruments.osc.dataBufferReadIndex]);for(var e=0;e0&&(o=this.activeDevice.instruments.la.dataBuffer[this.activeDevice.instruments.la.dataBufferReadIndex],r=r.concat(o)),this.chart1.setCurrentBuffer(r);var a=performance.now();this.chart1.flotDrawWaveform(!0,!1);var _=performance.now();console.log("decimate and draw: "+(_-a)),this.triggerStatus="Idle",this.running&&this.runClick()}},t.prototype.readOscope=function(t){var e=this;return new Promise(function(n,i){return t.length<1?(e.readingOsc=!1,void n()):void e.activeDevice.instruments.osc.read(t).subscribe(function(t){e.readingOsc=!1,e.readAttemptCount=0,n()},function(r){if("corrupt transfer"===r&&(e.errorCount%5===0&&e.displaySlowUSBMessage(),e.errorCount++),e.readingOsc){console.log("attempting read again"),e.readAttemptCount++;var s=100*e.readAttemptCount>1e3?1e3:100*e.readAttemptCount; setTimeout(function(){e.readOscope(t).then(function(){n()}).catch(function(t){i(t)})},s)}},function(){})})},t.prototype.createTempOscPrevSettings=function(){for(var t=[],e=0;et.theoreticalAcqTime&&(t.theoreticalAcqTime=h),o[t.currentOscReadArray[_]-1].sampleFreqMax=l.sampleFreq,o[t.currentOscReadArray[_]-1].bufferSizeMax=l.bufferSize}}for(var _=0;_=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},c=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},u=function(){function t(t,e,n,i,r,s,o){var a=this;this.commandUtilityService=o,this.knownDevicePrettyNames=["Other"],this.deviceFirmwareVersionDictionary={},this.firmwareNames=["Latest","Other"],this.selectedFileInfo={name:"",size:0},this.firmwareStatus="Select a default device or upload your own hex file.",this.updateComplete=!1,this.uploadStatusAttemptCount=0,this.maxUploadStatusAttempts=50,this.errorUpdatingFirmware=!1,this.deviceManagerService=s,this.storageService=t,this.settingsService=e,this.loadingCtrl=i,this.viewCtrl=r,this.params=n,console.log("load firmware constructor"),this.agentAddress=this.params.get("agentAddress"),console.log(this.agentAddress),this.deviceManagerService.transport.setHttpTransport(this.agentAddress),this.checkDevice().then(function(t){console.log(t)}).catch(function(t){console.log(t)});var _=function(t){l.deviceFirmwareVersionDictionary[l.settingsService.knownFirmwareUrls[t].prettyName]={listUrl:l.settingsService.knownFirmwareUrls[t].listUrl,devListUrl:l.settingsService.knownFirmwareUrls[t].devListUrl,devFirmwareUrl:l.settingsService.knownFirmwareUrls[t].devFirmwareUrl,firmwareUrl:l.settingsService.knownFirmwareUrls[t].firmwareUrl,latest:"Unable to load latest firmware version."},l.deviceManagerService.getLatestFirmwareVersionFromUrl(l.settingsService.knownFirmwareUrls[t].listUrl).then(function(e){a.knownDevicePrettyNames.unshift(a.settingsService.knownFirmwareUrls[t].prettyName),a.deviceFirmwareVersionDictionary[a.settingsService.knownFirmwareUrls[t].prettyName].latest=e}).catch(function(t){console.log(t)})},l=this;for(var h in this.settingsService.knownFirmwareUrls)_(h);this.selectedDevice=this.knownDevicePrettyNames[0],this.firmwareStatus="Select a known device or choose a hex file."}return t.prototype.cautionMessage=function(){return waveformsLiveDictionary.getMessage("firmwareCautionMessage").message},t.prototype.checkDevice=function(){var t=this;return new Promise(function(e,n){var i={device:[{command:"enumerate"}]};t.deviceManagerService.transport.writeRead("/",JSON.stringify(i),"json").subscribe(function(t){var n=JSON.parse(String.fromCharCode.apply(null,new Int8Array(t.slice(0)))),i=n.device[0];e(i)},function(t){n(t)})})},t.prototype.ionViewDidEnter=function(){var t=this,e=this.slider.getSlider();return void 0==e?void setTimeout(function(){t.ionViewDidEnter()},20):void e.lockSwipes()},t.prototype.openFileInput=function(){document.getElementById("firmwareFileSelect").click()},t.prototype.getFirmwareFromUrl=function(t){var e=this;return new Promise(function(n,i){e.deviceManagerService.transport.getRequest(t,3e4).subscribe(function(t){if(t.indexOf("Error")!==-1)return void i("Error getting file");for(var r=new ArrayBuffer(t.length),s=new Uint8Array(r),o=0;o0?void n(i):void e(i)},function(t){n(t)},function(){})})},t.prototype.generateOsjb=function(t){var e={agent:[{command:"saveToTempFile",fileName:"openscope-mz-firmware.hex"},{command:"uploadFirmware",firmwarePath:"openscope-mz-firmware.hex",enterBootloader:!1}]},n=this.commandUtilityService.createChunkedArrayBuffer(e,t);return n},t.prototype.arrayBufferToObject=function(t){var e;try{var n=String.fromCharCode.apply(null,new Int8Array(t.slice(0)));console.log(n),e=JSON.parse(n)}catch(t){return}return e},h([n.i(i.ViewChild)("loadFirmwareSlider"),c("design:type","function"==typeof(e="undefined"!=typeof r.j&&r.j)&&e||Object)],t.prototype,"slider",void 0),h([n.i(i.ViewChild)("digilentProgressBar"),c("design:type","function"==typeof(u="undefined"!=typeof s.a&&s.a)&&u||Object)],t.prototype,"progressBarComponent",void 0),t=h([n.i(i.Component)({templateUrl:"load-firmware.html"}),c("design:paramtypes",["function"==typeof(p="undefined"!=typeof o.a&&o.a)&&p||Object,"function"==typeof(d="undefined"!=typeof a.a&&a.a)&&d||Object,"function"==typeof(f="undefined"!=typeof r.f&&r.f)&&f||Object,"function"==typeof(m="undefined"!=typeof r.e&&r.e)&&m||Object,"function"==typeof(g="undefined"!=typeof r.i&&r.i)&&g||Object,"function"==typeof(v="undefined"!=typeof _.DeviceManagerService&&_.DeviceManagerService)&&v||Object,"function"==typeof(x="undefined"!=typeof l.a&&l.a)&&x||Object])],t);var e,u,p,d,f,m,g,v,x}()},function(t,e,n){"use strict";var i=n(0),r=n(15),s=n(167),o=n(59),a=n(31),_=n(45),l=(n.n(_),n(169)),h=n(66);n.d(e,"a",function(){return p});var c=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},u=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},p=function(){function t(t,e,n,i,r,s,o,a,_){var l=this;this.updateComplete=!1,this.deviceFirmwareVersion="",this.latestFirmwareVersion="Unable to load latest firmware version. This may be due to no internet connection or a firewall.",this.updateStatus="Ready",this.firmwareUpToDate=!1,this.availableFirmwareVersions=["None"],this.selectedFirmwareVersion="",this.hexFileStaged=!1,this.selectedFileInfo={name:"",size:0},this.uploadStatusAttemptCount=0,this.maxUploadStatusAttempts=50,this.errorUpdatingFirmware=!1,this.errorDevice=!1,this.listUrl="https://s3-us-west-2.amazonaws.com/digilent?prefix=Software/OpenScope+MZ/release/firmware/without-bootloader",this.firmwareRepositoryUrl="https://s3-us-west-2.amazonaws.com/digilent/Software/OpenScope+MZ/release/firmware/without-bootloader",this.deviceManagerService=a,this.commandUtilityService=r,this.utilityService=s,this.storageService=t,this.loadingCtrl=o,this.settingsService=e,this.viewCtrl=i,this.params=n,this.toastCtrl=_,this.agentAddress=this.params.get("agentAddress"),this.deviceObject=this.params.get("deviceObject"),console.log("update firmware constructor"),console.log(this.settingsService.useDevBuilds),this.settingsService.useDevBuilds&&(this.listUrl="https://s3-us-west-2.amazonaws.com/digilent?prefix=Software/OpenScope+MZ/development/firmware/without-bootloader",this.firmwareRepositoryUrl="https://s3-us-west-2.amazonaws.com/digilent/Software/OpenScope+MZ/development/firmware/without-bootloader"),this.deviceManagerService.transport.setHttpTransport(this.deviceObject.deviceBridgeAddress),this.checkDevice().then(function(t){l.deviceObject.deviceDescriptor=t;var e=l.utilityService.transformModelToPropKey(t.deviceModel),n=l.settingsService.knownFirmwareUrls[e],i=n.listUrl,r=n.firmwareUrl;l.listUrl=i,l.firmwareRepositoryUrl=r,l.getDeviceFirmware(),l.getFirmwareList()}).catch(function(t){console.log(t),l.toastCtrl.create({message:"Error connecting to the device",showCloseButton:!0,duration:3e3}).present(),l.viewCtrl.dismiss()})}return t.prototype.checkDevice=function(){var t=this;return new Promise(function(e,n){var i={device:[{command:"enumerate"}]};t.deviceManagerService.transport.writeRead("/",JSON.stringify(i),"json").subscribe(function(t){var n=JSON.parse(String.fromCharCode.apply(null,new Int8Array(t.slice(0)))),i=n.device[0];e(i)},function(t){n(t)})})},t.prototype.cautionMessage=function(){return waveformsLiveDictionary.getMessage("firmwareCautionMessage").message},t.prototype.getDeviceFirmware=function(){var t=this.deviceObject.deviceDescriptor.firmwareVersion,e=[t.major,t.minor,t.patch].join(".");this.deviceFirmwareVersion=e},t.prototype.getFirmwareList=function(){var t=this;this.deviceManagerService.getFirmwareVersionsFromUrl(this.listUrl).then(function(e){console.log(e),t.availableFirmwareVersions=e,t.getLatestFirmware(),t.availableFirmwareVersions.push("Other")}).catch(function(e){console.log(e),t.availableFirmwareVersions=["Other"],t.availableFirmwareVersionsChange("Other"),t.updateStatus="Unable to get firmware versions. Please upload a local hex file."})},t.prototype.getFirmwareFromUrl=function(t){var e=this;return new Promise(function(n,i){e.deviceManagerService.transport.getRequest(t,3e4).subscribe(function(t){if(console.log("got hex file"),t.indexOf("Error")!==-1)return void i("Error getting file");for(var r=new ArrayBuffer(t.length),s=new Uint8Array(r),o=0;o0||"idle"!==e.agent[0].status)&&t.uploadStatusAttemptCount0?void i(e):(console.log(e),void n(e))},function(t){console.log(t),i(t)},function(){})})},t.prototype.closeModal=function(){this.viewCtrl.dismiss()},t.prototype.postHexFile=function(){var t=this;return new Promise(function(e,n){t.deviceManagerService.transport.writeRead("/config",t.generateOsjb(t.arrayBufferFirmware),"binary").subscribe(function(i){t.arrayBufferToObject(i).then(function(t){e(t)}).catch(function(t){n(t)})},function(t){console.log(t),n(t)},function(){})})},t.prototype.generateOsjb=function(t){var e={agent:[{command:"saveToTempFile",fileName:"openscope-mz-firmware.hex"},{command:"uploadFirmware",firmwarePath:"openscope-mz-firmware.hex",enterBootloader:!0}]},n=this.commandUtilityService.createChunkedArrayBuffer(e,t);return console.log(n),n},t.prototype.arrayBufferToObject=function(t){return new Promise(function(e,n){var i;try{var r=String.fromCharCode.apply(null,new Int8Array(t.slice(0)));console.log(r),i=JSON.parse(r)}catch(t){return void n(i)}if(void 0==i.agent||i.agent[0].statusCode>0)return void n(i);for(var s=0;s0)return void n(i);e(i)})},c([n.i(i.ViewChild)("updateFirmwareSlider"),u("design:type","function"==typeof(e="undefined"!=typeof r.j&&r.j)&&e||Object)],t.prototype,"slider",void 0),c([n.i(i.ViewChild)("digilentProgressBar"),u("design:type","function"==typeof(p="undefined"!=typeof s.a&&s.a)&&p||Object)],t.prototype,"progressBarComponent",void 0),t=c([n.i(i.Component)({templateUrl:"update-firmware.html"}),u("design:paramtypes",["function"==typeof(d="undefined"!=typeof o.a&&o.a)&&d||Object,"function"==typeof(f="undefined"!=typeof a.a&&a.a)&&f||Object,"function"==typeof(m="undefined"!=typeof r.f&&r.f)&&m||Object,"function"==typeof(g="undefined"!=typeof r.i&&r.i)&&g||Object,"function"==typeof(v="undefined"!=typeof l.a&&l.a)&&v||Object,"function"==typeof(x="undefined"!=typeof h.a&&h.a)&&x||Object,"function"==typeof(y="undefined"!=typeof r.e&&r.e)&&y||Object,"function"==typeof(b="undefined"!=typeof _.DeviceManagerService&&_.DeviceManagerService)&&b||Object,"function"==typeof(w="undefined"!=typeof r.l&&r.l)&&w||Object])],t);var e,p,d,f,m,g,v,x,y,b,w}()},function(t,e,n){"use strict";var i=n(0),r=n(2),s=n(39),o=n(197),a=n(27),_=n(13);n.d(e,"a",function(){return l});var l=function(){function t(t,e,n,i,r,s){this._viewCtrl=t,this._config=e,this._elementRef=n,this._form=i,this.d=r.data,this.mode=e.get("mode"),s.setElementClass(n.nativeElement,"action-sheet-"+this.mode,!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&s.setElementClass(n.nativeElement,t,!0)}),this.id=++h,this.d.title&&(this.hdrId="acst-hdr-"+this.id),this.d.subTitle&&(this.descId="acst-subhdr-"+this.id)}return t.prototype.ionViewDidLoad=function(){var t=this,e=[];this.d.buttons.forEach(function(n){"string"==typeof n&&(n={text:n}),n.cssClass||(n.cssClass=""),"cancel"===n.role?t.d.cancelButton=n:("destructive"===n.role?n.cssClass=(n.cssClass+" "||"")+"action-sheet-destructive":"selected"===n.role&&(n.cssClass=(n.cssClass+" "||"")+"action-sheet-selected"),e.push(n))}),this.d.buttons=e},t.prototype.ionViewDidEnter=function(){this._form.focusOut();var t=this._elementRef.nativeElement.querySelector("button");t&&t.focus(),this.enabled=!0},t.prototype.keyUp=function(t){this.enabled&&this._viewCtrl.isLast()&&t.keyCode===o.a.ESCAPE&&this.bdClick()},t.prototype.click=function(t,e){var n=this;if(this.enabled){var i=!0;t.handler&&t.handler()===!1&&(i=!1),i&&setTimeout(function(){n.dismiss(t.role)},e||this._config.get("pageTransitionDelay"))}},t.prototype.bdClick=function(){this.enabled&&this.d.enableBackdropDismiss&&(this.d.cancelButton?this.click(this.d.cancelButton,1):this.dismiss("backdrop"))},t.prototype.dismiss=function(t){return this._viewCtrl.dismiss(null,t)},t.decorators=[{type:i.Component,args:[{selector:"ion-action-sheet",template:'
{{d.title}}
{{d.subTitle}}
',host:{role:"dialog","[attr.aria-labelledby]":"hdrId","[attr.aria-describedby]":"descId"},encapsulation:i.ViewEncapsulation.None}]}],t.ctorParameters=[{type:_.a},{type:r.c},{type:i.ElementRef},{type:s.a},{type:a.a},{type:i.Renderer}],t.propDecorators={keyUp:[{type:i.HostListener,args:["body:keyup",["$event"]]}]},t}(),h=-1},function(t,e,n){"use strict";var i=n(0),r=n(288),s=n(22),o=n(17),a=n(13);n.d(e,"b",function(){return l}),n.d(e,"a",function(){return h});var _=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=function(t){function e(e,i){i.buttons=i.buttons||[],i.enableBackdropDismiss=!n.i(o.a)(i.enableBackdropDismiss)||!!i.enableBackdropDismiss,t.call(this,r.a,i,null),this._app=e,this.isOverlay=!0}return _(e,t),e.prototype.getTransitionName=function(t){var e="actionSheet"+("back"===t?"Leave":"Enter");return this._nav&&this._nav.config.get(e)},e.prototype.setTitle=function(t){this.data.title=t; },e.prototype.setSubTitle=function(t){this.data.subTitle=t},e.prototype.addButton=function(t){this.data.buttons.push(t)},e.prototype.present=function(t){return void 0===t&&(t={}),this._app.present(this,t)},e}(a.a),h=function(){function t(t){this._app=t}return t.prototype.create=function(t){return void 0===t&&(t={}),new l(this._app,t)},t.decorators=[{type:i.Injectable}],t.ctorParameters=[{type:s.a}],t}()},function(t,e,n){"use strict";var i=n(0),r=n(2),s=n(17),o=n(197),a=n(27),_=n(13);n.d(e,"a",function(){return l});var l=function(){function t(t,e,n,i,r){this._viewCtrl=t,this._elementRef=e,this._config=n,this.d=i.data,this.mode=n.get("mode"),r.setElementClass(e.nativeElement,"alert-"+this.mode,!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&r.setElementClass(e.nativeElement,t,!0)}),this.id=++h,this.descId="",this.hdrId="alert-hdr-"+this.id,this.subHdrId="alert-subhdr-"+this.id,this.msgId="alert-msg-"+this.id,this.activeId="",this.lastClick=0,this.d.message?this.descId=this.msgId:this.d.subTitle&&(this.descId=this.subHdrId),this.d.message||(this.d.message="")}return t.prototype.ionViewDidLoad=function(){var t=this,e=this.d;e.buttons=e.buttons.map(function(t){return"string"==typeof t?{text:t}:t}),e.inputs=e.inputs.map(function(e,i){return{type:e.type||"text",name:n.i(s.a)(e.name)?e.name:i,placeholder:n.i(s.a)(e.placeholder)?e.placeholder:"",value:n.i(s.a)(e.value)?e.value:"",label:e.label,checked:!!e.checked,disabled:!!e.disabled,id:"alert-input-"+t.id+"-"+i}});var i=[];e.inputs.forEach(function(t){i.indexOf(t.type)<0&&i.push(t.type)}),i.length>1&&(i.indexOf("checkbox")>-1||i.indexOf("radio")>-1)&&console.warn("Alert cannot mix input types: "+i.join("/")+". Please see alert docs for more info."),this.inputType=i.length?i[0]:null;var r=this.d.inputs.find(function(t){return t.checked});r&&(this.activeId=r.id)},t.prototype.keyUp=function(t){if(this.enabled&&this._viewCtrl.isLast())if(t.keyCode===o.a.ENTER){if(this.lastClick+1e3

',host:{role:"dialog","[attr.aria-labelledby]":"hdrId","[attr.aria-describedby]":"descId"},encapsulation:i.ViewEncapsulation.None}]}],t.ctorParameters=[{type:_.a},{type:i.ElementRef},{type:r.c},{type:a.a},{type:i.Renderer}],t.propDecorators={keyUp:[{type:i.HostListener,args:["body:keyup",["$event"]]}]},t}(),h=-1},function(t,e,n){"use strict";var i=n(0),r=n(2),s=n(42),o=n(154),a=n(17),_=n(36);n.d(e,"b",function(){return h}),n.d(e,"c",function(){return c}),n.d(e,"a",function(){return u});var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},h=function(t){function e(e,n,i){t.call(this,e,n,i),this.setElementClass("fab",!0),this.mode=e.get("mode")}return l(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("fab",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("fab",t)},enumerable:!0,configurable:!0}),e.prototype.setActiveClose=function(t){this.setElementClass("fab-close-active",t)},e.decorators=[{type:i.Component,args:[{selector:"[ion-fab]",template:'
',changeDetection:i.ChangeDetectionStrategy.OnPush,encapsulation:i.ViewEncapsulation.None}]}],e.ctorParameters=[{type:r.c},{type:i.ElementRef},{type:i.Renderer}],e.propDecorators={color:[{type:i.Input}],mode:[{type:i.Input}]},e}(s.a),c=function(){function t(t,e){this._elementRef=t,this._renderer=e,this._visible=!1,this._fabs=[]}return Object.defineProperty(t.prototype,"_setbuttons",{set:function(t){for(var e=this._fabs=t.toArray(),n=0,i=e;n0&&this._mainButton&&t.target){var e=t.target.closest("ion-fab>button");return e&&e===this._mainButton.getNativeElement()}return!1},t.prototype.toggleList=function(){this.setActiveLists(!this._listsActive)},t.prototype.setActiveLists=function(t){if(t!==this._listsActive){for(var e=this._fabLists.toArray(),n=0,i=e;n"}]}],t.ctorParameters=[{type:i.ElementRef}],t.propDecorators={_mainButton:[{type:i.ContentChild,args:[h]}],_fabLists:[{type:i.ContentChildren,args:[c]}]},t}()},function(t,e,n){"use strict";var i=n(0),r=n(109),s=n(22),o=n(2),a=n(46),_=n(39),l=n(875),h=n(17),c=n(44),u=n(293),p=n(71),d=n(23);n.d(e,"b",function(){return m}),n.d(e,"a",function(){return g});var f=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},m=function(t){function e(e,n,r,s,o,a,_,l,h,c){t.call(this,e,n,r,s,o,a,_,l,h,c),this._clearInput=!1,this.placeholder="",this.blur=new i.EventEmitter,this.focus=new i.EventEmitter,this.mode=e.get("mode")}return f(e,t),Object.defineProperty(e.prototype,"clearInput",{get:function(){return this._clearInput},set:function(t){this._clearInput=n.i(h.k)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){t.prototype.setValue.call(this,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(e){t.prototype.setType.call(this,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(e){t.prototype.setDisabled.call(this,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("input",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_nativeInput",{set:function(e){t.prototype.setNativeInput.call(this,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_nextInput",{set:function(e){t.prototype.setNextInput.call(this,e)},enumerable:!0,configurable:!0}),e.prototype.inputBlurred=function(t){this.blur.emit(t)},e.prototype.inputFocused=function(t){this.focus.emit(t)},e.prototype.ngOnInit=function(){this._item&&(this._item.setElementClass("item-input",!0),this._item.registerInput(this._type))},e.prototype.ngAfterContentChecked=function(){this.setItemInputControlCss()},e.prototype.ngOnDestroy=function(){this._form.deregister(this)},e.prototype.clearTextInput=function(){this._value="",this.onChange(this._value),this.writeValue(this._value)},e.decorators=[{type:i.Component,args:[{selector:"ion-input",template:'
',encapsulation:i.ViewEncapsulation.None}]}],e.ctorParameters=[{type:o.c},{type:_.a},{type:c.a,decorators:[{type:i.Optional}]},{type:s.a},{type:d.f},{type:i.ElementRef},{type:i.Renderer},{type:a.a,decorators:[{type:i.Optional}]},{type:p.a,decorators:[{type:i.Optional}]},{type:r.b,decorators:[{type:i.Optional}]}],e.propDecorators={placeholder:[{type:i.Input}],clearInput:[{type:i.Input}],value:[{type:i.Input}],type:[{type:i.Input}],disabled:[{type:i.Input}],mode:[{type:i.Input}],_nativeInput:[{type:i.ViewChild,args:[u.a]}],_nextInput:[{type:i.ViewChild,args:[u.b]}],blur:[{type:i.Output}],focus:[{type:i.Output}]},e}(l.a),g=function(t){function e(e,n,r,s,o,a,_,l,h,c){t.call(this,e,n,r,s,o,a,_,l,h,c),this.placeholder="",this.blur=new i.EventEmitter,this.focus=new i.EventEmitter,this.mode=e.get("mode")}return f(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){t.prototype.setValue.call(this,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(e){t.prototype.setType.call(this,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(e){t.prototype.setDisabled.call(this,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("input",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_nativeInput",{set:function(e){t.prototype.setNativeInput.call(this,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_nextInput",{set:function(e){t.prototype.setNextInput.call(this,e)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._item&&(this._item.setElementClass("item-textarea",!0),this._item.setElementClass("item-input",!0),this._item.registerInput(this._type))},e.prototype.ngAfterContentChecked=function(){this.setItemInputControlCss()},e.prototype.ngOnDestroy=function(){this._form.deregister(this)},e.prototype.inputBlurred=function(t){this.blur.emit(t)},e.prototype.inputFocused=function(t){this.focus.emit(t)},e.decorators=[{type:i.Component,args:[{selector:"ion-textarea",template:'
',encapsulation:i.ViewEncapsulation.None}]}],e.ctorParameters=[{type:o.c},{type:_.a},{type:c.a,decorators:[{type:i.Optional}]},{type:s.a},{type:d.f},{type:i.ElementRef},{type:i.Renderer},{type:a.a,decorators:[{type:i.Optional}]},{type:p.a,decorators:[{type:i.Optional}]},{type:r.b,decorators:[{type:i.Optional}]}],e.propDecorators={placeholder:[{type:i.Input}],value:[{type:i.Input}],type:[{type:i.Input}],disabled:[{type:i.Input}],mode:[{type:i.Input}],_nativeInput:[{type:i.ViewChild,args:[u.a]}],_nextInput:[{type:i.ViewChild,args:[u.b]}],blur:[{type:i.Output}],focus:[{type:i.Output}]},e}(l.a)},function(t,e,n){"use strict";function i(t,e){var n=t.cloneNode(!0);return n.classList.add("cloned-input"),n.classList.add(e),n.setAttribute("aria-hidden",!0),n.removeAttribute("aria-labelledby"),n.tabIndex=-1,n.style.width=t.offsetWidth+10+"px",n.style.height=t.offsetHeight+"px",n.value=t.value,n}function r(t,e){var n=t.parentElement.querySelector("."+e);n&&n.parentNode.removeChild(n)}var s=n(0),o=n(109),a=n(2),_=n(36);n.d(e,"a",function(){return l}),n.d(e,"b",function(){return h});var l=function(){function t(t,e,n,i){this._elementRef=t,this._renderer=e,this.ngControl=i,this.focusChange=new s.EventEmitter,this.valueChange=new s.EventEmitter,this._clone=n.getBoolean("inputCloning",!1),this._blurring=n.getBoolean("inputBlurring",!1)}return t.prototype._change=function(t){this.valueChange.emit(t.target.value)},t.prototype._focus=function(){function t(t){var n=t.target;n&&e.element()&&("INPUT"===n.tagName||"TEXTAREA"===n.tagName||n.classList.contains("input-cover")||e.element().blur())}var e=this;e.focusChange.emit(!0),e._blurring&&(document.addEventListener("touchend",t,!0),e._unrefBlur=function(){document.removeEventListener("touchend",t,!0)})},t.prototype._blur=function(){this.focusChange.emit(!1),this.hideFocus(!1),this._unrefBlur&&this._unrefBlur(),this._unrefBlur=null},t.prototype.labelledBy=function(t){this._renderer.setElementAttribute(this._elementRef.nativeElement,"aria-labelledby",t)},t.prototype.isDisabled=function(t){this._renderer.setElementAttribute(this._elementRef.nativeElement,"disabled",t?"":null)},t.prototype.setFocus=function(){document.activeElement!==this.element()&&this.element().focus()},t.prototype.beginFocus=function(t,e){if(this._relocated!==t){var n=this.element();if(t){if(this._clone){var s=i(n,"cloned-focus");n.parentNode.insertBefore(s,n),n.style[_.k.transform]="translate3d(-9999px,"+e+"px,0)",n.style.opacity="0"}this.setFocus(),this._clone&&n.classList.add("cloned-active")}else this._clone&&(n.classList.remove("cloned-active"),n.style[_.k.transform]="",n.style.opacity="",r(n,"cloned-focus"));this._relocated=t}},t.prototype.hideFocus=function(t){var e=this.element();if(t){var n=i(e,"cloned-move");e.classList.add("cloned-active"),e.parentNode.insertBefore(n,e)}else e.classList.remove("cloned-active"),r(e,"cloned-move")},t.prototype.hasFocus=function(){return n.i(_.s)(this.element())},t.prototype.getValue=function(){return this.element().value},t.prototype.setElementClass=function(t,e){this._renderer.setElementClass(this._elementRef.nativeElement,t,e)},t.prototype.element=function(){return this._elementRef.nativeElement},t.prototype.ngOnDestroy=function(){this._unrefBlur&&this._unrefBlur()},t.decorators=[{type:s.Directive,args:[{selector:".text-input"}]}],t.ctorParameters=[{type:s.ElementRef},{type:s.Renderer},{type:a.c},{type:o.b}],t.propDecorators={focusChange:[{type:s.Output}],valueChange:[{type:s.Output}],_change:[{type:s.HostListener,args:["input",["$event"]]}],_focus:[{type:s.HostListener,args:["focus"]}],_blur:[{type:s.HostListener,args:["blur"]}]},t}(),h=function(){function t(){this.focused=new s.EventEmitter}return t.prototype.receivedFocus=function(){this.focused.emit(!0)},t.decorators=[{type:s.Directive,args:[{selector:"[next-input]"}]}],t.ctorParameters=[],t.propDecorators={focused:[{type:s.Output}],receivedFocus:[{type:s.HostListener,args:["focus"]}]},t}()},function(t,e,n){"use strict";var i=n(0),r=n(2),s=n(17),o=n(27),a=n(13);n.d(e,"a",function(){return _});var _=function(){function t(t,e,n,i,r){this._viewCtrl=t,this._config=e,this._elementRef=n,this.d=i.data,r.setElementClass(n.nativeElement,"loading-"+e.get("mode"),!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&r.setElementClass(n.nativeElement,t,!0)}),this.id=++l}return t.prototype.ngOnInit=function(){n.i(s.p)(this.d.spinner)&&(this.d.spinner=this._config.get("loadingSpinner",this._config.get("spinner","ios"))),this.showSpinner=n.i(s.i)(this.d.spinner)&&"hide"!==this.d.spinner},t.prototype.ionViewDidEnter=function(){var t=this,e=document.activeElement;document.activeElement&&e.blur(),this.d&&this.d.duration&&(this.durationTimeout=setTimeout(function(){t.dismiss("backdrop")},this.d.duration))},t.prototype.dismiss=function(t){return this.durationTimeout&&clearTimeout(this.durationTimeout),this._viewCtrl.dismiss(null,t)},t.decorators=[{type:i.Component,args:[{selector:"ion-loading",template:'
',host:{role:"dialog"},encapsulation:i.ViewEncapsulation.None}]}],t.ctorParameters=[{type:a.a},{type:r.c},{type:i.ElementRef},{type:o.a},{type:i.Renderer}],t}(),l=-1},function(t,e,n){"use strict";var i=n(0),r=n(131),s=n(2),o=n(17),a=n(49),_=n(879),l=n(113),h=n(23),c=n(48),u=n(154),p=n(46);n.d(e,"a",function(){return d});var d=function(){function t(t,e,n,r,s,o,a,_){this._menuCtrl=t,this._elementRef=e,this._config=n,this._platform=r,this._renderer=s,this._keyboard=o,this._zone=a,this.gestureCtrl=_,this._isEnabled=!0,this._isSwipeEnabled=!0,this._isAnimating=!1,this._isPers=!1,this._init=!1,this._events=new u.a,this.isOpen=!1,this.ionDrag=new i.EventEmitter,this.ionOpen=new i.EventEmitter,this.ionClose=new i.EventEmitter}return Object.defineProperty(t.prototype,"enabled",{get:function(){return this._isEnabled},set:function(t){this._isEnabled=n.i(o.k)(t),this._setListeners()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"swipeEnabled",{get:function(){return this._isSwipeEnabled},set:function(t){this._isSwipeEnabled=n.i(o.k)(t),this._setListeners()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"persistent",{get:function(){return this._isPers},set:function(t){this._isPers=n.i(o.k)(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._init=!0;var e=this.content;if(this._cntEle=e instanceof Node?e:e&&e.getNativeElement&&e.getNativeElement(),!this._cntEle)return console.error('Menu: must have a [content] element to listen for drag events on. Example:\n\n\n\n');"left"!==this.side&&"right"!==this.side&&(this.side="left"),this.setElementAttribute("side",this.side),this.type||(this.type=this._config.get("menuType")),this.setElementAttribute("type",this.type),this._cntGesture=new _.a(this,document.body);var n=this._menuCtrl.getMenus().some(function(e){return e.side===t.side&&e.enabled});n&&(this._isEnabled=!1),this._setListeners(),this._cntEle.classList.add("menu-content"),this._cntEle.classList.add("menu-content-"+this.type),this._menuCtrl.register(this)},t.prototype.onBackdropClick=function(t){return t.preventDefault(),t.stopPropagation(),this._menuCtrl.close(),!1},t.prototype._setListeners=function(){this._init&&(this._isEnabled&&this._isSwipeEnabled&&!this._cntGesture.isListening?this._cntGesture.listen():!this._cntGesture.isListening||this._isEnabled&&this._isSwipeEnabled||this._cntGesture.unlisten())},t.prototype._getType=function(){return this._type||(this._type=l.a.create(this.type,this,this._platform),this._config.get("animate")===!1&&this._type.ani.duration(0)),this._type},t.prototype.setOpen=function(t,e){var n=this;return void 0===e&&(e=!0),t&&this.isOpen||!this._isEnabled||this._isAnimating?Promise.resolve(this.isOpen):(this._before(),new Promise(function(i){n._getType().setOpen(t,e,function(){n._after(t),i(n.isOpen)})}))},t.prototype.canSwipe=function(){return this._isEnabled&&this._isSwipeEnabled&&!this._isAnimating},t.prototype.swipeStart=function(){this.canSwipe()&&(this._before(),this._getType().setProgressStart(this.isOpen))},t.prototype.swipeProgress=function(t){this._isAnimating&&(this._getType().setProgessStep(t),this.ionDrag.emit(t))},t.prototype.swipeEnd=function(t,e,n){var i=this;if(this._isAnimating){var r=!this.isOpen,s=!1;s=r?"right"===this.side?t:e:"right"===this.side?e:t,this._getType().setProgressEnd(s,n,function(t){i._after(t)})}},t.prototype._before=function(){this.menuContent&&this.menuContent.resize(),this.setElementClass("show-menu",!0),this.backdrop.setElementClass("show-backdrop",!0),this._keyboard.close(),this._isAnimating=!0},t.prototype._after=function(t){if(this.isOpen=t,this._isAnimating=!1,this._events.unlistenAll(),t){this._cntEle.classList.add("menu-content-open");var e=this.onBackdropClick.bind(this);this._events.pointerEvents({element:this._cntEle,pointerDown:e}),this._events.pointerEvents({element:this.backdrop.getNativeElement(),pointerDown:e}),this.ionOpen.emit(!0)}else this._cntEle.classList.remove("menu-content-open"),this.setElementClass("show-menu",!1),this.backdrop.setElementClass("show-menu",!1),this.ionClose.emit(!0)},t.prototype.open=function(){return this.setOpen(!0)},t.prototype.close=function(){return this.setOpen(!1)},t.prototype.toggle=function(){return this.setOpen(!this.isOpen)},t.prototype.enable=function(t){var e=this;return this.enabled=t,!t&&this.isOpen&&this.close(),t&&this._menuCtrl.getMenus().filter(function(t){return t.side===e.side&&t!==e}).map(function(t){return t.enabled=!1}),this},t.prototype.swipeEnable=function(t){return this.swipeEnabled=t,this},t.prototype.getNativeElement=function(){return this._elementRef.nativeElement},t.prototype.getMenuElement=function(){return this.getNativeElement().querySelector(".menu-inner")},t.prototype.getContentElement=function(){return this._cntEle},t.prototype.getBackdropElement=function(){return this.backdrop.getNativeElement()},t.prototype.width=function(){return this.getMenuElement().offsetWidth},t.prototype.getMenuController=function(){return this._menuCtrl},t.prototype.setElementClass=function(t,e){this._renderer.setElementClass(this._elementRef.nativeElement,t,e)},t.prototype.setElementAttribute=function(t,e){this._renderer.setElementAttribute(this._elementRef.nativeElement,t,e)},t.prototype.ngOnDestroy=function(){this._menuCtrl.unregister(this),this._events.unlistenAll(),this._cntGesture&&this._cntGesture.destroy(),this._type&&this._type.destroy(),this._resizeUnreg&&this._resizeUnreg(),this._cntGesture=null,this._type=null,this._cntEle=null,this._resizeUnreg=null},t.decorators=[{type:i.Component,args:[{selector:"ion-menu",template:'',host:{role:"navigation"},changeDetection:i.ChangeDetectionStrategy.OnPush,encapsulation:i.ViewEncapsulation.None}]}],t.ctorParameters=[{type:l.a},{type:i.ElementRef},{type:s.c},{type:h.f},{type:i.Renderer},{type:a.a},{type:i.NgZone},{type:c.a}],t.propDecorators={backdrop:[{type:i.ViewChild,args:[r.a]}],menuContent:[{type:i.ContentChild,args:[p.a]}],content:[{type:i.Input}],id:[{type:i.Input}],side:[{type:i.Input}],type:[{type:i.Input}],enabled:[{type:i.Input}],swipeEnabled:[{type:i.Input}],persistent:[{type:i.Input}],maxEdgeStart:[{type:i.Input}],ionDrag:[{type:i.Output}],ionOpen:[{type:i.Output}],ionClose:[{type:i.Output}]},t}()},function(t,e,n){"use strict";var i=n(0),r=n(197),s=n(27),o=n(13);n.d(e,"a",function(){return a});var a=function(){function t(t,e,n,i){this._cfr=t,this._renderer=e,this._navParams=n,this._viewCtrl=i,this._bdDismiss=n.data.opts.enableBackdropDismiss}return t.prototype.ionViewWillLoad=function(){this._load(this._navParams.data.component)},t.prototype._load=function(t){if(t){var e=this._cfr.resolveComponentFactory(t),n=this._viewport.createComponent(e,this._viewport.length,this._viewport.parentInjector,[]);this._viewCtrl._setInstance(n.instance),this._setCssClass(n,"ion-page"),this._setCssClass(n,"show-page"),this._enabled=!0}},t.prototype._setCssClass=function(t,e){this._renderer.setElementClass(t.location.nativeElement,e,!0)},t.prototype._bdClick=function(){if(this._enabled&&this._bdDismiss)return this._viewCtrl.dismiss(null,"backdrop")},t.prototype._keyUp=function(t){this._enabled&&this._viewCtrl.isLast()&&t.keyCode===r.a.ESCAPE&&this._bdClick()},t.decorators=[{type:i.Component,args:[{selector:"ion-modal",template:''}]}],t.ctorParameters=[{type:i.ComponentFactoryResolver},{type:i.Renderer},{type:s.a},{type:o.a}],t.propDecorators={_viewport:[{type:i.ViewChild,args:["viewport",{read:i.ViewContainerRef}]}],_keyUp:[{type:i.HostListener,args:["body:keyup",["$event"]]}]},t}()},function(t,e,n){"use strict";var i=n(0),r=n(22),s=n(2),o=n(114),a=n(48),_=n(17),l=n(49),h=n(231),c=n(153),u=n(13);n.d(e,"a",function(){return d});var p=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},d=function(t){function e(e,n,i,r,s,o,a,_,l,h,c,u){t.call(this,n,i,r,s,o,a,_,l,h,c,u),this._hasInit=!1,e&&e._setContent(this),n?n.registerChildNav(this):e&&e.getNav()?(this.parent=e.getNav(),this.parent.registerChildNav(this)):i&&!i.getRootNav()&&i._setRootNav(this)}return p(e,t),Object.defineProperty(e.prototype,"_vp",{set:function(t){this.setViewport(t)},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){this._hasInit=!0;var t=this._linker.initNav(this);t&&t.component?this.setPages(this._linker.initViews(t),null,null):this._root&&this.push(this._root,this.rootParams,{isNavRoot:this._app.getRootNav()===this},null)},e.prototype.goToRoot=function(t){this.setRoot(this._root,this.rootParams,t,null)},Object.defineProperty(e.prototype,"root",{get:function(){return this._root},set:function(t){this._root=t,this._hasInit&&this.setRoot(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"swipeBackEnabled",{get:function(){return this._sbEnabled},set:function(t){this._sbEnabled=n.i(_.k)(t)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this.destroy()},e.decorators=[{type:i.Component,args:[{selector:"ion-nav",template:'
',encapsulation:i.ViewEncapsulation.None}]}],e.ctorParameters=[{type:u.a,decorators:[{type:i.Optional}]},{type:h.a,decorators:[{type:i.Optional}]},{type:r.a},{type:s.c},{type:l.a},{type:i.ElementRef},{type:i.NgZone},{type:i.Renderer},{type:i.ComponentFactoryResolver},{type:a.a},{type:c.a},{type:o.b,decorators:[{type:i.Optional}]}],e.propDecorators={_vp:[{type:i.ViewChild,args:["viewport",{read:i.ViewContainerRef}]}],root:[{type:i.Input}],rootParams:[{type:i.Input}],swipeBackEnabled:[{type:i.Input}]},e}(h.a)},function(t,e,n){"use strict";var i=n(0),r=n(22),s=n(2),o=n(114),a=n(48),_=n(49),l=n(231),h=n(153);n.d(e,"a",function(){return u});var c=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=function(t){function e(e,n,i,r,s,o,a,_,l,h,c){t.call(this,null,e,n,i,r,s,o,a,_,l,h),this._isPortal=!0,this._init=!0,this.setViewport(c),e.viewDidLeave.subscribe(this.dismissPageChangeViews.bind(this))}return c(e,t),e.decorators=[{type:i.Directive,args:[{selector:"[overlay-portal]"}]}],e.ctorParameters=[{type:r.a,decorators:[{type:i.Inject,args:[n.i(i.forwardRef)(function(){return r.a})]}]},{type:s.c},{type:_.a},{type:i.ElementRef},{type:i.NgZone},{type:i.Renderer},{type:i.ComponentFactoryResolver},{type:a.a},{type:h.a},{type:o.b,decorators:[{type:i.Optional}]},{type:i.ViewContainerRef}],e}(l.a)},function(t,e,n){"use strict";var i=n(0),r=n(22),s=n(17),o=n(229),a=n(13);n.d(e,"a",function(){return h});var _=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=function(t){function e(e,r){void 0===r&&(r={}),r.columns=r.columns||[],r.buttons=r.buttons||[],r.enableBackdropDismiss=!n.i(s.a)(r.enableBackdropDismiss)||!!r.enableBackdropDismiss,t.call(this,o.b,r,null),this._app=e,this.isOverlay=!0,this.ionChange=new i.EventEmitter}return _(e,t),e.prototype.getTransitionName=function(t){var e="back"===t?"pickerLeave":"pickerEnter";return this._nav&&this._nav.config.get(e)},e.prototype.addButton=function(t){this.data.buttons.push(t)},e.prototype.addColumn=function(t){this.data.columns.push(t)},e.prototype.getColumns=function(){return this.data.columns},e.prototype.refresh=function(){this._cmp&&this._cmp.instance.refresh&&this._cmp.instance.refresh()},e.prototype.setCssClass=function(t){this.data.cssClass=t},e.prototype.present=function(t){return void 0===t&&(t={}),this._app.present(this,t)},e.propDecorators={ionChange:[{type:i.Output}]},e}(a.a),h=function(){function t(t){this._app=t}return t.prototype.create=function(t){return void 0===t&&(t={}),new l(this._app,t)},t.decorators=[{type:i.Injectable}],t.ctorParameters=[{type:r.a}],t}()},function(t,e,n){"use strict";var i=n(0),r=n(2),s=n(197),o=n(27),a=n(13);n.d(e,"a",function(){return _}); var _=function(){function t(t,e,n,i,r,s){this._cfr=t,this._elementRef=e,this._renderer=n,this._config=i,this._navParams=r,this._viewCtrl=s,this.d=r.data.opts,n.setElementClass(e.nativeElement,"popover-"+i.get("mode"),!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&n.setElementClass(e.nativeElement,t,!0)}),this.id=++l}return t.prototype.ionViewWillLoad=function(){var t=document.activeElement;document.activeElement&&t.blur(),this._load(this._navParams.data.component)},t.prototype._load=function(t){if(t){var e=this._cfr.resolveComponentFactory(t),n=this._viewport.createComponent(e,this._viewport.length,this._viewport.parentInjector,[]);this._viewCtrl._setInstance(n.instance),this._enabled=!0}},t.prototype._setCssClass=function(t,e){this._renderer.setElementClass(t.location.nativeElement,e,!0)},t.prototype._bdClick=function(){if(this._enabled&&this.d.enableBackdropDismiss)return this._viewCtrl.dismiss(null,"backdrop")},t.prototype._keyUp=function(t){this._enabled&&t.keyCode===s.a.ESCAPE&&this._viewCtrl.isLast()&&this._bdClick()},t.decorators=[{type:i.Component,args:[{selector:"ion-popover",template:'
'}]}],t.ctorParameters=[{type:i.ComponentFactoryResolver},{type:i.ElementRef},{type:i.Renderer},{type:r.c},{type:o.a},{type:a.a}],t.propDecorators={_viewport:[{type:i.ViewChild,args:["viewport",{read:i.ViewContainerRef}]}],_keyUp:[{type:i.HostListener,args:["body:keyup",["$event"]]}]},t}(),l=-1},function(t,e,n){"use strict";var i=n(0),r=n(2),s=n(27),o=n(13);n.d(e,"a",function(){return a});var a=function(){function t(t,e,n,i,r){this._viewCtrl=t,this._config=e,this._elementRef=n,this.dismissTimeout=void 0,r.setElementClass(n.nativeElement,"toast-"+e.get("mode"),!0),this.d=i.data,this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&r.setElementClass(n.nativeElement,t,!0)}),this.id=++_,this.d.message&&(this.hdrId="toast-hdr-"+this.id)}return t.prototype.ngAfterViewInit=function(){var t=this;this.d.duration&&(this.dismissTimeout=setTimeout(function(){t.dismiss("backdrop")},this.d.duration)),this.enabled=!0},t.prototype.ionViewDidEnter=function(){var t=document.activeElement;t&&t.blur();var e=this._elementRef.nativeElement.querySelector("button");e&&e.focus()},t.prototype.cbClick=function(){this.enabled&&this.dismiss("close")},t.prototype.dismiss=function(t){return clearTimeout(this.dismissTimeout),this.dismissTimeout=void 0,this._viewCtrl.dismiss(null,t)},t.decorators=[{type:i.Component,args:[{selector:"ion-toast",template:'
{{d.message}}
',host:{role:"dialog","[attr.aria-labelledby]":"hdrId","[attr.aria-describedby]":"descId"}}]}],t.ctorParameters=[{type:o.a},{type:r.c},{type:i.ElementRef},{type:s.a},{type:i.Renderer}],t}(),_=-1},function(t,e,n){"use strict";var i=n(0),r=n(20),s=n(2),o=n(42),a=n(152),_=n(122);n.d(e,"a",function(){return h});var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},h=function(t){function e(e,n,i,r,s){t.call(this,e,n,i),this._setMode("bar-buttons",e.get("mode")),this.inToolbar=!(!r&&!s)}return l(e,t),Object.defineProperty(e.prototype,"_buttons",{set:function(t){this.inToolbar&&t.forEach(function(t){t.setRole("bar-button")})},enumerable:!0,configurable:!0}),e.decorators=[{type:i.Directive,args:[{selector:"ion-buttons,[menuToggle]"}]}],e.ctorParameters=[{type:s.c},{type:i.ElementRef},{type:i.Renderer},{type:_.c,decorators:[{type:i.Optional}]},{type:a.a,decorators:[{type:i.Optional},{type:i.Inject,args:[n.i(i.forwardRef)(function(){return a.a})]}]}],e.propDecorators={_buttons:[{type:i.ContentChildren,args:[r.a]}]},e}(o.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(){this._transMap={},this._language={}}return t.prototype.translations=function(t,e){this._transMap[t]=e},t.prototype.setLanguage=function(t){this._language=t,console.warn("Translate provider and TranslatePipe has been deprecated and will be removed in the next version. Please use NG2-Translate instead: http://ionicframework.com/docs/v2/resources/ng2-translate/")},t.prototype.getTranslations=function(t){return this._transMap[t]},t.prototype.translate=function(t,e){if(!e&&!this._language)return t;var n=e||this._language,i=this.getTranslations(n);return i?this._getTranslation(i,t):(console.warn("I18N: No translation for key",t,"using language",n),"")},t.prototype._getTranslation=function(t,e){return t&&t[e]||""},t}()},function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(){return r=Object.assign||function(t){for(var e=1;e'+a(this.fn)+'('+e.join(',')+')'};var x=d.prototype.toTex;return d.prototype.toTex=function(t){var e;return t&&"object"===i(t.handler)&&_(t.handler,this.name)&&(e=t.handler[this.name](this,t)),"undefined"!=typeof e?e:x.call(this,t)},d.prototype._toTex=function(t){var e,n=this.args.map(function(e){return e.toTex(t)});!p[this.name]||"function"!=typeof p[this.name].toTex&&"object"!==i(p[this.name].toTex)&&"string"!=typeof p[this.name].toTex||(e=p[this.name].toTex);var r;switch(i(e)){case"function":r=e(this,t);break;case"string":r=f(e,this,t);break;case"object":switch(i(e[n.length])){case"function":r=e[n.length](this,t);break;case"string":r=f(e[n.length],this,t)}}return"undefined"!=typeof r?r:f(o.defaultTemplate,this,t)},d.prototype.getIdentifier=function(){return this.type+":"+this.name},d}var o=n(26),a=n(64).escape,_=n(32).hasOwnProperty,l=n(16).map,h=n(78).validateSafeMethod,c=n(78).getSafeProperty;e.name="FunctionNode",e.path="expression.node",e.math=!0,e.factory=s},function(t,e,n){"use strict";function i(t,e,i,r){function s(e){if(!(this instanceof s))throw new SyntaxError("Constructor must be called with the new operator");if(!t.isNode(e))throw new TypeError('Node expected for parameter "content"');this.content=e}var o=i(n(84));return s.prototype=new o,s.prototype.type="ParenthesisNode",s.prototype.isParenthesisNode=!0,s.prototype._compile=function(t,e){return this.content._compile(t,e)},s.prototype.getContent=function(){return this.content.getContent()},s.prototype.forEach=function(t){t(this.content,"content",this)},s.prototype.map=function(t){var e=t(this.content,"content",this);return new s(e)},s.prototype.clone=function(){return new s(this.content)},s.prototype._toString=function(t){return!t||t&&!t.parenthesis||t&&"keep"===t.parenthesis?"("+this.content.toString(t)+")":this.content.toString(t)},s.prototype.toJSON=function(){return{mathjs:"ParenthesisNode",content:this.content}},s.fromJSON=function(t){return new s(t.content)},s.prototype.toHTML=function(t){return!t||t&&!t.parenthesis||t&&"keep"===t.parenthesis?'('+this.content.toHTML(t)+')':this.content.toHTML(t)},s.prototype._toTex=function(t){return!t||t&&!t.parenthesis||t&&"keep"===t.parenthesis?"\\left(".concat(this.content.toTex(t),"\\right)"):this.content.toTex(t)},s}e.name="ParenthesisNode",e.path="expression.node",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,o){var l=i(n(9)),h=i(n(72)),c=i(n(178)),u=i(n(93)),p=i(n(94)),d=i(n(40)),f=o("round",{number:function(t){return r(t,0)},"number, number":function(t,e){if(!s(e))throw new TypeError(_);if(e<0||e>15)throw new Error("Number of decimals in function round must be in te range of 0-15");return r(t,e)},Complex:function(t){return t.round()},"Complex, number":function(t,e){if(e%1)throw new TypeError(_);return t.round(e)},"Complex, BigNumber":function(t,e){if(!e.isInteger())throw new TypeError(_);var n=e.toNumber();return t.round(n)},"number, BigNumber":function(e,n){if(!n.isInteger())throw new TypeError(_);return new t.BigNumber(e).toDecimalPlaces(n.toNumber())},BigNumber:function(t){return t.toDecimalPlaces(0)},"BigNumber, BigNumber":function(t,e){if(!e.isInteger())throw new TypeError(_);return t.toDecimalPlaces(e.toNumber())},Fraction:function(t){return t.round()},"Fraction, number":function(t,e){if(e%1)throw new TypeError(_);return t.round(e)},"Array | Matrix":function(t){return a(t,f,!0)},"SparseMatrix, number | BigNumber":function(t,e){return u(t,e,f,!1)},"DenseMatrix, number | BigNumber":function(t,e){return d(t,e,f,!1)},"number | Complex | BigNumber, SparseMatrix":function(t,e){return h(t,0)?c(e.size(),e.storage()):p(e,t,f,!0)},"number | Complex | BigNumber, DenseMatrix":function(t,e){return h(t,0)?c(e.size(),e.storage()):d(e,t,f,!0)},"Array, number | BigNumber":function(t,e){return d(l(t),e,f,!1).valueOf()},"number | Complex | BigNumber, Array":function(t,e){return d(l(e),t,f,!0).valueOf()}});return f.toTex={1:"\\left\\lfloor${args[0]}\\right\\rceil",2:void 0},f}function r(t,e){return parseFloat(o(t,e))}var s=n(19).isInteger,o=n(19).toFixed,a=n(12),_="Number of decimals in function round must be an integer";e.name="round",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("conj",{number:function(t){return t},BigNumber:function(t){return t},Complex:function(t){return t.conjugate()},"Array | Matrix":function(t){return r(t,s)}});return s.toTex={1:"\\left(${args[0]}\\right)^*"},s}var r=n(12);e.name="conj",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,l){var h=i(n(9)),c=i(n(141)),u=l("concat",{"...Array | Matrix | number | BigNumber":function(e){var n,i,l=e.length,u=-1,p=!1,d=[];for(n=0;n0&&u>i)throw new a(u,i+1)}else{var m=s(f).valueOf(),g=o.size(m);if(d[n]=m,i=u,u=g.length-1,n>0&&u!==i)throw new _(i+1,u+1)}}if(0===d.length)throw new SyntaxError("At least one matrix expected");for(var v=d.shift();d.length;)v=r(v,d.shift(),u,0);return p?h(v):v},"...string":function(t){return t.join("")}});return u.toTex=void 0,u}function r(t,e,n,i){if(ix&&(x=d(m[i][v]),y=i),i++;if(0===x)throw Error("Cannot calculate inverse, determinant is zero");i=y,i!==v&&(a=m[v],m[v]=m[i],m[i]=a,a=g[v],g[v]=g[i],g[i]=a);var b=m[v],w=g[v];for(i=0;i0)for(;p(r,e);)i.push(r),r+=n;else if(n<0)for(;d(r,e);)i.push(r),r+=n;return i}function _(t,e,n){var i=[],r=t;if(n>0)for(;f(r,e);)i.push(r),r+=n;else if(n<0)for(;m(r,e);)i.push(r),r+=n;return i}function l(t,e,n){var i=[],r=t;if(n.gt(g))for(;p(r,e);)i.push(r),r=r.plus(n);else if(n.lt(g))for(;d(r,e);)i.push(r),r=r.plus(n);return i}function h(t,e,n){var i=[],r=t;if(n.gt(g))for(;f(r,e);)i.push(r),r=r.plus(n);else if(n.lt(g))for(;m(r,e);)i.push(r),r=r.plus(n);return i}function c(t){var e=t.split(":"),n=e.map(function(t){return Number(t)}),i=n.some(function(t){return isNaN(t)});if(i)return null;switch(n.length){case 2:return{start:n[0],end:n[1],step:1};case 3:return{start:n[0],end:n[2],step:n[1]};default:return null}}var u=i(n(9)),p=i(n(156)),d=i(n(140)),f=i(n(680)),m=i(n(407)),g=new t.BigNumber(0),v=new t.BigNumber(1),x=r("range",{string:o,"string, boolean":o,"number, number":function(t,e){return s(a(t,e,1))},"number, number, number":function(t,e,n){return s(a(t,e,n))},"number, number, boolean":function(t,e,n){return s(n?_(t,e,1):a(t,e,1))},"number, number, number, boolean":function(t,e,n,i){return s(i?_(t,e,n):a(t,e,n))},"BigNumber, BigNumber":function(t,e){return s(l(t,e,v))},"BigNumber, BigNumber, BigNumber":function(t,e,n){return s(l(t,e,n))},"BigNumber, BigNumber, boolean":function(t,e,n){return s(n?h(t,e,v):l(t,e,v))},"BigNumber, BigNumber, BigNumber, boolean":function(t,e,n,i){return s(i?h(t,e,n):l(t,e,n))}});return x.toTex=void 0,x}e.name="range",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,o){function a(t,e,n){for(var i,s=t._data,o=[],a=0;at)throw new TypeError("k must be less than or equal to n");return i=t-e,e0},BigNumber:function(t){return!t.isNeg()&&!t.isZero()&&!t.isNaN()},Fraction:function(t){return t.s>0&&t.n>0},Unit:function(t){return s(t.value)},"Array | Matrix":function(t){return r(t,s)}});return s}var r=n(12);e.name="isPositive",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,s){var o=i(n(72)),a=t.SparseMatrix,_=function(t,e,n){var i=t._values,_=t._index,l=t._ptr,h=t._size,c=t._datatype,u=e._values,p=e._index,d=e._ptr,f=e._size,m=e._datatype;if(h.length!==f.length)throw new r(h.length,f.length);if(h[0]!==f[0]||h[1]!==f[1])throw new RangeError("Dimension mismatch. Matrix A ("+h+") must match Matrix B ("+f+")");var g,v=h[0],x=h[1],y=o,b=0,w=n;"string"==typeof c&&c===m&&(g=c,y=s.find(o,[g,g]),b=s.convert(0,g),w=s.find(n,[g,g]));var C,E,T,A,I=i&&u?[]:void 0,S=[],O=[],k=new a({values:I,index:S,ptr:O,size:[v,x],datatype:g}),N=I?[]:void 0,P=I?[]:void 0,R=[],D=[];for(E=0;E=r.length)throw new a(e,r.length);return o(t)?t.create(i(t.valueOf(),e,n)):i(t,e,n)}},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n(57),s=n(79),o=function(t){function e(){t.apply(this,arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}return i(e,t),e.prototype._subscribe=function(e){return this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),s.Subscription.EMPTY):this.hasError?(e.error(this.thrownError),s.Subscription.EMPTY):t.prototype._subscribe.call(this,e)},e.prototype.next=function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)},e.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},e}(r.Subject);e.AsyncSubject=o},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n(57),s=n(716),o=n(424),a=function(t){function e(e,n,i){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY),t.call(this),this.scheduler=i,this._events=[],this._bufferSize=e<1?1:e,this._windowTime=n<1?1:n}return i(e,t),e.prototype.next=function(e){var n=this._getNow();this._events.push(new _(n,e)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(e){var n=this._trimBufferThenGetEvents(),i=this.scheduler;i&&e.add(e=new o.ObserveOnSubscriber(e,i));for(var r=n.length,s=0;se&&(s=Math.max(s,r-e)),s>0&&i.splice(0,s),i},e}(r.Subject);e.ReplaySubject=a;var _=function(){function t(t,e){this.time=t,this.value=e}return t}()},function(t,e,n){"use strict";function i(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),this.lift(new a(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(29),o=n(30);e.mergeAll=i;var a=function(){function t(t){this.concurrent=t}return t.prototype.call=function(t,e){return e._subscribe(new _(t,this.concurrent))},t}();e.MergeAllOperator=a;var _=function(t){function e(e,n){t.call(this,e),this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0}return r(e,t),e.prototype._next=function(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(s.OuterSubscriber);e.MergeAllSubscriber=_},function(t,e,n){"use strict";function i(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}var r=n(95);e.getSymbolObservable=i,e.$$observable=i(r.root)},function(t,e,n){"use strict";var i=n(95),r=i.root.Symbol;e.$$rxSubscriber="function"==typeof r&&"function"==typeof r.for?r.for("rxSubscriber"):"@@rxSubscriber"},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=function(t){function e(){var e=t.call(this,"argument out of range");this.name=e.name="ArgumentOutOfRangeError",this.stack=e.stack,this.message=e.message}return i(e,t),e}(Error);e.ArgumentOutOfRangeError=r},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=function(t){function e(){var e=t.call(this,"no elements in sequence");this.name=e.name="EmptyError",this.stack=e.stack,this.message=e.message}return i(e,t),e}(Error);e.EmptyError=r},function(t,e,n){"use strict";function i(t){return t instanceof Date&&!isNaN(+t)}e.isDate=i},function(t,e,n){"use strict";function i(t,e,n){var i=t.previousIndex;if(null===i)return i;var r=0;return n&&i"+n.i(s.a)(this.currentIndex)+"]"},t}(),h=function(){function t(){this._head=null,this._tail=null}return t.prototype.add=function(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)},t.prototype.get=function(t,e){var i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e1?t[1]:null,r=t.length>2?t[2]:null;return this.control(e,i,r)}return this.control(t)},t.decorators=[{type:i.Injectable}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";var i=n(0),r=n(181),s=n(1),o=(n.n(s),n(218)),a=n(148),_=n(102),l=n(219),h=n(265),c=n(185),u=n(349),p=n(263);n.d(e,"b",function(){return m}),n.d(e,"a",function(){return g});var d=/^\)\]\}',?\n/,f=function(){function t(t,e,i){var r=this;this.request=t,this.response=new s.Observable(function(s){var c=e.build();c.open(a.a[t.method].toUpperCase(),t.url),n.i(_.a)(t.withCredentials)&&(c.withCredentials=t.withCredentials);var p=function(){var t=n.i(_.a)(c.response)?c.response:c.responseText;n.i(_.b)(t)&&(t=t.replace(d,""));var e=l.a.fromResponseHeaderString(c.getAllResponseHeaders()),r=n.i(h.d)(c),a=1223===c.status?204:c.status;0===a&&(a=t?200:0);var p=c.statusText||"OK",f=new o.b({body:t,status:a,headers:e,statusText:p,url:r});n.i(_.a)(i)&&(f=i.merge(f));var m=new u.a(f);return m.ok=n.i(h.e)(a),m.ok?(s.next(m),void s.complete()):void s.error(m)},f=function(t){var e=new o.b({body:t,type:a.c.Error,status:c.status,statusText:c.statusText});n.i(_.a)(i)&&(e=i.merge(e)),s.error(new u.a(e))};if(r.setDetectedContentType(t,c),n.i(_.a)(t.headers)&&t.headers.forEach(function(t,e){return c.setRequestHeader(e,t.join(","))}),n.i(_.a)(t.responseType)&&n.i(_.a)(c.responseType))switch(t.responseType){case a.e.ArrayBuffer:c.responseType="arraybuffer";break;case a.e.Json:c.responseType="json";break;case a.e.Text:c.responseType="text";break;case a.e.Blob:c.responseType="blob";break;default:throw new Error("The selected responseType is not supported")}return c.addEventListener("load",p),c.addEventListener("error",f),c.send(r.request.getBody()),function(){c.removeEventListener("load",p),c.removeEventListener("error",f),c.abort()}})}return t.prototype.setDetectedContentType=function(t,e){if(!n.i(_.a)(t.headers)||!n.i(_.a)(t.headers.get("Content-Type")))switch(t.contentType){case a.b.NONE:break;case a.b.JSON:e.setRequestHeader("content-type","application/json");break;case a.b.FORM:e.setRequestHeader("content-type","application/x-www-form-urlencoded;charset=UTF-8");break;case a.b.TEXT:e.setRequestHeader("content-type","text/plain");break;case a.b.BLOB:var i=t.blob();i.type&&e.setRequestHeader("content-type",i.type)}},t}(),m=function(){function t(t,e){void 0===t&&(t="XSRF-TOKEN"),void 0===e&&(e="X-XSRF-TOKEN"),this._cookieName=t,this._headerName=e}return t.prototype.configureRequest=function(t){var e=r.e.getDOM().getCookie(this._cookieName);e&&!t.headers.has(this._headerName)&&t.headers.set(this._headerName,e)},t}(),g=function(){function t(t,e,n){this._browserXHR=t,this._baseResponseOptions=e,this._xsrfStrategy=n}return t.prototype.createConnection=function(t){return this._xsrfStrategy.configureRequest(t),new f(t,this._browserXHR,this._baseResponseOptions)},t.decorators=[{type:i.Injectable}],t.ctorParameters=[{type:p.a},{type:o.b},{type:c.a}],t}()},function(t,e,n){"use strict";function i(t,e){return t.createConnection(e).response}function r(t,e,i,r){var s=t;return n.i(o.a)(e)?s.merge(new a.b({method:e.method||i,url:e.url||r,search:e.search,headers:e.headers,body:e.body,withCredentials:e.withCredentials,responseType:e.responseType })):n.i(o.a)(i)?s.merge(new a.b({method:i,url:r})):s.merge(new a.b({url:r}))}var s=n(0),o=n(102),a=n(264),_=n(148),l=n(185),h=n(462);n.d(e,"a",function(){return u}),n.d(e,"b",function(){return p});var c=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=function(){function t(t,e){this._backend=t,this._defaultOptions=e}return t.prototype.request=function(t,e){var s;if(n.i(o.b)(t))s=i(this._backend,new h.a(r(this._defaultOptions,e,_.a.Get,t)));else{if(!(t instanceof h.a))throw new Error("First argument must be a url string or Request instance.");s=i(this._backend,t)}return s},t.prototype.get=function(t,e){return i(this._backend,new h.a(r(this._defaultOptions,e,_.a.Get,t)))},t.prototype.post=function(t,e,n){return i(this._backend,new h.a(r(this._defaultOptions.merge(new a.b({body:e})),n,_.a.Post,t)))},t.prototype.put=function(t,e,n){return i(this._backend,new h.a(r(this._defaultOptions.merge(new a.b({body:e})),n,_.a.Put,t)))},t.prototype.delete=function(t,e){return i(this._backend,new h.a(r(this._defaultOptions,e,_.a.Delete,t)))},t.prototype.patch=function(t,e,n){return i(this._backend,new h.a(r(this._defaultOptions.merge(new a.b({body:e})),n,_.a.Patch,t)))},t.prototype.head=function(t,e){return i(this._backend,new h.a(r(this._defaultOptions,e,_.a.Head,t)))},t.prototype.options=function(t,e){return i(this._backend,new h.a(r(this._defaultOptions,e,_.a.Options,t)))},t.decorators=[{type:s.Injectable}],t.ctorParameters=[{type:l.b},{type:a.b}],t}(),p=function(t){function e(e,n){t.call(this,e,n)}return c(e,t),e.prototype.request=function(t,e){var s;if(n.i(o.b)(t)&&(t=new h.a(r(this._defaultOptions,e,_.a.Get,t))),!(t instanceof h.a))throw new Error("First argument must be a url string or Request instance.");if(t.method!==_.a.Get)throw new Error("JSONP requests must use GET request method.");return s=i(this._backend,t)},e.decorators=[{type:s.Injectable}],e.ctorParameters=[{type:l.b},{type:a.b}],e}(u)},function(t,e,n){"use strict";var i=n(459);n.d(e,"a",function(){return s});var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=function(t){function e(e){t.call(this),this._body=e.body,this.status=e.status,this.ok=this.status>=200&&this.status<=299,this.statusText=e.statusText,this.headers=e.headers,this.type=e.type,this.url=e.url}return r(e,t),e.prototype.toString=function(){return"Response with status: "+this.status+" "+this.statusText+" for URL: "+this.url},e}(i.a)},function(t,e,n){"use strict";function i(){c.a.makeCurrent(),p.a.init()}function r(){return new _.ErrorHandler}function s(){return n.i(m.a)().defaultDoc()}function o(){return n.i(m.a)().supportsWebAnimation()?new h.a:l.a.NOOP}var a=n(207),_=n(0),l=n(267),h=n(772),c=n(463),u=n(464),p=n(465),d=n(351),f=n(268),m=n(74),g=n(269),v=n(220),x=n(352),y=n(166),b=n(270),w=n(353),C=n(271),E=n(272);n.d(e,"g",function(){return T}),n.d(e,"h",function(){return A}),n.d(e,"e",function(){return I}),e.f=i,e.d=r,e.a=s,e.b=o,n.d(e,"c",function(){return S});var T=[{provide:_.PLATFORM_INITIALIZER,useValue:i,multi:!0},{provide:a.a,useClass:u.a}],A=[{provide:_.Sanitizer,useExisting:E.b},{provide:E.b,useClass:E.a}],I=n.i(_.createPlatformFactory)(_.platformCore,"browser",T),S=function(){function t(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return t.decorators=[{type:_.NgModule,args:[{providers:[A,{provide:_.ErrorHandler,useFactory:r,deps:[]},{provide:v.a,useFactory:s,deps:[]},{provide:y.b,useClass:x.a,multi:!0},{provide:y.b,useClass:w.a,multi:!0},{provide:y.b,useClass:b.a,multi:!0},{provide:b.b,useClass:b.c},{provide:g.b,useClass:g.a},{provide:_.RootRenderer,useExisting:g.b},{provide:C.b,useExisting:C.a},{provide:l.a,useFactory:o},C.a,_.Testability,y.a,f.c,d.a],exports:[a.b,_.ApplicationModule]}]}],t.ctorParameters=[{type:t,decorators:[{type:_.Optional},{type:_.SkipSelf}]}],t}()},function(t,e,n){"use strict";var i=n(74);n.d(e,"a",function(){return r});var r=function(){function t(){}return t.prototype.getTitle=function(){return n.i(i.a)().getTitle()},t.prototype.setTitle=function(t){n.i(i.a)().setTitle(t)},t}()},function(t,e,n){"use strict";var i=n(0),r=n(74),s=n(166);n.d(e,"a",function(){return a});var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=function(t){function e(){t.apply(this,arguments)}return o(e,t),e.prototype.supports=function(t){return!0},e.prototype.addEventListener=function(t,e,i){var s=this.manager.getZone(),o=function(t){return s.runGuarded(function(){return i(t)})};return this.manager.getZone().runOutsideAngular(function(){return n.i(r.a)().onAndCancel(t,e,o)})},e.prototype.addGlobalEventListener=function(t,e,i){var s=n.i(r.a)().getGlobalEventTarget(t),o=this.manager.getZone(),a=function(t){return o.runGuarded(function(){return i(t)})};return this.manager.getZone().runOutsideAngular(function(){return n.i(r.a)().onAndCancel(s,e,a)})},e.decorators=[{type:i.Injectable}],e.ctorParameters=[],e}(s.c)},function(t,e,n){"use strict";var i=n(0),r=n(149),s=n(97),o=n(74),a=n(166);n.d(e,"a",function(){return c});var _=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=["alt","control","meta","shift"],h={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},c=function(t){function e(){t.call(this)}return _(e,t),e.prototype.supports=function(t){return n.i(s.c)(e.parseEventName(t))},e.prototype.addEventListener=function(t,i,s){var a=e.parseEventName(i),_=e.eventCallback(t,r.a.get(a,"fullKey"),s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return n.i(o.a)().onAndCancel(t,r.a.get(a,"domEventName"),_)})},e.parseEventName=function(t){var n=t.toLowerCase().split("."),i=n.shift();if(0===n.length||!s.d.equals(i,"keydown")&&!s.d.equals(i,"keyup"))return null;var o=e._normalizeKey(n.pop()),a="";if(l.forEach(function(t){r.b.contains(n,t)&&(r.b.remove(n,t),a+=t+".")}),a+=o,0!=n.length||0===o.length)return null;var _=r.a.create();return r.a.set(_,"domEventName",i),r.a.set(_,"fullKey",a),_},e.getEventFullKey=function(t){var e="",i=n.i(o.a)().getEventKey(t);return i=i.toLowerCase(),s.d.equals(i," ")?i="space":s.d.equals(i,".")&&(i="dot"),l.forEach(function(n){if(n!=i){var s=r.a.get(h,n);s(t)&&(e+=n+".")}}),e+=i},e.eventCallback=function(t,n,i,r){return function(t){s.d.equals(e.getEventFullKey(t),n)&&r.runGuarded(function(){return i(t)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e.decorators=[{type:i.Injectable}],e.ctorParameters=[],e}(a.c)},function(t,e,n){"use strict";function i(t){return t=String(t),t.match(a)||t.match(_)?t:(n.i(s.isDevMode)()&&n.i(o.a)().log("WARNING: sanitizing unsafe URL value "+t+" (see http://g.co/ng/security#xss)"),"unsafe:"+t)}function r(t){return t=String(t),t.split(",").map(function(t){return i(t.trim())}).join(", ")}var s=n(0),o=n(74);e.a=i,e.b=r;var a=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,_=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i},function(t,e,n){"use strict";function i(t,e,n){return null===C&&(C=t.createRenderComponentType("",0,f.c.None,[],{})),new E(t,e,n)}function r(t,e,n){return null===A&&(A=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/node_modules/ionic-angular/components/spinner/spinner.d.ts class Spinner - inline template",0,f.c.None,T,{})),new I(t,e,n)}function s(t,e,n){return new S(t,e,n)}function o(t,e,n){return new O(t,e,n)}var a=n(10),_=n(6),l=n(194),h=n(11),c=n(5),u=n(4),p=n(2),d=n(14),f=n(8),m=n(7),g=n(55),v=n(21),x=n(37),y=n(243),b=n(52);e.a=r;var w=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},C=null,E=function(t){function e(n,i,r){t.call(this,e,C,c.a.HOST,n,i,r,u.b.CheckAlways)}return w(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-spinner",t,null),this._appEl_0=new _.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._Spinner_0_4=new l.a(this.parentInjector.get(p.c),new d.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Spinner_0_4,[],e),e.create(this._Spinner_0_4,this.projectableNodes,null),this._expr_0=u.n,this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===l.a&&0===e?this._Spinner_0_4:n},e.prototype.detectChangesInternal=function(t){0!==this.numberOfChecks||t||this._Spinner_0_4.ngOnInit(),this.detectContentChildrenChanges(t);var e=this._Spinner_0_4.paused;h.c(t,this._expr_0,e)&&(this.renderer.setElementClass(this._el_0,"spinner-paused",e),this._expr_0=e),this.detectViewChildrenChanges(t)},e}(a.a),T=(new m.a("ion-spinner",i,l.a),[]),A=null,I=function(t){function e(n,i,r){t.call(this,e,A,c.a.COMPONENT,n,i,r,u.b.CheckOnce)}return w(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._anchor_0=this.renderer.createTemplateAnchor(e,null),this._appEl_0=new _.a(0,null,this,this._anchor_0),this._TemplateRef_0_5=new v.a(this._appEl_0,s),this._NgFor_0_6=new g.a(this._appEl_0.vcRef,this._TemplateRef_0_5,this.parentInjector.get(x.a),this.ref),this._anchor_1=this.renderer.createTemplateAnchor(e,null),this._appEl_1=new _.a(1,null,this,this._anchor_1),this._TemplateRef_1_5=new v.a(this._appEl_1,o),this._NgFor_1_6=new g.a(this._appEl_1.vcRef,this._TemplateRef_1_5,this.parentInjector.get(x.a),this.ref),this._expr_0=u.n,this._expr_1=u.n,this.init([],[this._anchor_0,this._anchor_1],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===v.b&&0===e?this._TemplateRef_0_5:t===g.a&&0===e?this._NgFor_0_6:t===v.b&&1===e?this._TemplateRef_1_5:t===g.a&&1===e?this._NgFor_1_6:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.context._c;h.c(t,this._expr_0,n)&&(this._NgFor_0_6.ngForOf=n,null===e&&(e={}),e.ngForOf=new u.m(this._expr_0,n),this._expr_0=n),null!==e&&this._NgFor_0_6.ngOnChanges(e),t||this._NgFor_0_6.ngDoCheck(),e=null;var i=this.context._l;h.c(t,this._expr_1,i)&&(this._NgFor_1_6.ngForOf=i,null===e&&(e={}),e.ngForOf=new u.m(this._expr_1,i),this._expr_1=i),null!==e&&this._NgFor_1_6.ngOnChanges(e),t||this._NgFor_1_6.ngDoCheck(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(a.a),S=function(t){function e(n,i,r){t.call(this,e,A,c.a.EMBEDDED,n,i,r,u.b.CheckAlways)}return w(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,":svg:svg",null),this.renderer.setElementAttribute(this._el_0,"viewBox","0 0 64 64"),this._NgStyle_0_3=new y.a(this.parentInjector.get(b.a),new d.a(this._el_0),this.renderer),this._el_1=this.renderer.createElement(this._el_0,":svg:circle",null),this.renderer.setElementAttribute(this._el_1,"transform","translate(32,32)"),this._expr_0=u.n,this._expr_1=u.n,this.init([].concat([this._el_0]),[this._el_0,this._el_1],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===y.a&&0<=e&&e<=1?this._NgStyle_0_3:n},e.prototype.detectChangesInternal=function(t){var e=this.context.$implicit.style;h.c(t,this._expr_0,e)&&(this._NgStyle_0_3.ngStyle=e,this._expr_0=e),t||this._NgStyle_0_3.ngDoCheck(),this.detectContentChildrenChanges(t);var n=this.context.$implicit.r;h.c(t,this._expr_1,n)&&(this.renderer.setElementAttribute(this._el_1,"r",null==n?null:n.toString()),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(a.a),O=function(t){function e(n,i,r){t.call(this,e,A,c.a.EMBEDDED,n,i,r,u.b.CheckAlways)}return w(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,":svg:svg",null),this.renderer.setElementAttribute(this._el_0,"viewBox","0 0 64 64"),this._NgStyle_0_3=new y.a(this.parentInjector.get(b.a),new d.a(this._el_0),this.renderer),this._el_1=this.renderer.createElement(this._el_0,":svg:line",null),this.renderer.setElementAttribute(this._el_1,"transform","translate(32,32)"),this._expr_0=u.n,this._expr_1=u.n,this._expr_2=u.n,this.init([].concat([this._el_0]),[this._el_0,this._el_1],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===y.a&&0<=e&&e<=1?this._NgStyle_0_3:n},e.prototype.detectChangesInternal=function(t){var e=this.context.$implicit.style;h.c(t,this._expr_0,e)&&(this._NgStyle_0_3.ngStyle=e,this._expr_0=e),t||this._NgStyle_0_3.ngDoCheck(),this.detectContentChildrenChanges(t);var n=this.context.$implicit.y1;h.c(t,this._expr_1,n)&&(this.renderer.setElementAttribute(this._el_1,"y1",null==n?null:n.toString()),this._expr_1=n);var i=this.context.$implicit.y2;h.c(t,this._expr_2,i)&&(this.renderer.setElementAttribute(this._el_1,"y2",null==i?null:i.toString()),this._expr_2=i),this.detectViewChildrenChanges(t)},e}(a.a)},function(t,e,n){"use strict";var i=n(0),r=n(15),s=n(532),o=n(285),a=n(380),_=n(375),l=n(31),h=n(45);n.n(h);n.d(e,"a",function(){return p});var c=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},u=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},p=function(){function t(t,e,n,i){this.platform=t,this.menu=e,this.deviceManagerService=i,this.rootPage=_.a,this.isMobile=!1,this.initializeApp(),this.pages=[{title:"Device Manager",component:_.a},{title:"Settings",component:a.a}],this.settingsService=n,(this.platform.is("ios")||this.platform.is("android"))&&this.platform.is("mobileweb")&&(this.isMobile=!0),document.addEventListener("keydown",function(t){"KeyS"!==t.code&&83!==t.keyCode||!t.ctrlKey||t.preventDefault()})}return t.prototype.initializeApp=function(){this.platform.ready().then(function(){s.a.styleDefault(),s.b.hide()})},t.prototype.toFeedBack=function(){this.menu.close();var t=window.open("https://forum.digilentinc.com/forum/30-waveforms-live-and-openscope-feedback/","_blank");t.location},t.prototype.toReference=function(){this.menu.close();var t=window.open("https://reference.digilentinc.com/reference/software/waveforms-live/start","_blank");t.location},t.prototype.openPage=function(t){this.menu.close(),t.component===o.a||t.component===_.a?this.nav.setRoot(t.component):this.nav.push(t.component)},t.prototype.openAppStore=function(){this.platform.is("android")?window.location.href=this.settingsService.androidAppLink:this.platform.is("ios")&&(window.location.href=this.settingsService.iosAppLink)},c([n.i(i.ViewChild)(r.o),u("design:type","function"==typeof(e="undefined"!=typeof r.o&&r.o)&&e||Object)],t.prototype,"nav",void 0),t=c([n.i(i.Component)({templateUrl:"app.html"}),u("design:paramtypes",["function"==typeof(p="undefined"!=typeof r.c&&r.c)&&p||Object,"function"==typeof(d="undefined"!=typeof r.p&&r.p)&&d||Object,"function"==typeof(f="undefined"!=typeof l.a&&l.a)&&f||Object,"function"==typeof(m="undefined"!=typeof h.DeviceManagerService&&h.DeviceManagerService)&&m||Object])],t);var e,p,d,f,m}()},function(t,e,n){"use strict";var i=n(0),r=n(15);n.d(e,"a",function(){return a});var s=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},a=function(){function t(t,e,n){this.viewCtrl=t,this.params=e,this.events=n,this.selectedChannels=this.params.get("selectedChannels"),this.colorArray=this.params.get("colorArray")}return t.prototype.close=function(){this.viewCtrl.dismiss()},t.prototype.toggleChannel=function(t){this.selectedChannels[t]=!this.selectedChannels[t],this.events.publish("channels:selected",{channels:this.selectedChannels})},t=s([n.i(i.Component)({selector:"channel-select-popover",templateUrl:"channel-select-popover.html"}),o("design:paramtypes",["function"==typeof(e="undefined"!=typeof r.i&&r.i)&&e||Object,"function"==typeof(a="undefined"!=typeof r.f&&r.f)&&a||Object,"function"==typeof(_="undefined"!=typeof r.n&&r.n)&&_||Object])],t);var e,a,_}()},function(t,e,n){"use strict";var i=n(0);n.d(e,"a",function(){return o});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},o=function(){function t(t){this.elementRef=t,this.closeAnnotation=new i.EventEmitter,this.show=!0,this.topPix="80px",this.leftPix="80px",this.contents="",this.borderColor="white",this.startingCoords={x:0,y:0},console.log("chart annotation constructor")}return t.prototype.kill=function(t){t.stopPropagation(),this.closeAnnotation.emit()},t.prototype.setStyles=function(t,e,n){t&&(this.leftPix=t),e&&(this.topPix=e),n&&(this.borderColor=n)},t.prototype.onMousedown=function(t){var e=this;this.startingCoords.x=t.clientX,this.startingCoords.y=t.clientY,this.elementRef.nativeElement.onmousemove=this.elementRef.nativeElement.parentElement.firstElementChild.onmousemove=function(t){var n=e.startingCoords.x-t.clientX,i=e.startingCoords.y-t.clientY;e.topPix=parseInt(e.topPix)-i+"px",e.leftPix=parseInt(e.leftPix)-n+"px",e.startingCoords.x=t.clientX,e.startingCoords.y=t.clientY},this.elementRef.nativeElement.onmouseup=this.elementRef.nativeElement.parentElement.firstElementChild.onmouseup=function(t){e.elementRef.nativeElement.onmousemove=e.elementRef.nativeElement.parentElement.firstElementChild.onmousemove=null,e.elementRef.nativeElement.onmouseup=e.elementRef.nativeElement.parentElement.firstElementChild.onmouseup=null}},r([n.i(i.Output)(),s("design:type","function"==typeof(e="undefined"!=typeof i.EventEmitter&&i.EventEmitter)&&e||Object)],t.prototype,"closeAnnotation",void 0),t=r([n.i(i.Component)({templateUrl:"chart-annotation.html",selector:"chart-annotation"}),s("design:paramtypes",["function"==typeof(o="undefined"!=typeof i.ElementRef&&i.ElementRef)&&o||Object])],t);var e,o}()},function(t,e,n){"use strict";function i(t,e,n){return null===H&&(H=t.createRenderComponentType("",0,g.c.None,[],{})),new U(t,e,n)}function r(t,e,n){return null===W&&(W=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/components/dc-supply/dc-supply.html",0,g.c.None,G,{})),new Y(t,e,n)}function s(t,e,n){return new $(t,e,n)}function o(t,e,n){return new X(t,e,n)}var a=n(10),_=n(6),l=n(187),h=n(11),c=n(5),u=n(4),p=n(43),d=n(38),f=n(28),m=n(104),g=n(8),v=n(7),x=n(35),y=n(20),b=n(58),w=n(33),C=n(63),E=n(25),T=n(2),A=n(14),I=n(37),S=n(52),O=n(21),k=n(55),N=n(70),P=n(60),R=n(62),D=n(61),j=n(129),M=n(51),L=n(23),B=n(66),F=n(41),q=n(53);n.d(e,"a",function(){return z}),e.b=r;var V=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},H=null,U=function(t){function e(n,i,r){t.call(this,e,H,c.a.HOST,n,i,r,u.b.CheckAlways)}return V(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("dc-supply",t,null),this._appEl_0=new _.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._DcSupplyComponent_0_4=new l.a(this.parentInjector.get(p.DeviceManagerService),this.parentInjector.get(d.a),this.parentInjector.get(f.a),this.parentInjector.get(m.a)),this._appEl_0.initComponent(this._DcSupplyComponent_0_4,[],e),e.create(this._DcSupplyComponent_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===l.a&&0===e?this._DcSupplyComponent_0_4:n},e.prototype.detectChangesInternal=function(t){0!==this.numberOfChecks||t||this._DcSupplyComponent_0_4.ngOnInit(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._DcSupplyComponent_0_4.ngOnDestroy()},e}(a.a),z=new v.a("dc-supply",i,l.a),G=[],W=null,Y=function(t){function e(n,i,r){t.call(this,e,W,c.a.COMPONENT,n,i,r,u.b.CheckAlways)}return V(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","dc-container"),this._text_1=this.renderer.createText(this._el_0,"\n\t",null),this._el_2=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_2,"center",""),this.renderer.setElementAttribute(this._el_2,"class","header-bar-side"),this.renderer.setElementAttribute(this._el_2,"text-center",""),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-row",null),this._Row_4_3=new x.c,this._text_5=this.renderer.createText(this._el_4,"\n ",null),this._el_6=this.renderer.createElement(this._el_4,"ion-col",null),this.renderer.setElementAttribute(this._el_6,"center",""),this.renderer.setElementAttribute(this._el_6,"class","header-side-col"),this.renderer.setElementAttribute(this._el_6,"text-left",""),this._Col_6_3=new x.a,this._text_7=this.renderer.createText(this._el_6,"\n ",null),this._el_8=this.renderer.createElement(this._el_6,"button",null),this.renderer.setElementAttribute(this._el_8,"class","dropdown-image-button"),this.renderer.setElementAttribute(this._el_8,"clear",""),this.renderer.setElementAttribute(this._el_8,"ion-button",""),this._appEl_8=new _.a(8,6,this,this._el_8);var n=E.a(this.viewUtils,this.injector(8),this._appEl_8);this._Button_8_4=new y.a(null,"",this.parentInjector.get(T.c),new A.a(this._el_8),this.renderer),this._appEl_8.initComponent(this._Button_8_4,[],n),this._text_9=this.renderer.createText(null,"\n ",null),this._el_10=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_10,"class","custom-dropdown-img"),this.renderer.setElementAttribute(this._el_10,"src","assets/img/collapse-arrow-right.svg"),this._NgClass_10_3=new b.a(this.parentInjector.get(I.a),this.parentInjector.get(S.a),new A.a(this._el_10),this.renderer),this._text_11=this.renderer.createText(null,"\n ",null),n.create(this._Button_8_4,[[].concat([this._text_9,this._el_10,this._text_11])],null),this._text_12=this.renderer.createText(this._el_6,"\n ",null),this._text_13=this.renderer.createText(this._el_4,"\n ",null),this._el_14=this.renderer.createElement(this._el_4,"ion-col",null),this.renderer.setElementAttribute(this._el_14,"center",""),this.renderer.setElementAttribute(this._el_14,"text-center",""),this._Col_14_3=new x.a,this._text_15=this.renderer.createText(this._el_14,"\n ",null),this._el_16=this.renderer.createElement(this._el_14,"span",null),this.renderer.setElementAttribute(this._el_16,"class","header-bar-title instrument-header"),this._text_17=this.renderer.createText(this._el_16,"DC Power Supply",null),this._text_18=this.renderer.createText(this._el_14,"\n ",null),this._text_19=this.renderer.createText(this._el_4,"\n ",null),this._el_20=this.renderer.createElement(this._el_4,"ion-col",null),this.renderer.setElementAttribute(this._el_20,"center",""),this.renderer.setElementAttribute(this._el_20,"class","header-side-col"),this.renderer.setElementAttribute(this._el_20,"text-right",""),this._Col_20_3=new x.a,this._text_21=this.renderer.createText(this._el_20,"\n ",null),this._text_22=this.renderer.createText(this._el_4,"\n ",null),this._text_23=this.renderer.createText(this._el_2,"\n ",null),this._text_24=this.renderer.createText(this._el_0,"\n ",null),this._el_25=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_25,"class","dc-content-container"),this._text_26=this.renderer.createText(this._el_25,"\n ",null),this._anchor_27=this.renderer.createTemplateAnchor(this._el_25,null),this._appEl_27=new _.a(27,25,this,this._anchor_27),this._TemplateRef_27_5=new O.a(this._appEl_27,s),this._NgIf_27_6=new w.a(this._appEl_27.vcRef,this._TemplateRef_27_5),this._text_28=this.renderer.createText(this._el_25,"\n ",null),this._text_29=this.renderer.createText(this._el_0,"\n",null);var i=this.renderer.listen(this._el_8,"tap",this.eventHandler(this._handle_tap_8_0.bind(this)));return this._expr_1=u.n,this._expr_2=u.n,this._map_0=h.h(function(t){return{rotateOn:t}}),this._expr_3=u.n,this._expr_4=u.n,this._pipe_unitFormat_0=new C.a,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9,this._el_10,this._text_11,this._text_12,this._text_13,this._el_14,this._text_15,this._el_16,this._text_17,this._text_18,this._text_19,this._el_20,this._text_21,this._text_22,this._text_23,this._text_24,this._el_25,this._text_26,this._anchor_27,this._text_28,this._text_29],[i],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===b.a&&10===e?this._NgClass_10_3:t===y.a&&8<=e&&e<=11?this._Button_8_4:t===x.a&&6<=e&&e<=12?this._Col_6_3:t===x.a&&14<=e&&e<=18?this._Col_14_3:t===x.a&&20<=e&&e<=21?this._Col_20_3:t===x.c&&4<=e&&e<=22?this._Row_4_3:t===O.b&&27===e?this._TemplateRef_27_5:t===w.a&&27===e?this._NgIf_27_6:n},e.prototype.detectChangesInternal=function(t){var e=!0;e=!1;var n="";h.c(t,this._expr_1,n)&&(this._Button_8_4.clear=n,e=!0,this._expr_1=n),e&&this._appEl_8.componentView.markAsCheckOnce();var i="custom-dropdown-img";h.c(t,this._expr_2,i)&&(this._NgClass_10_3.klass=i,this._expr_2=i);var r=this._map_0(this.context.showDcSettings);h.c(t,this._expr_3,r)&&(this._NgClass_10_3.ngClass=r,this._expr_3=r),t||this._NgClass_10_3.ngDoCheck();var s=this.context.showDcSettings;h.c(t,this._expr_4,s)&&(this._NgIf_27_6.ngIf=s,this._expr_4=s),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_8_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_8_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.toggleDcSettings()!==!1;return e},e}(a.a),$=function(t){function e(n,i,r){t.call(this,e,W,c.a.EMBEDDED,n,i,r,u.b.CheckAlways)}return V(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._anchor_2=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_2=new _.a(2,0,this,this._anchor_2),this._TemplateRef_2_5=new O.a(this._appEl_2,o),this._NgFor_2_6=new k.a(this._appEl_2.vcRef,this._TemplateRef_2_5,this.parent.parentInjector.get(I.a),this.parent.ref),this._text_3=this.renderer.createText(this._el_0,"\n ",null),this._expr_0=u.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._anchor_2,this._text_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===O.b&&2===e?this._TemplateRef_2_5:t===k.a&&2===e?this._NgFor_2_6:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.context.voltageSupplies;h.c(t,this._expr_0,n)&&(this._NgFor_2_6.ngForOf=n,null===e&&(e={}),e.ngForOf=new u.m(this._expr_0,n),this._expr_0=n),null!==e&&this._NgFor_2_6.ngOnChanges(e),t||this._NgFor_2_6.ngDoCheck(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(a.a),X=function(t){function e(n,i,r){t.call(this,e,W,c.a.EMBEDDED,n,i,r,u.b.CheckAlways)}return V(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-row",null),this._Row_0_3=new x.c,this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_2,"center",""),this.renderer.setElementAttribute(this._el_2,"class","input-label"),this._Col_2_3=new x.a,this._text_3=this.renderer.createText(this._el_2,"",null),this._text_4=this.renderer.createText(this._el_0,"\n ",null),this._el_5=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_5,"class","input-col"),this._Col_5_3=new x.a,this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._el_7=this.renderer.createElement(this._el_5,"div",null),this.renderer.setElementAttribute(this._el_7,"class","label-flex"),this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"div",null),this.renderer.setElementAttribute(this._el_9,"class","label-left"),this.renderer.setElementAttribute(this._el_9,"tooltipPlacement","top"),this._appEl_9=new _.a(9,7,this,this._el_9),this._Tooltip_9_5=new N.a(this._appEl_9.vcRef,this.parent.parent.parentInjector.get(M.a),this.parent.parent.parentInjector.get(L.f)),this._text_10=this.renderer.createText(this._el_9,"\n ",null),this._el_11=this.renderer.createElement(this._el_9,"input",null),this.renderer.setElementAttribute(this._el_11,"class","custom-input"),this.renderer.setElementAttribute(this._el_11,"formatInput",""),this.renderer.setElementAttribute(this._el_11,"step","any"),this._DefaultValueAccessor_11_3=new P.a(this.renderer,new A.a(this._el_11)),this._NG_VALUE_ACCESSOR_11_4=[this._DefaultValueAccessor_11_3],this._NgModel_11_5=new R.a(null,null,null,this._NG_VALUE_ACCESSOR_11_4),this._NgControl_11_6=this._NgModel_11_5,this._NgControlStatus_11_7=new D.a(this._NgControl_11_6),this._FormatInputDirective_11_8=new j.a(this.parent.parent.parentInjector.get(B.a)),this._text_12=this.renderer.createText(this._el_9,"\n ",null),this._text_13=this.renderer.createText(this._el_7,"\n ",null),this._text_14=this.renderer.createText(this._el_5,"\n ",null),this._text_15=this.renderer.createText(this._el_0,"\n ",null),this._expr_0=u.n;var e=this.renderer.listen(this._el_9,"focusin",this.eventHandler(this._handle_focusin_9_0.bind(this))),n=this.renderer.listen(this._el_9,"mouseenter",this.eventHandler(this._handle_mouseenter_9_1.bind(this))),i=this.renderer.listen(this._el_9,"focusout",this.eventHandler(this._handle_focusout_9_2.bind(this))),r=this.renderer.listen(this._el_9,"mouseleave",this.eventHandler(this._handle_mouseleave_9_3.bind(this)));this._expr_5=u.n,this._expr_6=u.n,this._expr_7=u.n;var s=this.renderer.listen(this._el_11,"valChange",this.eventHandler(this._handle_valChange_11_0.bind(this))),o=this.renderer.listen(this._el_11,"input",this.eventHandler(this._handle_input_11_1.bind(this))),a=this.renderer.listen(this._el_11,"blur",this.eventHandler(this._handle_blur_11_2.bind(this))),l=this.renderer.listen(this._el_11,"focusout",this.eventHandler(this._handle_focusout_11_3.bind(this))),c=this.renderer.listen(this._el_11,"keypress",this.eventHandler(this._handle_keypress_11_4.bind(this))); this._pipe_unitFormat_0_0=h.i(this.parent.parent._pipe_unitFormat_0.transform.bind(this.parent.parent._pipe_unitFormat_0)),this._expr_13=u.n,this._expr_14=u.n,this._expr_15=u.n,this._expr_16=u.n,this._expr_17=u.n,this._expr_18=u.n,this._expr_19=u.n;var p=this._FormatInputDirective_11_8.valChange.subscribe(this.eventHandler(this._handle_valChange_11_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._el_11,this._text_12,this._text_13,this._text_14,this._text_15],[e,n,i,r,s,o,a,l,c],[p]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===x.a&&2<=e&&e<=3?this._Col_2_3:t===P.a&&11===e?this._DefaultValueAccessor_11_3:t===F.a&&11===e?this._NG_VALUE_ACCESSOR_11_4:t===R.a&&11===e?this._NgModel_11_5:t===q.a&&11===e?this._NgControl_11_6:t===D.a&&11===e?this._NgControlStatus_11_7:t===j.a&&11===e?this._FormatInputDirective_11_8:t===N.a&&9<=e&&e<=12?this._Tooltip_9_5:t===x.a&&5<=e&&e<=14?this._Col_5_3:t===x.c&&0<=e&&e<=15?this._Row_0_3:n},e.prototype.detectChangesInternal=function(t){var e=null,n=new u.o;e=null;var i=this.parent.parent.context.tooltipService.getTooltip("dcVoltage").message;h.c(t,this._expr_5,i)&&(this._Tooltip_9_5.content=i,null===e&&(e={}),e.content=new u.m(this._expr_5,i),this._expr_5=i);var r=!0;h.c(t,this._expr_6,r)&&(this._Tooltip_9_5.tooltipAnimation=r,null===e&&(e={}),e.tooltipAnimation=new u.m(this._expr_6,r),this._expr_6=r);var s="top";h.c(t,this._expr_7,s)&&(this._Tooltip_9_5.tooltipPlacement=s,null===e&&(e={}),e.tooltipPlacement=new u.m(this._expr_7,s),this._expr_7=s),null!==e&&this._Tooltip_9_5.ngOnChanges(e),e=null,n.reset();var o=n.unwrap(h.r(this._pipe_unitFormat_0_0,this.parent.parent._pipe_unitFormat_0.transform)(this.parent.parent.context.voltages[this.context.index],"V"));(n.hasWrappedValue||h.c(t,this._expr_13,o))&&(this._NgModel_11_5.model=o,null===e&&(e={}),e.model=new u.m(this._expr_13,o),this._expr_13=o),null!==e&&this._NgModel_11_5.ngOnChanges(e),this.detectContentChildrenChanges(t);var a=h.e(1,"\n Ch ",this.context.index+1,"\n ");h.c(t,this._expr_0,a)&&(this.renderer.setText(this._text_3,a),this._expr_0=a);var _=this._NgControlStatus_11_7.ngClassUntouched;h.c(t,this._expr_14,_)&&(this.renderer.setElementClass(this._el_11,"ng-untouched",_),this._expr_14=_);var l=this._NgControlStatus_11_7.ngClassTouched;h.c(t,this._expr_15,l)&&(this.renderer.setElementClass(this._el_11,"ng-touched",l),this._expr_15=l);var c=this._NgControlStatus_11_7.ngClassPristine;h.c(t,this._expr_16,c)&&(this.renderer.setElementClass(this._el_11,"ng-pristine",c),this._expr_16=c);var p=this._NgControlStatus_11_7.ngClassDirty;h.c(t,this._expr_17,p)&&(this.renderer.setElementClass(this._el_11,"ng-dirty",p),this._expr_17=p);var d=this._NgControlStatus_11_7.ngClassValid;h.c(t,this._expr_18,d)&&(this.renderer.setElementClass(this._el_11,"ng-valid",d),this._expr_18=d);var f=this._NgControlStatus_11_7.ngClassInvalid;h.c(t,this._expr_19,f)&&(this.renderer.setElementClass(this._el_11,"ng-invalid",f),this._expr_19=f),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_11_5.ngOnDestroy()},e.prototype._handle_focusin_9_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_9_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_9_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_9_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_9_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_9_5.hide()!==!1;return e},e.prototype._handle_mouseleave_9_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_9_5.hide()!==!1;return e},e.prototype._handle_valChange_11_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.formatInputAndUpdate(t,this.context.index)!==!1;return e},e.prototype._handle_input_11_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_11_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_11_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_11_3.onTouched()!==!1;return e},e.prototype._handle_focusout_11_3=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_11_8.onFocusOut(t)!==!1;return e},e.prototype._handle_keypress_11_4=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_11_8.onkeypress(t)!==!1;return e},e}(a.a)},function(t,e,n){"use strict";var i=n(0),r=n(187),s=n(76),o=n(15);n.d(e,"a",function(){return l});var a=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},_=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},l=function(){function t(){}return t=a([n.i(i.NgModule)({imports:[s.a,o.a.forRoot(r.a)],declarations:[r.a],exports:[r.a],providers:[]}),_("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";function i(t,e,n){return null===H&&(H=t.createRenderComponentType("",0,T.c.None,[],{})),new U(t,e,n)}function r(t,e,n){return null===W&&(W=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/components/digital-io/digital-io.html",0,T.c.None,G,{})),new Y(t,e,n)}function s(t,e,n){return new $(t,e,n)}function o(t,e,n){return new X(t,e,n)}function a(t,e,n){return new J(t,e,n)}function _(t,e,n){return new Q(t,e,n)}function l(t,e,n){return new Z(t,e,n)}function h(t,e,n){return new K(t,e,n)}function c(t,e,n){return new tt(t,e,n)}function u(t,e,n){return new et(t,e,n)}var p=n(10),d=n(6),f=n(188),m=n(11),g=n(5),v=n(4),x=n(103),y=n(28),b=n(43),w=n(47),C=n(38),E=n(110),T=n(8),A=n(7),I=n(35),S=n(20),O=n(58),k=n(33),N=n(25),P=n(2),R=n(14),D=n(37),j=n(52),M=n(21),L=n(70),B=n(51),F=n(23),q=n(55);n.d(e,"a",function(){return z}),e.b=r;var V=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},H=null,U=function(t){function e(n,i,r){t.call(this,e,H,g.a.HOST,n,i,r,v.b.CheckAlways)}return V(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("digital-io",t,null),this._appEl_0=new d.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._DigitalIoComponent_0_4=new f.a(this.parentInjector.get(x.a),this.parentInjector.get(y.a),this.parentInjector.get(b.DeviceManagerService),this.parentInjector.get(w.a),this.parentInjector.get(C.a),this.parentInjector.get(E.a)),this._appEl_0.initComponent(this._DigitalIoComponent_0_4,[],e),e.create(this._DigitalIoComponent_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===f.a&&0===e?this._DigitalIoComponent_0_4:n},e}(p.a),z=new A.a("digital-io",i,f.a),G=[],W=null,Y=function(t){function e(n,i,r){t.call(this,e,W,g.a.COMPONENT,n,i,r,v.b.CheckAlways)}return V(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","digi-container"),this._text_1=this.renderer.createText(this._el_0,"\n \n ",null),this._el_2=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_2,"class","title"),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"div",null),this.renderer.setElementAttribute(this._el_4,"class","header-bar"),this._text_5=this.renderer.createText(this._el_4,"\n ",null),this._el_6=this.renderer.createElement(this._el_4,"ion-row",null),this._Row_6_3=new I.c,this._text_7=this.renderer.createText(this._el_6,"\n ",null),this._el_8=this.renderer.createElement(this._el_6,"ion-col",null),this.renderer.setElementAttribute(this._el_8,"center",""),this.renderer.setElementAttribute(this._el_8,"class","header-side-col"),this.renderer.setElementAttribute(this._el_8,"text-left",""),this._Col_8_3=new I.a,this._text_9=this.renderer.createText(this._el_8,"\n ",null),this._el_10=this.renderer.createElement(this._el_8,"button",null),this.renderer.setElementAttribute(this._el_10,"class","dropdown-image-button"),this.renderer.setElementAttribute(this._el_10,"clear",""),this.renderer.setElementAttribute(this._el_10,"ion-button",""),this._appEl_10=new d.a(10,8,this,this._el_10);var n=N.a(this.viewUtils,this.injector(10),this._appEl_10);this._Button_10_4=new S.a(null,"",this.parentInjector.get(P.c),new R.a(this._el_10),this.renderer),this._appEl_10.initComponent(this._Button_10_4,[],n),this._text_11=this.renderer.createText(null,"\n ",null),this._el_12=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_12,"class","custom-dropdown-img"),this.renderer.setElementAttribute(this._el_12,"src","assets/img/collapse-arrow-right.svg"),this._NgClass_12_3=new O.a(this.parentInjector.get(D.a),this.parentInjector.get(j.a),new R.a(this._el_12),this.renderer),this._text_13=this.renderer.createText(null,"\n ",null),n.create(this._Button_10_4,[[].concat([this._text_11,this._el_12,this._text_13])],null),this._text_14=this.renderer.createText(this._el_8,"\n ",null),this._text_15=this.renderer.createText(this._el_6,"\n ",null),this._el_16=this.renderer.createElement(this._el_6,"ion-col",null),this.renderer.setElementAttribute(this._el_16,"center",""),this.renderer.setElementAttribute(this._el_16,"text-center",""),this._Col_16_3=new I.a,this._text_17=this.renderer.createText(this._el_16,"\n ",null),this._el_18=this.renderer.createElement(this._el_16,"span",null),this.renderer.setElementAttribute(this._el_18,"class","header-bar-title instrument-header"),this._text_19=this.renderer.createText(this._el_18,"",null),this._text_20=this.renderer.createText(this._el_16,"\n ",null),this._text_21=this.renderer.createText(this._el_6,"\n ",null),this._el_22=this.renderer.createElement(this._el_6,"ion-col",null),this.renderer.setElementAttribute(this._el_22,"center",""),this.renderer.setElementAttribute(this._el_22,"class","header-side-col"),this.renderer.setElementAttribute(this._el_22,"text-right",""),this._Col_22_3=new I.a,this._text_23=this.renderer.createText(this._el_22,"\n ",null),this._text_24=this.renderer.createText(this._el_6,"\n ",null),this._text_25=this.renderer.createText(this._el_4,"\n ",null),this._text_26=this.renderer.createText(this._el_2,"\n ",null),this._text_27=this.renderer.createText(this._el_0,"\n ",null),this._anchor_28=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_28=new d.a(28,0,this,this._anchor_28),this._TemplateRef_28_5=new M.a(this._appEl_28,s),this._NgIf_28_6=new k.a(this._appEl_28.vcRef,this._TemplateRef_28_5),this._text_29=this.renderer.createText(this._el_0,"\n",null);var i=this.renderer.listen(this._el_2,"tap",this.eventHandler(this._handle_tap_2_0.bind(this))),r=this.renderer.listen(this._el_10,"tap",this.eventHandler(this._handle_tap_10_0.bind(this)));return this._expr_2=v.n,this._expr_3=v.n,this._map_0=m.h(function(t){return{rotateOn:t}}),this._expr_4=v.n,this._expr_5=v.n,this._expr_6=v.n,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9,this._el_10,this._text_11,this._el_12,this._text_13,this._text_14,this._text_15,this._el_16,this._text_17,this._el_18,this._text_19,this._text_20,this._text_21,this._el_22,this._text_23,this._text_24,this._text_25,this._text_26,this._text_27,this._anchor_28,this._text_29],[i,r],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===O.a&&12===e?this._NgClass_12_3:t===S.a&&10<=e&&e<=13?this._Button_10_4:t===I.a&&8<=e&&e<=14?this._Col_8_3:t===I.a&&16<=e&&e<=20?this._Col_16_3:t===I.a&&22<=e&&e<=23?this._Col_22_3:t===I.c&&6<=e&&e<=24?this._Row_6_3:t===M.b&&28===e?this._TemplateRef_28_5:t===k.a&&28===e?this._NgIf_28_6:n},e.prototype.detectChangesInternal=function(t){var e=!0;e=!1;var n="";m.c(t,this._expr_2,n)&&(this._Button_10_4.clear=n,e=!0,this._expr_2=n),e&&this._appEl_10.componentView.markAsCheckOnce();var i="custom-dropdown-img";m.c(t,this._expr_3,i)&&(this._NgClass_12_3.klass=i,this._expr_3=i);var r=this._map_0(this.context.showDigiContent);m.c(t,this._expr_4,r)&&(this._NgClass_12_3.ngClass=r,this._expr_4=r),t||this._NgClass_12_3.ngDoCheck();var s=this.context.showDigiContent;m.c(t,this._expr_6,s)&&(this._NgIf_28_6.ngIf=s,this._expr_6=s),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_10_4.ngAfterContentInit();var o=m.e(1,"",this.context.isLogger===!0?"Digital I/O":"Digital","");m.c(t,this._expr_5,o)&&(this.renderer.setText(this._text_19,o),this._expr_5=o),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.emitEvent()!==!1;return e},e.prototype._handle_tap_10_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.toggleDigiSettings()!==!1;return e},e}(p.a),$=function(t){function e(n,i,r){t.call(this,e,W,g.a.EMBEDDED,n,i,r,v.b.CheckAlways)}return V(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._anchor_2=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_2=new d.a(2,0,this,this._anchor_2),this._TemplateRef_2_5=new M.a(this._appEl_2,o),this._NgIf_2_6=new k.a(this._appEl_2.vcRef,this._TemplateRef_2_5),this._text_3=this.renderer.createText(this._el_0,"\n ",null),this._anchor_4=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_4=new d.a(4,0,this,this._anchor_4),this._TemplateRef_4_5=new M.a(this._appEl_4,a),this._NgIf_4_6=new k.a(this._appEl_4.vcRef,this._TemplateRef_4_5),this._text_5=this.renderer.createText(this._el_0,"\n ",null),this._anchor_6=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_6=new d.a(6,0,this,this._anchor_6),this._TemplateRef_6_5=new M.a(this._appEl_6,l),this._NgIf_6_6=new k.a(this._appEl_6.vcRef,this._TemplateRef_6_5),this._text_7=this.renderer.createText(this._el_0,"\n ",null),this._anchor_8=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_8=new d.a(8,0,this,this._anchor_8),this._TemplateRef_8_5=new M.a(this._appEl_8,c),this._NgIf_8_6=new k.a(this._appEl_8.vcRef,this._TemplateRef_8_5),this._text_9=this.renderer.createText(this._el_0,"\n ",null),this._expr_0=v.n,this._expr_1=v.n,this._expr_2=v.n,this._expr_3=v.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._anchor_2,this._text_3,this._anchor_4,this._text_5,this._anchor_6,this._text_7,this._anchor_8,this._text_9],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===M.b&&2===e?this._TemplateRef_2_5:t===k.a&&2===e?this._NgIf_2_6:t===M.b&&4===e?this._TemplateRef_4_5:t===k.a&&4===e?this._NgIf_4_6:t===M.b&&6===e?this._TemplateRef_6_5:t===k.a&&6===e?this._NgIf_6_6:t===M.b&&8===e?this._TemplateRef_8_5:t===k.a&&8===e?this._NgIf_8_6:n},e.prototype.detectChangesInternal=function(t){var e=!this.parent.context.isLogger;m.c(t,this._expr_0,e)&&(this._NgIf_2_6.ngIf=e,this._expr_0=e);var n="io"===this.parent.context.selectedMode&&!this.parent.context.directionMode;m.c(t,this._expr_1,n)&&(this._NgIf_4_6.ngIf=n,this._expr_1=n);var i="io"===this.parent.context.selectedMode&&this.parent.context.directionMode;m.c(t,this._expr_2,i)&&(this._NgIf_6_6.ngIf=i,this._expr_2=i);var r="analyzer"===this.parent.context.selectedMode;m.c(t,this._expr_3,r)&&(this._NgIf_8_6.ngIf=r,this._expr_3=r),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(p.a),X=function(t){function e(n,i,r){t.call(this,e,W,g.a.EMBEDDED,n,i,r,v.b.CheckAlways)}return V(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-row",null),this.renderer.setElementAttribute(this._el_0,"class","mode-row"),this._Row_0_3=new I.c,this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_2,"text-right",""),this._Col_2_3=new I.a,this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"button",null),this.renderer.setElementAttribute(this._el_4,"class","text-button-side disable-hover bottom-button"),this.renderer.setElementAttribute(this._el_4,"ion-button",""),this.renderer.setElementAttribute(this._el_4,"tooltipPlacement","top"),this._appEl_4=new d.a(4,2,this,this._el_4);var e=N.a(this.viewUtils,this.injector(4),this._appEl_4);this._NgClass_4_5=new O.a(this.parent.parent.parentInjector.get(D.a),this.parent.parent.parentInjector.get(j.a),new R.a(this._el_4),this.renderer),this._Tooltip_4_6=new L.a(this._appEl_4.vcRef,this.parent.parent.parentInjector.get(B.a),this.parent.parent.parentInjector.get(F.f)),this._Button_4_7=new S.a(null,"",this.parent.parent.parentInjector.get(P.c),new R.a(this._el_4),this.renderer),this._appEl_4.initComponent(this._Button_4_7,[],e),this._text_5=this.renderer.createText(null,"\n Analyzer\n ",null),e.create(this._Button_4_7,[[].concat([this._text_5])],null),this._text_6=this.renderer.createText(this._el_2,"\n ",null),this._text_7=this.renderer.createText(this._el_0,"\n ",null),this._el_8=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_8,"text-left",""),this._Col_8_3=new I.a,this._text_9=this.renderer.createText(this._el_8,"\n ",null),this._el_10=this.renderer.createElement(this._el_8,"button",null),this.renderer.setElementAttribute(this._el_10,"class","text-button-side disable-hover bottom-button bottom-button-right"),this.renderer.setElementAttribute(this._el_10,"ion-button",""),this.renderer.setElementAttribute(this._el_10,"tooltipPlacement","top"),this._appEl_10=new d.a(10,8,this,this._el_10);var n=N.a(this.viewUtils,this.injector(10),this._appEl_10);this._NgClass_10_5=new O.a(this.parent.parent.parentInjector.get(D.a),this.parent.parent.parentInjector.get(j.a),new R.a(this._el_10),this.renderer),this._Tooltip_10_6=new L.a(this._appEl_10.vcRef,this.parent.parent.parentInjector.get(B.a),this.parent.parent.parentInjector.get(F.f)),this._Button_10_7=new S.a(null,"",this.parent.parent.parentInjector.get(P.c),new R.a(this._el_10),this.renderer),this._appEl_10.initComponent(this._Button_10_7,[],n),this._text_11=this.renderer.createText(null,"\n I/O\n ",null),n.create(this._Button_10_7,[[].concat([this._text_11])],null),this._text_12=this.renderer.createText(this._el_8,"\n ",null),this._text_13=this.renderer.createText(this._el_0,"\n ",null);var i=this.renderer.listen(this._el_4,"tap",this.eventHandler(this._handle_tap_4_0.bind(this))),r=this.renderer.listen(this._el_4,"focusin",this.eventHandler(this._handle_focusin_4_1.bind(this))),s=this.renderer.listen(this._el_4,"mouseenter",this.eventHandler(this._handle_mouseenter_4_2.bind(this))),o=this.renderer.listen(this._el_4,"focusout",this.eventHandler(this._handle_focusout_4_3.bind(this))),a=this.renderer.listen(this._el_4,"mouseleave",this.eventHandler(this._handle_mouseleave_4_4.bind(this)));this._expr_5=v.n,this._map_0=m.h(function(t){return{"mode-selected la-mode":t}}),this._expr_6=v.n,this._expr_7=v.n,this._expr_8=v.n,this._expr_9=v.n;var _=this.renderer.listen(this._el_10,"tap",this.eventHandler(this._handle_tap_10_0.bind(this))),l=this.renderer.listen(this._el_10,"focusin",this.eventHandler(this._handle_focusin_10_1.bind(this))),h=this.renderer.listen(this._el_10,"mouseenter",this.eventHandler(this._handle_mouseenter_10_2.bind(this))),c=this.renderer.listen(this._el_10,"focusout",this.eventHandler(this._handle_focusout_10_3.bind(this))),u=this.renderer.listen(this._el_10,"mouseleave",this.eventHandler(this._handle_mouseleave_10_4.bind(this)));return this._expr_15=v.n,this._map_1=m.h(function(t){return{"mode-selected":t}}),this._expr_16=v.n,this._expr_17=v.n,this._expr_18=v.n,this._expr_19=v.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._text_7,this._el_8,this._text_9,this._el_10,this._text_11,this._text_12,this._text_13],[i,r,s,o,a,_,l,h,c,u],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===O.a&&4<=e&&e<=5?this._NgClass_4_5:t===L.a&&4<=e&&e<=5?this._Tooltip_4_6:t===S.a&&4<=e&&e<=5?this._Button_4_7:t===I.a&&2<=e&&e<=6?this._Col_2_3:t===O.a&&10<=e&&e<=11?this._NgClass_10_5:t===L.a&&10<=e&&e<=11?this._Tooltip_10_6:t===S.a&&10<=e&&e<=11?this._Button_10_7:t===I.a&&8<=e&&e<=12?this._Col_8_3:t===I.c&&0<=e&&e<=13?this._Row_0_3:n},e.prototype.detectChangesInternal=function(t){var e=null,n="text-button-side disable-hover bottom-button";m.c(t,this._expr_5,n)&&(this._NgClass_4_5.klass=n,this._expr_5=n);var i=this._map_0("analyzer"===this.parent.parent.context.selectedMode);m.c(t,this._expr_6,i)&&(this._NgClass_4_5.ngClass=i,this._expr_6=i),t||this._NgClass_4_5.ngDoCheck(),e=null;var r=this.parent.parent.context.tooltipService.getTooltip("analyzerButton").message;m.c(t,this._expr_7,r)&&(this._Tooltip_4_6.content=r,null===e&&(e={}),e.content=new v.m(this._expr_7,r),this._expr_7=r);var s=!0;m.c(t,this._expr_8,s)&&(this._Tooltip_4_6.tooltipAnimation=s,null===e&&(e={}),e.tooltipAnimation=new v.m(this._expr_8,s),this._expr_8=s);var o="top";m.c(t,this._expr_9,o)&&(this._Tooltip_4_6.tooltipPlacement=o,null===e&&(e={}),e.tooltipPlacement=new v.m(this._expr_9,o),this._expr_9=o),null!==e&&this._Tooltip_4_6.ngOnChanges(e);var a="text-button-side disable-hover bottom-button bottom-button-right";m.c(t,this._expr_15,a)&&(this._NgClass_10_5.klass=a,this._expr_15=a);var _=this._map_1("io"===this.parent.parent.context.selectedMode);m.c(t,this._expr_16,_)&&(this._NgClass_10_5.ngClass=_,this._expr_16=_),t||this._NgClass_10_5.ngDoCheck(),e=null;var l=this.parent.parent.context.tooltipService.getTooltip("gpioButton").message;m.c(t,this._expr_17,l)&&(this._Tooltip_10_6.content=l,null===e&&(e={}),e.content=new v.m(this._expr_17,l),this._expr_17=l);var h=!0;m.c(t,this._expr_18,h)&&(this._Tooltip_10_6.tooltipAnimation=h,null===e&&(e={}),e.tooltipAnimation=new v.m(this._expr_18,h),this._expr_18=h);var c="top";m.c(t,this._expr_19,c)&&(this._Tooltip_10_6.tooltipPlacement=c,null===e&&(e={}),e.tooltipPlacement=new v.m(this._expr_19,c),this._expr_19=c),null!==e&&this._Tooltip_10_6.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_4_7.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_10_7.ngAfterContentInit()),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_4_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.setMode("analyzer")!==!1;return e},e.prototype._handle_focusin_4_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_4_6.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_4_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_4_6.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_4_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_4_6.hide()!==!1;return e},e.prototype._handle_mouseleave_4_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_4_6.hide()!==!1;return e},e.prototype._handle_tap_10_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.setMode("io")!==!1;return e},e.prototype._handle_focusin_10_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_10_6.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_10_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_10_6.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_10_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_10_6.hide()!==!1;return e},e.prototype._handle_mouseleave_10_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_10_6.hide()!==!1;return e},e}(p.a),J=function(t){function e(n,i,r){t.call(this,e,W,g.a.EMBEDDED,n,i,r,v.b.CheckAlways)}return V(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-row",null),this.renderer.setElementAttribute(this._el_2,"class","pad-top"),this.renderer.setElementAttribute(this._el_2,"wrap",""),this._Row_2_3=new I.c,this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._anchor_4=this.renderer.createTemplateAnchor(this._el_2,null),this._appEl_4=new d.a(4,2,this,this._anchor_4),this._TemplateRef_4_5=new M.a(this._appEl_4,_),this._NgFor_4_6=new q.a(this._appEl_4.vcRef,this._TemplateRef_4_5,this.parent.parent.parentInjector.get(D.a),this.parent.parent.ref),this._text_5=this.renderer.createText(this._el_2,"\n ",null),this._text_6=this.renderer.createText(this._el_0,"\n ",null),this._el_7=this.renderer.createElement(this._el_0,"ion-row",null),this.renderer.setElementAttribute(this._el_7,"class","pad-top"),this._Row_7_3=new I.c,this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"ion-col",null),this.renderer.setElementAttribute(this._el_9,"class","bottom-buttons"),this.renderer.setElementAttribute(this._el_9,"text-right",""),this._Col_9_3=new I.a,this._text_10=this.renderer.createText(this._el_9,"\n ",null),this._el_11=this.renderer.createElement(this._el_9,"button",null),this.renderer.setElementAttribute(this._el_11,"class","text-button-side disable-hover bottom-button"),this.renderer.setElementAttribute(this._el_11,"ion-button",""),this.renderer.setElementAttribute(this._el_11,"tooltipPlacement","top"),this._appEl_11=new d.a(11,9,this,this._el_11);var e=N.a(this.viewUtils,this.injector(11),this._appEl_11);this._Tooltip_11_5=new L.a(this._appEl_11.vcRef,this.parent.parent.parentInjector.get(B.a),this.parent.parent.parentInjector.get(F.f)),this._Button_11_6=new S.a(null,"",this.parent.parent.parentInjector.get(P.c),new R.a(this._el_11),this.renderer),this._appEl_11.initComponent(this._Button_11_6,[],e),this._text_12=this.renderer.createText(null,"\n ",null),this._el_13=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_13,"src","assets/img/refresh.svg"),this._text_14=this.renderer.createText(null,"\n ",null),e.create(this._Button_11_6,[[].concat([this._text_12,this._el_13,this._text_14])],null),this._text_15=this.renderer.createText(this._el_9,"\n ",null),this._text_16=this.renderer.createText(this._el_7,"\n ",null),this._el_17=this.renderer.createElement(this._el_7,"ion-col",null),this.renderer.setElementAttribute(this._el_17,"class","bottom-buttons"),this.renderer.setElementAttribute(this._el_17,"text-left",""),this._Col_17_3=new I.a,this._text_18=this.renderer.createText(this._el_17,"\n ",null),this._el_19=this.renderer.createElement(this._el_17,"button",null),this.renderer.setElementAttribute(this._el_19,"class","text-button-side disable-hover bottom-button bottom-button-right"),this.renderer.setElementAttribute(this._el_19,"ion-button",""),this.renderer.setElementAttribute(this._el_19,"tooltipPlacement","top"),this._appEl_19=new d.a(19,17,this,this._el_19);var n=N.a(this.viewUtils,this.injector(19),this._appEl_19);this._Tooltip_19_5=new L.a(this._appEl_19.vcRef,this.parent.parent.parentInjector.get(B.a),this.parent.parent.parentInjector.get(F.f)),this._Button_19_6=new S.a(null,"",this.parent.parent.parentInjector.get(P.c),new R.a(this._el_19),this.renderer),this._appEl_19.initComponent(this._Button_19_6,[],n),this._text_20=this.renderer.createText(null,"\n Direction\n ",null),n.create(this._Button_19_6,[[].concat([this._text_20])],null),this._text_21=this.renderer.createText(this._el_17,"\n ",null),this._text_22=this.renderer.createText(this._el_7,"\n ",null),this._text_23=this.renderer.createText(this._el_0,"\n ",null),this._expr_0=v.n;var i=this.renderer.listen(this._el_11,"tap",this.eventHandler(this._handle_tap_11_0.bind(this))),r=this.renderer.listen(this._el_11,"focusin",this.eventHandler(this._handle_focusin_11_1.bind(this))),s=this.renderer.listen(this._el_11,"mouseenter",this.eventHandler(this._handle_mouseenter_11_2.bind(this))),o=this.renderer.listen(this._el_11,"focusout",this.eventHandler(this._handle_focusout_11_3.bind(this))),a=this.renderer.listen(this._el_11,"mouseleave",this.eventHandler(this._handle_mouseleave_11_4.bind(this)));this._expr_6=v.n,this._expr_7=v.n,this._expr_8=v.n;var l=this.renderer.listen(this._el_19,"tap",this.eventHandler(this._handle_tap_19_0.bind(this))),h=this.renderer.listen(this._el_19,"focusin",this.eventHandler(this._handle_focusin_19_1.bind(this))),c=this.renderer.listen(this._el_19,"mouseenter",this.eventHandler(this._handle_mouseenter_19_2.bind(this))),u=this.renderer.listen(this._el_19,"focusout",this.eventHandler(this._handle_focusout_19_3.bind(this))),p=this.renderer.listen(this._el_19,"mouseleave",this.eventHandler(this._handle_mouseleave_19_4.bind(this)));return this._expr_14=v.n,this._expr_15=v.n,this._expr_16=v.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._anchor_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._el_11,this._text_12,this._el_13,this._text_14,this._text_15,this._text_16,this._el_17,this._text_18,this._el_19,this._text_20,this._text_21,this._text_22,this._text_23],[i,r,s,o,a,l,h,c,u,p],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===M.b&&4===e?this._TemplateRef_4_5:t===q.a&&4===e?this._NgFor_4_6:t===I.c&&2<=e&&e<=5?this._Row_2_3:t===L.a&&11<=e&&e<=14?this._Tooltip_11_5:t===S.a&&11<=e&&e<=14?this._Button_11_6:t===I.a&&9<=e&&e<=15?this._Col_9_3:t===L.a&&19<=e&&e<=20?this._Tooltip_19_5:t===S.a&&19<=e&&e<=20?this._Button_19_6:t===I.a&&17<=e&&e<=21?this._Col_17_3:t===I.c&&7<=e&&e<=22?this._Row_7_3:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.context.gpioChans;m.c(t,this._expr_0,n)&&(this._NgFor_4_6.ngForOf=n,null===e&&(e={}),e.ngForOf=new v.m(this._expr_0,n),this._expr_0=n),null!==e&&this._NgFor_4_6.ngOnChanges(e),t||this._NgFor_4_6.ngDoCheck(),e=null;var i=this.parent.parent.context.tooltipService.getTooltip("refreshGpioButton").message;m.c(t,this._expr_6,i)&&(this._Tooltip_11_5.content=i,null===e&&(e={}),e.content=new v.m(this._expr_6,i),this._expr_6=i);var r=!0;m.c(t,this._expr_7,r)&&(this._Tooltip_11_5.tooltipAnimation=r,null===e&&(e={}),e.tooltipAnimation=new v.m(this._expr_7,r),this._expr_7=r);var s="top";m.c(t,this._expr_8,s)&&(this._Tooltip_11_5.tooltipPlacement=s,null===e&&(e={}),e.tooltipPlacement=new v.m(this._expr_8,s),this._expr_8=s),null!==e&&this._Tooltip_11_5.ngOnChanges(e),e=null;var o=this.parent.parent.context.tooltipService.getTooltip("directionButton").message;m.c(t,this._expr_14,o)&&(this._Tooltip_19_5.content=o,null===e&&(e={}),e.content=new v.m(this._expr_14,o),this._expr_14=o);var a=!0;m.c(t,this._expr_15,a)&&(this._Tooltip_19_5.tooltipAnimation=a,null===e&&(e={}), e.tooltipAnimation=new v.m(this._expr_15,a),this._expr_15=a);var _="top";m.c(t,this._expr_16,_)&&(this._Tooltip_19_5.tooltipPlacement=_,null===e&&(e={}),e.tooltipPlacement=new v.m(this._expr_16,_),this._expr_16=_),null!==e&&this._Tooltip_19_5.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_11_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_19_6.ngAfterContentInit()),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_11_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.readAllIo(t)!==!1;return e},e.prototype._handle_focusin_11_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_11_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_11_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_11_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_11_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_11_5.hide()!==!1;return e},e.prototype._handle_mouseleave_11_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_11_5.hide()!==!1;return e},e.prototype._handle_tap_19_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.toggleDirectionMode()!==!1;return e},e.prototype._handle_focusin_19_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_19_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_19_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_19_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_19_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_19_5.hide()!==!1;return e},e.prototype._handle_mouseleave_19_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_19_5.hide()!==!1;return e},e}(p.a),Q=function(t){function e(n,i,r){t.call(this,e,W,g.a.EMBEDDED,n,i,r,v.b.CheckAlways)}return V(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-col",null),this.renderer.setElementAttribute(this._el_0,"col-4",""),this.renderer.setElementAttribute(this._el_0,"text-center",""),this._NgClass_0_3=new O.a(this.parent.parent.parent.parentInjector.get(D.a),this.parent.parent.parent.parentInjector.get(j.a),new R.a(this._el_0),this.renderer),this._Col_0_4=new I.a,this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_2,"class","channel-container"),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"div",null),this._text_5=this.renderer.createText(this._el_4,"",null),this._text_6=this.renderer.createText(this._el_2,"\n ",null),this._el_7=this.renderer.createElement(this._el_2,"div",null),this.renderer.setElementAttribute(this._el_7,"class","dummy-border"),this.renderer.setElementAttribute(this._el_7,"tooltipPlacement","left"),this._appEl_7=new d.a(7,2,this,this._el_7),this._NgClass_7_5=new O.a(this.parent.parent.parent.parentInjector.get(D.a),this.parent.parent.parent.parentInjector.get(j.a),new R.a(this._el_7),this.renderer),this._Tooltip_7_6=new L.a(this._appEl_7.vcRef,this.parent.parent.parent.parentInjector.get(B.a),this.parent.parent.parent.parentInjector.get(F.f)),this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"button",null),this.renderer.setElementAttribute(this._el_9,"class","channel-button"),this._NgClass_9_3=new O.a(this.parent.parent.parent.parentInjector.get(D.a),this.parent.parent.parent.parentInjector.get(j.a),new R.a(this._el_9),this.renderer),this._text_10=this.renderer.createText(this._el_9,"\n ",null),this._el_11=this.renderer.createElement(this._el_9,"span",null),this.renderer.setElementAttribute(this._el_11,"class","button-indicator"),this._text_12=this.renderer.createText(this._el_11,"",null),this._text_13=this.renderer.createText(this._el_9,"\n ",null),this._text_14=this.renderer.createText(this._el_7,"\n ",null),this._text_15=this.renderer.createText(this._el_2,"\n ",null),this._text_16=this.renderer.createText(this._el_0,"\n ",null),this._map_0=m.i(function(t,e){return{"digi-logger-col":t,"digi-col":e}}),this._expr_0=v.n,this._expr_1=v.n;var e=this.renderer.listen(this._el_7,"focusin",this.eventHandler(this._handle_focusin_7_0.bind(this))),n=this.renderer.listen(this._el_7,"mouseenter",this.eventHandler(this._handle_mouseenter_7_1.bind(this))),i=this.renderer.listen(this._el_7,"focusout",this.eventHandler(this._handle_focusout_7_2.bind(this))),r=this.renderer.listen(this._el_7,"mouseleave",this.eventHandler(this._handle_mouseleave_7_3.bind(this)));this._expr_6=v.n,this._map_1=m.h(function(t){return{"button-output":t}}),this._expr_7=v.n,this._expr_8=v.n,this._expr_9=v.n,this._expr_10=v.n,this._expr_12=v.n;var s=this.renderer.listen(this._el_9,"tap",this.eventHandler(this._handle_tap_9_0.bind(this)));return this._expr_13=v.n,this._map_2=m.j(function(t,e,n){return{"button-on":t,"la-mode la-mode-border":e,"direction-mode direction-mode-border":n}}),this._expr_14=v.n,this._expr_15=v.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._el_11,this._text_12,this._text_13,this._text_14,this._text_15,this._text_16],[e,n,i,r,s],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===O.a&&9<=e&&e<=13?this._NgClass_9_3:t===O.a&&7<=e&&e<=14?this._NgClass_7_5:t===L.a&&7<=e&&e<=14?this._Tooltip_7_6:t===O.a&&0<=e&&e<=16?this._NgClass_0_3:t===I.a&&0<=e&&e<=16?this._Col_0_4:n},e.prototype.detectChangesInternal=function(t){var e=null,n=this._map_0(this.parent.parent.parent.context.isLogger,!this.parent.parent.parent.context.isLogger);m.c(t,this._expr_0,n)&&(this._NgClass_0_3.ngClass=n,this._expr_0=n),t||this._NgClass_0_3.ngDoCheck();var i="dummy-border";m.c(t,this._expr_6,i)&&(this._NgClass_7_5.klass=i,this._expr_6=i);var r=this._map_1(this.parent.parent.parent.context.gpioDirections[this.context.index]);m.c(t,this._expr_7,r)&&(this._NgClass_7_5.ngClass=r,this._expr_7=r),t||this._NgClass_7_5.ngDoCheck(),e=null;var s=this.parent.parent.parent.context.getChannelTooltip(this.context.index,"gpio");m.c(t,this._expr_8,s)&&(this._Tooltip_7_6.content=s,null===e&&(e={}),e.content=new v.m(this._expr_8,s),this._expr_8=s);var o=!0;m.c(t,this._expr_9,o)&&(this._Tooltip_7_6.tooltipAnimation=o,null===e&&(e={}),e.tooltipAnimation=new v.m(this._expr_9,o),this._expr_9=o);var a="left";m.c(t,this._expr_10,a)&&(this._Tooltip_7_6.tooltipPlacement=a,null===e&&(e={}),e.tooltipPlacement=new v.m(this._expr_10,a),this._expr_10=a),null!==e&&this._Tooltip_7_6.ngOnChanges(e);var _="channel-button";m.c(t,this._expr_13,_)&&(this._NgClass_9_3.klass=_,this._expr_13=_);var l=this._map_2(this.parent.parent.parent.context.gpioVals[this.context.index],this.parent.parent.parent.context.laActiveChans[this.context.index],this.parent.parent.parent.context.gpioDirections[this.context.index]);m.c(t,this._expr_14,l)&&(this._NgClass_9_3.ngClass=l,this._expr_14=l),t||this._NgClass_9_3.ngDoCheck(),this.detectContentChildrenChanges(t);var h=m.e(1,"",this.context.index+1,"");m.c(t,this._expr_1,h)&&(this.renderer.setText(this._text_5,h),this._expr_1=h);var c=!this.parent.parent.parent.context.gpioDirections[this.context.index];m.c(t,this._expr_12,c)&&(this.renderer.setElementProperty(this._el_9,"disabled",c),this._expr_12=c);var u=m.e(1,"",this.parent.parent.parent.context.getButtonState(this.context.index),"");m.c(t,this._expr_15,u)&&(this.renderer.setText(this._text_12,u),this._expr_15=u),this.detectViewChildrenChanges(t)},e.prototype._handle_focusin_7_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_7_6.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_7_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_7_6.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_7_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_7_6.hide()!==!1;return e},e.prototype._handle_mouseleave_7_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_7_6.hide()!==!1;return e},e.prototype._handle_tap_9_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.toggleChannel(this.context.index)!==!1;return e},e}(p.a),Z=function(t){function e(n,i,r){t.call(this,e,W,g.a.EMBEDDED,n,i,r,v.b.CheckAlways)}return V(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-row",null),this.renderer.setElementAttribute(this._el_2,"class","pad-top"),this.renderer.setElementAttribute(this._el_2,"wrap",""),this._Row_2_3=new I.c,this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._anchor_4=this.renderer.createTemplateAnchor(this._el_2,null),this._appEl_4=new d.a(4,2,this,this._anchor_4),this._TemplateRef_4_5=new M.a(this._appEl_4,h),this._NgFor_4_6=new q.a(this._appEl_4.vcRef,this._TemplateRef_4_5,this.parent.parent.parentInjector.get(D.a),this.parent.parent.ref),this._text_5=this.renderer.createText(this._el_2,"\n ",null),this._text_6=this.renderer.createText(this._el_0,"\n ",null),this._el_7=this.renderer.createElement(this._el_0,"ion-row",null),this.renderer.setElementAttribute(this._el_7,"class","pad-top"),this._Row_7_3=new I.c,this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"ion-col",null),this.renderer.setElementAttribute(this._el_9,"class","bottom-buttons"),this.renderer.setElementAttribute(this._el_9,"text-right",""),this._Col_9_3=new I.a,this._text_10=this.renderer.createText(this._el_9,"\n ",null),this._el_11=this.renderer.createElement(this._el_9,"button",null),this.renderer.setElementAttribute(this._el_11,"class","text-button-side disable-hover bottom-button"),this.renderer.setElementAttribute(this._el_11,"ion-button",""),this.renderer.setElementAttribute(this._el_11,"tooltipPlacement","top"),this._appEl_11=new d.a(11,9,this,this._el_11);var e=N.a(this.viewUtils,this.injector(11),this._appEl_11);this._Tooltip_11_5=new L.a(this._appEl_11.vcRef,this.parent.parent.parentInjector.get(B.a),this.parent.parent.parentInjector.get(F.f)),this._Button_11_6=new S.a(null,"",this.parent.parent.parentInjector.get(P.c),new R.a(this._el_11),this.renderer),this._appEl_11.initComponent(this._Button_11_6,[],e),this._text_12=this.renderer.createText(null,"\n ",null),this._el_13=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_13,"src","assets/img/refresh.svg"),this._text_14=this.renderer.createText(null,"\n ",null),e.create(this._Button_11_6,[[].concat([this._text_12,this._el_13,this._text_14])],null),this._text_15=this.renderer.createText(this._el_9,"\n ",null),this._text_16=this.renderer.createText(this._el_7,"\n ",null),this._el_17=this.renderer.createElement(this._el_7,"ion-col",null),this.renderer.setElementAttribute(this._el_17,"class","bottom-buttons"),this.renderer.setElementAttribute(this._el_17,"text-left",""),this._Col_17_3=new I.a,this._text_18=this.renderer.createText(this._el_17,"\n ",null),this._el_19=this.renderer.createElement(this._el_17,"button",null),this.renderer.setElementAttribute(this._el_19,"class","text-button-side disable-hover bottom-button bottom-button-right"),this.renderer.setElementAttribute(this._el_19,"ion-button",""),this.renderer.setElementAttribute(this._el_19,"tooltipPlacement","top"),this._appEl_19=new d.a(19,17,this,this._el_19);var n=N.a(this.viewUtils,this.injector(19),this._appEl_19);this._NgClass_19_5=new O.a(this.parent.parent.parentInjector.get(D.a),this.parent.parent.parentInjector.get(j.a),new R.a(this._el_19),this.renderer),this._Tooltip_19_6=new L.a(this._appEl_19.vcRef,this.parent.parent.parentInjector.get(B.a),this.parent.parent.parentInjector.get(F.f)),this._Button_19_7=new S.a(null,"",this.parent.parent.parentInjector.get(P.c),new R.a(this._el_19),this.renderer),this._appEl_19.initComponent(this._Button_19_7,[],n),this._text_20=this.renderer.createText(null,"\n Direction\n ",null),n.create(this._Button_19_7,[[].concat([this._text_20])],null),this._text_21=this.renderer.createText(this._el_17,"\n ",null),this._text_22=this.renderer.createText(this._el_7,"\n ",null),this._text_23=this.renderer.createText(this._el_0,"\n ",null),this._expr_0=v.n;var i=this.renderer.listen(this._el_11,"tap",this.eventHandler(this._handle_tap_11_0.bind(this))),r=this.renderer.listen(this._el_11,"focusin",this.eventHandler(this._handle_focusin_11_1.bind(this))),s=this.renderer.listen(this._el_11,"mouseenter",this.eventHandler(this._handle_mouseenter_11_2.bind(this))),o=this.renderer.listen(this._el_11,"focusout",this.eventHandler(this._handle_focusout_11_3.bind(this))),a=this.renderer.listen(this._el_11,"mouseleave",this.eventHandler(this._handle_mouseleave_11_4.bind(this)));this._expr_6=v.n,this._expr_7=v.n,this._expr_8=v.n;var _=this.renderer.listen(this._el_19,"tap",this.eventHandler(this._handle_tap_19_0.bind(this))),l=this.renderer.listen(this._el_19,"focusin",this.eventHandler(this._handle_focusin_19_1.bind(this))),c=this.renderer.listen(this._el_19,"mouseenter",this.eventHandler(this._handle_mouseenter_19_2.bind(this))),u=this.renderer.listen(this._el_19,"focusout",this.eventHandler(this._handle_focusout_19_3.bind(this))),p=this.renderer.listen(this._el_19,"mouseleave",this.eventHandler(this._handle_mouseleave_19_4.bind(this)));return this._expr_14=v.n,this._map_0=m.h(function(t){return{"mode-selected direction-mode":t}}),this._expr_15=v.n,this._expr_16=v.n,this._expr_17=v.n,this._expr_18=v.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._anchor_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._el_11,this._text_12,this._el_13,this._text_14,this._text_15,this._text_16,this._el_17,this._text_18,this._el_19,this._text_20,this._text_21,this._text_22,this._text_23],[i,r,s,o,a,_,l,c,u,p],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===M.b&&4===e?this._TemplateRef_4_5:t===q.a&&4===e?this._NgFor_4_6:t===I.c&&2<=e&&e<=5?this._Row_2_3:t===L.a&&11<=e&&e<=14?this._Tooltip_11_5:t===S.a&&11<=e&&e<=14?this._Button_11_6:t===I.a&&9<=e&&e<=15?this._Col_9_3:t===O.a&&19<=e&&e<=20?this._NgClass_19_5:t===L.a&&19<=e&&e<=20?this._Tooltip_19_6:t===S.a&&19<=e&&e<=20?this._Button_19_7:t===I.a&&17<=e&&e<=21?this._Col_17_3:t===I.c&&7<=e&&e<=22?this._Row_7_3:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.context.gpioChans;m.c(t,this._expr_0,n)&&(this._NgFor_4_6.ngForOf=n,null===e&&(e={}),e.ngForOf=new v.m(this._expr_0,n),this._expr_0=n),null!==e&&this._NgFor_4_6.ngOnChanges(e),t||this._NgFor_4_6.ngDoCheck(),e=null;var i=this.parent.parent.context.tooltipService.getTooltip("refreshGpioButton").message;m.c(t,this._expr_6,i)&&(this._Tooltip_11_5.content=i,null===e&&(e={}),e.content=new v.m(this._expr_6,i),this._expr_6=i);var r=!0;m.c(t,this._expr_7,r)&&(this._Tooltip_11_5.tooltipAnimation=r,null===e&&(e={}),e.tooltipAnimation=new v.m(this._expr_7,r),this._expr_7=r);var s="top";m.c(t,this._expr_8,s)&&(this._Tooltip_11_5.tooltipPlacement=s,null===e&&(e={}),e.tooltipPlacement=new v.m(this._expr_8,s),this._expr_8=s),null!==e&&this._Tooltip_11_5.ngOnChanges(e);var o="text-button-side disable-hover bottom-button bottom-button-right";m.c(t,this._expr_14,o)&&(this._NgClass_19_5.klass=o,this._expr_14=o);var a=this._map_0(this.parent.parent.context.directionMode);m.c(t,this._expr_15,a)&&(this._NgClass_19_5.ngClass=a,this._expr_15=a),t||this._NgClass_19_5.ngDoCheck(),e=null;var _=this.parent.parent.context.tooltipService.getTooltip("directionButton").message;m.c(t,this._expr_16,_)&&(this._Tooltip_19_6.content=_,null===e&&(e={}),e.content=new v.m(this._expr_16,_),this._expr_16=_);var l=!0;m.c(t,this._expr_17,l)&&(this._Tooltip_19_6.tooltipAnimation=l,null===e&&(e={}),e.tooltipAnimation=new v.m(this._expr_17,l),this._expr_17=l);var h="top";m.c(t,this._expr_18,h)&&(this._Tooltip_19_6.tooltipPlacement=h,null===e&&(e={}),e.tooltipPlacement=new v.m(this._expr_18,h),this._expr_18=h),null!==e&&this._Tooltip_19_6.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_11_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_19_7.ngAfterContentInit()),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_11_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.readAllIo(t)!==!1;return e},e.prototype._handle_focusin_11_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_11_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_11_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_11_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_11_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_11_5.hide()!==!1;return e},e.prototype._handle_mouseleave_11_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_11_5.hide()!==!1;return e},e.prototype._handle_tap_19_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.toggleDirectionMode()!==!1;return e},e.prototype._handle_focusin_19_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_19_6.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_19_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_19_6.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_19_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_19_6.hide()!==!1;return e},e.prototype._handle_mouseleave_19_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_19_6.hide()!==!1;return e},e}(p.a),K=function(t){function e(n,i,r){t.call(this,e,W,g.a.EMBEDDED,n,i,r,v.b.CheckAlways)}return V(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-col",null),this.renderer.setElementAttribute(this._el_0,"text-center",""),this._NgClass_0_3=new O.a(this.parent.parent.parent.parentInjector.get(D.a),this.parent.parent.parent.parentInjector.get(j.a),new R.a(this._el_0),this.renderer),this._Col_0_4=new I.a,this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_2,"class","channel-container"),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"div",null),this._text_5=this.renderer.createText(this._el_4,"",null),this._text_6=this.renderer.createText(this._el_2,"\n ",null),this._el_7=this.renderer.createElement(this._el_2,"div",null),this.renderer.setElementAttribute(this._el_7,"class","dummy-border"),this.renderer.setElementAttribute(this._el_7,"tooltipPlacement","left"),this._appEl_7=new d.a(7,2,this,this._el_7),this._Tooltip_7_5=new L.a(this._appEl_7.vcRef,this.parent.parent.parent.parentInjector.get(B.a),this.parent.parent.parent.parentInjector.get(F.f)),this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"button",null),this.renderer.setElementAttribute(this._el_9,"class","channel-button direction-mode direction-mode-border"),this._NgClass_9_3=new O.a(this.parent.parent.parent.parentInjector.get(D.a),this.parent.parent.parent.parentInjector.get(j.a),new R.a(this._el_9),this.renderer),this._text_10=this.renderer.createText(this._el_9,"\n ",null),this._el_11=this.renderer.createElement(this._el_9,"span",null),this.renderer.setElementAttribute(this._el_11,"class","button-indicator"),this._text_12=this.renderer.createText(this._el_11,"",null),this._text_13=this.renderer.createText(this._el_9,"\n ",null),this._text_14=this.renderer.createText(this._el_7,"\n ",null),this._text_15=this.renderer.createText(this._el_2,"\n ",null),this._text_16=this.renderer.createText(this._el_0,"\n ",null),this._map_0=m.i(function(t,e){return{"digi-logger-col":t,"digi-col":e}}),this._expr_0=v.n,this._expr_1=v.n;var e=this.renderer.listen(this._el_7,"focusin",this.eventHandler(this._handle_focusin_7_0.bind(this))),n=this.renderer.listen(this._el_7,"mouseenter",this.eventHandler(this._handle_mouseenter_7_1.bind(this))),i=this.renderer.listen(this._el_7,"focusout",this.eventHandler(this._handle_focusout_7_2.bind(this))),r=this.renderer.listen(this._el_7,"mouseleave",this.eventHandler(this._handle_mouseleave_7_3.bind(this)));this._expr_6=v.n,this._expr_7=v.n,this._expr_8=v.n;var s=this.renderer.listen(this._el_9,"tap",this.eventHandler(this._handle_tap_9_0.bind(this)));return this._expr_10=v.n,this._map_1=m.h(function(t){return{"button-on":t}}),this._expr_11=v.n,this._expr_12=v.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._el_11,this._text_12,this._text_13,this._text_14,this._text_15,this._text_16],[e,n,i,r,s],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===O.a&&9<=e&&e<=13?this._NgClass_9_3:t===L.a&&7<=e&&e<=14?this._Tooltip_7_5:t===O.a&&0<=e&&e<=16?this._NgClass_0_3:t===I.a&&0<=e&&e<=16?this._Col_0_4:n},e.prototype.detectChangesInternal=function(t){var e=null,n=this._map_0(this.parent.parent.parent.context.isLogger,!this.parent.parent.parent.context.isLogger);m.c(t,this._expr_0,n)&&(this._NgClass_0_3.ngClass=n,this._expr_0=n),t||this._NgClass_0_3.ngDoCheck(),e=null;var i=this.parent.parent.parent.context.getChannelTooltip(this.context.index,"direction");m.c(t,this._expr_6,i)&&(this._Tooltip_7_5.content=i,null===e&&(e={}),e.content=new v.m(this._expr_6,i),this._expr_6=i);var r=!0;m.c(t,this._expr_7,r)&&(this._Tooltip_7_5.tooltipAnimation=r,null===e&&(e={}),e.tooltipAnimation=new v.m(this._expr_7,r),this._expr_7=r);var s="left";m.c(t,this._expr_8,s)&&(this._Tooltip_7_5.tooltipPlacement=s,null===e&&(e={}),e.tooltipPlacement=new v.m(this._expr_8,s),this._expr_8=s),null!==e&&this._Tooltip_7_5.ngOnChanges(e);var o="channel-button direction-mode direction-mode-border";m.c(t,this._expr_10,o)&&(this._NgClass_9_3.klass=o,this._expr_10=o);var a=this._map_1(this.parent.parent.parent.context.gpioDirections[this.context.index]);m.c(t,this._expr_11,a)&&(this._NgClass_9_3.ngClass=a,this._expr_11=a),t||this._NgClass_9_3.ngDoCheck(),this.detectContentChildrenChanges(t);var _=m.e(1,"",this.context.index+1,"");m.c(t,this._expr_1,_)&&(this.renderer.setText(this._text_5,_),this._expr_1=_);var l=m.e(1,"",this.parent.parent.parent.context.getButtonState(this.context.index),"");m.c(t,this._expr_12,l)&&(this.renderer.setText(this._text_12,l),this._expr_12=l),this.detectViewChildrenChanges(t)},e.prototype._handle_focusin_7_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_7_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_7_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_7_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_7_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_7_5.hide()!==!1;return e},e.prototype._handle_mouseleave_7_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_7_5.hide()!==!1;return e},e.prototype._handle_tap_9_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.toggleChanDirection(this.context.index)!==!1;return e},e}(p.a),tt=function(t){function e(n,i,r){t.call(this,e,W,g.a.EMBEDDED,n,i,r,v.b.CheckAlways)}return V(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-row",null),this.renderer.setElementAttribute(this._el_2,"wrap",""),this._Row_2_3=new I.c,this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._anchor_4=this.renderer.createTemplateAnchor(this._el_2,null),this._appEl_4=new d.a(4,2,this,this._anchor_4),this._TemplateRef_4_5=new M.a(this._appEl_4,u),this._NgFor_4_6=new q.a(this._appEl_4.vcRef,this._TemplateRef_4_5,this.parent.parent.parentInjector.get(D.a),this.parent.parent.ref),this._text_5=this.renderer.createText(this._el_2,"\n ",null),this._text_6=this.renderer.createText(this._el_0,"\n ",null),this._expr_0=v.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._anchor_4,this._text_5,this._text_6],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===M.b&&4===e?this._TemplateRef_4_5:t===q.a&&4===e?this._NgFor_4_6:t===I.c&&2<=e&&e<=5?this._Row_2_3:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.context.laChans;m.c(t,this._expr_0,n)&&(this._NgFor_4_6.ngForOf=n,null===e&&(e={}),e.ngForOf=new v.m(this._expr_0,n),this._expr_0=n),null!==e&&this._NgFor_4_6.ngOnChanges(e),t||this._NgFor_4_6.ngDoCheck(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(p.a),et=function(t){function e(n,i,r){t.call(this,e,W,g.a.EMBEDDED,n,i,r,v.b.CheckAlways)}return V(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-col",null),this.renderer.setElementAttribute(this._el_0,"class","digi-col"),this.renderer.setElementAttribute(this._el_0,"text-center",""),this._Col_0_3=new I.a,this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_2,"class","channel-container"),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"div",null),this._text_5=this.renderer.createText(this._el_4,"",null),this._text_6=this.renderer.createText(this._el_2,"\n ",null),this._el_7=this.renderer.createElement(this._el_2,"div",null),this.renderer.setElementAttribute(this._el_7,"class","dummy-border"),this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"button",null),this.renderer.setElementAttribute(this._el_9,"class","channel-button la-mode la-mode-border"),this.renderer.setElementAttribute(this._el_9,"tooltipPlacement","left"),this._appEl_9=new d.a(9,7,this,this._el_9),this._NgClass_9_5=new O.a(this.parent.parent.parent.parentInjector.get(D.a),this.parent.parent.parent.parentInjector.get(j.a),new R.a(this._el_9),this.renderer),this._Tooltip_9_6=new L.a(this._appEl_9.vcRef,this.parent.parent.parent.parentInjector.get(B.a),this.parent.parent.parent.parentInjector.get(F.f)),this._text_10=this.renderer.createText(this._el_9,"\n ",null),this._el_11=this.renderer.createElement(this._el_9,"span",null),this.renderer.setElementAttribute(this._el_11,"class","button-indicator"),this._text_12=this.renderer.createText(this._el_11,"",null),this._text_13=this.renderer.createText(this._el_9,"\n ",null),this._text_14=this.renderer.createText(this._el_7,"\n ",null),this._text_15=this.renderer.createText(this._el_2,"\n ",null),this._text_16=this.renderer.createText(this._el_0,"\n ",null),this._expr_0=v.n;var e=this.renderer.listen(this._el_9,"tap",this.eventHandler(this._handle_tap_9_0.bind(this))),n=this.renderer.listen(this._el_9,"focusin",this.eventHandler(this._handle_focusin_9_1.bind(this))),i=this.renderer.listen(this._el_9,"mouseenter",this.eventHandler(this._handle_mouseenter_9_2.bind(this))),r=this.renderer.listen(this._el_9,"focusout",this.eventHandler(this._handle_focusout_9_3.bind(this))),s=this.renderer.listen(this._el_9,"mouseleave",this.eventHandler(this._handle_mouseleave_9_4.bind(this)));return this._expr_6=v.n,this._map_0=m.h(function(t){return{"button-on":t}}),this._expr_7=v.n,this._expr_8=v.n,this._expr_9=v.n,this._expr_10=v.n,this._expr_11=v.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._el_11,this._text_12,this._text_13,this._text_14,this._text_15,this._text_16],[e,n,i,r,s],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===O.a&&9<=e&&e<=13?this._NgClass_9_5:t===L.a&&9<=e&&e<=13?this._Tooltip_9_6:t===I.a&&0<=e&&e<=16?this._Col_0_3:n},e.prototype.detectChangesInternal=function(t){var e=null,n="channel-button la-mode la-mode-border";m.c(t,this._expr_6,n)&&(this._NgClass_9_5.klass=n,this._expr_6=n);var i=this._map_0(this.parent.parent.parent.context.laActiveChans[this.context.index]);m.c(t,this._expr_7,i)&&(this._NgClass_9_5.ngClass=i,this._expr_7=i),t||this._NgClass_9_5.ngDoCheck(),e=null;var r=this.parent.parent.parent.context.getChannelTooltip(this.context.index,"analyzer");m.c(t,this._expr_8,r)&&(this._Tooltip_9_6.content=r,null===e&&(e={}),e.content=new v.m(this._expr_8,r),this._expr_8=r);var s=!0;m.c(t,this._expr_9,s)&&(this._Tooltip_9_6.tooltipAnimation=s,null===e&&(e={}),e.tooltipAnimation=new v.m(this._expr_9,s),this._expr_9=s);var o="left";m.c(t,this._expr_10,o)&&(this._Tooltip_9_6.tooltipPlacement=o,null===e&&(e={}),e.tooltipPlacement=new v.m(this._expr_10,o),this._expr_10=o),null!==e&&this._Tooltip_9_6.ngOnChanges(e),this.detectContentChildrenChanges(t);var a=m.e(1,"",this.context.index+1,"");m.c(t,this._expr_0,a)&&(this.renderer.setText(this._text_5,a),this._expr_0=a);var _=m.e(1,"",this.parent.parent.parent.context.getButtonState(this.context.index),"");m.c(t,this._expr_11,_)&&(this.renderer.setText(this._text_12,_),this._expr_11=_),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_9_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.toggleLaChan(this.context.index)!==!1;return e},e.prototype._handle_focusin_9_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_9_6.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_9_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_9_6.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_9_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_9_6.hide()!==!1;return e},e.prototype._handle_mouseleave_9_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_9_6.hide()!==!1;return e},e}(p.a)},function(t,e,n){"use strict";var i=n(0),r=n(188),s=n(76),o=n(15);n.d(e,"a",function(){return l});var a=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},_=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},l=function(){function t(){}return t=a([n.i(i.NgModule)({imports:[s.a,o.a.forRoot(r.a)],declarations:[r.a],exports:[r.a],providers:[]}),_("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";function i(t,e,n){return null===$&&($=t.createRenderComponentType("",0,b.c.None,[],{})), new X(t,e,n)}function r(t,e,n){return null===Z&&(Z=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/components/function-gen/function-gen.html",0,b.c.None,Q,{})),new K(t,e,n)}function s(t,e,n){return new tt(t,e,n)}function o(t,e,n){return new et(t,e,n)}function a(t,e,n){return new nt(t,e,n)}function _(t,e,n){return new it(t,e,n)}var l=n(10),h=n(6),c=n(189),u=n(11),p=n(5),d=n(4),f=n(43),m=n(38),g=n(31),v=n(28),x=n(110),y=n(104),b=n(8),w=n(7),C=n(168),E=n(20),T=n(33),A=n(63),I=n(282),S=n(14),O=n(25),k=n(2),N=n(21),P=n(58),R=n(70),D=n(37),j=n(52),M=n(51),L=n(23),B=n(55),F=n(35),q=n(60),V=n(62),H=n(61),U=n(129),z=n(66),G=n(41),W=n(53);n.d(e,"a",function(){return J}),e.b=r;var Y=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},$=null,X=function(t){function e(n,i,r){t.call(this,e,$,p.a.HOST,n,i,r,d.b.CheckAlways)}return Y(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("fgen",t,null),this._appEl_0=new h.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._FgenComponent_0_4=new c.a(this.parentInjector.get(f.DeviceManagerService),this.parentInjector.get(m.a),this.parentInjector.get(g.a),this.parentInjector.get(v.a),this.parentInjector.get(x.a),this.parentInjector.get(y.a)),this._appEl_0.initComponent(this._FgenComponent_0_4,[],e),e.create(this._FgenComponent_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===c.a&&0===e?this._FgenComponent_0_4:n},e.prototype.destroyInternal=function(){this._FgenComponent_0_4.ngOnDestroy()},e}(l.a),J=new w.a("fgen",i,c.a),Q=[],Z=null,K=function(t){function e(n,i,r){t.call(this,e,Z,p.a.COMPONENT,n,i,r,d.b.CheckAlways)}return Y(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","fgen-container"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"tooltip-content",null),this.renderer.setElementAttribute(this._el_2,"class","tutorial-ok-button"),this._appEl_2=new h.a(2,0,this,this._el_2);var n=I.b(this.viewUtils,this.injector(2),this._appEl_2);this._TooltipContent_2_4=new C.a(new S.a(this._el_2),n.ref),this._appEl_2.initComponent(this._TooltipContent_2_4,[],n),this._text_3=this.renderer.createText(null,"\n ",null),this._el_4=this.renderer.createElement(null,"div",null),this._text_5=this.renderer.createText(this._el_4,"",null),this._text_6=this.renderer.createText(null,"\n ",null),this._el_7=this.renderer.createElement(null,"div",null),this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"button",null),this.renderer.setElementAttribute(this._el_9,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_9,"ion-button",""),this._appEl_9=new h.a(9,7,this,this._el_9);var i=O.a(this.viewUtils,this.injector(9),this._appEl_9);this._Button_9_4=new E.a(null,"",this.parentInjector.get(k.c),new S.a(this._el_9),this.renderer),this._appEl_9.initComponent(this._Button_9_4,[],i),this._text_10=this.renderer.createText(null,"ok",null),i.create(this._Button_9_4,[[].concat([this._text_10])],null),this._text_11=this.renderer.createText(this._el_7,"\n ",null),this._text_12=this.renderer.createText(null,"\n ",null),n.create(this._TooltipContent_2_4,[[].concat([this._text_3,this._el_4,this._text_6,this._el_7,this._text_12])],null),this._text_13=this.renderer.createText(this._el_0,"\n\n ",null),this._anchor_14=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_14=new h.a(14,0,this,this._anchor_14),this._TemplateRef_14_5=new N.a(this._appEl_14,s),this._NgIf_14_6=new T.a(this._appEl_14.vcRef,this._TemplateRef_14_5),this._text_15=this.renderer.createText(this._el_0,"\n ",null),this._anchor_16=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_16=new h.a(16,0,this,this._anchor_16),this._TemplateRef_16_5=new N.a(this._appEl_16,o),this._NgIf_16_6=new T.a(this._appEl_16.vcRef,this._TemplateRef_16_5),this._text_17=this.renderer.createText(this._el_0,"\n",null),this._text_18=this.renderer.createText(e," ",null),this._expr_0=d.n,this._expr_1=d.n;var r=this.renderer.listen(this._el_9,"tap",this.eventHandler(this._handle_tap_9_0.bind(this)));return this._expr_3=d.n,this._expr_4=d.n,this._pipe_unitFormat_0=new A.a,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._text_11,this._text_12,this._text_13,this._anchor_14,this._text_15,this._anchor_16,this._text_17,this._text_18],[r],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===E.a&&9<=e&&e<=10?this._Button_9_4:t===C.a&&2<=e&&e<=12?this._TooltipContent_2_4:t===N.b&&14===e?this._TemplateRef_14_5:t===T.a&&14===e?this._NgIf_14_6:t===N.b&&16===e?this._TemplateRef_16_5:t===T.a&&16===e?this._NgIf_16_6:n},e.prototype.detectChangesInternal=function(t){var e=!0;u.c(t,this._expr_0,e)&&(this._TooltipContent_2_4.animation=e,this._expr_0=e);var n=this.context.settingsService.nestedChannels;u.c(t,this._expr_3,n)&&(this._NgIf_14_6.ngIf=n,this._expr_3=n);var i=this.context.showSettings;u.c(t,this._expr_4,i)&&(this._NgIf_16_6.ngIf=i,this._expr_4=i),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_9_4.ngAfterContentInit();var r=u.e(1,"\n ",this.context.tooltipService.getTooltip("tutorialLoopBack").message,"\n ");u.c(t,this._expr_1,r)&&(this.renderer.setText(this._text_5,r),this._expr_1=r),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._TooltipContent_2_4.ngAfterViewInit()},e.prototype._handle_tap_9_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.proceedToNextStage()!==!1;return e},e}(l.a),tt=function(t){function e(n,i,r){t.call(this,e,Z,p.a.EMBEDDED,n,i,r,d.b.CheckAlways)}return Y(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","header-bar-side awg-header"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"img",null),this.renderer.setElementAttribute(this._el_2,"class","custom-dropdown-img"),this.renderer.setElementAttribute(this._el_2,"src","assets/img/collapse-arrow-right.svg"),this._NgClass_2_3=new P.a(this.parent.parentInjector.get(D.a),this.parent.parentInjector.get(j.a),new S.a(this._el_2),this.renderer),this._text_3=this.renderer.createText(this._el_0,"\n ",null),this._el_4=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_4,"class","header-bar-title instrument-header"),this.renderer.setElementAttribute(this._el_4,"onlyForceShow","true"),this.renderer.setElementAttribute(this._el_4,"tooltipPlacement","top"),this._appEl_4=new h.a(4,0,this,this._el_4),this._Tooltip_4_5=new R.a(this._appEl_4.vcRef,this.parent.parentInjector.get(M.a),this.parent.parentInjector.get(L.f)),this._text_5=this.renderer.createText(this._el_4,"\n Wavegen\n ",null),this._text_6=this.renderer.createText(this._el_0,"\n ",null),this._el_7=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_7,"style","width:26px;height:26px;display:inline-block;"),this._text_8=this.renderer.createText(this._el_0,"\n ",null);var e=this.renderer.listen(this._el_2,"tap",this.eventHandler(this._handle_tap_2_0.bind(this)));this._expr_1=d.n,this._map_0=u.h(function(t){return{rotateOn:t}}),this._expr_2=d.n;var n=this.renderer.listen(this._el_4,"focusin",this.eventHandler(this._handle_focusin_4_0.bind(this))),i=this.renderer.listen(this._el_4,"mouseenter",this.eventHandler(this._handle_mouseenter_4_1.bind(this))),r=this.renderer.listen(this._el_4,"focusout",this.eventHandler(this._handle_focusout_4_2.bind(this))),s=this.renderer.listen(this._el_4,"mouseleave",this.eventHandler(this._handle_mouseleave_4_3.bind(this)));return this._expr_7=d.n,this._expr_8=d.n,this._expr_9=d.n,this._expr_10=d.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8],[e,n,i,r,s],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===P.a&&2===e?this._NgClass_2_3:t===R.a&&4<=e&&e<=5?this._Tooltip_4_5:n},e.prototype.detectChangesInternal=function(t){var e=null,n="custom-dropdown-img";u.c(t,this._expr_1,n)&&(this._NgClass_2_3.klass=n,this._expr_1=n);var i=this._map_0(this.parent.context.showSettings);u.c(t,this._expr_2,i)&&(this._NgClass_2_3.ngClass=i,this._expr_2=i),t||this._NgClass_2_3.ngDoCheck(),e=null;var r=this.parent._TooltipContent_2_4;u.c(t,this._expr_7,r)&&(this._Tooltip_4_5.content=r,null===e&&(e={}),e.content=new d.m(this._expr_7,r),this._expr_7=r);var s="top";u.c(t,this._expr_8,s)&&(this._Tooltip_4_5.tooltipPlacement=s,null===e&&(e={}),e.tooltipPlacement=new d.m(this._expr_8,s),this._expr_8=s);var o=this.parent.context.tutorialMode&&1===this.parent.context.tutorialStage;u.c(t,this._expr_9,o)&&(this._Tooltip_4_5.forceShow=o,null===e&&(e={}),e.forceShow=new d.m(this._expr_9,o),this._expr_9=o);var a="true";u.c(t,this._expr_10,a)&&(this._Tooltip_4_5.onlyForceShow=a,null===e&&(e={}),e.onlyForceShow=new d.m(this._expr_10,a),this._expr_10=a),null!==e&&this._Tooltip_4_5.ngOnChanges(e),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.toggleAwgSettings()!==!1;return e},e.prototype._handle_focusin_4_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_4_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_4_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_4_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_4_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_4_5.hide()!==!1;return e},e.prototype._handle_mouseleave_4_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_4_5.hide()!==!1;return e},e}(l.a),et=function(t){function e(n,i,r){t.call(this,e,Z,p.a.EMBEDDED,n,i,r,d.b.CheckAlways)}return Y(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._anchor_2=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_2=new h.a(2,0,this,this._anchor_2),this._TemplateRef_2_5=new N.a(this._appEl_2,a),this._NgFor_2_6=new B.a(this._appEl_2.vcRef,this._TemplateRef_2_5,this.parent.parentInjector.get(D.a),this.parent.ref),this._text_3=this.renderer.createText(this._el_0,"\n ",null),this._expr_0=d.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._anchor_2,this._text_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===N.b&&2===e?this._TemplateRef_2_5:t===B.a&&2===e?this._NgFor_2_6:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.context.activeDevice.instruments.awg.chans;u.c(t,this._expr_0,n)&&(this._NgFor_2_6.ngForOf=n,null===e&&(e={}),e.ngForOf=new d.m(this._expr_0,n),this._expr_0=n),null!==e&&this._NgFor_2_6.ngOnChanges(e),t||this._NgFor_2_6.ngDoCheck(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(l.a),nt=function(t){function e(n,i,r){t.call(this,e,Z,p.a.EMBEDDED,n,i,r,d.b.CheckAlways)}return Y(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this._NgClass_0_3=new P.a(this.parent.parent.parentInjector.get(D.a),this.parent.parent.parentInjector.get(j.a),new S.a(this._el_0),this.renderer),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-row",null),this._Row_2_3=new F.c,this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-col",null),this.renderer.setElementAttribute(this._el_4,"center",""),this.renderer.setElementAttribute(this._el_4,"class","header-side-col"),this.renderer.setElementAttribute(this._el_4,"text-left",""),this._Col_4_3=new F.a,this._text_5=this.renderer.createText(this._el_4,"\n ",null),this._el_6=this.renderer.createElement(this._el_4,"button",null),this.renderer.setElementAttribute(this._el_6,"class","dropdown-image-button"),this.renderer.setElementAttribute(this._el_6,"clear",""),this.renderer.setElementAttribute(this._el_6,"ion-button",""),this._appEl_6=new h.a(6,4,this,this._el_6);var e=O.a(this.viewUtils,this.injector(6),this._appEl_6);this._Button_6_4=new E.a(null,"",this.parent.parent.parentInjector.get(k.c),new S.a(this._el_6),this.renderer),this._appEl_6.initComponent(this._Button_6_4,[],e),this._text_7=this.renderer.createText(null,"\n ",null),this._el_8=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_8,"class","custom-dropdown-img"),this.renderer.setElementAttribute(this._el_8,"src","assets/img/collapse-arrow-right.svg"),this._NgClass_8_3=new P.a(this.parent.parent.parentInjector.get(D.a),this.parent.parent.parentInjector.get(j.a),new S.a(this._el_8),this.renderer),this._text_9=this.renderer.createText(null,"\n ",null),e.create(this._Button_6_4,[[].concat([this._text_7,this._el_8,this._text_9])],null),this._text_10=this.renderer.createText(this._el_4,"\n ",null),this._text_11=this.renderer.createText(this._el_2,"\n ",null),this._el_12=this.renderer.createElement(this._el_2,"ion-col",null),this.renderer.setElementAttribute(this._el_12,"center",""),this.renderer.setElementAttribute(this._el_12,"text-center",""),this._Col_12_3=new F.a,this._text_13=this.renderer.createText(this._el_12,"\n ",null),this._el_14=this.renderer.createElement(this._el_12,"div",null),this.renderer.setElementAttribute(this._el_14,"onlyForceShow","true"),this.renderer.setElementAttribute(this._el_14,"tooltipPlacement","top"),this._appEl_14=new h.a(14,12,this,this._el_14),this._NgClass_14_5=new P.a(this.parent.parent.parentInjector.get(D.a),this.parent.parent.parentInjector.get(j.a),new S.a(this._el_14),this.renderer),this._Tooltip_14_6=new R.a(this._appEl_14.vcRef,this.parent.parent.parentInjector.get(M.a),this.parent.parent.parentInjector.get(L.f)),this._text_15=this.renderer.createText(this._el_14,"",null),this._text_16=this.renderer.createText(this._el_12,"\n ",null),this._text_17=this.renderer.createText(this._el_2,"\n ",null),this._el_18=this.renderer.createElement(this._el_2,"ion-col",null),this.renderer.setElementAttribute(this._el_18,"center",""),this.renderer.setElementAttribute(this._el_18,"class","header-side-col"),this.renderer.setElementAttribute(this._el_18,"text-right",""),this._Col_18_3=new F.a,this._text_19=this.renderer.createText(this._el_18,"\n ",null),this._el_20=this.renderer.createElement(this._el_18,"button",null),this.renderer.setElementAttribute(this._el_20,"class","powerOff header-button"),this.renderer.setElementAttribute(this._el_20,"clear",""),this.renderer.setElementAttribute(this._el_20,"ion-button",""),this.renderer.setElementAttribute(this._el_20,"onlyForceShow","true"),this.renderer.setElementAttribute(this._el_20,"tooltipPlacement","left"),this._appEl_20=new h.a(20,18,this,this._el_20);var n=O.a(this.viewUtils,this.injector(20),this._appEl_20);this._NgClass_20_5=new P.a(this.parent.parent.parentInjector.get(D.a),this.parent.parent.parentInjector.get(j.a),new S.a(this._el_20),this.renderer),this._Tooltip_20_6=new R.a(this._appEl_20.vcRef,this.parent.parent.parentInjector.get(M.a),this.parent.parent.parentInjector.get(L.f)),this._Button_20_7=new E.a(null,"",this.parent.parent.parentInjector.get(k.c),new S.a(this._el_20),this.renderer),this._appEl_20.initComponent(this._Button_20_7,[],n),this._text_21=this.renderer.createText(null,"\n ",null),this._el_22=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_22,"src","assets/img/power.svg"),this._text_23=this.renderer.createText(null,"\n ",null),n.create(this._Button_20_7,[[].concat([this._text_21,this._el_22,this._text_23])],null),this._text_24=this.renderer.createText(this._el_18,"\n ",null),this._text_25=this.renderer.createText(this._el_2,"\n ",null),this._text_26=this.renderer.createText(this._el_0,"\n ",null),this._anchor_27=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_27=new h.a(27,0,this,this._anchor_27),this._TemplateRef_27_5=new N.a(this._appEl_27,_),this._NgIf_27_6=new T.a(this._appEl_27.vcRef,this._TemplateRef_27_5),this._text_28=this.renderer.createText(this._el_0,"\n ",null),this._map_0=u.h(function(t){return{"awg-chan-container":t}}),this._expr_0=d.n;var i=this.renderer.listen(this._el_6,"tap",this.eventHandler(this._handle_tap_6_0.bind(this)));this._expr_2=d.n,this._expr_3=d.n,this._map_1=u.h(function(t){return{rotateOn:t}}),this._expr_4=d.n;var r=this.renderer.listen(this._el_14,"focusin",this.eventHandler(this._handle_focusin_14_0.bind(this))),s=this.renderer.listen(this._el_14,"mouseenter",this.eventHandler(this._handle_mouseenter_14_1.bind(this))),o=this.renderer.listen(this._el_14,"focusout",this.eventHandler(this._handle_focusout_14_2.bind(this))),a=this.renderer.listen(this._el_14,"mouseleave",this.eventHandler(this._handle_mouseleave_14_3.bind(this)));this._map_2=u.h(function(t){return{"instrument-header":t}}),this._expr_9=d.n,this._expr_10=d.n,this._expr_11=d.n,this._expr_12=d.n,this._expr_13=d.n,this._expr_14=d.n,this._expr_20=d.n;var l=this.renderer.listen(this._el_20,"tap",this.eventHandler(this._handle_tap_20_0.bind(this))),c=this.renderer.listen(this._el_20,"focusin",this.eventHandler(this._handle_focusin_20_1.bind(this))),p=this.renderer.listen(this._el_20,"mouseenter",this.eventHandler(this._handle_mouseenter_20_2.bind(this))),f=this.renderer.listen(this._el_20,"focusout",this.eventHandler(this._handle_focusout_20_3.bind(this))),m=this.renderer.listen(this._el_20,"mouseleave",this.eventHandler(this._handle_mouseleave_20_4.bind(this)));return this._expr_21=d.n,this._map_3=u.i(function(t,e){return{powerOn:t,"move-feature-to-front":e}}),this._expr_22=d.n,this._expr_23=d.n,this._expr_24=d.n,this._expr_25=d.n,this._expr_26=d.n,this._expr_27=d.n,this._expr_28=d.n,this._expr_29=d.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9,this._text_10,this._text_11,this._el_12,this._text_13,this._el_14,this._text_15,this._text_16,this._text_17,this._el_18,this._text_19,this._el_20,this._text_21,this._el_22,this._text_23,this._text_24,this._text_25,this._text_26,this._anchor_27,this._text_28],[i,r,s,o,a,l,c,p,f,m],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===P.a&&8===e?this._NgClass_8_3:t===E.a&&6<=e&&e<=9?this._Button_6_4:t===F.a&&4<=e&&e<=10?this._Col_4_3:t===P.a&&14<=e&&e<=15?this._NgClass_14_5:t===R.a&&14<=e&&e<=15?this._Tooltip_14_6:t===F.a&&12<=e&&e<=16?this._Col_12_3:t===P.a&&20<=e&&e<=23?this._NgClass_20_5:t===R.a&&20<=e&&e<=23?this._Tooltip_20_6:t===E.a&&20<=e&&e<=23?this._Button_20_7:t===F.a&&18<=e&&e<=24?this._Col_18_3:t===F.c&&2<=e&&e<=25?this._Row_2_3:t===N.b&&27===e?this._TemplateRef_27_5:t===T.a&&27===e?this._NgIf_27_6:t===P.a&&0<=e&&e<=28?this._NgClass_0_3:n},e.prototype.detectChangesInternal=function(t){var e=!0,n=null,i=this._map_0(this.parent.parent.context.settingsService.nestedChannels);u.c(t,this._expr_0,i)&&(this._NgClass_0_3.ngClass=i,this._expr_0=i),t||this._NgClass_0_3.ngDoCheck(),e=!1;var r="";u.c(t,this._expr_2,r)&&(this._Button_6_4.clear=r,e=!0,this._expr_2=r),e&&this._appEl_6.componentView.markAsCheckOnce();var s="custom-dropdown-img";u.c(t,this._expr_3,s)&&(this._NgClass_8_3.klass=s,this._expr_3=s);var o=this._map_1(this.parent.parent.context.showChanSettings[this.context.index]);u.c(t,this._expr_4,o)&&(this._NgClass_8_3.ngClass=o,this._expr_4=o),t||this._NgClass_8_3.ngDoCheck();var a=this._map_2(!this.parent.parent.context.settingsService.nestedChannels);u.c(t,this._expr_9,a)&&(this._NgClass_14_5.ngClass=a,this._expr_9=a),t||this._NgClass_14_5.ngDoCheck(),n=null;var _=this.parent.parent._TooltipContent_2_4;u.c(t,this._expr_10,_)&&(this._Tooltip_14_6.content=_,null===n&&(n={}),n.content=new d.m(this._expr_10,_),this._expr_10=_);var l="top";u.c(t,this._expr_11,l)&&(this._Tooltip_14_6.tooltipPlacement=l,null===n&&(n={}),n.tooltipPlacement=new d.m(this._expr_11,l),this._expr_11=l);var h=this.parent.parent.context.tutorialMode&&1===this.parent.parent.context.tutorialStage;u.c(t,this._expr_12,h)&&(this._Tooltip_14_6.forceShow=h,null===n&&(n={}),n.forceShow=new d.m(this._expr_12,h),this._expr_12=h);var c="true";u.c(t,this._expr_13,c)&&(this._Tooltip_14_6.onlyForceShow=c,null===n&&(n={}),n.onlyForceShow=new d.m(this._expr_13,c),this._expr_13=c),null!==n&&this._Tooltip_14_6.ngOnChanges(n);var p="powerOff header-button";u.c(t,this._expr_21,p)&&(this._NgClass_20_5.klass=p,this._expr_21=p);var f=this._map_3(this.parent.parent.context.powerOn[this.context.index],3===this.parent.parent.context.tutorialStage&&this.parent.parent.context.tutorialMode);u.c(t,this._expr_22,f)&&(this._NgClass_20_5.ngClass=f,this._expr_22=f),t||this._NgClass_20_5.ngDoCheck(),n=null;var m=this.parent.parent.context.tooltipService.getTooltip(this.parent.parent.context.tutorialMode?"tutorialFgenPower":"fgenPower").message;u.c(t,this._expr_23,m)&&(this._Tooltip_20_6.content=m,null===n&&(n={}),n.content=new d.m(this._expr_23,m),this._expr_23=m);var g=!0;u.c(t,this._expr_24,g)&&(this._Tooltip_20_6.tooltipAnimation=g,null===n&&(n={}),n.tooltipAnimation=new d.m(this._expr_24,g),this._expr_24=g);var v="left";u.c(t,this._expr_25,v)&&(this._Tooltip_20_6.tooltipPlacement=v,null===n&&(n={}),n.tooltipPlacement=new d.m(this._expr_25,v),this._expr_25=v);var x=3===this.parent.parent.context.tutorialStage&&this.parent.parent.context.tutorialMode;u.c(t,this._expr_26,x)&&(this._Tooltip_20_6.forceShow=x,null===n&&(n={}),n.forceShow=new d.m(this._expr_26,x),this._expr_26=x);var y="true";u.c(t,this._expr_27,y)&&(this._Tooltip_20_6.onlyForceShow=y,null===n&&(n={}),n.onlyForceShow=new d.m(this._expr_27,y),this._expr_27=y),null!==n&&this._Tooltip_20_6.ngOnChanges(n),e=!1;var b="";u.c(t,this._expr_28,b)&&(this._Button_20_7.clear=b,e=!0,this._expr_28=b),e&&this._appEl_20.componentView.markAsCheckOnce();var w=this.parent.parent.context.showChanSettings[this.context.index];u.c(t,this._expr_29,w)&&(this._NgIf_27_6.ngIf=w,this._expr_29=w),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_6_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_20_7.ngAfterContentInit());var C=u.e(2,"\n ",this.parent.parent.context.settingsService.nestedChannels===!1?"Wavegen":"","",this.parent.parent.context.activeDevice.instruments.awg.chans.length<2&&!this.parent.parent.context.settingsService.nestedChannels?" ":"Ch "+(this.context.index+1),"\n ");u.c(t,this._expr_14,C)&&(this.renderer.setText(this._text_15,C),this._expr_14=C);var E=this.parent.parent.context.awaitingResponse;u.c(t,this._expr_20,E)&&(this.renderer.setElementProperty(this._el_20,"disabled",E),this._expr_20=E),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_6_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.toggleChanSettings(this.context.index)!==!1;return e},e.prototype._handle_focusin_14_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_14_6.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_14_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_14_6.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_14_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_14_6.hide()!==!1;return e},e.prototype._handle_mouseleave_14_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_14_6.hide()!==!1;return e},e.prototype._handle_tap_20_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.togglePower(t,this.context.index)!==!1;return e},e.prototype._handle_focusin_20_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_20_6.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_20_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_20_6.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_20_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_20_6.hide()!==!1;return e},e.prototype._handle_mouseleave_20_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_20_6.hide()!==!1;return e},e}(l.a),it=function(t){function e(n,i,r){t.call(this,e,Z,p.a.EMBEDDED,n,i,r,d.b.CheckAlways)}return Y(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","fgen-content-container"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_2,"class","wavetype-images-container"),this.renderer.setElementAttribute(this._el_2,"onlyForceShow","true"),this.renderer.setElementAttribute(this._el_2,"text-center",""),this.renderer.setElementAttribute(this._el_2,"tooltipPlacement","top"),this._appEl_2=new h.a(2,0,this,this._el_2),this._Tooltip_2_5=new R.a(this._appEl_2.vcRef,this.parent.parent.parent.parentInjector.get(M.a),this.parent.parent.parent.parentInjector.get(L.f)),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"div",null),this.renderer.setElementAttribute(this._el_4,"class","wavetype-image"),this.renderer.setElementAttribute(this._el_4,"tooltipPlacement","top"),this._appEl_4=new h.a(4,2,this,this._el_4),this._NgClass_4_5=new P.a(this.parent.parent.parent.parentInjector.get(D.a),this.parent.parent.parent.parentInjector.get(j.a),new S.a(this._el_4),this.renderer),this._Tooltip_4_6=new R.a(this._appEl_4.vcRef,this.parent.parent.parent.parentInjector.get(M.a),this.parent.parent.parent.parentInjector.get(L.f)),this._text_5=this.renderer.createText(this._el_4,"\n ",null),this._el_6=this.renderer.createElement(this._el_4,"img",null),this.renderer.setElementAttribute(this._el_6,"src","assets/img/sine.svg"),this._text_7=this.renderer.createText(this._el_4,"\n ",null),this._text_8=this.renderer.createText(this._el_2,"\n ",null),this._el_9=this.renderer.createElement(this._el_2,"div",null),this.renderer.setElementAttribute(this._el_9,"class","wavetype-image"),this.renderer.setElementAttribute(this._el_9,"tooltipPlacement","bottom"),this._appEl_9=new h.a(9,2,this,this._el_9),this._NgClass_9_5=new P.a(this.parent.parent.parent.parentInjector.get(D.a),this.parent.parent.parent.parentInjector.get(j.a),new S.a(this._el_9),this.renderer),this._Tooltip_9_6=new R.a(this._appEl_9.vcRef,this.parent.parent.parent.parentInjector.get(M.a),this.parent.parent.parent.parentInjector.get(L.f)),this._text_10=this.renderer.createText(this._el_9,"\n ",null),this._el_11=this.renderer.createElement(this._el_9,"img",null),this.renderer.setElementAttribute(this._el_11,"src","assets/img/triangle.svg"),this._text_12=this.renderer.createText(this._el_9,"\n ",null),this._text_13=this.renderer.createText(this._el_2,"\n ",null),this._el_14=this.renderer.createElement(this._el_2,"div",null),this.renderer.setElementAttribute(this._el_14,"class","wavetype-image"),this.renderer.setElementAttribute(this._el_14,"tooltipPlacement","top"),this._appEl_14=new h.a(14,2,this,this._el_14),this._NgClass_14_5=new P.a(this.parent.parent.parent.parentInjector.get(D.a),this.parent.parent.parent.parentInjector.get(j.a),new S.a(this._el_14),this.renderer),this._Tooltip_14_6=new R.a(this._appEl_14.vcRef,this.parent.parent.parent.parentInjector.get(M.a),this.parent.parent.parent.parentInjector.get(L.f)),this._text_15=this.renderer.createText(this._el_14,"\n ",null),this._el_16=this.renderer.createElement(this._el_14,"img",null),this.renderer.setElementAttribute(this._el_16,"src","assets/img/sawtooth.svg"),this._text_17=this.renderer.createText(this._el_14,"\n ",null),this._text_18=this.renderer.createText(this._el_2,"\n ",null),this._el_19=this.renderer.createElement(this._el_2,"div",null),this.renderer.setElementAttribute(this._el_19,"class","wavetype-image"),this.renderer.setElementAttribute(this._el_19,"tooltipPlacement","top"),this._appEl_19=new h.a(19,2,this,this._el_19),this._NgClass_19_5=new P.a(this.parent.parent.parent.parentInjector.get(D.a),this.parent.parent.parent.parentInjector.get(j.a),new S.a(this._el_19),this.renderer),this._Tooltip_19_6=new R.a(this._appEl_19.vcRef,this.parent.parent.parent.parentInjector.get(M.a),this.parent.parent.parent.parentInjector.get(L.f)),this._text_20=this.renderer.createText(this._el_19,"\n ",null),this._el_21=this.renderer.createElement(this._el_19,"img",null),this.renderer.setElementAttribute(this._el_21,"src","assets/img/square.svg"),this._text_22=this.renderer.createText(this._el_19,"\n ",null),this._text_23=this.renderer.createText(this._el_2,"\n ",null),this._el_24=this.renderer.createElement(this._el_2,"div",null),this.renderer.setElementAttribute(this._el_24,"class","wavetype-image image-end"),this.renderer.setElementAttribute(this._el_24,"tooltipPlacement","top"),this._appEl_24=new h.a(24,2,this,this._el_24),this._NgClass_24_5=new P.a(this.parent.parent.parent.parentInjector.get(D.a),this.parent.parent.parent.parentInjector.get(j.a),new S.a(this._el_24),this.renderer),this._Tooltip_24_6=new R.a(this._appEl_24.vcRef,this.parent.parent.parent.parentInjector.get(M.a),this.parent.parent.parent.parentInjector.get(L.f)),this._text_25=this.renderer.createText(this._el_24,"\n ",null),this._el_26=this.renderer.createElement(this._el_24,"img",null),this.renderer.setElementAttribute(this._el_26,"src","assets/img/dc.svg"),this._text_27=this.renderer.createText(this._el_24,"\n ",null),this._text_28=this.renderer.createText(this._el_2,"\n ",null),this._text_29=this.renderer.createText(this._el_0,"\n ",null),this._el_30=this.renderer.createElement(this._el_0,"ion-row",null),this.renderer.setElementAttribute(this._el_30,"class","freq-input-row"),this._Row_30_3=new F.c,this._text_31=this.renderer.createText(this._el_30,"\n ",null),this._el_32=this.renderer.createElement(this._el_30,"ion-col",null),this.renderer.setElementAttribute(this._el_32,"center",""),this.renderer.setElementAttribute(this._el_32,"class","input-label"),this._Col_32_3=new F.a,this._text_33=this.renderer.createText(this._el_32,"\n Frequency\n ",null),this._text_34=this.renderer.createText(this._el_30,"\n ",null),this._el_35=this.renderer.createElement(this._el_30,"ion-col",null),this.renderer.setElementAttribute(this._el_35,"center",""),this.renderer.setElementAttribute(this._el_35,"class","vpd-button-col"),this.renderer.setElementAttribute(this._el_35,"text-right",""),this._Col_35_3=new F.a,this._text_36=this.renderer.createText(this._el_35,"\n ",null), this._el_37=this.renderer.createElement(this._el_35,"button",null),this.renderer.setElementAttribute(this._el_37,"class","icon-only-button-side disable-hover offset-button"),this.renderer.setElementAttribute(this._el_37,"ion-button",""),this._appEl_37=new h.a(37,35,this,this._el_37);var e=O.a(this.viewUtils,this.injector(37),this._appEl_37);this._Button_37_4=new E.a(null,"",this.parent.parent.parent.parentInjector.get(k.c),new S.a(this._el_37),this.renderer),this._appEl_37.initComponent(this._Button_37_4,[],e),this._text_38=this.renderer.createText(null,"\n ",null),this._el_39=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_39,"src","assets/img/remove.svg"),this._text_40=this.renderer.createText(null,"\n ",null),e.create(this._Button_37_4,[[].concat([this._text_38,this._el_39,this._text_40])],null),this._text_41=this.renderer.createText(this._el_35,"\n ",null),this._text_42=this.renderer.createText(this._el_30,"\n ",null),this._el_43=this.renderer.createElement(this._el_30,"ion-col",null),this.renderer.setElementAttribute(this._el_43,"center",""),this.renderer.setElementAttribute(this._el_43,"class","vpd-val-col"),this.renderer.setElementAttribute(this._el_43,"text-center",""),this._Col_43_3=new F.a,this._text_44=this.renderer.createText(this._el_43,"\n ",null),this._el_45=this.renderer.createElement(this._el_43,"div",null),this.renderer.setElementAttribute(this._el_45,"tooltipPlacement","top"),this._appEl_45=new h.a(45,43,this,this._el_45),this._Tooltip_45_5=new R.a(this._appEl_45.vcRef,this.parent.parent.parent.parentInjector.get(M.a),this.parent.parent.parent.parentInjector.get(L.f)),this._text_46=this.renderer.createText(this._el_45,"\n ",null),this._el_47=this.renderer.createElement(this._el_45,"input",null),this.renderer.setElementAttribute(this._el_47,"class","custom-input"),this.renderer.setElementAttribute(this._el_47,"formatInput",""),this.renderer.setElementAttribute(this._el_47,"step","any"),this._DefaultValueAccessor_47_3=new q.a(this.renderer,new S.a(this._el_47)),this._NG_VALUE_ACCESSOR_47_4=[this._DefaultValueAccessor_47_3],this._NgModel_47_5=new V.a(null,null,null,this._NG_VALUE_ACCESSOR_47_4),this._NgControl_47_6=this._NgModel_47_5,this._NgControlStatus_47_7=new H.a(this._NgControl_47_6),this._FormatInputDirective_47_8=new U.a(this.parent.parent.parent.parentInjector.get(z.a)),this._text_48=this.renderer.createText(this._el_45,"\n ",null),this._text_49=this.renderer.createText(this._el_43,"\n ",null),this._text_50=this.renderer.createText(this._el_30,"\n ",null),this._el_51=this.renderer.createElement(this._el_30,"ion-col",null),this.renderer.setElementAttribute(this._el_51,"center",""),this.renderer.setElementAttribute(this._el_51,"class","vpd-button-col margin-right"),this.renderer.setElementAttribute(this._el_51,"text-left",""),this._Col_51_3=new F.a,this._text_52=this.renderer.createText(this._el_51,"\n ",null),this._el_53=this.renderer.createElement(this._el_51,"button",null),this.renderer.setElementAttribute(this._el_53,"class","icon-only-button-side disable-hover offset-button"),this.renderer.setElementAttribute(this._el_53,"ion-button",""),this._appEl_53=new h.a(53,51,this,this._el_53);var n=O.a(this.viewUtils,this.injector(53),this._appEl_53);this._Button_53_4=new E.a(null,"",this.parent.parent.parent.parentInjector.get(k.c),new S.a(this._el_53),this.renderer),this._appEl_53.initComponent(this._Button_53_4,[],n),this._text_54=this.renderer.createText(null,"\n ",null),this._el_55=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_55,"src","assets/img/add.svg"),this._text_56=this.renderer.createText(null,"\n ",null),n.create(this._Button_53_4,[[].concat([this._text_54,this._el_55,this._text_56])],null),this._text_57=this.renderer.createText(this._el_51,"\n ",null),this._text_58=this.renderer.createText(this._el_30,"\n ",null),this._text_59=this.renderer.createText(this._el_0,"\n ",null),this._el_60=this.renderer.createElement(this._el_0,"ion-row",null),this.renderer.setElementAttribute(this._el_60,"class","freq-input-row"),this._Row_60_3=new F.c,this._text_61=this.renderer.createText(this._el_60,"\n ",null),this._el_62=this.renderer.createElement(this._el_60,"ion-col",null),this.renderer.setElementAttribute(this._el_62,"center",""),this.renderer.setElementAttribute(this._el_62,"class","vpd-label-col"),this._Col_62_3=new F.a,this._text_63=this.renderer.createText(this._el_62,"\n Amplitude\n ",null),this._text_64=this.renderer.createText(this._el_60,"\n ",null),this._el_65=this.renderer.createElement(this._el_60,"ion-col",null),this.renderer.setElementAttribute(this._el_65,"center",""),this.renderer.setElementAttribute(this._el_65,"class","vpd-button-col"),this.renderer.setElementAttribute(this._el_65,"text-right",""),this._Col_65_3=new F.a,this._text_66=this.renderer.createText(this._el_65,"\n ",null),this._el_67=this.renderer.createElement(this._el_65,"button",null),this.renderer.setElementAttribute(this._el_67,"class","icon-only-button-side disable-hover offset-button"),this.renderer.setElementAttribute(this._el_67,"ion-button",""),this._appEl_67=new h.a(67,65,this,this._el_67);var i=O.a(this.viewUtils,this.injector(67),this._appEl_67);this._Button_67_4=new E.a(null,"",this.parent.parent.parent.parentInjector.get(k.c),new S.a(this._el_67),this.renderer),this._appEl_67.initComponent(this._Button_67_4,[],i),this._text_68=this.renderer.createText(null,"\n ",null),this._el_69=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_69,"src","assets/img/remove.svg"),this._text_70=this.renderer.createText(null,"\n ",null),i.create(this._Button_67_4,[[].concat([this._text_68,this._el_69,this._text_70])],null),this._text_71=this.renderer.createText(this._el_65,"\n ",null),this._text_72=this.renderer.createText(this._el_60,"\n ",null),this._el_73=this.renderer.createElement(this._el_60,"ion-col",null),this.renderer.setElementAttribute(this._el_73,"center",""),this.renderer.setElementAttribute(this._el_73,"class","vpd-val-col"),this.renderer.setElementAttribute(this._el_73,"text-center",""),this._Col_73_3=new F.a,this._text_74=this.renderer.createText(this._el_73,"\n ",null),this._el_75=this.renderer.createElement(this._el_73,"div",null),this.renderer.setElementAttribute(this._el_75,"tooltipPlacement","top"),this._appEl_75=new h.a(75,73,this,this._el_75),this._Tooltip_75_5=new R.a(this._appEl_75.vcRef,this.parent.parent.parent.parentInjector.get(M.a),this.parent.parent.parent.parentInjector.get(L.f)),this._text_76=this.renderer.createText(this._el_75,"\n ",null),this._el_77=this.renderer.createElement(this._el_75,"input",null),this.renderer.setElementAttribute(this._el_77,"class","custom-input"),this.renderer.setElementAttribute(this._el_77,"formatInput",""),this.renderer.setElementAttribute(this._el_77,"step","any"),this._DefaultValueAccessor_77_3=new q.a(this.renderer,new S.a(this._el_77)),this._NG_VALUE_ACCESSOR_77_4=[this._DefaultValueAccessor_77_3],this._NgModel_77_5=new V.a(null,null,null,this._NG_VALUE_ACCESSOR_77_4),this._NgControl_77_6=this._NgModel_77_5,this._NgControlStatus_77_7=new H.a(this._NgControl_77_6),this._FormatInputDirective_77_8=new U.a(this.parent.parent.parent.parentInjector.get(z.a)),this._text_78=this.renderer.createText(this._el_75,"\n ",null),this._text_79=this.renderer.createText(this._el_73,"\n ",null),this._text_80=this.renderer.createText(this._el_60,"\n ",null),this._el_81=this.renderer.createElement(this._el_60,"ion-col",null),this.renderer.setElementAttribute(this._el_81,"center",""),this.renderer.setElementAttribute(this._el_81,"class","vpd-button-col margin-right"),this.renderer.setElementAttribute(this._el_81,"text-left",""),this._Col_81_3=new F.a,this._text_82=this.renderer.createText(this._el_81,"\n ",null),this._el_83=this.renderer.createElement(this._el_81,"button",null),this.renderer.setElementAttribute(this._el_83,"class","icon-only-button-side disable-hover offset-button"),this.renderer.setElementAttribute(this._el_83,"ion-button",""),this._appEl_83=new h.a(83,81,this,this._el_83);var r=O.a(this.viewUtils,this.injector(83),this._appEl_83);this._Button_83_4=new E.a(null,"",this.parent.parent.parent.parentInjector.get(k.c),new S.a(this._el_83),this.renderer),this._appEl_83.initComponent(this._Button_83_4,[],r),this._text_84=this.renderer.createText(null,"\n ",null),this._el_85=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_85,"src","assets/img/add.svg"),this._text_86=this.renderer.createText(null,"\n ",null),r.create(this._Button_83_4,[[].concat([this._text_84,this._el_85,this._text_86])],null),this._text_87=this.renderer.createText(this._el_81,"\n ",null),this._text_88=this.renderer.createText(this._el_60,"\n ",null),this._text_89=this.renderer.createText(this._el_0,"\n ",null),this._el_90=this.renderer.createElement(this._el_0,"ion-row",null),this.renderer.setElementAttribute(this._el_90,"class","freq-input-row"),this._Row_90_3=new F.c,this._text_91=this.renderer.createText(this._el_90,"\n ",null),this._el_92=this.renderer.createElement(this._el_90,"ion-col",null),this.renderer.setElementAttribute(this._el_92,"center",""),this.renderer.setElementAttribute(this._el_92,"class","input-label"),this._Col_92_3=new F.a,this._text_93=this.renderer.createText(this._el_92,"\n DC Offset\n ",null),this._text_94=this.renderer.createText(this._el_90,"\n ",null),this._el_95=this.renderer.createElement(this._el_90,"ion-col",null),this.renderer.setElementAttribute(this._el_95,"center",""),this.renderer.setElementAttribute(this._el_95,"class","vpd-button-col"),this.renderer.setElementAttribute(this._el_95,"text-right",""),this._Col_95_3=new F.a,this._text_96=this.renderer.createText(this._el_95,"\n ",null),this._el_97=this.renderer.createElement(this._el_95,"button",null),this.renderer.setElementAttribute(this._el_97,"class","icon-only-button-side disable-hover offset-button"),this.renderer.setElementAttribute(this._el_97,"ion-button",""),this._appEl_97=new h.a(97,95,this,this._el_97);var s=O.a(this.viewUtils,this.injector(97),this._appEl_97);this._Button_97_4=new E.a(null,"",this.parent.parent.parent.parentInjector.get(k.c),new S.a(this._el_97),this.renderer),this._appEl_97.initComponent(this._Button_97_4,[],s),this._text_98=this.renderer.createText(null,"\n ",null),this._el_99=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_99,"src","assets/img/remove.svg"),this._text_100=this.renderer.createText(null,"\n ",null),s.create(this._Button_97_4,[[].concat([this._text_98,this._el_99,this._text_100])],null),this._text_101=this.renderer.createText(this._el_95,"\n ",null),this._text_102=this.renderer.createText(this._el_90,"\n ",null),this._el_103=this.renderer.createElement(this._el_90,"ion-col",null),this.renderer.setElementAttribute(this._el_103,"center",""),this.renderer.setElementAttribute(this._el_103,"class","vpd-val-col"),this.renderer.setElementAttribute(this._el_103,"text-center",""),this._Col_103_3=new F.a,this._text_104=this.renderer.createText(this._el_103,"\n ",null),this._el_105=this.renderer.createElement(this._el_103,"div",null),this.renderer.setElementAttribute(this._el_105,"tooltipPlacement","top"),this._appEl_105=new h.a(105,103,this,this._el_105),this._Tooltip_105_5=new R.a(this._appEl_105.vcRef,this.parent.parent.parent.parentInjector.get(M.a),this.parent.parent.parent.parentInjector.get(L.f)),this._text_106=this.renderer.createText(this._el_105,"\n ",null),this._el_107=this.renderer.createElement(this._el_105,"input",null),this.renderer.setElementAttribute(this._el_107,"class","custom-input"),this.renderer.setElementAttribute(this._el_107,"formatInput",""),this.renderer.setElementAttribute(this._el_107,"step","any"),this._DefaultValueAccessor_107_3=new q.a(this.renderer,new S.a(this._el_107)),this._NG_VALUE_ACCESSOR_107_4=[this._DefaultValueAccessor_107_3],this._NgModel_107_5=new V.a(null,null,null,this._NG_VALUE_ACCESSOR_107_4),this._NgControl_107_6=this._NgModel_107_5,this._NgControlStatus_107_7=new H.a(this._NgControl_107_6),this._FormatInputDirective_107_8=new U.a(this.parent.parent.parent.parentInjector.get(z.a)),this._text_108=this.renderer.createText(this._el_105,"\n ",null),this._text_109=this.renderer.createText(this._el_103,"\n ",null),this._text_110=this.renderer.createText(this._el_90,"\n ",null),this._el_111=this.renderer.createElement(this._el_90,"ion-col",null),this.renderer.setElementAttribute(this._el_111,"center",""),this.renderer.setElementAttribute(this._el_111,"class","vpd-button-col margin-right"),this.renderer.setElementAttribute(this._el_111,"text-left",""),this._Col_111_3=new F.a,this._text_112=this.renderer.createText(this._el_111,"\n ",null),this._el_113=this.renderer.createElement(this._el_111,"button",null),this.renderer.setElementAttribute(this._el_113,"class","icon-only-button-side disable-hover offset-button"),this.renderer.setElementAttribute(this._el_113,"ion-button",""),this._appEl_113=new h.a(113,111,this,this._el_113);var o=O.a(this.viewUtils,this.injector(113),this._appEl_113);this._Button_113_4=new E.a(null,"",this.parent.parent.parent.parentInjector.get(k.c),new S.a(this._el_113),this.renderer),this._appEl_113.initComponent(this._Button_113_4,[],o),this._text_114=this.renderer.createText(null,"\n ",null),this._el_115=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_115,"src","assets/img/add.svg"),this._text_116=this.renderer.createText(null,"\n ",null),o.create(this._Button_113_4,[[].concat([this._text_114,this._el_115,this._text_116])],null),this._text_117=this.renderer.createText(this._el_111,"\n ",null),this._text_118=this.renderer.createText(this._el_90,"\n ",null),this._text_119=this.renderer.createText(this._el_0,"\n \n ",null);var a=this.renderer.listen(this._el_2,"focusin",this.eventHandler(this._handle_focusin_2_0.bind(this))),_=this.renderer.listen(this._el_2,"mouseenter",this.eventHandler(this._handle_mouseenter_2_1.bind(this))),l=this.renderer.listen(this._el_2,"focusout",this.eventHandler(this._handle_focusout_2_2.bind(this))),c=this.renderer.listen(this._el_2,"mouseleave",this.eventHandler(this._handle_mouseleave_2_3.bind(this)));this._expr_4=d.n,this._expr_5=d.n,this._expr_6=d.n,this._expr_7=d.n,this._expr_8=d.n;var p=this.renderer.listen(this._el_4,"tap",this.eventHandler(this._handle_tap_4_0.bind(this))),f=this.renderer.listen(this._el_4,"focusin",this.eventHandler(this._handle_focusin_4_1.bind(this))),m=this.renderer.listen(this._el_4,"mouseenter",this.eventHandler(this._handle_mouseenter_4_2.bind(this))),g=this.renderer.listen(this._el_4,"focusout",this.eventHandler(this._handle_focusout_4_3.bind(this))),v=this.renderer.listen(this._el_4,"mouseleave",this.eventHandler(this._handle_mouseleave_4_4.bind(this)));this._expr_14=d.n,this._map_0=u.i(function(t,e){return{"selected-wavetype":t,"dim-image":e}}),this._expr_15=d.n,this._expr_16=d.n,this._expr_17=d.n,this._expr_18=d.n;var x=this.renderer.listen(this._el_9,"tap",this.eventHandler(this._handle_tap_9_0.bind(this))),y=this.renderer.listen(this._el_9,"focusin",this.eventHandler(this._handle_focusin_9_1.bind(this))),b=this.renderer.listen(this._el_9,"mouseenter",this.eventHandler(this._handle_mouseenter_9_2.bind(this))),w=this.renderer.listen(this._el_9,"focusout",this.eventHandler(this._handle_focusout_9_3.bind(this))),C=this.renderer.listen(this._el_9,"mouseleave",this.eventHandler(this._handle_mouseleave_9_4.bind(this)));this._expr_24=d.n,this._map_1=u.j(function(t,e,n){return{"selected-wavetype":t,"dim-image":e,"move-feature-to-front":n}}),this._expr_25=d.n,this._expr_26=d.n,this._expr_27=d.n,this._expr_28=d.n,this._expr_29=d.n;var T=this.renderer.listen(this._el_14,"tap",this.eventHandler(this._handle_tap_14_0.bind(this))),A=this.renderer.listen(this._el_14,"focusin",this.eventHandler(this._handle_focusin_14_1.bind(this))),I=this.renderer.listen(this._el_14,"mouseenter",this.eventHandler(this._handle_mouseenter_14_2.bind(this))),N=this.renderer.listen(this._el_14,"focusout",this.eventHandler(this._handle_focusout_14_3.bind(this))),B=this.renderer.listen(this._el_14,"mouseleave",this.eventHandler(this._handle_mouseleave_14_4.bind(this)));this._expr_35=d.n,this._map_2=u.i(function(t,e){return{"selected-wavetype":t,"dim-image":e}}),this._expr_36=d.n,this._expr_37=d.n,this._expr_38=d.n,this._expr_39=d.n;var G=this.renderer.listen(this._el_19,"tap",this.eventHandler(this._handle_tap_19_0.bind(this))),W=this.renderer.listen(this._el_19,"focusin",this.eventHandler(this._handle_focusin_19_1.bind(this))),Y=this.renderer.listen(this._el_19,"mouseenter",this.eventHandler(this._handle_mouseenter_19_2.bind(this))),$=this.renderer.listen(this._el_19,"focusout",this.eventHandler(this._handle_focusout_19_3.bind(this))),X=this.renderer.listen(this._el_19,"mouseleave",this.eventHandler(this._handle_mouseleave_19_4.bind(this)));this._expr_45=d.n,this._map_3=u.i(function(t,e){return{"selected-wavetype":t,"dim-image":e}}),this._expr_46=d.n,this._expr_47=d.n,this._expr_48=d.n,this._expr_49=d.n;var J=this.renderer.listen(this._el_24,"tap",this.eventHandler(this._handle_tap_24_0.bind(this))),Q=this.renderer.listen(this._el_24,"focusin",this.eventHandler(this._handle_focusin_24_1.bind(this))),Z=this.renderer.listen(this._el_24,"mouseenter",this.eventHandler(this._handle_mouseenter_24_2.bind(this))),K=this.renderer.listen(this._el_24,"focusout",this.eventHandler(this._handle_focusout_24_3.bind(this))),tt=this.renderer.listen(this._el_24,"mouseleave",this.eventHandler(this._handle_mouseleave_24_4.bind(this)));this._expr_55=d.n,this._map_4=u.i(function(t,e){return{"selected-wavetype":t,"dim-image":e}}),this._expr_56=d.n,this._expr_57=d.n,this._expr_58=d.n,this._expr_59=d.n,this._expr_61=d.n;var et=this.renderer.listen(this._el_37,"tap",this.eventHandler(this._handle_tap_37_0.bind(this))),nt=this.renderer.listen(this._el_45,"focusin",this.eventHandler(this._handle_focusin_45_0.bind(this))),it=this.renderer.listen(this._el_45,"mouseenter",this.eventHandler(this._handle_mouseenter_45_1.bind(this))),rt=this.renderer.listen(this._el_45,"focusout",this.eventHandler(this._handle_focusout_45_2.bind(this))),st=this.renderer.listen(this._el_45,"mouseleave",this.eventHandler(this._handle_mouseleave_45_3.bind(this)));this._expr_66=d.n,this._expr_67=d.n,this._expr_68=d.n;var ot=this.renderer.listen(this._el_47,"mousewheel",this.eventHandler(this._handle_mousewheel_47_0.bind(this))),at=this.renderer.listen(this._el_47,"valChange",this.eventHandler(this._handle_valChange_47_1.bind(this))),_t=this.renderer.listen(this._el_47,"input",this.eventHandler(this._handle_input_47_2.bind(this))),lt=this.renderer.listen(this._el_47,"blur",this.eventHandler(this._handle_blur_47_3.bind(this))),ht=this.renderer.listen(this._el_47,"focusout",this.eventHandler(this._handle_focusout_47_4.bind(this))),ct=this.renderer.listen(this._el_47,"keypress",this.eventHandler(this._handle_keypress_47_5.bind(this)));this._expr_75=d.n,this._pipe_unitFormat_0_0=u.i(this.parent.parent.parent._pipe_unitFormat_0.transform.bind(this.parent.parent.parent._pipe_unitFormat_0)),this._expr_76=d.n,this._expr_77=d.n,this._expr_78=d.n,this._expr_79=d.n,this._expr_80=d.n,this._expr_81=d.n,this._expr_82=d.n;var ut=this._FormatInputDirective_47_8.valChange.subscribe(this.eventHandler(this._handle_valChange_47_1.bind(this)));this._expr_84=d.n;var pt=this.renderer.listen(this._el_53,"tap",this.eventHandler(this._handle_tap_53_0.bind(this)));this._expr_86=d.n;var dt=this.renderer.listen(this._el_67,"tap",this.eventHandler(this._handle_tap_67_0.bind(this))),ft=this.renderer.listen(this._el_75,"focusin",this.eventHandler(this._handle_focusin_75_0.bind(this))),mt=this.renderer.listen(this._el_75,"mouseenter",this.eventHandler(this._handle_mouseenter_75_1.bind(this))),gt=this.renderer.listen(this._el_75,"focusout",this.eventHandler(this._handle_focusout_75_2.bind(this))),vt=this.renderer.listen(this._el_75,"mouseleave",this.eventHandler(this._handle_mouseleave_75_3.bind(this)));this._expr_91=d.n,this._expr_92=d.n,this._expr_93=d.n;var xt=this.renderer.listen(this._el_77,"mousewheel",this.eventHandler(this._handle_mousewheel_77_0.bind(this))),yt=this.renderer.listen(this._el_77,"valChange",this.eventHandler(this._handle_valChange_77_1.bind(this))),bt=this.renderer.listen(this._el_77,"input",this.eventHandler(this._handle_input_77_2.bind(this))),wt=this.renderer.listen(this._el_77,"blur",this.eventHandler(this._handle_blur_77_3.bind(this))),Ct=this.renderer.listen(this._el_77,"focusout",this.eventHandler(this._handle_focusout_77_4.bind(this))),Et=this.renderer.listen(this._el_77,"keypress",this.eventHandler(this._handle_keypress_77_5.bind(this)));this._expr_100=d.n,this._pipe_unitFormat_0_1=u.i(this.parent.parent.parent._pipe_unitFormat_0.transform.bind(this.parent.parent.parent._pipe_unitFormat_0)),this._expr_101=d.n,this._expr_102=d.n,this._expr_103=d.n,this._expr_104=d.n,this._expr_105=d.n,this._expr_106=d.n,this._expr_107=d.n;var Tt=this._FormatInputDirective_77_8.valChange.subscribe(this.eventHandler(this._handle_valChange_77_1.bind(this)));this._expr_109=d.n;var At=this.renderer.listen(this._el_83,"tap",this.eventHandler(this._handle_tap_83_0.bind(this)));this._expr_111=d.n;var It=this.renderer.listen(this._el_97,"tap",this.eventHandler(this._handle_tap_97_0.bind(this))),St=this.renderer.listen(this._el_105,"focusin",this.eventHandler(this._handle_focusin_105_0.bind(this))),Ot=this.renderer.listen(this._el_105,"mouseenter",this.eventHandler(this._handle_mouseenter_105_1.bind(this))),kt=this.renderer.listen(this._el_105,"focusout",this.eventHandler(this._handle_focusout_105_2.bind(this))),Nt=this.renderer.listen(this._el_105,"mouseleave",this.eventHandler(this._handle_mouseleave_105_3.bind(this)));this._expr_116=d.n,this._expr_117=d.n,this._expr_118=d.n;var Pt=this.renderer.listen(this._el_107,"mousewheel",this.eventHandler(this._handle_mousewheel_107_0.bind(this))),Rt=this.renderer.listen(this._el_107,"valChange",this.eventHandler(this._handle_valChange_107_1.bind(this))),Dt=this.renderer.listen(this._el_107,"input",this.eventHandler(this._handle_input_107_2.bind(this))),jt=this.renderer.listen(this._el_107,"blur",this.eventHandler(this._handle_blur_107_3.bind(this))),Mt=this.renderer.listen(this._el_107,"focusout",this.eventHandler(this._handle_focusout_107_4.bind(this))),Lt=this.renderer.listen(this._el_107,"keypress",this.eventHandler(this._handle_keypress_107_5.bind(this)));this._expr_125=d.n,this._pipe_unitFormat_0_2=u.i(this.parent.parent.parent._pipe_unitFormat_0.transform.bind(this.parent.parent.parent._pipe_unitFormat_0)),this._expr_126=d.n,this._expr_127=d.n,this._expr_128=d.n,this._expr_129=d.n,this._expr_130=d.n,this._expr_131=d.n,this._expr_132=d.n;var Bt=this._FormatInputDirective_107_8.valChange.subscribe(this.eventHandler(this._handle_valChange_107_1.bind(this)));this._expr_134=d.n;var Ft=this.renderer.listen(this._el_113,"tap",this.eventHandler(this._handle_tap_113_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._text_8,this._el_9,this._text_10,this._el_11,this._text_12,this._text_13,this._el_14,this._text_15,this._el_16,this._text_17,this._text_18,this._el_19,this._text_20,this._el_21,this._text_22,this._text_23,this._el_24,this._text_25,this._el_26,this._text_27,this._text_28,this._text_29,this._el_30,this._text_31,this._el_32,this._text_33,this._text_34,this._el_35,this._text_36,this._el_37,this._text_38,this._el_39,this._text_40,this._text_41,this._text_42,this._el_43,this._text_44,this._el_45,this._text_46,this._el_47,this._text_48,this._text_49,this._text_50,this._el_51,this._text_52,this._el_53,this._text_54,this._el_55,this._text_56,this._text_57,this._text_58,this._text_59,this._el_60,this._text_61,this._el_62,this._text_63,this._text_64,this._el_65,this._text_66,this._el_67,this._text_68,this._el_69,this._text_70,this._text_71,this._text_72,this._el_73,this._text_74,this._el_75,this._text_76,this._el_77,this._text_78,this._text_79,this._text_80,this._el_81,this._text_82,this._el_83,this._text_84,this._el_85,this._text_86,this._text_87,this._text_88,this._text_89,this._el_90,this._text_91,this._el_92,this._text_93,this._text_94,this._el_95,this._text_96,this._el_97,this._text_98,this._el_99,this._text_100,this._text_101,this._text_102,this._el_103,this._text_104,this._el_105,this._text_106,this._el_107,this._text_108,this._text_109,this._text_110,this._el_111,this._text_112,this._el_113,this._text_114,this._el_115,this._text_116,this._text_117,this._text_118,this._text_119],[a,_,l,c,p,f,m,g,v,x,y,b,w,C,T,A,I,N,B,G,W,Y,$,X,J,Q,Z,K,tt,et,nt,it,rt,st,ot,at,_t,lt,ht,ct,pt,dt,ft,mt,gt,vt,xt,yt,bt,wt,Ct,Et,At,It,St,Ot,kt,Nt,Pt,Rt,Dt,jt,Mt,Lt,Ft],[ut,Tt,Bt]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===P.a&&4<=e&&e<=7?this._NgClass_4_5:t===R.a&&4<=e&&e<=7?this._Tooltip_4_6:t===P.a&&9<=e&&e<=12?this._NgClass_9_5:t===R.a&&9<=e&&e<=12?this._Tooltip_9_6:t===P.a&&14<=e&&e<=17?this._NgClass_14_5:t===R.a&&14<=e&&e<=17?this._Tooltip_14_6:t===P.a&&19<=e&&e<=22?this._NgClass_19_5:t===R.a&&19<=e&&e<=22?this._Tooltip_19_6:t===P.a&&24<=e&&e<=27?this._NgClass_24_5:t===R.a&&24<=e&&e<=27?this._Tooltip_24_6:t===R.a&&2<=e&&e<=28?this._Tooltip_2_5:t===F.a&&32<=e&&e<=33?this._Col_32_3:t===E.a&&37<=e&&e<=40?this._Button_37_4:t===F.a&&35<=e&&e<=41?this._Col_35_3:t===q.a&&47===e?this._DefaultValueAccessor_47_3:t===G.a&&47===e?this._NG_VALUE_ACCESSOR_47_4:t===V.a&&47===e?this._NgModel_47_5:t===W.a&&47===e?this._NgControl_47_6:t===H.a&&47===e?this._NgControlStatus_47_7:t===U.a&&47===e?this._FormatInputDirective_47_8:t===R.a&&45<=e&&e<=48?this._Tooltip_45_5:t===F.a&&43<=e&&e<=49?this._Col_43_3:t===E.a&&53<=e&&e<=56?this._Button_53_4:t===F.a&&51<=e&&e<=57?this._Col_51_3:t===F.c&&30<=e&&e<=58?this._Row_30_3:t===F.a&&62<=e&&e<=63?this._Col_62_3:t===E.a&&67<=e&&e<=70?this._Button_67_4:t===F.a&&65<=e&&e<=71?this._Col_65_3:t===q.a&&77===e?this._DefaultValueAccessor_77_3:t===G.a&&77===e?this._NG_VALUE_ACCESSOR_77_4:t===V.a&&77===e?this._NgModel_77_5:t===W.a&&77===e?this._NgControl_77_6:t===H.a&&77===e?this._NgControlStatus_77_7:t===U.a&&77===e?this._FormatInputDirective_77_8:t===R.a&&75<=e&&e<=78?this._Tooltip_75_5:t===F.a&&73<=e&&e<=79?this._Col_73_3:t===E.a&&83<=e&&e<=86?this._Button_83_4:t===F.a&&81<=e&&e<=87?this._Col_81_3:t===F.c&&60<=e&&e<=88?this._Row_60_3:t===F.a&&92<=e&&e<=93?this._Col_92_3:t===E.a&&97<=e&&e<=100?this._Button_97_4:t===F.a&&95<=e&&e<=101?this._Col_95_3:t===q.a&&107===e?this._DefaultValueAccessor_107_3:t===G.a&&107===e?this._NG_VALUE_ACCESSOR_107_4:t===V.a&&107===e?this._NgModel_107_5:t===W.a&&107===e?this._NgControl_107_6:t===H.a&&107===e?this._NgControlStatus_107_7:t===U.a&&107===e?this._FormatInputDirective_107_8:t===R.a&&105<=e&&e<=108?this._Tooltip_105_5:t===F.a&&103<=e&&e<=109?this._Col_103_3:t===E.a&&113<=e&&e<=116?this._Button_113_4:t===F.a&&111<=e&&e<=117?this._Col_111_3:t===F.c&&90<=e&&e<=118?this._Row_90_3:n},e.prototype.detectChangesInternal=function(t){var e=null,n=new d.o;e=null;var i=this.parent.parent.parent.context.tooltipService.getTooltip("tutorialWaveSelectButton").message;u.c(t,this._expr_4,i)&&(this._Tooltip_2_5.content=i,null===e&&(e={}),e.content=new d.m(this._expr_4,i),this._expr_4=i);var r=!0;u.c(t,this._expr_5,r)&&(this._Tooltip_2_5.tooltipAnimation=r,null===e&&(e={}),e.tooltipAnimation=new d.m(this._expr_5,r),this._expr_5=r);var s="top";u.c(t,this._expr_6,s)&&(this._Tooltip_2_5.tooltipPlacement=s,null===e&&(e={}),e.tooltipPlacement=new d.m(this._expr_6,s),this._expr_6=s);var o=2===this.parent.parent.parent.context.tutorialStage&&this.parent.parent.parent.context.tutorialMode;u.c(t,this._expr_7,o)&&(this._Tooltip_2_5.forceShow=o,null===e&&(e={}),e.forceShow=new d.m(this._expr_7,o),this._expr_7=o);var a="true";u.c(t,this._expr_8,a)&&(this._Tooltip_2_5.onlyForceShow=a,null===e&&(e={}),e.onlyForceShow=new d.m(this._expr_8,a),this._expr_8=a),null!==e&&this._Tooltip_2_5.ngOnChanges(e);var _="wavetype-image";u.c(t,this._expr_14,_)&&(this._NgClass_4_5.klass=_,this._expr_14=_);var l=this._map_0("sine"===this.parent.parent.parent.context.waveType[this.parent.context.index],this.parent.parent.parent.context.powerOn[this.parent.context.index]&&!this.parent.parent.parent.context.isOpenLogger);u.c(t,this._expr_15,l)&&(this._NgClass_4_5.ngClass=l,this._expr_15=l),t||this._NgClass_4_5.ngDoCheck(),e=null;var h=this.parent.parent.parent.context.tooltipService.getTooltip("sineButton").message;u.c(t,this._expr_16,h)&&(this._Tooltip_4_6.content=h,null===e&&(e={}),e.content=new d.m(this._expr_16,h),this._expr_16=h);var c=!0;u.c(t,this._expr_17,c)&&(this._Tooltip_4_6.tooltipAnimation=c,null===e&&(e={}),e.tooltipAnimation=new d.m(this._expr_17,c),this._expr_17=c);var p="top";u.c(t,this._expr_18,p)&&(this._Tooltip_4_6.tooltipPlacement=p,null===e&&(e={}),e.tooltipPlacement=new d.m(this._expr_18,p),this._expr_18=p),null!==e&&this._Tooltip_4_6.ngOnChanges(e);var f="wavetype-image";u.c(t,this._expr_24,f)&&(this._NgClass_9_5.klass=f,this._expr_24=f);var m=this._map_1("triangle"===this.parent.parent.parent.context.waveType[this.parent.context.index],this.parent.parent.parent.context.powerOn[this.parent.context.index]&&!this.parent.parent.parent.context.isOpenLogger,2===this.parent.parent.parent.context.tutorialStage);u.c(t,this._expr_25,m)&&(this._NgClass_9_5.ngClass=m,this._expr_25=m),t||this._NgClass_9_5.ngDoCheck(),e=null;var g=this.parent.parent.parent.context.tooltipService.getTooltip(2===this.parent.parent.parent.context.tutorialStage?"tutorialTriangleButton":"triangleButton").message;u.c(t,this._expr_26,g)&&(this._Tooltip_9_6.content=g,null===e&&(e={}),e.content=new d.m(this._expr_26,g),this._expr_26=g);var v=!0;u.c(t,this._expr_27,v)&&(this._Tooltip_9_6.tooltipAnimation=v,null===e&&(e={}),e.tooltipAnimation=new d.m(this._expr_27,v),this._expr_27=v);var x="bottom";u.c(t,this._expr_28,x)&&(this._Tooltip_9_6.tooltipPlacement=x,null===e&&(e={}),e.tooltipPlacement=new d.m(this._expr_28,x),this._expr_28=x);var y=2===this.parent.parent.parent.context.tutorialStage&&this.parent.parent.parent.context.tutorialMode;u.c(t,this._expr_29,y)&&(this._Tooltip_9_6.forceShow=y,null===e&&(e={}),e.forceShow=new d.m(this._expr_29,y),this._expr_29=y),null!==e&&this._Tooltip_9_6.ngOnChanges(e);var b="wavetype-image";u.c(t,this._expr_35,b)&&(this._NgClass_14_5.klass=b,this._expr_35=b);var w=this._map_2("sawtooth"===this.parent.parent.parent.context.waveType[this.parent.context.index],this.parent.parent.parent.context.powerOn[this.parent.context.index]&&!this.parent.parent.parent.context.isOpenLogger);u.c(t,this._expr_36,w)&&(this._NgClass_14_5.ngClass=w,this._expr_36=w),t||this._NgClass_14_5.ngDoCheck(), e=null;var C=this.parent.parent.parent.context.tooltipService.getTooltip("sawtoothButton").message;u.c(t,this._expr_37,C)&&(this._Tooltip_14_6.content=C,null===e&&(e={}),e.content=new d.m(this._expr_37,C),this._expr_37=C);var E=!0;u.c(t,this._expr_38,E)&&(this._Tooltip_14_6.tooltipAnimation=E,null===e&&(e={}),e.tooltipAnimation=new d.m(this._expr_38,E),this._expr_38=E);var T="top";u.c(t,this._expr_39,T)&&(this._Tooltip_14_6.tooltipPlacement=T,null===e&&(e={}),e.tooltipPlacement=new d.m(this._expr_39,T),this._expr_39=T),null!==e&&this._Tooltip_14_6.ngOnChanges(e);var A="wavetype-image";u.c(t,this._expr_45,A)&&(this._NgClass_19_5.klass=A,this._expr_45=A);var I=this._map_3("square"===this.parent.parent.parent.context.waveType[this.parent.context.index],this.parent.parent.parent.context.powerOn[this.parent.context.index]&&!this.parent.parent.parent.context.isOpenLogger);u.c(t,this._expr_46,I)&&(this._NgClass_19_5.ngClass=I,this._expr_46=I),t||this._NgClass_19_5.ngDoCheck(),e=null;var S=this.parent.parent.parent.context.tooltipService.getTooltip("squareButton").message;u.c(t,this._expr_47,S)&&(this._Tooltip_19_6.content=S,null===e&&(e={}),e.content=new d.m(this._expr_47,S),this._expr_47=S);var O=!0;u.c(t,this._expr_48,O)&&(this._Tooltip_19_6.tooltipAnimation=O,null===e&&(e={}),e.tooltipAnimation=new d.m(this._expr_48,O),this._expr_48=O);var k="top";u.c(t,this._expr_49,k)&&(this._Tooltip_19_6.tooltipPlacement=k,null===e&&(e={}),e.tooltipPlacement=new d.m(this._expr_49,k),this._expr_49=k),null!==e&&this._Tooltip_19_6.ngOnChanges(e);var N="wavetype-image image-end";u.c(t,this._expr_55,N)&&(this._NgClass_24_5.klass=N,this._expr_55=N);var P=this._map_4("dc"===this.parent.parent.parent.context.waveType[this.parent.context.index],this.parent.parent.parent.context.powerOn[this.parent.context.index]&&!this.parent.parent.parent.context.isOpenLogger);u.c(t,this._expr_56,P)&&(this._NgClass_24_5.ngClass=P,this._expr_56=P),t||this._NgClass_24_5.ngDoCheck(),e=null;var R=this.parent.parent.parent.context.tooltipService.getTooltip("dcButton").message;u.c(t,this._expr_57,R)&&(this._Tooltip_24_6.content=R,null===e&&(e={}),e.content=new d.m(this._expr_57,R),this._expr_57=R);var D=!0;u.c(t,this._expr_58,D)&&(this._Tooltip_24_6.tooltipAnimation=D,null===e&&(e={}),e.tooltipAnimation=new d.m(this._expr_58,D),this._expr_58=D);var j="top";u.c(t,this._expr_59,j)&&(this._Tooltip_24_6.tooltipPlacement=j,null===e&&(e={}),e.tooltipPlacement=new d.m(this._expr_59,j),this._expr_59=j),null!==e&&this._Tooltip_24_6.ngOnChanges(e),e=null;var M=this.parent.parent.parent.context.tooltipService.getTooltip("awgFreq").message;u.c(t,this._expr_66,M)&&(this._Tooltip_45_5.content=M,null===e&&(e={}),e.content=new d.m(this._expr_66,M),this._expr_66=M);var L=!0;u.c(t,this._expr_67,L)&&(this._Tooltip_45_5.tooltipAnimation=L,null===e&&(e={}),e.tooltipAnimation=new d.m(this._expr_67,L),this._expr_67=L);var B="top";u.c(t,this._expr_68,B)&&(this._Tooltip_45_5.tooltipPlacement=B,null===e&&(e={}),e.tooltipPlacement=new d.m(this._expr_68,B),this._expr_68=B),null!==e&&this._Tooltip_45_5.ngOnChanges(e),e=null;var F=this.parent.parent.parent.context.powerOn[this.parent.context.index]&&!this.parent.parent.parent.context.isOpenLogger||"dc"===this.parent.parent.parent.context.waveType[this.parent.context.index];u.c(t,this._expr_75,F)&&(this._NgModel_47_5.isDisabled=F,null===e&&(e={}),e.isDisabled=new d.m(this._expr_75,F),this._expr_75=F),n.reset();var q=n.unwrap(u.r(this._pipe_unitFormat_0_0,this.parent.parent.parent._pipe_unitFormat_0.transform)("dc"===this.parent.parent.parent.context.waveType[this.parent.context.index]?0:this.parent.parent.parent.context.frequency[this.parent.context.index],"Hz"));(n.hasWrappedValue||u.c(t,this._expr_76,q))&&(this._NgModel_47_5.model=q,null===e&&(e={}),e.model=new d.m(this._expr_76,q),this._expr_76=q),null!==e&&this._NgModel_47_5.ngOnChanges(e),e=null;var V=this.parent.parent.parent.context.tooltipService.getTooltip("awgAmp").message;u.c(t,this._expr_91,V)&&(this._Tooltip_75_5.content=V,null===e&&(e={}),e.content=new d.m(this._expr_91,V),this._expr_91=V);var H=!0;u.c(t,this._expr_92,H)&&(this._Tooltip_75_5.tooltipAnimation=H,null===e&&(e={}),e.tooltipAnimation=new d.m(this._expr_92,H),this._expr_92=H);var U="top";u.c(t,this._expr_93,U)&&(this._Tooltip_75_5.tooltipPlacement=U,null===e&&(e={}),e.tooltipPlacement=new d.m(this._expr_93,U),this._expr_93=U),null!==e&&this._Tooltip_75_5.ngOnChanges(e),e=null;var z=this.parent.parent.parent.context.powerOn[this.parent.context.index]&&!this.parent.parent.parent.context.isOpenLogger||"dc"===this.parent.parent.parent.context.waveType[this.parent.context.index];u.c(t,this._expr_100,z)&&(this._NgModel_77_5.isDisabled=z,null===e&&(e={}),e.isDisabled=new d.m(this._expr_100,z),this._expr_100=z),n.reset();var G=n.unwrap(u.r(this._pipe_unitFormat_0_1,this.parent.parent.parent._pipe_unitFormat_0.transform)("dc"===this.parent.parent.parent.context.waveType[this.parent.context.index]?0:this.parent.parent.parent.context.amplitude[this.parent.context.index],"Vpp"));(n.hasWrappedValue||u.c(t,this._expr_101,G))&&(this._NgModel_77_5.model=G,null===e&&(e={}),e.model=new d.m(this._expr_101,G),this._expr_101=G),null!==e&&this._NgModel_77_5.ngOnChanges(e),e=null;var W=this.parent.parent.parent.context.tooltipService.getTooltip("awgOffset").message;u.c(t,this._expr_116,W)&&(this._Tooltip_105_5.content=W,null===e&&(e={}),e.content=new d.m(this._expr_116,W),this._expr_116=W);var Y=!0;u.c(t,this._expr_117,Y)&&(this._Tooltip_105_5.tooltipAnimation=Y,null===e&&(e={}),e.tooltipAnimation=new d.m(this._expr_117,Y),this._expr_117=Y);var $="top";u.c(t,this._expr_118,$)&&(this._Tooltip_105_5.tooltipPlacement=$,null===e&&(e={}),e.tooltipPlacement=new d.m(this._expr_118,$),this._expr_118=$),null!==e&&this._Tooltip_105_5.ngOnChanges(e),e=null;var X=this.parent.parent.parent.context.powerOn[this.parent.context.index]&&!this.parent.parent.parent.context.isOpenLogger;u.c(t,this._expr_125,X)&&(this._NgModel_107_5.isDisabled=X,null===e&&(e={}),e.isDisabled=new d.m(this._expr_125,X),this._expr_125=X),n.reset();var J=n.unwrap(u.r(this._pipe_unitFormat_0_2,this.parent.parent.parent._pipe_unitFormat_0.transform)(this.parent.parent.parent.context.offset[this.parent.context.index],"V"));(n.hasWrappedValue||u.c(t,this._expr_126,J))&&(this._NgModel_107_5.model=J,null===e&&(e={}),e.model=new d.m(this._expr_126,J),this._expr_126=J),null!==e&&this._NgModel_107_5.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_37_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_53_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_67_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_83_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_97_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_113_4.ngAfterContentInit());var Q=this.parent.parent.parent.context.powerOn[this.parent.context.index]&&!this.parent.parent.parent.context.isOpenLogger||"dc"===this.parent.parent.parent.context.waveType[this.parent.context.index]||this.parent.parent.parent.context.frequency[this.parent.context.index]===this.parent.parent.parent.context.activeDevice.instruments.awg.chans[this.parent.context.index].signalFreqMin/1e3;u.c(t,this._expr_61,Q)&&(this.renderer.setElementProperty(this._el_37,"disabled",Q),this._expr_61=Q);var Z=this._NgControlStatus_47_7.ngClassUntouched;u.c(t,this._expr_77,Z)&&(this.renderer.setElementClass(this._el_47,"ng-untouched",Z),this._expr_77=Z);var K=this._NgControlStatus_47_7.ngClassTouched;u.c(t,this._expr_78,K)&&(this.renderer.setElementClass(this._el_47,"ng-touched",K),this._expr_78=K);var tt=this._NgControlStatus_47_7.ngClassPristine;u.c(t,this._expr_79,tt)&&(this.renderer.setElementClass(this._el_47,"ng-pristine",tt),this._expr_79=tt);var et=this._NgControlStatus_47_7.ngClassDirty;u.c(t,this._expr_80,et)&&(this.renderer.setElementClass(this._el_47,"ng-dirty",et),this._expr_80=et);var nt=this._NgControlStatus_47_7.ngClassValid;u.c(t,this._expr_81,nt)&&(this.renderer.setElementClass(this._el_47,"ng-valid",nt),this._expr_81=nt);var it=this._NgControlStatus_47_7.ngClassInvalid;u.c(t,this._expr_82,it)&&(this.renderer.setElementClass(this._el_47,"ng-invalid",it),this._expr_82=it);var rt=this.parent.parent.parent.context.powerOn[this.parent.context.index]&&!this.parent.parent.parent.context.isOpenLogger||"dc"===this.parent.parent.parent.context.waveType[this.parent.context.index]||this.parent.parent.parent.context.frequency[this.parent.context.index]===this.parent.parent.parent.context.activeDevice.instruments.awg.chans[this.parent.context.index].signalFreqMax/1e3;u.c(t,this._expr_84,rt)&&(this.renderer.setElementProperty(this._el_53,"disabled",rt),this._expr_84=rt);var st=this.parent.parent.parent.context.powerOn[this.parent.context.index]&&!this.parent.parent.parent.context.isOpenLogger||"dc"===this.parent.parent.parent.context.waveType[this.parent.context.index]||0===this.parent.parent.parent.context.amplitude[this.parent.context.index];u.c(t,this._expr_86,st)&&(this.renderer.setElementProperty(this._el_67,"disabled",st),this._expr_86=st);var ot=this._NgControlStatus_77_7.ngClassUntouched;u.c(t,this._expr_102,ot)&&(this.renderer.setElementClass(this._el_77,"ng-untouched",ot),this._expr_102=ot);var at=this._NgControlStatus_77_7.ngClassTouched;u.c(t,this._expr_103,at)&&(this.renderer.setElementClass(this._el_77,"ng-touched",at),this._expr_103=at);var _t=this._NgControlStatus_77_7.ngClassPristine;u.c(t,this._expr_104,_t)&&(this.renderer.setElementClass(this._el_77,"ng-pristine",_t),this._expr_104=_t);var lt=this._NgControlStatus_77_7.ngClassDirty;u.c(t,this._expr_105,lt)&&(this.renderer.setElementClass(this._el_77,"ng-dirty",lt),this._expr_105=lt);var ht=this._NgControlStatus_77_7.ngClassValid;u.c(t,this._expr_106,ht)&&(this.renderer.setElementClass(this._el_77,"ng-valid",ht),this._expr_106=ht);var ct=this._NgControlStatus_77_7.ngClassInvalid;u.c(t,this._expr_107,ct)&&(this.renderer.setElementClass(this._el_77,"ng-invalid",ct),this._expr_107=ct);var ut=this.parent.parent.parent.context.powerOn[this.parent.context.index]&&!this.parent.parent.parent.context.isOpenLogger||"dc"===this.parent.parent.parent.context.waveType[this.parent.context.index]||this.parent.parent.parent.context.amplitude[this.parent.context.index]===this.parent.parent.parent.context.activeDevice.instruments.awg.chans[this.parent.context.index].dacVpp/1e3;u.c(t,this._expr_109,ut)&&(this.renderer.setElementProperty(this._el_83,"disabled",ut),this._expr_109=ut);var pt=this.parent.parent.parent.context.powerOn[this.parent.context.index]&&!this.parent.parent.parent.context.isOpenLogger||this.parent.parent.parent.context.offset[this.parent.context.index]===this.parent.parent.parent.context.activeDevice.instruments.awg.chans[this.parent.context.index].vOffsetMin/1e3;u.c(t,this._expr_111,pt)&&(this.renderer.setElementProperty(this._el_97,"disabled",pt),this._expr_111=pt);var dt=this._NgControlStatus_107_7.ngClassUntouched;u.c(t,this._expr_127,dt)&&(this.renderer.setElementClass(this._el_107,"ng-untouched",dt),this._expr_127=dt);var ft=this._NgControlStatus_107_7.ngClassTouched;u.c(t,this._expr_128,ft)&&(this.renderer.setElementClass(this._el_107,"ng-touched",ft),this._expr_128=ft);var mt=this._NgControlStatus_107_7.ngClassPristine;u.c(t,this._expr_129,mt)&&(this.renderer.setElementClass(this._el_107,"ng-pristine",mt),this._expr_129=mt);var gt=this._NgControlStatus_107_7.ngClassDirty;u.c(t,this._expr_130,gt)&&(this.renderer.setElementClass(this._el_107,"ng-dirty",gt),this._expr_130=gt);var vt=this._NgControlStatus_107_7.ngClassValid;u.c(t,this._expr_131,vt)&&(this.renderer.setElementClass(this._el_107,"ng-valid",vt),this._expr_131=vt);var xt=this._NgControlStatus_107_7.ngClassInvalid;u.c(t,this._expr_132,xt)&&(this.renderer.setElementClass(this._el_107,"ng-invalid",xt),this._expr_132=xt);var yt=this.parent.parent.parent.context.powerOn[this.parent.context.index]&&!this.parent.parent.parent.context.isOpenLogger||this.parent.parent.parent.context.offset[this.parent.context.index]===this.parent.parent.parent.context.activeDevice.instruments.awg.chans[this.parent.context.index].vOffsetMax/1e3;u.c(t,this._expr_134,yt)&&(this.renderer.setElementProperty(this._el_113,"disabled",yt),this._expr_134=yt),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_47_5.ngOnDestroy(),this._NgModel_77_5.ngOnDestroy(),this._NgModel_107_5.ngOnDestroy()},e.prototype._handle_focusin_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_2_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_2_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_2_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_2_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_2_5.hide()!==!1;return e},e.prototype._handle_mouseleave_2_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_2_5.hide()!==!1;return e},e.prototype._handle_tap_4_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.toggleWave("sine",this.parent.context.index)!==!1;return e},e.prototype._handle_focusin_4_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_4_6.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_4_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_4_6.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_4_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_4_6.hide()!==!1;return e},e.prototype._handle_mouseleave_4_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_4_6.hide()!==!1;return e},e.prototype._handle_tap_9_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.toggleWave("triangle",this.parent.context.index)!==!1;return e},e.prototype._handle_focusin_9_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_9_6.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_9_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_9_6.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_9_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_9_6.hide()!==!1;return e},e.prototype._handle_mouseleave_9_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_9_6.hide()!==!1;return e},e.prototype._handle_tap_14_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.toggleWave("sawtooth",this.parent.context.index)!==!1;return e},e.prototype._handle_focusin_14_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_14_6.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_14_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_14_6.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_14_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_14_6.hide()!==!1;return e},e.prototype._handle_mouseleave_14_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_14_6.hide()!==!1;return e},e.prototype._handle_tap_19_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.toggleWave("square",this.parent.context.index)!==!1;return e},e.prototype._handle_focusin_19_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_19_6.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_19_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_19_6.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_19_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_19_6.hide()!==!1;return e},e.prototype._handle_mouseleave_19_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_19_6.hide()!==!1;return e},e.prototype._handle_tap_24_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.toggleWave("dc",this.parent.context.index)!==!1;return e},e.prototype._handle_focusin_24_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_24_6.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_24_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_24_6.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_24_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_24_6.hide()!==!1;return e},e.prototype._handle_mouseleave_24_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_24_6.hide()!==!1;return e},e.prototype._handle_tap_37_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.decrementFrequency(this.parent.context.index)!==!1;return e},e.prototype._handle_focusin_45_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_45_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_45_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_45_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_45_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_45_5.hide()!==!1;return e},e.prototype._handle_mouseleave_45_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_45_5.hide()!==!1;return e},e.prototype._handle_mousewheel_47_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.frequencyMousewheel(t,this.parent.context.index)!==!1;return e},e.prototype._handle_valChange_47_1=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.formatInputAndUpdate(t,"frequency",this.parent.context.index)!==!1;return e},e.prototype._handle_input_47_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_47_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_47_3=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_47_3.onTouched()!==!1;return e},e.prototype._handle_focusout_47_4=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_47_8.onFocusOut(t)!==!1;return e},e.prototype._handle_keypress_47_5=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_47_8.onkeypress(t)!==!1;return e},e.prototype._handle_tap_53_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.incrementFrequency(this.parent.context.index)!==!1;return e},e.prototype._handle_tap_67_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.decrementAmplitude(this.parent.context.index)!==!1;return e},e.prototype._handle_focusin_75_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_75_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_75_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_75_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_75_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_75_5.hide()!==!1;return e},e.prototype._handle_mouseleave_75_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_75_5.hide()!==!1;return e},e.prototype._handle_mousewheel_77_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.voltageMousewheel(t,"amplitude",this.parent.context.index)!==!1;return e},e.prototype._handle_valChange_77_1=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.formatInputAndUpdate(t,"amplitude",this.parent.context.index)!==!1;return e},e.prototype._handle_input_77_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_77_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_77_3=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_77_3.onTouched()!==!1;return e},e.prototype._handle_focusout_77_4=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_77_8.onFocusOut(t)!==!1;return e},e.prototype._handle_keypress_77_5=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_77_8.onkeypress(t)!==!1;return e},e.prototype._handle_tap_83_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.incrementAmplitude(this.parent.context.index)!==!1;return e},e.prototype._handle_tap_97_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.decrementOffset(this.parent.context.index)!==!1;return e},e.prototype._handle_focusin_105_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_105_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_105_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_105_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_105_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_105_5.hide()!==!1;return e},e.prototype._handle_mouseleave_105_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_105_5.hide()!==!1;return e},e.prototype._handle_mousewheel_107_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.voltageMousewheel(t,"offset",this.parent.context.index)!==!1;return e},e.prototype._handle_valChange_107_1=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.formatInputAndUpdate(t,"offset",this.parent.context.index)!==!1;return e},e.prototype._handle_input_107_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_107_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_107_3=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_107_3.onTouched()!==!1;return e},e.prototype._handle_focusout_107_4=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_107_8.onFocusOut(t)!==!1;return e},e.prototype._handle_keypress_107_5=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_107_8.onkeypress(t)!==!1;return e},e.prototype._handle_tap_113_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.incrementOffset(this.parent.context.index)!==!1;return e},e}(l.a)},function(t,e,n){"use strict";var i=n(0),r=n(189),s=n(76),o=n(15);n.d(e,"a",function(){return l});var a=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},_=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},l=function(){function t(){}return t=a([n.i(i.NgModule)({imports:[s.a,o.a.forRoot(r.a)],declarations:[r.a],exports:[r.a],providers:[]}),_("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var i=n(0);n.d(e,"a",function(){return o});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},o=function(){function t(){}return t=r([n.i(i.Component)({selector:"github-fork-ribbon",templateUrl:"github-fork-ribbon.html"}),s("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var i=n(0),r=n(15),s=n(45);n.n(s);n.d(e,"a",function(){return _});var o=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},a=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},_=function(){function t(t,e,n){this.viewCtrl=t,this.params=e,this.deviceManagerService=n,this.laChans=[],this.bitmask="",this.edgeDirections=[],this.activeDevice=this.deviceManagerService.devices[this.deviceManagerService.activeDeviceIndex];for(var i=0;i=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},_=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},l=function(){function t(t,e,n,i,r){var s=this;this.viewCtrl=t,this.navParams=e,this.events=n,this.toastService=i,this.scalingService=r,this.name="",this.expressionString="",this.unitDescriptor="",this.allScalingOptions=[],this.scalingTutorialLink="https://reference.digilentinc.com/learn/instrumentation/tutorials/openlogger/datalogger#section9",this.channel=this.navParams.data.channel;var o=this.navParams.data.scaleName;"None"!==o&&(this.name=o,this.savedName=o),this.scalingService.getAllScalingOptions().then(function(t){if(t&&(s.allScalingOptions=t,s.savedName)){var e=s.allScalingOptions.filter(function(t){return t.name===s.savedName})[0];s.expressionString=e.expressionString,s.unitDescriptor=e.unitDescriptor}}).catch(function(){console.log("error loading scale info"),s.toastService.createToast("loggerScaleLoadErr",!0,void 0,5e3)})}return t.prototype.evaluateParams=function(){var t=this;return new Promise(function(e,n){t.scalingService.evaluateExpression(t.expressionString,t.unitDescriptor).then(function(n){var i={name:t.name,expressionString:t.expressionString,unitDescriptor:t.unitDescriptor,expression:n};e(i)}).catch(function(){n()})})},t.prototype.close=function(){this.viewCtrl.dismiss()},t.prototype.save=function(){var t=this;return""==this.name?void this.toastService.createToast("scaleInvalidName",!0):void this.evaluateParams().then(function(e){var n=t.allScalingOptions.map(function(t){return t.name}).indexOf(t.name);n!==-1?t.allScalingOptions[n]=e:t.allScalingOptions.push(e),t.scalingService.saveScalingOptions(t.allScalingOptions),t.events.publish("scale:update",{params:e,channel:t.channel}),t.close()}).catch(function(){t.toastService.createToast("scaleInvalidExpression",!0)})},t.prototype.delete=function(){var t=this.allScalingOptions.map(function(t){return t.name}).indexOf(this.savedName);if(t===-1)return void this.toastService.createToast("loggerScaleLoadErr",!0);this.allScalingOptions.splice(t,1),this.scalingService.saveScalingOptions(this.allScalingOptions);var e={channel:this.channel,name:this.savedName};this.events.publish("scale:delete",e),this.close()},t=a([n.i(i.Component)({selector:"log-scale-popover",templateUrl:"log-scale-popover.html"}),_("design:paramtypes",["function"==typeof(e="undefined"!=typeof r.i&&r.i)&&e||Object,"function"==typeof(l="undefined"!=typeof r.f&&r.f)&&l||Object,"function"==typeof(h="undefined"!=typeof r.n&&r.n)&&h||Object,"function"==typeof(c="undefined"!=typeof s.a&&s.a)&&c||Object,"function"==typeof(u="undefined"!=typeof o.a&&o.a)&&u||Object])],t);var e,l,h,c,u}()},function(t,e,n){"use strict";var i=n(0),r=n(15),s=n(38);n.d(e,"a",function(){return _});var o=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},a=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},_=function(){function t(t,e,n,i){this.viewCtrl=t,this.navParams=e,this.events=n,this.toastService=i,this.saveChart=!1,this.saveDaq=!0,this.profileName=this.navParams.data.profileName,this.initialName=this.profileName,this.navParams.data.profileObj&&(this.saveChart=void 0!==this.navParams.data.profileObj.chart,this.saveDaq=void 0!==this.navParams.data.profileObj.daq)}return t.prototype.deleteProfile=function(){this.events.publish("profile:delete",{profileName:this.profileName}),this.viewCtrl.dismiss()},t.prototype.saveProfile=function(){""==this.profileName.trim()?this.toastService.createToast("loggerProfileNameRequired",!0,void 0,5e3):(this.events.publish("profile:save",{profileName:this.profileName,saveChart:this.saveChart,saveDaq:this.saveDaq}),this.viewCtrl.dismiss())},t=o([n.i(i.Component)({selector:"profile-popover",templateUrl:"profile-popover.html"}),a("design:paramtypes",["function"==typeof(e="undefined"!=typeof r.i&&r.i)&&e||Object,"function"==typeof(_="undefined"!=typeof r.f&&r.f)&&_||Object,"function"==typeof(l="undefined"!=typeof r.n&&r.n)&&l||Object,"function"==typeof(h="undefined"!=typeof s.a&&s.a)&&h||Object])],t);var e,_,l,h}()},function(t,e,n){"use strict";var i=n(0);n.d(e,"a",function(){return o});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},o=function(){function t(){this.timelineChartLoad=new i.EventEmitter,this.timelineChartEvent=new i.EventEmitter}return t.prototype.onTimelineLoad=function(t){this.chart=t,this.timelineChartLoad.emit(this)},t.prototype.timelineChartEventExporter=function(t,e){this.timelineChartEvent.emit({ ev:t,type:e})},r([n.i(i.Output)(),s("design:type","function"==typeof(e="undefined"!=typeof i.EventEmitter&&i.EventEmitter)&&e||Object)],t.prototype,"timelineChartLoad",void 0),r([n.i(i.Output)(),s("design:type","function"==typeof(o="undefined"!=typeof i.EventEmitter&&i.EventEmitter)&&o||Object)],t.prototype,"timelineChartEvent",void 0),r([n.i(i.ViewChild)("timelineChartInner"),s("design:type","function"==typeof(a="undefined"!=typeof i.ElementRef&&i.ElementRef)&&a||Object)],t.prototype,"timelineChartInner",void 0),t=r([n.i(i.Component)({selector:"timeline-chart",templateUrl:"timeline-chart.html"}),s("design:paramtypes",[])],t);var e,o,a}()},function(t,e,n){"use strict";var i=n(0),r=n(150),s=n(28);n.d(e,"a",function(){return _});var o=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},a=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},_=function(){function t(t){this.tooltipService=t,this.showTimeSettings=!0}return t.prototype.valChange=function(t){var e=this;return console.log(t),tthis.chart.secsPerDivVals[this.chart.secsPerDivVals.length-1]&&(t=this.chart.secsPerDivVals[this.chart.secsPerDivVals.length-1]),this.chart.timeDivision===t?(console.log("the same"),this.chart.timeDivision=10*t+1,void setTimeout(function(){e.chart.timeDivision=t},1)):(this.chart.timeDivision=t,this.chart.setNearestPresetSecPerDivVal(t),void this.chart.setTimeSettings({timePerDiv:this.chart.timeDivision,base:this.chart.base},!1))},t.prototype.timeChanged=function(){this.chart.base=parseFloat(this.chart.base.toString()),this.chart.setTimeSettings({timePerDiv:this.chart.timeDivision,base:this.chart.base},!1)},t.prototype.autoscaleX=function(){this.chart.autoscaleAxis("x",0)},t.prototype.toggleSeriesSettings=function(){this.showTimeSettings=!this.showTimeSettings},o([n.i(i.Input)(),a("design:type","function"==typeof(e="undefined"!=typeof r.a&&r.a)&&e||Object)],t.prototype,"chart",void 0),t=o([n.i(i.Component)({templateUrl:"xaxis-controls.html",selector:"xaxis-controls"}),a("design:paramtypes",["function"==typeof(_="undefined"!=typeof s.a&&s.a)&&_||Object])],t);var e,_}()},function(t,e,n){"use strict";var i=n(0),r=n(15),s=n(63),o=n(83);n.d(e,"a",function(){return l});var a=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},_=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},l=function(){function t(t,e,n){this.viewCtrl=t,this.navParams=e,this.loadingService=n,this.bodePlotComponent=this.navParams.get("bodePlotComponent"),this.exitAfterCalibration=this.navParams.get("exit"),this.unitFormatPipe=new s.a}return t.prototype.ionViewDidEnter=function(){this.getSwiperInstance(),void 0==this.bodePlotComponent.calibrationData||this.exitAfterCalibration||this.toSlide(1,!0)},t.prototype.getSwiperInstance=function(){var t=this,e=this.slider.getSlider();return void 0==e?void setTimeout(function(){t.getSwiperInstance()},20):void e.lockSwipes()},t.prototype.runBodeInit=function(){var t=this,e=this.loadingService.displayLoading("Running Calibration...");this.bodePlotComponent.calibrate().then(function(n){console.log(n),e.dismiss(),t.toSlide(1)}).catch(function(t){console.log(t),e.dismiss()})},t.prototype.toSlide=function(t,e){e=void 0!=e&&e;var n=this.slider.getSlider();n.unlockSwipes(),e?this.slider.slideTo(t,0):this.slider.slideTo(t),n.lockSwipes()},t.prototype.closeModal=function(t){this.viewCtrl.dismiss(t)},a([n.i(i.ViewChild)("bodeSlider"),_("design:type","function"==typeof(e="undefined"!=typeof r.j&&r.j)&&e||Object)],t.prototype,"slider",void 0),t=a([n.i(i.Component)({templateUrl:"bode-modal.html"}),_("design:paramtypes",["function"==typeof(l="undefined"!=typeof r.i&&r.i)&&l||Object,"function"==typeof(h="undefined"!=typeof r.f&&r.f)&&h||Object,"function"==typeof(c="undefined"!=typeof o.a&&o.a)&&c||Object])],t);var e,l,h,c}()},function(t,e,n){"use strict";var i=n(0),r=n(15),s=n(274),o=n(66),a=n(45),_=(n.n(a),n(38));n.d(e,"a",function(){return c});var l=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},h=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},c=function(){function t(t,e,n,i,r){this.utilityService=e,this.deviceManagerService=n,this.toastService=i,this.navParams=r,this.startFreq=100,this.stopFreq=1e4,this.stepsPerDec="10",this.sweepType="Log",this.sweepTypeArray=["Log","Linear"],this.vertScale="Log",this.navCtrl=t,this.dismissCallback=this.navParams.get("onBodeDismiss"),this.activeDevice=this.deviceManagerService.devices[this.deviceManagerService.activeDeviceIndex]}return t.prototype.select=function(t,e){"sweep"===e?this.sweepType=t:"vert"===e&&(this.vertScale=t,"Log"===this.vertScale?this.bodeComponent.transformToLog("y"):"Linear"===this.vertScale&&this.bodeComponent.transformToLinear("y"))},t.prototype.frequencyMousewheel=function(t,e){t.deltaY<0?this.incrementFrequency(e):this.decrementFrequency(e)},t.prototype.stepMousewheel=function(t){if(t.deltaY<0){if(parseInt(this.stepsPerDec)>=40)return;this.stepsPerDec=(parseInt(this.stepsPerDec)+1).toString()}else{if(parseInt(this.stepsPerDec)<=1)return;this.stepsPerDec=(parseInt(this.stepsPerDec)-1).toString()}},t.prototype.incrementFrequency=function(t){var e=this.activeDevice.instruments.awg.chans[0].signalFreqMin/1e3,n=this.activeDevice.instruments.awg.chans[0].signalFreqMax/1e3;n=Math.min(n,this.activeDevice.instruments.osc.chans[0].sampleFreqMax/1e3/10);var i;"startFreq"===t?i=this.startFreq.toString():"stopFreq"===t&&(i=this.stopFreq.toString());var r=parseInt(i.charAt(0),10),s=i.split(".")[0].length-1;r++,10===r&&(r=1,s++);var o=r*Math.pow(10,s);othis.activeDevice.instruments.awg.chans[0].signalFreqMax/1e3&&(o=this.activeDevice.instruments.awg.chans[0].signalFreqMax/1e3),"startFreq"===t?(this.startFreq=Math.min(Math.max(e,o),n),this.startFreq>this.stopFreq&&(this.stopFreq=this.startFreq)):"stopFreq"===t&&(this.stopFreq=Math.min(Math.max(e,o),n),this.stopFreqthis.activeDevice.instruments.awg.chans[0].signalFreqMax/1e3&&(o=this.activeDevice.instruments.awg.chans[0].signalFreqMax/1e3),"startFreq"===t?(this.startFreq=Math.min(Math.max(e,o),n),this.startFreq>this.stopFreq&&(this.stopFreq=this.startFreq)):"stopFreq"===t&&(this.stopFreq=Math.min(Math.max(e,o),n),this.stopFreqthis.stopFreq&&(this.stopFreq=this.startFreq);break;case"stopFreq":this.stopFreq=Math.min(Math.max(n,t),i),this.stopFreqthis.stopFreq?void this.toastService.createToast("bodeInvalidRange",!0):void this.bodeComponent.startSweep(this.startFreq,this.stopFreq,parseInt(this.stepsPerDec),!0,"Log"===this.vertScale,this.sweepType).then(function(t){console.log(t)}).catch(function(e){console.log(e),"interrupted"===e&&t.toastService.createToast("bodeAborted",!0)})},l([n.i(i.ViewChild)("bodeComponent"),h("design:type","function"==typeof(e="undefined"!=typeof s.a&&s.a)&&e||Object)],t.prototype,"bodeComponent",void 0),t=l([n.i(i.Component)({templateUrl:"bode.html"}),h("design:paramtypes",["function"==typeof(c="undefined"!=typeof r.g&&r.g)&&c||Object,"function"==typeof(u="undefined"!=typeof o.a&&o.a)&&u||Object,"function"==typeof(p="undefined"!=typeof a.DeviceManagerService&&a.DeviceManagerService)&&p||Object,"function"==typeof(d="undefined"!=typeof _.a&&_.a)&&d||Object,"function"==typeof(f="undefined"!=typeof r.f&&r.f)&&f||Object])],t);var e,c,u,p,d,f}()},function(t,e,n){"use strict";var i=n(15),r=n(0),s=n(89),o=n(65),a=n(45);n.n(a);n.d(e,"a",function(){return h});var _=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},l=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},h=function(){function t(t,e,n,i,r){this.cursorTypeArray=["Disabled","Time","Track","Voltage"],this.cursorChanArray=[],this.activeChans=[],this.popoverCtrl=i,this.platform=t,this.viewCtrl=e,this.params=n,this.deviceManagerService=r,this.activeDevice=this.deviceManagerService.devices[this.deviceManagerService.activeDeviceIndex];for(var s=0;s=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},d=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},f=function(){function t(t,e,n,i,r,s,o){var a=this;if(this.selectedPotentialDeviceIndex=0,this.bridgeConfigure=!1,this.deviceConfigure=!1,this.invalidEnumeration=!0,this.hostname="test",this.nicStatusContainer={adapter:"",securityType:null,status:null,ssid:"",ipAddress:""},this.currentCalibration="",this.platform=t,this.modalCtrl=e,this.loadingCtrl=n,this.navCtrl=o,this.tooltipService=s,this.params=i,this.deviceManagerService=r,this.potentialDevices=this.params.get("potentialDevices"),this.deviceBridgeAddress=this.params.get("deviceBridgeAddress"),this.deviceArrayIndex=this.params.get("deviceArrayIndex"),this.deviceManagerPageRef=this.params.get("deviceManagerPageRef"),this.deviceObject=this.params.get("deviceObject"),this.params.get("bridge")&&(this.bridgeConfigure=!0),null!=this.deviceObject){console.log(this.deviceObject),this.invalidEnumeration=!1;var _=this.deviceObject.bridge?this.deviceObject.deviceBridgeAddress:this.deviceObject.ipAddress;if(this.deviceManagerService.addDeviceFromDescriptor(_,{device:[this.deviceObject.deviceDescriptor]}),this.deviceObject.bridge){var l=this.deviceManagerPageRef.displayLoading();this.setAgentActiveDeviceFromExisting().then(function(t){if(a.deviceConfigure=!0,!t)return a.getNicStatus("wlan0")}).catch(function(t){return console.log(t),Promise.reject("device not connected")}).then(function(){return a.reEnumerateAgent()}).catch(function(t){return console.log(t),a.reEnumerateAgent(!1)}).then(function(){a.potentialDevices&&a.potentialDevices.indexOf(a.deviceObject.connectedDeviceAddress)!==-1&&(a.dropdownPopRef.setActiveSelection(a.deviceObject.connectedDeviceAddress),a.selectedPotentialDeviceIndex=a.potentialDevices.indexOf(a.deviceObject.connectedDeviceAddress)),l.dismiss(),a.deviceManagerPageRef.verifyFirmware(void 0==a.deviceArrayIndex?0:a.deviceArrayIndex).then(function(){return a.getCurrentCalibration()}).then(function(){}).catch(function(t){})}).catch(function(t){console.log("Error setting active from existing"),l.dismiss()})}else{if("local"===this.deviceObject.ipAddress)return this.deviceConfigure=!0,void(this.currentCalibration="USER");var h=this.deviceManagerPageRef.displayLoading();this.deviceManagerService.connect(this.deviceObject.ipAddress).subscribe(function(t){t.device&&0===t.device[0].statusCode&&(a.deviceConfigure=!0,a.getNicStatus("wlan0").then(function(){return h.dismiss(),a.deviceManagerPageRef.verifyFirmware(void 0==a.deviceArrayIndex?0:a.deviceArrayIndex)}).then(function(){return a.getCurrentCalibration()}).catch(function(t){return a.getCurrentCalibration()}).then(function(){}).catch(function(t){h.dismiss()}))},function(t){console.log(t),a.deviceManagerPageRef.toastService.createToast("timeout",!0),h.dismiss()},function(){})}this.bridgeConfigure=this.deviceObject.bridge,this.deviceBridgeAddress=this.bridgeConfigure===!0?this.deviceObject.deviceBridgeAddress:this.deviceBridgeAddress}else void 0==this.deviceObject&&this.bridgeConfigure&&this.reEnumerateAgent(!1)}return t.prototype.getNicStatus=function(t){var e=this;return new Promise(function(n,i){e.deviceManagerService.devices[e.deviceManagerService.activeDeviceIndex].nicGetStatus(t).subscribe(function(t){e.nicStatusContainer.ipAddress=t.device[0].ipAddress,e.nicStatusContainer.ssid=t.device[0].ssid,e.nicStatusContainer.status=t.device[0].status.charAt(0).toUpperCase()+t.device[0].status.slice(1),n(t)},function(t){i(t),console.log(t)},function(){})})},t.prototype.getCurrentCalibration=function(t){var e=this;return t=void 0==t||t,new Promise(function(n,i){e.deviceManagerService.devices[e.deviceManagerService.activeDeviceIndex].calibrationRead().subscribe(function(r){var s=JSON.stringify(r.device[0].calibrationData);s.indexOf("USER")!==-1||s.indexOf("SD")!==-1||s.indexOf("sd")!==-1?e.currentCalibration="SD":s.indexOf("FACTORY")!==-1||s.indexOf("FLASH")!==-1||s.indexOf("flash")!==-1?e.currentCalibration="Flash":s.indexOf("uncalibrated")!==-1||s.indexOf("UNCALIBRATED")!==-1||s.indexOf("IDEAL")!==-1?(e.currentCalibration="Uncalibrated",t&&e.deviceManagerPageRef.verifyCalibrationSource(void 0==e.deviceArrayIndex?0:e.deviceArrayIndex,"UNCALIBRATED").then(function(){e.getCurrentCalibration(!1).then(function(t){n(t)}).catch(function(t){i(t)})}).catch(function(t){i(t)})):e.currentCalibration="Calibrated",n(r)},function(t){i(t)},function(){})})},t.prototype.reEnumerateAgent=function(t){var e=this;return t=t||!1,new Promise(function(n,i){e.deviceManagerService.connectBridge(e.deviceBridgeAddress).subscribe(function(i){return n(),void 0==i.agent||i.agent[0].statusCode>0?void e.deviceManagerPageRef.toastService.createToast("agentInvalidResponse",!0):0===i.agent[0].devices.length?void e.deviceManagerPageRef.toastService.createToast("agentEnumerateError",!0):(e.potentialDevices=i.agent[0].devices,1===i.agent[0].devices.length&&!e.deviceObject&&t?e.dropdownDeviceChange(i.agent[0].devices[0],t):i.agent[0].devices.length>0&&t&&e.dropdownDeviceChange(i.agent[0].devices[0],t),void(i.agent[0].devices.length>0&&e.deviceObject&&i.agent[0].devices.indexOf(e.deviceObject.connectedDeviceAddress)!==-1?e.dropdownPopRef.setActiveSelection(e.deviceObject.connectedDeviceAddress):i.agent[0].devices.length>0&&e.deviceObject&&i.agent[0].devices.indexOf(e.deviceObject.connectedDeviceAddress)===-1&&e.dropdownDeviceChange(i.agent[0].devices[0],t)))},function(t){n(),console.log(t),e.deviceManagerPageRef.toastService.createToast("agentInvalidResponse",!0)},function(){})})},t.prototype.setAgentActiveDeviceFromExisting=function(){var t=this,e={agent:[{command:"setActiveDevice",device:this.deviceObject.connectedDeviceAddress}]};return this.deviceManagerService.transport.setHttpTransport(this.deviceObject.deviceBridgeAddress),new Promise(function(n,i){t.deviceManagerService.transport.writeRead("/config",JSON.stringify(e),"json").subscribe(function(e){var r;try{var s=String.fromCharCode.apply(null,new Int8Array(e.slice(0)));console.log(s),r=JSON.parse(s)}catch(t){console.log(t)}return void 0==r||void 0==r.agent[0]||r.agent[0].statusCode>0?(t.deviceManagerPageRef.toastService.createToast("agentConnectError",!0),t.invalidEnumeration=!0,void i()):void t.enterJsonMode().then(function(){t.enumerateDevice(t.deviceObject.deviceBridgeAddress).then(function(t){n()}).catch(function(t){i()})}).catch(function(t){n(!0)})},function(e){t.deviceManagerPageRef.toastService.createToast("timeout",!0),console.log(e),i(e)},function(){})})},t.prototype.updateDeviceEnumeration=function(t){void 0!=this.deviceArrayIndex&&void 0!=this.deviceManagerPageRef.devices[this.deviceArrayIndex]&&(this.deviceManagerPageRef.devices[this.deviceArrayIndex].deviceDescriptor=t,this.deviceManagerPageRef.storage.saveData("savedDevices",JSON.stringify(this.deviceManagerPageRef.devices)).catch(function(t){console.warn(t)}),this.deviceManagerPageRef.getFirmwareVersionsForDevices())},t.prototype.enumerateDevice=function(t){var e=this;return new Promise(function(n,i){e.deviceManagerService.connect(t).subscribe(function(t){t.device&&0===t.device[0].statusCode?(e.updateDeviceEnumeration(t.device[0]),n(t)):i(t)},function(t){i(t)},function(){})})},t.prototype.enterJsonMode=function(){var t=this,e={agent:[{command:"enterJsonMode"}]};return new Promise(function(n,i){t.deviceManagerService.transport.writeRead("/config",JSON.stringify(e),"json").subscribe(function(e){var r;try{var s=String.fromCharCode.apply(null,new Int8Array(e.slice(0)));console.log(s),r=JSON.parse(s)}catch(t){console.log("Error Parsing JSON mode Device Response"),console.log(t),i(t)}return void 0==r.agent[0]||r.agent[0].statusCode>0?(t.deviceManagerPageRef.toastService.createToast("agentEnterJsonError",!0),t.invalidEnumeration=!0,void i()):void n(r)},function(t){console.log(t),i(t)},function(){})})},t.prototype.retryDeviceEnumeration=function(){this.selectDevice(this.selectedPotentialDeviceIndex)},t.prototype.selectDevice=function(t){var e=this;this.deviceConfigure=!1,this.invalidEnumeration=!0;var n={agent:[{command:"setActiveDevice",device:this.potentialDevices[t]}]},i=this.deviceManagerPageRef.displayLoading();this.deviceManagerService.transport.writeRead("/config",JSON.stringify(n),"json").subscribe(function(n){var r;try{var s=String.fromCharCode.apply(null,new Int8Array(n.slice(0)));console.log(s),r=JSON.parse(s)}catch(t){return console.log("Error Parsing Set Active Device Response"),console.log(t),i.dismiss(),e.invalidEnumeration=!0,void e.deviceManagerPageRef.toastService.createToast("agentConnectError",!0)}return void 0==r.agent[0]||r.agent[0].statusCode>0?(console.log("Agent StatusCode Error"),i.dismiss(),e.invalidEnumeration=!0,void e.deviceManagerPageRef.toastService.createToast("agentConnectError",!0)):(e.deviceConfigure=!0,void e.enterJsonMode().then(function(){e.deviceManagerService.connect(e.deviceBridgeAddress).subscribe(function(n){if(i.dismiss(),void 0==n.device[0].statusCode||n.device[0].statusCode>0)return e.deviceManagerPageRef.toastService.createToast("enumerateError",!0),void(e.invalidEnumeration=!0);if(e.invalidEnumeration=!1,void 0!=e.deviceObject)return e.deviceObject.deviceDescriptor=n.device[0],e.deviceObject.connectedDeviceAddress=e.potentialDevices[t],e.deviceObject.ipAddress=e.deviceObject.deviceBridgeAddress+" - "+e.deviceObject.connectedDeviceAddress,e.deviceManagerPageRef.storage.saveData("savedDevices",JSON.stringify(e.deviceManagerPageRef.devices)).catch(function(t){console.warn(t)}),e.deviceManagerService.addDeviceFromDescriptor(e.deviceObject.deviceBridgeAddress,{device:[e.deviceObject.deviceDescriptor]}),e.deviceConfigure=!0,e.deviceManagerPageRef.getFirmwareVersionsForDevices(),void e.getNicStatus("wlan0").then(function(){return e.deviceManagerPageRef.verifyFirmware(void 0==e.deviceArrayIndex?0:e.deviceArrayIndex)}).then(function(t){e.getCurrentCalibration().catch(function(t){})}).catch(function(t){e.getCurrentCalibration().catch(function(t){})});var r=e.deviceManagerPageRef.bridgeDeviceSelect({selectedDevice:e.potentialDevices[t],deviceEnum:n},e.deviceBridgeAddress);r&&(e.deviceConfigure=!0,e.deviceObject=e.deviceManagerPageRef.devices[0],e.deviceObject.connectedDeviceAddress=e.potentialDevices[t],e.deviceManagerPageRef.deviceManagerService.addDeviceFromDescriptor(e.deviceBridgeAddress,{device:[e.deviceObject.deviceDescriptor]})),e.getNicStatus("wlan0").then(function(){return e.deviceManagerPageRef.verifyFirmware(0)}).then(function(t){e.getCurrentCalibration().catch(function(t){})}).catch(function(t){e.getCurrentCalibration().catch(function(t){})})},function(t){console.log(t),i.dismiss(),e.invalidEnumeration=!0,e.deviceManagerPageRef.toastService.createToast("timeout",!0)},function(){})}).catch(function(t){i.dismiss()}))},function(t){console.log(t),i.dismiss()},function(){})},t.prototype.dropdownDeviceChange=function(t,e){e=void 0==e||e,this.selectedPotentialDeviceIndex=this.potentialDevices.indexOf(t),e&&this.selectDevice(this.selectedPotentialDeviceIndex)},t.prototype.done=function(){this.navCtrl.pop()},t.prototype.openCorrectFirmwareModal=function(){var t=this;if(this.potentialDevices){var e,n;this.invalidEnumeration||void 0==this.deviceObject?(e=_.a,n={agentAddress:this.deviceObject?this.deviceObject.deviceBridgeAddress:this.deviceBridgeAddress}):(e=l.a,n={agentAddress:this.deviceObject?this.deviceObject.deviceBridgeAddress:this.deviceBridgeAddress,deviceObject:this.deviceObject});var i=this.modalCtrl.create(e,n,{enableBackdropDismiss:!1});i.onWillDismiss(function(n){void 0!=t.deviceArrayIndex&&e!==_.a&&t.deviceManagerService.connect(t.deviceManagerPageRef.devices[t.deviceArrayIndex].deviceBridgeAddress).subscribe(function(e){e.device&&0===e.device[0].statusCode&&(t.updateDeviceEnumeration(e.device[0]),console.log("MODAL DISMISS"),void 0!=e.device[0].calibrationSource&&(console.log("CALLING VERIFY CALIBRATION SOURCE"),t.deviceManagerPageRef.verifyCalibrationSource(t.deviceArrayIndex,e.device[0].calibrationSource).then(function(t){console.log(t)}).catch(function(t){console.log(t)})))},function(t){},function(){})}),i.present()}},t.prototype.openCalibrateWizard=function(){var t=this,e=this.modalCtrl.create(s.a,void 0,{enableBackdropDismiss:!1});e.onWillDismiss(function(){t.getCurrentCalibration().catch(function(t){console.log(t)})}),e.present()},t.prototype.openWifiWizard=function(){var t=this,e="OpenLogger MZ"===this.deviceManagerService.getActiveDevice().deviceModel?a.a:o.a,n=this.modalCtrl.create(e,{deviceObject:this.deviceObject},{enableBackdropDismiss:!1});n.onWillDismiss(function(e){if(void 0!=e){if(e.toDeviceManagerPage)return void t.navCtrl.pop();t.nicStatusContainer.ipAddress=e.ipAddress||"",t.nicStatusContainer.ssid=e.ssid||"",t.nicStatusContainer.status=e.status.charAt(0).toUpperCase()+e.status.slice(1)||""}}),n.present()},t.prototype.getFirmwareVersion=function(){if(void 0==this.deviceObject||this.invalidEnumeration)return"N/A";var t=[];for(var e in this.deviceObject.deviceDescriptor.firmwareVersion)t.push(this.deviceObject.deviceDescriptor.firmwareVersion[e]);return t.join(".")},p([n.i(r.ViewChild)("dropdownPop"),d("design:type","function"==typeof(e="undefined"!=typeof h.a&&h.a)&&e||Object)],t.prototype,"dropdownPopRef",void 0),t=p([n.i(r.Component)({templateUrl:"device-configure.html"}),d("design:paramtypes",["function"==typeof(f="undefined"!=typeof i.c&&i.c)&&f||Object,"function"==typeof(m="undefined"!=typeof i.d&&i.d)&&m||Object,"function"==typeof(g="undefined"!=typeof i.e&&i.e)&&g||Object,"function"==typeof(v="undefined"!=typeof i.f&&i.f)&&v||Object,"function"==typeof(x="undefined"!=typeof c.DeviceManagerService&&c.DeviceManagerService)&&x||Object,"function"==typeof(y="undefined"!=typeof u.a&&u.a)&&y||Object,"function"==typeof(b="undefined"!=typeof i.g&&i.g)&&b||Object])],t);var e,f,m,g,v,x,y,b}()},function(t,e,n){"use strict";var i=n(0),r=n(15),s=n(285),o=n(374),a=n(286),_=n(287),l=n(283),h=n(377),c=n(89),u=n(45),p=(n.n(u),n(59)),d=n(31),f=n(38),m=n(28),g=n(66);n.d(e,"a",function(){return y});var v=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},x=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},y=function(){function t(t,e,n,i,r,s,o,a,_,l,h,c,u){var p=this;this.showDevMenu=!1,this.selectedSimulatedDevice="OpenScope MZ",this.deviceBridgeAddress="http://localhost:42135",this.minFirmwareVersion="1.4.0",this.devices=[],this.simulatedDevices=["OpenScope MZ","OpenLogger MZ"],this.deviceConnectionType="network",this.showDeviceTypeCard=!0,this.tutorialMode=!1,this.tutorialStage=0,this.listUrl="https://s3-us-west-2.amazonaws.com/digilent?prefix=Software/OpenScope+MZ/release/firmware/without-bootloader",console.log("tab1 constructor"),this.app=o,this.loadingCtrl=c,this.toastService=h,this.tooltipService=r,this.alertCtrl=l,this.settingsService=_,this.platform=a,this.popoverCtrl=t,this.navCtrl=i,this.modalCtrl=s,this.loadDefaultTooltipMessages(),this.addDeviceIp="http://",this.deviceManagerService=e,this.storage=n,this.utilityService=u,this.storage.getData("routeToStore").then(function(t){null!=t&&t!==!0||!p.platform.is("mobileweb")||!p.platform.is("android")&&!p.platform.is("ios")||p.routeToStore()}),this.storage.getData("useDevBuilds").then(function(t){void 0!=t&&(console.log(t),JSON.parse(t)&&(p.listUrl="https://s3-us-west-2.amazonaws.com/digilent?prefix=Software/OpenScope+MZ/development/firmware/without-bootloader"))}),this.storage.getData("savedDevices").then(function(t){null!==t&&(p.devices=JSON.parse(t),p.getFirmwareVersionsForDevices())})}return t.prototype.getFirmwareVersionsForDevices=function(){for(var t=this,e=function(e){var i=n.devices[e];if("local"!==i.ipAddress){var r=n.utilityService.transformModelToPropKey(i.deviceDescriptor.deviceModel),s=n.settingsService.knownFirmwareUrls[r].listUrl;n.deviceManagerService.getLatestFirmwareVersionFromUrl(s).then(function(n){t.determineIfOutdatedFirmware(n,e)}).catch(function(t){console.log(t)})}},n=this,i=0;i0){var r="Error Parsing Agent Response To Devices Enumeration";return console.log(r),void e.toastService.createToast("agentInvalidResponse",!0)}if(0===i.agent[0].devices.length)return void e.toastService.createToast("agentEnumerateError",!0);var s={potentialDevices:i.agent[0].devices,deviceBridgeAddress:t,bridge:!0,deviceManagerPageRef:e,deviceObject:null};e.navCtrl.push(o.a,s)},function(t){console.log(t),n.dismiss(),e.toastService.createToast("agentNoResponse",!0)},function(){})},t.prototype.bridgeDeviceSelect=function(t,e){return null!=t&&(void 0==t.deviceEnum.device?(this.toastService.createToast("agentEnumerateError",!0),!1):(this.devices.unshift({deviceDescriptor:t.deviceEnum.device[0],ipAddress:e+" - "+t.selectedDevice,hostname:"Hostname",bridge:!0,deviceBridgeAddress:e,connectedDeviceAddress:t.selectedDevice,outdatedFirmware:!1}),this.storage.saveData("savedDevices",JSON.stringify(this.devices)).catch(function(t){console.warn(t)}),this.showDevMenu=!1,this.toastService.createToast("deviceAdded"),this.tutorialStage=3,!0))},t.prototype.agentSetActiveDeviceAndEnterJson=function(t){var e=this,n={agent:[{command:"setActiveDevice",device:t.connectedDeviceAddress}]};return this.deviceManagerService.transport.setHttpTransport(t.deviceBridgeAddress),new Promise(function(t,i){e.deviceManagerService.transport.writeRead("/config",JSON.stringify(n),"json").subscribe(function(n){console.log("active device set");var r;try{var s=String.fromCharCode.apply(null,new Int8Array(n.slice(0)));console.log(s),r=JSON.parse(s)}catch(t){return console.log("Error Parsing Set Active Device Response"),console.log(t),void i()}return void 0==r.agent[0]||r.agent[0].statusCode>0?void i():(console.log(r),void e.enterJsonMode().then(function(){t()}).catch(function(e){t({error:"jsonMode"})}))},function(t){e.toastService.createToast("timeout",!0),console.log(t),i(t)},function(){})})},t.prototype.attemptConnect=function(t){var e=this;if(t.indexOf("http://")===-1&&(t="http://"+t,this.addDeviceIp=t),console.log(t),this.checkIfMatchingIp(t))return void this.toastService.createToast("deviceExists",!0);var n=this.displayLoading();this.deviceManagerService.connect(t).subscribe(function(i){console.log(i),n.dismiss(),e.devices.unshift({deviceDescriptor:i.device[0],ipAddress:t,hostname:"Hostname",bridge:!1,deviceBridgeAddress:null,connectedDeviceAddress:null,outdatedFirmware:!1}),e.storage.saveData("savedDevices",JSON.stringify(e.devices)).catch(function(t){console.warn(t)}),e.showDevMenu=!1,e.toastService.createToast("deviceAdded"),e.tutorialStage=3,e.deviceManagerService.addDeviceFromDescriptor(t,i),e.getFirmwareVersionsForDevices(),e.verifyFirmware(0).then(function(t){e.verifyCalibrationSource(0,e.devices[0].deviceDescriptor.calibrationSource)}).catch(function(t){e.verifyCalibrationSource(0,e.devices[0].deviceDescriptor.calibrationSource)})},function(t){n.dismiss(),console.log(t),e.toastService.createToast("timeout",!0)},function(){})},t.prototype.verifyCalibrationSource=function(t,e){var n=this;return new Promise(function(e,i){console.log(t,n.devices[t]),n.deviceManagerService.getActiveDevice().calibrationRead().subscribe(function(r){var s=JSON.stringify(r.device[0].calibrationData);if(s.indexOf("uncalibrated")!==-1||"UNCALIBRATED"==n.devices[t].deviceDescriptor.calibrationSource){var o="Uncalibrated Device",a="Your device is uncalibrated. You will now be taken to the calibration wizard.";n.alertWrapper(o,a).then(function(t){return n.toCalibrationPage()}).then(function(t){e()}).catch(function(t){i(t)})}else e()})})},t.prototype.openGettingStartedPopover=function(t){var e=this.popoverCtrl.create(c.a,{dataArray:["OpenScope MZ","OpenLogger MZ"]},{cssClass:"gettingStartedPopover"});e.onWillDismiss(function(t){if(void 0!=t){var e;switch(t.option){case"OpenScope MZ":e=window.open("https://reference.digilentinc.com/reference/instrumentation/openscope-mz/start","_blank"),e.location;break;case"OpenLogger MZ":e=window.open("https://reference.digilentinc.com/reference/instrumentation/openlogger/getting-started","_blank"),e.location}}}),e.present({ev:t})},t.prototype.verifyFirmware=function(t){var e=this;return new Promise(function(n,i){var r=e.devices[t].deviceDescriptor.firmwareVersion,s=r.patch+1e3*r.minor+1e6*r.major,o=e.minFirmwareVersion.split("."),a=parseInt(o[2])+1e3*parseInt(o[1])+1e6*parseInt(o[0]),_=s0?void i():(console.log(e),void n(e))},function(t){console.log(t),i(t)},function(){})})},t.prototype.routeToDigilent=function(){var t=window.open("https://store.digilentinc.com/","_blank");t.location},t.prototype.connectToDevice=function(t){var e=this,n=!1,i=(n="OpenLogger MZ"===this.devices[t].deviceDescriptor.deviceModel)?h.a:s.a,r={tutorialMode:this.tutorialMode};if(n&&(r=Object.assign(r,{onLoggerDismiss:function(){},isRoot:!0})),"local"===this.devices[t].ipAddress)return this.deviceManagerService.addDeviceFromDescriptor("local",{device:[this.devices[t].deviceDescriptor]}),console.log(this.deviceManagerService),void this.navCtrl.setRoot(i,r);var o=this.devices[t].deviceDescriptor.firmwareVersion;if(0===o.major&&1359===o.minor&&0===o.patch){var a=this.toastService.toastCtrl.create({message:"Please update the firmware to access the logger page",duration:3e3,showCloseButton:!0});return a.present(),void this.openUpdateFirmware(t).then(function(t){console.log(t)}).catch(function(t){console.log(t)})}var _=this.displayLoading(),l=this.devices[t].ipAddress;if(this.devices[t].bridge){l=this.devices[t].deviceBridgeAddress,this.deviceManagerService.transport.setHttpTransport(l);var c={agent:[{command:"setActiveDevice",device:this.devices[t].connectedDeviceAddress}]};return console.log(c),void this.deviceManagerService.transport.writeRead("/config",JSON.stringify(c),"json").subscribe(function(n){var s,o;try{s=JSON.parse(String.fromCharCode.apply(null,new Int8Array(n.slice(0)))),o=s.agent[0].statusCode}catch(t){console.log("Error Parsing Set Active Device Response"),console.log(t)}return console.log(s),!s.agent[0]||s.agent[0].statusCode>0?(e.toastService.createToast("agentConnectError",!0),void _.dismiss()):void e.enterJsonMode().then(function(){e.sendEnumeration(l,_,t).then(function(){e.navCtrl.setRoot(i,r)})}).catch(function(t){e.toastService.createToast("agentConnectError",!0),_.dismiss()})},function(t){console.log(t),e.toastService.createToast("timeout",!0),_.dismiss()},function(){})}this.sendEnumeration(l,_,t).then(function(){e.navCtrl.setRoot(i,r)})},t.prototype.sendEnumeration=function(t,e,n){var i=this;return new Promise(function(r){i.deviceManagerService.connect(t).subscribe(function(s){console.log(s),e.dismiss(),i.deviceManagerService.addDeviceFromDescriptor(t,s),i.devices[n].deviceDescriptor=s.device[0],i.verifyFirmware(n).then(function(t){return i.verifyCalibrationSource(n,s.device[0].calibrationSource)}).then(function(t){i.storage.saveData("savedDevices",JSON.stringify(i.devices)).catch(function(t){console.warn(t)}),r()}).catch(function(t){console.log(t)})},function(t){console.log(t),i.toastService.createToast("timeout",!0),e.dismiss()},function(){})})},t=v([n.i(i.Component)({templateUrl:"device-manager-page.html",animations:[n.i(i.trigger)("rotate",[n.i(i.state)("true",n.i(i.style)({transform:"rotate(-180deg)"})),n.i(i.state)("false",n.i(i.style)({transform:"rotate(0deg)"})),n.i(i.transition)("void => *",n.i(i.animate)("0s")),n.i(i.transition)("* <=> *",n.i(i.animate)("250ms ease-in-out"))])]}),x("design:paramtypes",["function"==typeof(e="undefined"!=typeof r.h&&r.h)&&e||Object,"function"==typeof(y="undefined"!=typeof u.DeviceManagerService&&u.DeviceManagerService)&&y||Object,"function"==typeof(b="undefined"!=typeof p.a&&p.a)&&b||Object,"function"==typeof(w="undefined"!=typeof r.g&&r.g)&&w||Object,"function"==typeof(C="undefined"!=typeof m.a&&m.a)&&C||Object,"function"==typeof(E="undefined"!=typeof r.d&&r.d)&&E||Object,"function"==typeof(T="undefined"!=typeof r.m&&r.m)&&T||Object,"function"==typeof(A="undefined"!=typeof r.c&&r.c)&&A||Object,"function"==typeof(I="undefined"!=typeof d.a&&d.a)&&I||Object,"function"==typeof(S="undefined"!=typeof r.k&&r.k)&&S||Object,"function"==typeof(O="undefined"!=typeof f.a&&f.a)&&O||Object,"function"==typeof(k="undefined"!=typeof r.e&&r.e)&&k||Object,"function"==typeof(N="undefined"!=typeof g.a&&g.a)&&N||Object])],t);var e,y,b,w,C,E,T,A,I,S,O,k,N}()},function(t,e,n){"use strict";var i=n(0),r=n(76),s=n(15),o=n(222),a=n(190),_=n(223),l=n(284),h=n(99);n.d(e,"a",function(){return p});var c=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},u=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},p=function(){function t(){}return t=c([n.i(i.NgModule)({imports:[r.a,s.a.forRoot(l.a)],declarations:[o.a,a.a,_.a,l.a],exports:[o.a,a.a,_.a],providers:[h.a]}),u("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var i=n(0),r=n(15),s=n(276),o=n(89),a=n(191),_=n(278),l=n(275),h=n(188),c=n(189),u=n(222),p=n(187),d=n(223),f=n(284),m=n(63),g=n(99),v=n(28),x=n(45),y=(n.n(x),n(83)),b=n(38);n.d(e,"a",function(){return E});var w=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},C=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},E=function(){function t(t,e,n,i,r,s,o,a,_,l){this.navCtrl=t,this.navParams=e,this.loggerPlotService=n,this.modalCtrl=i,this.popoverCtrl=r,this.tooltipService=s,this.events=o,this.deviceManagerService=a,this.loadingService=_,this.toastService=l,this.selectedMathInfo=[],this.isRoot=!1,this.dismissCallback=this.navParams.get("onLoggerDismiss"),this.isRoot=this.navParams.get("isRoot")||this.isRoot,this.unitFormatPipeInstance=new m.a,this.activeDevice=this.deviceManagerService.getActiveDevice(),this.readCurrentGpioStates().then(function(t){console.log(t)}).catch(function(t){console.log(t)})}return t.prototype.ngOnInit=function(){var t=this;this.cursorInfo={currentType:"disabled",currentChannels:{c1:{instrument:"daq",channel:1},c2:{instrument:"daq",channel:1}}},this.getAwgStatus().then(function(){return t.getVoltages()});var e=this.fGenComponent.togglePromise.bind(this.fGenComponent);this.fGenComponent.togglePower=function(n,i){t.loggerComponent.running?t.loggerComponent.messageQueue.push(function(){return e(n,i).catch(function(t){return console.error(t)})}):e(n,i).catch(function(t){return console.error(t)})}},t.prototype.getAwgStatus=function(){var t=this;return new Promise(function(e,n){for(var i=[],r=0;r1&&n.availableChans.push({instrument:"Analog",channel:i+1,seriesOffset:i});var r=this.popoverCtrl.create(_.a,{passData:n});r.onWillDismiss(function(){s.unsubscribe()}),r.present({ev:t});var s=r.instance.buttonSubject.subscribe(function(t){console.log(t),e.addMathInfo(t)},function(t){},function(){})},t.prototype.openCursorModal=function(t){for(var e=this,n=[],i=0;i1&&n.push({instrument:"analog",channel:i+1});var r={availableChannels:n,currentChannels:this.cursorInfo.currentChannels,currentType:this.cursorInfo.currentType},s=this.popoverCtrl.create(l.a,{passData:r});s.onWillDismiss(function(){o.unsubscribe()}),s.present({ev:t});var o=s.instance.cursorSelection.subscribe(function(t){console.log(t),e.handleCursors(t)},function(t){},function(){})},t.prototype.removeCursors=function(){for(var t=this.loggerPlotService.chart.getCursors(),e=t.length,n=0,i=0;ns[r].data.length&&(o=s[r].data.length-1),a<0&&(a=0),a>s[r].data.length&&(a=s[r].data.length-1),this.selectedMathInfo[i].value=this.updateMathByName(this.selectedMathInfo[i],a,o)}},t.prototype.updateMathByName=function(t,e,n){switch(t.mathInfo){case"Frequency":return this.unitFormatPipeInstance.transform(mathFunctions.getFrequency(this.loggerPlotService.chart,t.mathChannel.seriesOffset,n,e),"Hz");case"Period":return this.unitFormatPipeInstance.transform(mathFunctions.getPeriod(this.loggerPlotService.chart,t.mathChannel.seriesOffset,n,e),"s");case"Amplitude":return this.unitFormatPipeInstance.transform(mathFunctions.getAmplitude(this.loggerPlotService.chart,t.mathChannel.seriesOffset,n,e),"V");case"Peak to Peak":return this.unitFormatPipeInstance.transform(mathFunctions.getPeakToPeak(this.loggerPlotService.chart,t.mathChannel.seriesOffset,n,e),"Vpp");case"Maximum":return this.unitFormatPipeInstance.transform(mathFunctions.getMax(this.loggerPlotService.chart,t.mathChannel.seriesOffset,n,e),"V");case"Minimum":return this.unitFormatPipeInstance.transform(mathFunctions.getMin(this.loggerPlotService.chart,t.mathChannel.seriesOffset,n,e),"V");case"Mean":return this.unitFormatPipeInstance.transform(mathFunctions.getMean(this.loggerPlotService.chart,t.mathChannel.seriesOffset,n,e),"V");case"RMS":return this.unitFormatPipeInstance.transform(mathFunctions.getRMS(this.loggerPlotService.chart,t.mathChannel.seriesOffset,n,e),"V");default:return"default"}},t.prototype.readCurrentGpioStates=function(){var t=this;return new Promise(function(e,n){for(var i=[],r=0;r0?t.activeDevice.instruments.gpio.setParameters(r,s).subscribe(function(t){console.log(t),e(t)},function(t){console.log(t),n(t)},function(){}):e(i)}else n(i)},function(){})})},t.prototype.resetInstruments=function(){var t=this,e=this.loadingService.displayLoading("Resetting Instruments...");this.activeDevice.resetInstruments().subscribe(function(n){setTimeout(function(){t.loggerComponent.getCurrentState(!0).then(function(e){return t.getAwgStatus()}).then(function(e){return t.getVoltages()}).then(function(e){return t.gpioComponent.gpioDirections.forEach(function(e,n,i){t.gpioComponent.gpioDirections[n]=!1,t.gpioComponent.gpioVals[n]=!1}),t.setGpioDirection("input")}).then(function(t){e.dismiss()}).catch(function(t){console.log(t),e.dismiss()})},n.device[0].wait)},function(n){e.dismiss(),t.toastService.createToast("deviceResetError")},function(){})},t.prototype.setGpioDirection=function(t){var e=this;return new Promise(function(n,i){for(var r=[],s=[],o=0;o=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},f=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},m=function(){function t(t,e,n,i,r,s){this.navCtrl=t,this.navParams=e,this.loggerPlotService=n,this.modalCtrl=i,this.popoverCtrl=r,this.tooltipService=s,this.selectedMathInfo=[],this.dismissCallback=this.navParams.get("onLoggerDismiss"),this.unitFormatPipeInstance=new c.a}return t.prototype.ngOnInit=function(){ this.cursorInfo={currentType:"disabled",currentChannels:{c1:{instrument:this.loggerComponent.analogChans.length>0?"analog":"digital",channel:1},c2:{instrument:this.loggerComponent.analogChans.length>0?"analog":"digital",channel:1}}}},t.prototype.snapViewToFront=function(){this.loggerComponent.viewMoved=!1,this.loggerComponent.setViewToEdge(),this.loggerPlotService.redrawChart()},t.prototype.done=function(){this.navParams.get("onLoggerDismiss")(),this.navCtrl.pop()},t.prototype.ngOnDestroy=function(){this.loggerPlotService.resetService()},t.prototype.runLogger=function(){this.loggerComponent.startLogger()},t.prototype.stopLogger=function(){this.loggerComponent.stopLogger()},t.prototype.openFileBrowser=function(){var t=this.modalCtrl.create(h.a);t.present()},t.prototype.presentExportPop=function(t){var e=this,n=this.popoverCtrl.create(o.a,{dataArray:["Export CSV","Export PNG"]});n.onWillDismiss(function(t){null!=t&&("Export CSV"===t.option?e.loggerComponent.exportCsv("LoggerData"):"Export PNG"===t.option&&e.loggerComponent.exportCanvasAsPng())}),n.present({ev:t})},t.prototype.openDevicePinout=function(t){var e=this.popoverCtrl.create(a.a,void 0,{cssClass:"pinoutPopover"});e.present()},t.prototype.openMathPopover=function(t){for(var e=this,n={chart:this.loggerPlotService.chart,availableChans:[],selectedChan:{instrument:"Analog",channel:1,seriesOffset:0},addedInfo:[]},i=0;i1&&n.availableChans.push({instrument:"Analog",channel:i+1,seriesOffset:i});for(var i=0;i1&&n.availableChans.push({instrument:"Digital",channel:i+1,seriesOffset:this.loggerComponent.analogChans.length+i});var r=this.popoverCtrl.create(_.a,{passData:n});r.onWillDismiss(function(){s.unsubscribe()}),r.present({ev:t});var s=r.instance.buttonSubject.subscribe(function(t){console.log(t),e.addMathInfo(t)},function(t){},function(){})},t.prototype.openCursorModal=function(t){for(var e=this,n=[],i=0;i1&&n.push({instrument:"analog",channel:i+1});for(var i=0;i1&&n.push({instrument:"digital",channel:i+1});var r={availableChannels:n,currentChannels:this.cursorInfo.currentChannels,currentType:this.cursorInfo.currentType},s=this.popoverCtrl.create(l.a,{passData:r});s.onWillDismiss(function(){o.unsubscribe()}),s.present({ev:t});var o=s.instance.cursorSelection.subscribe(function(t){console.log(t),e.handleCursors(t)},function(t){},function(){})},t.prototype.removeCursors=function(){for(var t=this.loggerPlotService.chart.getCursors(),e=t.length,n=0,i=0;ns[r].data.length&&(o=s[r].data.length-1),a<0&&(a=0),a>s[r].data.length&&(a=s[r].data.length-1),this.selectedMathInfo[i].value=this.updateMathByName(this.selectedMathInfo[i],a,o)}},t.prototype.updateMathByName=function(t,e,n){switch(t.mathInfo){case"Frequency":return this.unitFormatPipeInstance.transform(mathFunctions.getFrequency(this.loggerPlotService.chart,t.mathChannel.seriesOffset,n,e),"Hz");case"Period":return this.unitFormatPipeInstance.transform(mathFunctions.getPeriod(this.loggerPlotService.chart,t.mathChannel.seriesOffset,n,e),"s");case"Amplitude":return this.unitFormatPipeInstance.transform(mathFunctions.getAmplitude(this.loggerPlotService.chart,t.mathChannel.seriesOffset,n,e),"V");case"Peak to Peak":return this.unitFormatPipeInstance.transform(mathFunctions.getPeakToPeak(this.loggerPlotService.chart,t.mathChannel.seriesOffset,n,e),"Vpp");case"Maximum":return this.unitFormatPipeInstance.transform(mathFunctions.getMax(this.loggerPlotService.chart,t.mathChannel.seriesOffset,n,e),"V");case"Minimum":return this.unitFormatPipeInstance.transform(mathFunctions.getMin(this.loggerPlotService.chart,t.mathChannel.seriesOffset,n,e),"V");case"Mean":return this.unitFormatPipeInstance.transform(mathFunctions.getMean(this.loggerPlotService.chart,t.mathChannel.seriesOffset,n,e),"V");case"RMS":return this.unitFormatPipeInstance.transform(mathFunctions.getRMS(this.loggerPlotService.chart,t.mathChannel.seriesOffset,n,e),"V");default:return"default"}},d([n.i(i.ViewChild)("loggerComponent"),f("design:type","function"==typeof(e="undefined"!=typeof s.a&&s.a)&&e||Object)],t.prototype,"loggerComponent",void 0),t=d([n.i(i.Component)({templateUrl:"openscope-logger.html"}),f("design:paramtypes",["function"==typeof(m="undefined"!=typeof r.g&&r.g)&&m||Object,"function"==typeof(g="undefined"!=typeof r.f&&r.f)&&g||Object,"function"==typeof(v="undefined"!=typeof u.a&&u.a)&&v||Object,"function"==typeof(x="undefined"!=typeof r.d&&r.d)&&x||Object,"function"==typeof(y="undefined"!=typeof r.h&&r.h)&&y||Object,"function"==typeof(b="undefined"!=typeof p.a&&p.a)&&b||Object])],t);var e,m,g,v,x,y,b}()},function(t,e,n){"use strict";var i=n(15),r=n(0),s=n(89),o=n(45),a=(n.n(o),n(63));n.d(e,"a",function(){return h});var _=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},l=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},h=function(){function t(t,e,n,i,r){this.buttonNames=[["Frequency","Period"],["Amplitude","Peak to Peak"],["Maximum","Minimum"],["Mean","RMS"]],this.selectedData={instrument:"Osc",channel:1},this.chartMin=0,this.chartMax=0,this.minIndex=0,this.maxIndex=0,this.activeChannels=[],this.popoverCtrl=i,this.platform=t,this.viewCtrl=e,this.params=n,this.chartComponent=this.params.get("chartComponent"),this.chart=this.chartComponent.chart,this.unitFormatPipe=new a.a,this.deviceManagerService=r,this.activeDevice=this.deviceManagerService.devices[this.deviceManagerService.activeDeviceIndex],this.mathChannels=[];for(var s=0;se[t].data.length&&(this.minIndex=e[t].data.length-1),this.maxIndex<0&&(this.maxIndex=0),this.maxIndex>e[t].data.length&&(this.maxIndex=e[t].data.length-1)},t.prototype.setActiveSeries=function(t){var e=t.split(" ");this.selectedData={instrument:e[0],channel:parseInt(e[2])}},t.prototype.getMetrics=function(t){switch(t){case"Frequency":return this.unitFormatPipe.transform(mathFunctions.getFrequency(this.chart,this.selectedData.channel-1,this.minIndex,this.maxIndex),"Hz");case"Pos Pulse Width":return"Pos Pulse Width";case"Pos Duty Cycle":return"Pos Duty Cycle";case"Period":return this.unitFormatPipe.transform(mathFunctions.getPeriod(this.chart,this.selectedData.channel-1,this.minIndex,this.maxIndex),"s");case"Neg Pulse Width":return"Neg Pulse Width";case"Neg Duty Cycle":return"Neg Duty Cycle";case"Rise Rate":return"Rise Rate";case"Rise Time":return"Rise Time";case"Amplitude":return this.unitFormatPipe.transform(mathFunctions.getAmplitude(this.chart,this.selectedData.channel-1,this.minIndex,this.maxIndex),"V");case"High":return"High";case"Low":return"Low";case"Peak to Peak":return this.unitFormatPipe.transform(mathFunctions.getPeakToPeak(this.chart,this.selectedData.channel-1,this.minIndex,this.maxIndex),"Vpp");case"Maximum":return this.unitFormatPipe.transform(mathFunctions.getMax(this.chart,this.selectedData.channel-1,this.minIndex,this.maxIndex),"V");case"Minimum":return this.unitFormatPipe.transform(mathFunctions.getMin(this.chart,this.selectedData.channel-1,this.minIndex,this.maxIndex),"V");case"Mean":return this.unitFormatPipe.transform(mathFunctions.getMean(this.chart,this.selectedData.channel-1,this.minIndex,this.maxIndex),"V");case"RMS":return this.unitFormatPipe.transform(mathFunctions.getRMS(this.chart,this.selectedData.channel-1,this.minIndex,this.maxIndex),"V");case"Overshoot":return"Overshoot";case"Cycle Mean":return"Cycle Mean";case"Cycle RMS":return"Cycle RMS";case"Undershoot":return"Undershoot";default:return"default"}},t.prototype.exportMathInfoToChart=function(t){this.chartComponent.addMathInfo(t,this.selectedData.channel-1,this.maxIndex,this.minIndex)},t=_([n.i(r.Component)({templateUrl:"math-modal.html"}),l("design:paramtypes",["function"==typeof(e="undefined"!=typeof i.c&&i.c)&&e||Object,"function"==typeof(h="undefined"!=typeof i.i&&i.i)&&h||Object,"function"==typeof(c="undefined"!=typeof i.f&&i.f)&&c||Object,"function"==typeof(u="undefined"!=typeof i.h&&i.h)&&u||Object,"function"==typeof(p="undefined"!=typeof o.DeviceManagerService&&o.DeviceManagerService)&&p||Object])],t);var e,h,c,u,p}()},function(t,e,n){"use strict";var i=n(0),r=n(15),s=n(89),o=n(59),a=n(31);n.d(e,"a",function(){return h});var _=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},l=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},h=function(){function t(t,e,n,i){this.navCtrl=i,this.currentSelectedDeviceInfoArray=[],this.showAdvancedSettings=!1,this.keithCount=0,this.keithTimer=0,this.showKeith=!1,this.ignoreFocusOut=!1,this.storageService=t,this.settingsService=n,this.popoverCtrl=e,console.log("settings constructor");var r=this.settingsService.getActiveDeviceInfo();r&&(this.currentSelectedDeviceInfoArray[0]=r.deviceMake+" "+r.deviceModel+" Version: "+r.firmwareVersion,this.currentSelectedDeviceInfoArray[1]=r.rootUri),this.currentTimeout=this.settingsService.deviceManagerService.getHttpTimeout(),this.timeout=this.currentTimeout/1e3}return t.prototype.setTimeout=function(){var t=1e3*this.timeout;t!==this.currentTimeout&&(this.settingsService.setHttpTimeout(t),this.currentTimeout=t)},t.prototype.checkForEnter=function(t){"Enter"===t.key&&(this.formatInputAndUpdate(t),this.ignoreFocusOut=!0)},t.prototype.inputLeave=function(t){this.ignoreFocusOut||this.formatInputAndUpdate(t),this.ignoreFocusOut=!1},t.prototype.formatInputAndUpdate=function(t){var e=t.target.value,n=parseFloat(e),i=n;e.indexOf("G")!==-1?i=n*Math.pow(10,9):e.indexOf("M")!==-1?i=n*Math.pow(10,6):e.indexOf("k")!==-1||e.indexOf("K")!==-1?i=n*Math.pow(10,3):e.indexOf("m")!==-1?i=n*Math.pow(10,-3):e.indexOf("u")!==-1?i=n*Math.pow(10,-6):e.indexOf("n")!==-1&&(i=n*Math.pow(10,-9)),i>Math.pow(10,9)?i=Math.pow(10,9):i<-Math.pow(10,9)&&(i=-Math.pow(10,9)),console.log(i),this.timeout=i},t.prototype.saveDevBuilds=function(t){this.settingsService.setUseDevBuilds(t)},t.prototype.toggleAdvancedSettings=function(){this.showAdvancedSettings=!this.showAdvancedSettings},t.prototype.changeConsoleLog=function(t){var e=this,n=this.popoverCtrl.create(s.a,{dataArray:["Console","Local Storage","Both","None"]});n.onWillDismiss(function(t){null!==t&&e.settingsService.changeConsoleLog(t.option)}),n.present({ev:t})},t.prototype.exportLogFile=function(){this.settingsService.exportLogFile()},t.prototype.clearAppLog=function(){this.settingsService.clearAppLog()},t.prototype.done=function(){this.navCtrl.pop()},t.prototype.presentTheAlmightKeith=function(){var t=this;this.showKeith=!0,setTimeout(function(){t.showKeith=!1},3e3)},t.prototype.keithifyMeCaptain=function(){if(!this.showKeith){if(0===this.keithCount)return this.keithTimer=performance.now(),void this.keithCount++;var t=performance.now();t-this.keithTimer<5e3?(this.keithCount++,this.keithCount>6&&(this.presentTheAlmightKeith(),this.keithCount=0)):this.keithCount=0}},t=_([n.i(i.Component)({templateUrl:"settings.html",animations:[n.i(i.trigger)("rotate",[n.i(i.state)("true",n.i(i.style)({transform:"rotate(-180deg)"})),n.i(i.state)("false",n.i(i.style)({transform:"rotate(0deg)"})),n.i(i.transition)("void => *",n.i(i.animate)("0s")),n.i(i.transition)("* <=> *",n.i(i.animate)("250ms ease-in-out"))])]}),l("design:paramtypes",["function"==typeof(e="undefined"!=typeof o.a&&o.a)&&e||Object,"function"==typeof(h="undefined"!=typeof r.h&&r.h)&&h||Object,"function"==typeof(c="undefined"!=typeof a.a&&a.a)&&c||Object,"function"==typeof(u="undefined"!=typeof r.g&&r.g)&&u||Object])],t);var e,h,c,u}()},function(t,e,n){"use strict";var i=n(0),r=n(15),s=n(59),o=n(31),a=n(45),_=(n.n(a),n(89)),l=n(28);n.d(e,"a",function(){return u});var h=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},c=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},u=function(){function t(t,e,n,i,r,s,o,a,_){var l=this;this.navCtrl=a,this.tooltipService=_,this.savedNetworks=[],this.availableNetworks=[],this.selectedNetwork={ssid:null,bssid:null,securityType:null,channel:null,signalStrength:null},this.save=!0,this.autoConnect=!0,this.disableAutoConnect=!1,this.connectNow=!0,this.password="",this.scanningForNetworks=!1,this.maxAttemptCount=20,this.currentAttemptCount=0,this.availableNics=["None"],this.selectedNic="None",this.currentNicStatus={adapter:null,securityType:null,status:null,ssid:null},this.wifiStatus="Ready",this.selectedStorageLocation="None",this.storageLocations=["None"],this.showAdvancedSettings=!1,this.showPassword=!1,this.wepKeyIndex=0,this.wepKeyArray=[],this.wepKeyEntryArray=[0,1,2,3],this.modifyingSaved=!1,this.showMainAdvanced=!1,this.customNetworkConfig=!1,this.securityTypes=["wpa2","wpa","wep40","wep104","open"],this.networkDropMessage="Scanning the available wifi networks requires the device to disconnect from the network",this.storageService=t,this.settingsService=e,this.deviceManagerService=n,this.popoverCtrl=o,this.loadingCtrl=s,this.params=i,this.viewCtrl=r,this.deviceObject=this.params.get("deviceObject"),console.log("wifi constructor"),this.getNicList().then(function(){return console.log("get nic list done"),l.getNicStatus(l.selectedNic)}).then(function(t){return console.log("disconnect done or autoresolve"),l.currentNicStatus=t,l.getStorageLocations()}).catch(function(t){console.log("caught error"),console.log(t)}).then(function(){return l.getSavedWifiNetworks(l.selectedStorageLocation)}).catch(function(t){console.log("caught error"),console.log(t)})}return t.prototype.toggleAdvancedSettings=function(){this.showAdvancedSettings=!this.showAdvancedSettings},t.prototype.toggleMainAdvanced=function(){this.showMainAdvanced=!this.showMainAdvanced},t.prototype.customNetworkSecuritySelect=function(t){this.selectedNetwork.securityType=t},t.prototype.displayLoading=function(t){t=t||"Loading...";var e=this.loadingCtrl.create({content:t,spinner:"crescent",cssClass:"custom-loading-indicator"});return e.present(),e},t.prototype.manualDisconnect=function(){var t=this;this.disconnectFromNetwork(this.selectedNic).then(function(e){console.log(e),t.getNicStatus(t.selectedNic).then(function(e){t.currentNicStatus=e}).catch(function(t){console.log(t)})}).catch(function(t){console.log(t)})},t.prototype.ionViewDidEnter=function(){var t=this,e=this.slider.getSlider();return void 0==e?void setTimeout(function(){t.ionViewDidEnter()},20):void e.lockSwipes()},t.prototype.nicSelection=function(t){console.log(t),this.selectedNic=t},t.prototype.storageSelection=function(t){console.log(t),this.selectedStorageLocation=t,this.getSavedWifiNetworks(t).catch(function(t){})},t.prototype.getFutureDate=function(t){return new Date(Date.now()+1e3*t)},t.prototype.loadAndConnect=function(t){var e=this;if(this.deviceObject&&!this.deviceObject.bridge){var n=confirm("Connecting to a network over wifi will send you back to the Device Manager Page. Are you sure?");if(!n)return}var i=this.displayLoading("Connecting To Saved Network...");this.loadWifiNetwork(this.savedNetworks[t].storageLocation,this.savedNetworks[t].ssid).then(function(t){return console.log(t),new Promise(function(e){setTimeout(e,t.device[0].wait+3e3)})}).then(function(){return e.connectToNetwork(e.selectedNic,"workingParameterSet",!0)}).then(function(){console.log("Waiting to connect");var t=e.getFutureDate(20);return e.readNicUntilConnected(t)}).then(function(t){return e.getNicStatus(e.selectedNic)}).then(function(t){e.currentNicStatus=t}).then(function(){i.dismiss(),e.deviceObject&&!e.deviceObject.bridge&&e.closeModal(!0)}).catch(function(t){console.log("error loading and connecting to network"),i.dismiss(),e.deviceObject&&!e.deviceObject.bridge&&e.closeModal(!0)})},t.prototype.updateSavedNetwork=function(){var t=this,e=this.displayLoading("Updating Network");this.loadWifiNetwork(this.selectedNetwork.storageLocation,this.selectedNetwork.ssid).then(function(){return t.deleteSavedWifiNetwork(t.selectedNetwork.storageLocation,t.selectedNetwork.ssid)}).then(function(){if("wpa"===t.selectedNetwork.securityType||"wpa2"===t.selectedNetwork.securityType)t.wifiSetParameters(t.selectedNic,t.selectedNetwork.ssid,t.selectedNetwork.securityType,t.selectedNetwork.autoConnect,t.password).then(function(){return t.saveWifiNetwork(t.selectedStorageLocation)}).then(function(){return t.connectNow&&t.deviceObject&&t.deviceObject.bridge?void setTimeout(function(){return console.log("return promise"),t.connectToNetwork(t.selectedNic,"workingParameterSet",!0)},500):new Promise(function(t,e){t()})}).then(function(){e.dismiss(),t.getSavedWifiNetworks(t.selectedStorageLocation).then(function(){}).catch(function(t){}),t.backToNetworks()}).catch(function(n){console.log("error updating parameters"),t.wifiStatus="Error updating wifi parameters.",e.dismiss()});else{var n=t.wepKeyArray.join(":");console.log(n),t.wifiSetParameters(t.selectedNic,t.selectedNetwork.ssid,t.selectedNetwork.securityType,t.selectedNetwork.autoConnect,void 0,n,t.wepKeyIndex).then(function(){return t.connectNow&&t.deviceObject&&t.deviceObject.bridge?t.connectToNetwork(t.selectedNic,"workingParameterSet",!0):new Promise(function(t,e){t()})}).then(function(){e.dismiss(),t.getSavedWifiNetworks(t.selectedStorageLocation).then(function(){}).catch(function(t){}),t.backToNetworks()}).catch(function(n){e.dismiss(),console.log("error updating parameters"),t.wifiStatus="Error updating wifi parameters."})}}).catch(function(t){}).catch(function(t){})},t.prototype.refreshAvailableNetworks=function(){var t=this;this.getNicStatus(this.selectedNic).then(function(e){return console.log(e),t.currentNicStatus=e,"connected"===t.currentNicStatus.status||"connecting"===t.currentNicStatus.status?t.disconnectFromNetwork(t.selectedNic):new Promise(function(t,e){t()})}).catch(function(t){console.log("error getting nic status")}).then(function(){return t.getNicStatus(t.selectedNic)}).then(function(e){return t.currentNicStatus=e,t.scanWifi(t.selectedNic)}).catch(function(t){console.log("caught error disconnecting or scanning")})},t.prototype.addCustomNetwork=function(){this.disableAutoConnect=!1,this.password="",this.save=!0,this.autoConnect=!0,this.connectNow=!0,this.wifiStatus="Ready",this.selectedNetwork={ssid:"",bssid:"",securityType:"wpa2",channel:0,signalStrength:0},this.customNetworkConfig=!0;var t=this.slider.getSlider();t.unlockSwipes(),this.slider.slideTo(1),t.lockSwipes()},t.prototype.getNicList=function(){var t=this;return new Promise(function(e,n){t.deviceManagerService.devices[t.deviceManagerService.activeDeviceIndex].nicList().subscribe(function(n){console.log(n),t.availableNics=n.device[0].nics,t.selectedNic=n.device[0].nics[0],e(n)},function(t){n(t),console.log(t)},function(){})})},t.prototype.getStorageLocations=function(){var t=this;return new Promise(function(e,n){t.deviceManagerService.devices[t.deviceManagerService.activeDeviceIndex].storageGetLocations().subscribe(function(n){t.storageLocations=n.device[0].storageLocations,t.selectedStorageLocation=t.storageLocations[0],e(n),console.log(n)},function(t){n(t),console.log(t)},function(){})})},t.prototype.populateListFromCommand=function(t){var e=[];for(var n in t){var i={ssid:t[n].ssid||null,bssid:t[n].bssid||null,securityType:t[n].securityType||null,channel:t[n].channel||null,signalStrength:t[n].signalStrength||null};t[n].ssid&&""!==t[n].ssid||(i.ssid=i.bssid),e.push(i)}e.sort(function(t,e){return e.signalStrength-t.signalStrength}),this.availableNetworks=e},t.prototype.getNicStatus=function(t){var e=this;return new Promise(function(n,i){e.deviceManagerService.devices[e.deviceManagerService.activeDeviceIndex].nicGetStatus(t).subscribe(function(t){var e={statusCode:t.device[0].statusCode,adapter:t.device[0].adapter,status:t.device[0].status,ipAddress:t.device[0].ipAddress,ssid:t.device[0].ssid,securityType:t.device[0].securityType,reason:t.device[0].reason};n(e)},function(t){i(t),console.log(t)},function(){})})},t.prototype.scanWifi=function(t){var e=this;this.deviceManagerService.devices[this.deviceManagerService.activeDeviceIndex].wifiScan(t).subscribe(function(n){console.log(n),e.scanningForNetworks=!0,e.currentAttemptCount=0,setTimeout(function(){e.readScannedWifiNetworks(t)},500)},function(t){console.log(t)},function(){})},t.prototype.readScannedWifiNetworks=function(t){var e=this;this.deviceManagerService.devices[this.deviceManagerService.activeDeviceIndex].wifiReadScannedNetworks(t).subscribe(function(t){console.log(t),e.scanningForNetworks=!1,e.populateListFromCommand(t.device[0].networks)},function(n){console.log(n),void 0!==n.device&&4===n.device[0].reason&&e.currentAttemptCount *",n.i(i.animate)("0s")),n.i(i.transition)("* <=> *",n.i(i.animate)("250ms ease-in-out"))]),n.i(i.trigger)("rotate",[n.i(i.state)("true",n.i(i.style)({transform:"rotate(-180deg)"})),n.i(i.state)("false",n.i(i.style)({transform:"rotate(0deg)"})),n.i(i.transition)("void => *",n.i(i.animate)("0s")),n.i(i.transition)("* <=> *",n.i(i.animate)("250ms ease-in-out"))])]}),c("design:paramtypes",["function"==typeof(u="undefined"!=typeof s.a&&s.a)&&u||Object,"function"==typeof(p="undefined"!=typeof o.a&&o.a)&&p||Object,"function"==typeof(d="undefined"!=typeof a.DeviceManagerService&&a.DeviceManagerService)&&d||Object,"function"==typeof(f="undefined"!=typeof r.f&&r.f)&&f||Object,"function"==typeof(m="undefined"!=typeof r.i&&r.i)&&m||Object,"function"==typeof(g="undefined"!=typeof r.e&&r.e)&&g||Object,"function"==typeof(v="undefined"!=typeof r.h&&r.h)&&v||Object,"function"==typeof(x="undefined"!=typeof r.g&&r.g)&&x||Object,"function"==typeof(y="undefined"!=typeof l.a&&l.a)&&y||Object])],t);var e,u,p,d,f,m,g,v,x,y}()},function(t,e,n){"use strict";var i=n(0),r=n(15),s=n(59),o=n(31),a=n(45),_=(n.n(a),n(89));n.d(e,"a",function(){return c});var l=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},h=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},c=function(){function t(t,e,n,i,r,s,o,a){var _=this;this.navCtrl=a,this.savedNetworks=[],this.availableNetworks=[],this.selectedNetwork={ssid:null,bssid:null,securityType:null,channel:null,signalStrength:null},this.save=!0,this.autoConnect=!0,this.disableAutoConnect=!1,this.connectNow=!0,this.password="",this.scanningForNetworks=!1,this.maxAttemptCount=20,this.currentAttemptCount=0,this.availableNics=["None"],this.selectedNic="None",this.currentNicStatus={adapter:null,securityType:null,status:null,ssid:null},this.wifiStatus="Ready",this.selectedStorageLocation="None",this.storageLocations=["None"],this.showAdvancedSettings=!1,this.wepKeyIndex=0,this.wepKeyArray=[],this.wepKeyEntryArray=[0,1,2,3],this.modifyingSaved=!1,this.showMainAdvanced=!1,this.customNetworkConfig=!1,this.securityTypes=["wpa2","wpa","wep40","wep104","open"],this.networkDropMessage="Scanning the available wifi networks requires the device to disconnect from the network",this.storageService=t,this.settingsService=e,this.deviceManagerService=n,this.popoverCtrl=o,this.loadingCtrl=s,this.params=i,this.viewCtrl=r,this.deviceObject=this.params.get("deviceObject"),console.log("wifi constructor"),this.getNicList().then(function(){return console.log("get nic list done"),_.getNicStatus(_.selectedNic)}).then(function(t){return console.log("disconnect done or autoresolve"),_.currentNicStatus=t,_.getStorageLocations()}).catch(function(t){console.log("caught error"),console.log(t)}).then(function(){return _.getSavedWifiNetworks(_.selectedStorageLocation)}).catch(function(t){console.log("caught error"),console.log(t)})}return t.prototype.toggleAdvancedSettings=function(){this.showAdvancedSettings=!this.showAdvancedSettings},t.prototype.toggleMainAdvanced=function(){this.showMainAdvanced=!this.showMainAdvanced},t.prototype.customNetworkSecuritySelect=function(t){this.selectedNetwork.securityType=t},t.prototype.displayLoading=function(t){t=t||"Loading...";var e=this.loadingCtrl.create({content:t,spinner:"crescent",cssClass:"custom-loading-indicator"});return e.present(),e},t.prototype.manualDisconnect=function(){var t=this;this.disconnectFromNetwork(this.selectedNic).then(function(e){console.log(e),t.getNicStatus(t.selectedNic).then(function(e){t.currentNicStatus=e}).catch(function(t){console.log(t)})}).catch(function(t){console.log(t)})},t.prototype.ionViewDidEnter=function(){var t=this,e=this.slider.getSlider();return void 0==e?void setTimeout(function(){t.ionViewDidEnter()},20):void e.lockSwipes()},t.prototype.nicSelection=function(t){console.log(t),this.selectedNic=t},t.prototype.storageSelection=function(t){console.log(t),this.selectedStorageLocation=t,this.getSavedWifiNetworks(t).catch(function(t){})},t.prototype.getFutureDate=function(t){return new Date(Date.now()+1e3*t)},t.prototype.loadAndConnect=function(t){var e=this;if(this.deviceObject&&!this.deviceObject.bridge){var n=confirm("Connecting to a network over wifi will send you back to the Device Manager Page. Are you sure?");if(!n)return}var i=this.displayLoading("Connecting To Saved Network...");this.loadWifiNetwork(this.savedNetworks[t].storageLocation,this.savedNetworks[t].ssid).then(function(t){return console.log(t),new Promise(function(e){setTimeout(e,t.device[0].wait+3e3)})}).then(function(){return e.connectToNetwork(e.selectedNic,"workingParameterSet",!0)}).then(function(){console.log("Waiting to connect");var t=e.getFutureDate(20);return e.readNicUntilConnected(t)}).then(function(){i.dismiss(),e.deviceObject&&!e.deviceObject.bridge&&e.closeModal(!0)}).catch(function(t){console.log("error loading and connecting to network"),i.dismiss(),e.deviceObject&&!e.deviceObject.bridge&&e.closeModal(!0)})},t.prototype.updateSavedNetwork=function(){var t=this,e=this.displayLoading("Updating Network");this.loadWifiNetwork(this.selectedNetwork.storageLocation,this.selectedNetwork.ssid).then(function(){return t.deleteSavedWifiNetwork(t.selectedNetwork.storageLocation,t.selectedNetwork.ssid)}).then(function(){if("wpa"===t.selectedNetwork.securityType||"wpa2"===t.selectedNetwork.securityType)t.wifiSetParameters(t.selectedNic,t.selectedNetwork.ssid,t.selectedNetwork.securityType,t.selectedNetwork.autoConnect,t.password).then(function(){return t.saveWifiNetwork(t.selectedStorageLocation)}).then(function(){return t.connectNow&&t.deviceObject&&t.deviceObject.bridge?void setTimeout(function(){return console.log("return promise"),t.connectToNetwork(t.selectedNic,"workingParameterSet",!0)},500):new Promise(function(t,e){t()})}).then(function(){e.dismiss(),t.getSavedWifiNetworks(t.selectedStorageLocation).then(function(){}).catch(function(t){}),t.backToNetworks()}).catch(function(n){console.log("error updating parameters"),t.wifiStatus="Error updating wifi parameters.",e.dismiss()});else{var n=t.wepKeyArray.join(":");console.log(n),t.wifiSetParameters(t.selectedNic,t.selectedNetwork.ssid,t.selectedNetwork.securityType,t.selectedNetwork.autoConnect,void 0,n,t.wepKeyIndex).then(function(){return t.connectNow&&t.deviceObject&&t.deviceObject.bridge?t.connectToNetwork(t.selectedNic,"workingParameterSet",!0):new Promise(function(t,e){t()})}).then(function(){e.dismiss(),t.getSavedWifiNetworks(t.selectedStorageLocation).then(function(){}).catch(function(t){}),t.backToNetworks()}).catch(function(n){e.dismiss(),console.log("error updating parameters"),t.wifiStatus="Error updating wifi parameters."})}}).catch(function(t){}).catch(function(t){})},t.prototype.refreshAvailableNetworks=function(){var t=this;this.getNicStatus(this.selectedNic).then(function(e){return console.log(e),t.currentNicStatus=e,"connected"===t.currentNicStatus.status||"connecting"===t.currentNicStatus.status?t.disconnectFromNetwork(t.selectedNic):new Promise(function(t,e){t()})}).catch(function(t){console.log("error getting nic status")}).then(function(){return t.getNicStatus(t.selectedNic)}).then(function(e){return t.currentNicStatus=e,t.scanWifi(t.selectedNic)}).catch(function(t){console.log("caught error disconnecting or scanning")})},t.prototype.addCustomNetwork=function(){this.disableAutoConnect=!1,this.password="",this.save=!0,this.autoConnect=!0,this.connectNow=!0,this.wifiStatus="Ready",this.selectedNetwork={ssid:"",bssid:"",securityType:"wpa2",channel:0,signalStrength:0},this.customNetworkConfig=!0;var t=this.slider.getSlider();t.unlockSwipes(),this.slider.slideTo(1),t.lockSwipes()},t.prototype.getNicList=function(){var t=this;return new Promise(function(e,n){t.deviceManagerService.devices[t.deviceManagerService.activeDeviceIndex].nicList().subscribe(function(n){console.log(n),t.availableNics=n.device[0].nics,t.selectedNic=n.device[0].nics[0],e(n)},function(t){n(t),console.log(t)},function(){})})},t.prototype.getStorageLocations=function(){var t=this;return new Promise(function(e,n){t.deviceManagerService.devices[t.deviceManagerService.activeDeviceIndex].storageGetLocations().subscribe(function(n){t.storageLocations=n.device[0].storageLocations,t.selectedStorageLocation=t.storageLocations[0],e(n),console.log(n)},function(t){n(t),console.log(t)},function(){})})},t.prototype.populateListFromCommand=function(t){var e=[];for(var n in t){var i={ssid:t[n].ssid||null,bssid:t[n].bssid||null,securityType:t[n].securityType||null,channel:t[n].channel||null,signalStrength:t[n].signalStrength||null};t[n].ssid&&""!==t[n].ssid||(i.ssid=i.bssid),e.push(i)}e.sort(function(t,e){return e.signalStrength-t.signalStrength}),this.availableNetworks=e},t.prototype.getNicStatus=function(t){var e=this;return new Promise(function(n,i){e.deviceManagerService.devices[e.deviceManagerService.activeDeviceIndex].nicGetStatus(t).subscribe(function(t){var e={adapter:t.device[0].adapter,securityType:t.device[0].securityType,status:t.device[0].status,ssid:t.device[0].ssid,statusCode:t.device[0].statusCode};t.device[0].ipAddress&&(e.ipAddress=t.device[0].ipAddress),n(e),console.log(t)},function(t){i(t),console.log(t)},function(){})})},t.prototype.scanWifi=function(t){var e=this;this.deviceManagerService.devices[this.deviceManagerService.activeDeviceIndex].wifiScan(t).subscribe(function(n){console.log(n),e.scanningForNetworks=!0,e.currentAttemptCount=0,setTimeout(function(){e.readScannedWifiNetworks(t)},500)},function(t){console.log(t)},function(){})},t.prototype.readScannedWifiNetworks=function(t){var e=this;this.deviceManagerService.devices[this.deviceManagerService.activeDeviceIndex].wifiReadScannedNetworks(t).subscribe(function(t){console.log(t),e.scanningForNetworks=!1,e.populateListFromCommand(t.device[0].networks)},function(n){console.log(n),void 0!==n.device&&2684354573===n.device[0].statusCode&&e.currentAttemptCount *",n.i(i.animate)("0s")),n.i(i.transition)("* <=> *",n.i(i.animate)("250ms ease-in-out"))]),n.i(i.trigger)("rotate",[n.i(i.state)("true",n.i(i.style)({transform:"rotate(-180deg)"})),n.i(i.state)("false",n.i(i.style)({transform:"rotate(0deg)"})),n.i(i.transition)("void => *",n.i(i.animate)("0s")),n.i(i.transition)("* <=> *",n.i(i.animate)("250ms ease-in-out"))])]}),h("design:paramtypes",["function"==typeof(c="undefined"!=typeof s.a&&s.a)&&c||Object,"function"==typeof(u="undefined"!=typeof o.a&&o.a)&&u||Object,"function"==typeof(p="undefined"!=typeof a.DeviceManagerService&&a.DeviceManagerService)&&p||Object,"function"==typeof(d="undefined"!=typeof r.f&&r.f)&&d||Object,"function"==typeof(f="undefined"!=typeof r.i&&r.i)&&f||Object,"function"==typeof(m="undefined"!=typeof r.e&&r.e)&&m||Object,"function"==typeof(g="undefined"!=typeof r.h&&r.h)&&g||Object,"function"==typeof(v="undefined"!=typeof r.g&&r.g)&&v||Object])],t);var e,c,u,p,d,f,m,g,v}()},function(t,e,n){"use strict";var i=n(0);n.d(e,"a",function(){return r});var r=function(){function t(){}return t.decorators=[{type:i.Directive,args:[{selector:"ion-avatar"}]}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";function i(t){if(n.i(o.a)(t))if("string"==typeof t){if(t.indexOf("%")>-1||t.indexOf("px")>-1)return t;if(t.length)return t+"px"}else if("number"==typeof t)return t+"px";return""}var r=n(0),s=n(36),o=n(17),a=n(23);n.d(e,"a",function(){return _});var _=function(){function t(t,e,n){this._elementRef=t,this._platform=e,this._zone=n,this._src="",this._normalizeSrc="",this._imgs=[],this._enabled=!0}return Object.defineProperty(t.prototype,"src",{set:function(t){var e=new Image;e.src=n.i(o.a)(t)?t:"",this._src=n.i(o.a)(t)?t:"",this._normalizeSrc=e.src,this._init&&this._update()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._init=!0,this._update()},t.prototype._update=function(){var t=this;if(this._enabled&&""!==this._src){for(var e=this._imgs.length-1;e>=0;e--)this._imgs[e].src===this._normalizeSrc?this._imgs[e].complete&&this._loaded(!0):(this._imgs[e].parentElement&&this._imgs[e].parentElement.removeChild(this._imgs[e]),this._imgs.splice(e,1));this._imgs.length||this._zone.runOutsideAngular(function(){var e=new Image;e.style.width=t._width,e.style.height=t._height,n.i(o.a)(t.alt)&&(e.alt=t.alt),n.i(o.a)(t.title)&&(e.title=t.title),e.addEventListener("load",function(){e.src===t._normalizeSrc&&(t._elementRef.nativeElement.appendChild(e),n.i(s.l)(function(){t._update()}))}),e.src=t._src,t._imgs.push(e),t._loaded(!1)})}else this._imgs.some(function(e){return e.src===t._normalizeSrc})||this._loaded(!1)},t.prototype._loaded=function(t){this._elementRef.nativeElement.classList[t?"add":"remove"]("img-loaded")},t.prototype.enable=function(t){this._enabled=t,this._update()},Object.defineProperty(t.prototype,"width",{set:function(t){this._w=i(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"height",{set:function(t){this._h=i(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_width",{get:function(){return n.i(o.a)(this._w)?this._w:""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_height",{get:function(){return n.i(o.a)(this._h)?this._h:""},enumerable:!0,configurable:!0}),t.decorators=[{type:r.Component,args:[{selector:"ion-img",template:'
',changeDetection:r.ChangeDetectionStrategy.OnPush,encapsulation:r.ViewEncapsulation.None}]}],t.ctorParameters=[{type:r.ElementRef},{type:a.f},{type:r.NgZone}],t.propDecorators={src:[{type:r.Input}],width:[{type:r.Input}],height:[{type:r.Input}],alt:[{type:r.Input}],title:[{type:r.Input}],_width:[{type:r.HostBinding,args:["style.width"]}],_height:[{type:r.HostBinding,args:["style.height"]}]},t}()},function(t,e,n){"use strict";var i=n(0),r=n(46);n.d(e,"a",function(){return s});var s=function(){function t(t,e,n){this._content=t,this._zone=e,this._elementRef=n,this._lastCheck=0,this._highestY=0,this._thr="15%",this._thrPx=0,this._thrPc=.15,this._init=!1,this.state=o,this.ionInfinite=new i.EventEmitter,t.setElementClass("has-infinite-scroll",!0)}return Object.defineProperty(t.prototype,"threshold",{get:function(){return this._thr},set:function(t){this._thr=t,t.indexOf("%")>-1?(this._thrPx=0,this._thrPc=parseFloat(t)/100):(this._thrPx=parseFloat(t),this._thrPc=0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{set:function(t){this.enable(t)},enumerable:!0,configurable:!0}),t.prototype._onScroll=function(){var t=this;if(this.state===_||this.state===a)return 1;var e=Date.now();if(this._lastCheck+32>e)return 2;this._lastCheck=e;var n=this._elementRef.nativeElement.scrollHeight;if(!n)return 3;var i=this._content.getContentDimensions(),r=i.contentHeight;r+=this._thrPc?r*this._thrPc:this._thrPx;var s=i.scrollHeight-n-i.scrollTop-r;return s<0?(this._zone.run(function(){t.state!==_&&t.state!==a&&(t.state=_,t.ionInfinite.emit(t))}),5):6},t.prototype.complete=function(){this.state=o},t.prototype.enable=function(t){this.state=t?o:a,this._setListeners(t)},t.prototype._setListeners=function(t){var e=this;this._init&&(t?this._scLsn||this._zone.runOutsideAngular(function(){e._scLsn=e._content.addScrollListener(e._onScroll.bind(e))}):(this._scLsn&&this._scLsn(),this._scLsn=null))},t.prototype.ngAfterContentInit=function(){this._init=!0,this._setListeners(this.state!==a)},t.prototype.ngOnDestroy=function(){this._setListeners(!1)},t.decorators=[{type:i.Directive,args:[{selector:"ion-infinite-scroll"}]}],t.ctorParameters=[{type:r.a,decorators:[{type:i.Host}]},{type:i.NgZone},{type:i.ElementRef}],t.propDecorators={threshold:[{type:i.Input}],enabled:[{type:i.Input}],ionInfinite:[{type:i.Output}]},t}(),o="enabled",a="disabled",_="loading"},function(t,e,n){"use strict";var i=n(0),r=n(2),s=n(42);n.d(e,"a",function(){return a});var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=function(t){function e(e,n,i,r){t.call(this,e,i,n),this._id=r,this._setMode("list-header",e.get("mode"))}return o(e,t),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t,this.setElementAttribute("id",t)},enumerable:!0,configurable:!0}),e.decorators=[{type:i.Directive,args:[{selector:"ion-list-header"}]}],e.ctorParameters=[{type:r.c},{type:i.Renderer},{type:i.ElementRef},{type:void 0,decorators:[{type:i.Attribute,args:["id"]}]}],e}(s.a)},function(t,e,n){"use strict";var i=n(0),r=n(17);n.d(e,"a",function(){return s});var s=function(){function t(t){this._elementRef=t,this._selected=!1,this._disabled=!1,this.ionSelect=new i.EventEmitter}return Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=n.i(r.k)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return n.i(r.a)(this._value)?this._value:this.text},set:function(t){this._value=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=n.i(r.k)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"text",{get:function(){return this._elementRef.nativeElement.textContent},enumerable:!0,configurable:!0}),t.decorators=[{type:i.Directive,args:[{selector:"ion-option"}]}],t.ctorParameters=[{type:i.ElementRef}],t.propDecorators={ionSelect:[{type:i.Output}],selected:[{type:i.Input}],value:[{type:i.Input}],disabled:[{type:i.Input}]},t}()},function(t,e,n){"use strict";var i=n(0),r=n(109),s=n(386),o=n(17);n.d(e,"a",function(){return _});var a={provide:r.a,useExisting:n.i(i.forwardRef)(function(){return _}),multi:!0},_=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._btns=[],this._ids=-1,this._init=!1,this.ionChange=new i.EventEmitter,this.id=++l}return t.prototype.ngAfterContentInit=function(){var t=this._btns.find(function(t){return t.checked});t&&this._setActive(t)},t.prototype.writeValue=function(t){this.value=t,this._init&&(this._update(),this.onTouched(),this.ionChange.emit(t)),this._init=!0},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(n){t(n),e.value=n,e._update(),e.onTouched(),e.ionChange.emit(n)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype._update=function(){var t=this,e=!1;this._btns.forEach(function(i){i.checked=n.i(o.n)(t.value,i.value)&&!e,i.checked&&(t._setActive(i),e=!0)})},t.prototype._setActive=function(t){this._renderer.setElementAttribute(this._elementRef.nativeElement,"aria-activedescendant",t.id)},t.prototype.add=function(t){var e=this;return this._btns.push(t),t.ionSelect.subscribe(function(t){e.onChange(t)}),this.id+"-"+ ++this._ids},t.prototype.remove=function(t){var e=this._btns.indexOf(t);e>-1&&(t.value===this.value&&(this.value=null),this._btns.splice(e,1))},Object.defineProperty(t.prototype,"_header",{set:function(t){t&&(t.id||(t.id="rg-hdr-"+this.id),this._renderer.setElementAttribute(this._elementRef.nativeElement,"aria-describedby",t.id))},enumerable:!0,configurable:!0}),t.prototype.onChange=function(t){this.value=t,this._update(),this.onTouched(),this.ionChange.emit(t)},t.prototype.onTouched=function(){},t.decorators=[{type:i.Directive,args:[{selector:"[radio-group]",host:{role:"radiogroup"},providers:[a]}]}],t.ctorParameters=[{type:i.Renderer},{type:i.ElementRef}],t.propDecorators={ionChange:[{type:i.Output}],_header:[{type:i.ContentChild,args:[s.a]}]},t}(),l=-1},function(t,e,n){"use strict";var i=n(0),r=n(46),s=n(36),o=n(48),a=n(17),_=n(154);n.d(e,"a",function(){return l});var l=function(){function t(t,e,n){this._content=t,this._zone=e,this._appliedStyles=!1,this._lastCheck=0,this._isEnabled=!0,this._events=new _.a(!1),this._top="",this.state=h,this.startY=null,this.currentY=null,this.deltaY=null,this.progress=0,this.pullMin=60,this.pullMax=this.pullMin+60,this.closeDuration=280,this.snapbackDuration=280,this.ionRefresh=new i.EventEmitter,this.ionPull=new i.EventEmitter,this.ionStart=new i.EventEmitter,t.setElementClass("has-refresher",!0),this._gesture=n.create("refresher",{priority:0})}return Object.defineProperty(t.prototype,"enabled",{get:function(){return this._isEnabled},set:function(t){this._isEnabled=n.i(a.k)(t),this._setListeners(this._isEnabled)},enumerable:!0,configurable:!0}),t.prototype._onStart=function(t){if(t.touches&&t.touches.length>1)return!1;if(this.state!==h)return!1;var e=this._content.getContentDimensions().scrollTop;if(e>0)return!1;if(!this._gesture.canStart())return!1;var i=n.i(s.c)(t);if(this._content.contentTop>0){var r=this._content.contentTop+"px";this._top!==r&&(this._top=r)}return this.startY=this.currentY=i.y,this.progress=0,this.state=h,!0},t.prototype._onMove=function(t){var e=this;if(t.touches&&t.touches.length>1)return 1;if(!this._gesture.canStart())return 0;if(null===this.startY||this.state===p||this.state===d||this.state===f)return 2;var i=Date.now();if(this._lastCheck+16>i)return 3;this._lastCheck=i;var r=n.i(s.c)(t);if(this.currentY=r.y,this.deltaY=r.y-this.startY,this.deltaY<=0)return this.progress=0,this.state!==h&&this._zone.run(function(){e.state=h}),this._appliedStyles?(this._setCss(0,"",!1,""),5):6;if(this.state===h){var o=this._content.getContentDimensions().scrollTop;if(o>0)return this.progress=0,this.startY=null,7;this.state=c}return t.preventDefault(),this._setCss(this.deltaY,"0ms",!0,""),this.deltaY?void this._zone.run(function(){e._onMoveInZone()}):(this.progress=0,8)},t.prototype._onMoveInZone=function(){return this.progress=this.deltaY/this.pullMin,this._didStart||(this._didStart=!0,this.ionStart.emit(this)),this.ionPull.emit(this),this.deltaYthis.pullMax?(this._beginRefresh(),3):(this.state=u,4)},t.prototype._onEnd=function(){var t=this;this.state===u?this._zone.run(function(){t._beginRefresh()}):this.state===c&&this._zone.run(function(){t.cancel()}),this.startY=null},t.prototype._beginRefresh=function(){this.state=p,this._setCss(this.pullMin,this.snapbackDuration+"ms",!0,""),this.ionRefresh.emit(this)},t.prototype.complete=function(){this._close(f,"120ms")},t.prototype.cancel=function(){this._close(d,"")},t.prototype._close=function(t,e){function n(t){t&&clearTimeout(i),this.state=h,this.progress=0,this._didStart=this.startY=this.currentY=this.deltaY=null,this._setCss(0,"0ms",!1,"")}var i;i=setTimeout(n.bind(this),600),this._content.onScrollElementTransitionEnd(n.bind(this)),this.state=t,this._setCss(0,"",!0,e),this._pointerEvents&&this._pointerEvents.stop()},t.prototype._setCss=function(t,e,n,i){this._appliedStyles=t>0;var r=this._content;r.setScrollElementStyle(s.k.transform,t>0?"translateY("+t+"px) translateZ(0px)":"translateZ(0px)"),r.setScrollElementStyle(s.k.transitionDuration,e),r.setScrollElementStyle(s.k.transitionDelay,i),r.setScrollElementStyle("overflow",n?"hidden":"")},t.prototype._setListeners=function(t){this._events.unlistenAll(),this._pointerEvents=null,t&&(this._pointerEvents=this._events.pointerEvents({element:this._content.getScrollElement(),pointerDown:this._onStart.bind(this), pointerMove:this._onMove.bind(this),pointerUp:this._onEnd.bind(this)}))},t.prototype.ngOnInit=function(){this._setListeners(this._isEnabled)},t.prototype.ngOnDestroy=function(){this._gesture.destroy(),this._setListeners(!1)},t.decorators=[{type:i.Directive,args:[{selector:"ion-refresher",host:{"[class.refresher-active]":'state !== "inactive"',"[style.top]":"_top"}}]}],t.ctorParameters=[{type:r.a,decorators:[{type:i.Host}]},{type:i.NgZone},{type:o.a}],t.propDecorators={pullMin:[{type:i.Input}],pullMax:[{type:i.Input}],closeDuration:[{type:i.Input}],snapbackDuration:[{type:i.Input}],enabled:[{type:i.Input}],ionRefresh:[{type:i.Output}],ionPull:[{type:i.Output}],ionStart:[{type:i.Output}]},t}(),h="inactive",c="pulling",u="ready",p="refreshing",d="cancelling",f="completing"},function(t,e,n){"use strict";var i=n(0),r=n(36);n.d(e,"a",function(){return s});var s=function(){function t(t){this._elementRef=t}return t.prototype.select=function(t){var e=this;n.i(r.i)(3,function(){var i=t.btn.getDimensions(),s=e._elementRef.nativeElement;s.style.transform="translate3d("+i.left+"px,0,0) scaleX("+i.width+")",e._init||(e._init=!0,n.i(r.i)(6,function(){s.classList.add("animate")}))})},t.decorators=[{type:i.Directive,args:[{selector:".tab-highlight"}]}],t.ctorParameters=[{type:i.ElementRef}],t}()},function(t,e,n){"use strict";function i(t){for(var e=t,n=0;n<4&&e;n++){if(d(e))return e;e=e.parentElement}return null}function r(t,e,n){document.addEventListener(t,e,n)}function s(t,e){document.removeEventListener(t,e)}function o(t,e,n){return function(){return new p(t,e,n)}}var a=n(0),_=n(517),l=n(22),h=n(2),c=n(36),u=n(885);n.d(e,"a",function(){return p}),e.b=o;var p=function(){function t(t,e,i){var s=this;this.app=e,this.lastTouch=0,this.disableClick=0,this.lastActivated=0,"ripple"===t.get("activator")?this.activator=new u.a(e,t):"highlight"===t.get("activator")&&(this.activator=new _.a(e,t)),this.usePolyfill=t.get("tapPolyfill")===!0,i.runOutsideAngular(function(){r("click",s.click.bind(s),!0),r("touchstart",s.touchStart.bind(s)),r("touchend",s.touchEnd.bind(s)),r("touchcancel",s.pointerCancel.bind(s)),r("mousedown",s.mouseDown.bind(s),!0),r("mouseup",s.mouseUp.bind(s),!0)}),this.pointerMove=function(t){s.startCoord&&!n.i(c.h)(v,s.startCoord,n.i(c.c)(t))||s.pointerCancel(t)}}return t.prototype.touchStart=function(t){this.lastTouch=Date.now(),this.pointerStart(t)},t.prototype.touchEnd=function(t){if(this.lastTouch=Date.now(),this.usePolyfill&&this.startCoord&&this.app.isEnabled()){var e=n.i(c.c)(t);if(!n.i(c.h)(g,this.startCoord,e))if(this.disableClick=this.lastTouch+x,this.app.isScrolling());else{var i=document.createEvent("MouseEvents");i.initMouseEvent("click",!0,!0,window,1,0,0,e.x,e.y,!1,!1,!1,!1,0,null),i.isIonicTap=!0,t.target.dispatchEvent(i)}}this.pointerEnd(t)},t.prototype.mouseDown=function(t){this.isDisabledNativeClick()?t.stopPropagation():this.lastTouch+xDate.now()},t.decorators=[{type:a.Injectable}],t.ctorParameters=[{type:h.c},{type:l.a},{type:a.NgZone}],t}(),d=function(t){if(f.test(t.tagName))return!0;for(var e=t.attributes,n=0,i=e.length;n=this._d.width-this.maxEdgeStart;case"top":return e.y<=this._d.top+this.maxEdgeStart;case"bottom":return e.y>=this._d.height-this.maxEdgeStart}},e}(i.a)},function(t,e,n){"use strict";function i(t,e){return t.partsLen>e.partsLen?-1:t.partsLene.staticLen?-1:t.staticLene.dataLen?1:0}function r(t){return new a(t)}var s=n(0),o=n(17);n.d(e,"c",function(){return a}),n.d(e,"b",function(){return f}),e.a=r;var a=function(){function t(t){t&&n.i(o.b)(t.links)?this.links=p(t.links):this.links=[]}return t.prototype.parse=function(t){return"/"===t.charAt(0)&&(t=t.substr(1)),t=t.split("?")[0].split("#")[0],_(t.split("/"),this.links)},t.prototype.createSegmentFromName=function(t){var e=this.links.find(function(e){return e.component===t||e.name===t||e.component.name===t});return e?{id:e.name,name:e.name,component:e.component,data:null,defaultHistory:e.defaultHistory}:null},t.prototype.serialize=function(t){return"/"+t.map(function(t){return t.id}).join("/")},t.prototype.serializeComponent=function(t,e){if(t){var n=u(this.links,t,e);if(n)return this.createSegment(n,e)}return null},t.prototype.createSegment=function(t,e){var i=t.parts;if(n.i(o.a)(e)){i=i.slice();var r=Object.keys(e),s=r.length;if(s)for(var a=0;a-1;)t=t.replace("--","-");return"-"===t.charAt(0)&&(t=t.substring(1)),"-"===t.substring(t.length-1)&&(t=t.substring(0,t.length-1)),encodeURIComponent(t)},t}(),_=function(t,e){for(var n=e.length,i=t.length,r=new Array(i),s=0;s=0;s--)void 0===r[s]&&(void 0===t[s]?r.splice(s,1):r[s]={id:t[s],name:t[s],component:null,data:null});return r},l=function(t,e,n){for(var i=0;i=s&&(r=_,s=l)}}return r},p=function(t){for(var e=0,r=t.length;e|<|;|:|@|&|=/g,f=new s.OpaqueToken("USERLINKS")},function(t,e,n){"use strict";function i(t){return new s(t)}var r=n(0);n.d(e,"c",function(){return s}),n.d(e,"b",function(){return o}),e.a=i;var s=function(){function t(t){if(this.data={},t){var e=t.indexOf("?");if(e>-1)for(var n=t.slice(e+1).split("&"),i=0;i0){var r=n[i].split("=");r.length>1&&(this.data[r[0].toLowerCase()]=r[1].split("#")[0])}}}return t.prototype.get=function(t){return this.data[t.toLowerCase()]},t}(),o=new r.OpaqueToken("USERURL")},function(t,e,n){"use strict";function i(t){return function(){t.setTransition("ios-transition",s.a),t.setTransition("md-transition",o.a),t.setTransition("wp-transition",a.a),t.setTransition("action-sheet-slide-in",_.a),t.setTransition("action-sheet-slide-out",_.b),t.setTransition("action-sheet-md-slide-in",_.c),t.setTransition("action-sheet-md-slide-out",_.d),t.setTransition("action-sheet-wp-slide-in",_.e),t.setTransition("action-sheet-wp-slide-out",_.f),t.setTransition("alert-pop-in",l.a),t.setTransition("alert-pop-out",l.b),t.setTransition("alert-md-pop-in",l.c),t.setTransition("alert-md-pop-out",l.d),t.setTransition("alert-wp-pop-in",l.e),t.setTransition("alert-wp-pop-out",l.f),t.setTransition("loading-pop-in",h.a),t.setTransition("loading-pop-out",h.b),t.setTransition("loading-md-pop-in",h.c),t.setTransition("loading-md-pop-out",h.d),t.setTransition("loading-wp-pop-in",h.e),t.setTransition("loading-wp-pop-out",h.f),t.setTransition("modal-slide-in",c.a),t.setTransition("modal-slide-out",c.b),t.setTransition("modal-md-slide-in",c.c),t.setTransition("modal-md-slide-out",c.d),t.setTransition("picker-slide-in",u.a),t.setTransition("picker-slide-out",u.b),t.setTransition("popover-pop-in",p.a),t.setTransition("popover-pop-out",p.b),t.setTransition("popover-md-pop-in",p.c),t.setTransition("popover-md-pop-out",p.d),t.setTransition("toast-slide-in",d.a),t.setTransition("toast-slide-out",d.b),t.setTransition("toast-md-slide-in",d.c),t.setTransition("toast-md-slide-out",d.d),t.setTransition("toast-wp-slide-out",d.e),t.setTransition("toast-wp-slide-in",d.f)}}function r(t,e,n,i,r){var s=t.getTransition(e);return s||(s=t.getTransition("ios-transition")),new s(n,i,r)}var s=n(891),o=n(892),a=n(893),_=n(873),l=n(874),h=n(878),c=n(881),u=n(882),p=n(883),d=n(886);e.a=i,e.b=r},function(t,e,n){"use strict";function i(t,e,n,i){return function(e,n,i){var r=e.filter(function(e){return t.isSymbolNode(e)&&!(e.name in n)&&!(e.name in i)})[0];if(!r)throw new Error('No undefined variable found in inline expression "'+e+'"');var s=r.name,o=Object.create(i),a=e.compile();return function(t){return o[s]=t,a.eval(o)}}}e.factory=i},function(t,e,n){"use strict";function i(t,e,i,r){function o(t){var e,n,i,r=t._size[0],o=t._size[1],a=Math.min(r,o),_=s.clone(t._data),m=[],g=[r,a],x=[],y=[a,o],b=[];for(e=0;e0)for(e=0;e0&&t.forEach(0,n-1,function(e,n){g._forEachRow(e,p,v,y,function(i,r){i>e&&t.accumulate(i,m(u(r,n)))})});var I=n,O=t.get(n),k=l(O);t.forEach(n+1,r-1,function(t,e){var n=l(e);d(n,k)&&(I=t,k=n,O=e)}),n!==I&&(g._swapRows(n,I,b[1],p,v,y),g._swapRows(n,I,T[1],w,C,E),t.swap(n,I),S(n,I)),t.forEach(0,r-1,function(t,e){t<=n?(w.push(e),C.push(t)):(e=c(e,O),f(e,0)||(p.push(e),v.push(t)))})};for(n=0;n");if(2!==_.length)throw SyntaxError("Could not parse rule: "+r);r={l:_[0],r:_[1]};case"object":if(s={l:a(m(r.l)),r:a(m(r.r))},r.context&&(s.evaluate=r.context),r.evaluate&&(s.evaluate=m(r.evaluate)),S(s.l)){var h=P(s.l),c=l();s.expanded={},s.expanded.l=h([s.l.clone(),c]),O(s.expanded.l),k(s.expanded.l),s.expanded.r=h([s.r,c])}break;case"function":s=r;break;default:throw TypeError("Unsupported type of rule: "+o)}e.push(s)}return e}function l(){return new w("_p"+j++)}function h(t,e){var n,i,r=[],s=P(t);if(I(t,e))for(var o=0;o=2&&2===e.args.length){for(var s=h(n,e.context),a=[],_=0;_2)throw Error("Unexpected non-binary associative function: "+e.toString());return[]}for(var c=[],u=0;u=0||e.predictable?Math.log(n):new t.Complex(n,0).log()},Complex:function(t){return t.log()},BigNumber:function(n){return!n.isNegative()||e.predictable?n.ln():new t.Complex(n.toNumber(),0).log()},"Array | Matrix":function(t){return r(t,a)},"any, any":function(t,e){return o(a(t),a(e))}});return a.toTex={1:"\\ln\\left(${args[0]}\\right)",2:"\\log_{${args[1]}}\\left(${args[0]}\\right)"},a}var r=n(12);e.name="log",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,s){var l=i(n(141)),h=s("apply",{"Array | Matrix, number | BigNumber, function":function(t,e,n){if(!l(e))throw new TypeError("Integer number expected for dimension");var i=Array.isArray(t)?o(t):t.size();if(e<0||e>=i.length)throw new _(e,i.length);return a(t)?t.create(r(t.valueOf(),e,n)):r(t,e,n)}});return h.toTex=void 0,h}function r(t,e,n){var i,o,a;if(e<=0){if(Array.isArray(t[0])){for(a=s(t),o=[],i=0;i1)throw new Error("Only one dimensional matrices supported");return _(e.valueOf(),n,i)}if(Array.isArray(e))return _(e,n,i)}function _(t,e,n){if(e>=t.length)throw new Error("k out of bounds");for(var i=0;i=0){var c=t[a];t[a]=t[o],t[o]=c,--a}else++o;n(t[o],_)>0&&--o,e<=o?s=o:r=o+1}return t[e]}var l=i(n(204)),h=i(n(314)),c=i(n(202));return s("partitionSelect",{"Array | Matrix, number":function(t,e){return a(t,e,c)},"Array | Matrix, number, string":function(t,e,n){if("asc"===n)return a(t,e,c);if("desc"===n)return a(t,e,o);throw new Error('Compare string must be "asc" or "desc"')},"Array | Matrix, number, function":a})}var r=n(19).isInteger;e.name="partitionSelect",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,a,_){function l(e){if(!p.hasOwnProperty(e))throw new Error("Unknown distribution "+e);var n=Array.prototype.slice.call(arguments,1),i=p[e].apply(this,n);return function(e){function n(e,n,i){var r="undefined"==typeof n;if(r&&(n=1),t.isMatrix(e))e=e.valueOf();else if(!Array.isArray(e))throw new TypeError("Unsupported type of value in function pickRandom");if(c.size(e).length>1)throw new Error("Only one dimensional vectors supported");var s=0;if("undefined"!=typeof i){if(i.length!==e.length)throw new Error("Weights must have the same length as possibles");for(var a=0,_=i.length;a<_;a++){if(!o(i[a])||i[a]<0)throw new Error("Weights must be an array of positive numbers");s+=i[a]}}var l=e.length;if(0===l)return[];if(n>=l)return n>1?e:e[0];for(var h,p=[];p.length1)for(var s=0,o=t.shift();s3)throw new r("random",arguments.length,0,3);if(1===arguments.length?s(e)?_=e:u=e:2===arguments.length?s(e)?(_=e,u=n):(c=e,u=n):(_=e,c=n,u=a),void 0!==c&&!o(c)||void 0!==u&&!o(u))throw new TypeError("Invalid argument in function random");if(void 0===u&&(u=1),void 0===c&&(c=0),void 0!==_){var p=l(_.valueOf(),c,u,i);return t.isMatrix(_)?h(p):p}return i(c,u)},randomInt:a({"number | Array":function(e){var n=0;if(s(e)){var i=e,r=1,o=l(i.valueOf(),n,r,_);return t.isMatrix(i)?h(o):o}var a=e;return _(n,a)},"number | Array, number":function(e,n){if(s(e)){var i=e,r=n,o=0,a=l(i.valueOf(),o,r,_);return t.isMatrix(i)?h(a):a}var c=e,u=n;return _(c,u)},"Array, number, number":function(t,e,n){var i=l(t.valueOf(),e,n,_);return t&&t.isMatrix===!0?h(i):i}}),pickRandom:a({Array:function(t){return n(t)},"Array, number | Array":function(t,e){var i,r;if(Array.isArray(e))r=e;else{if(!o(e))throw new TypeError("Invalid argument in function pickRandom");i=e}return n(t,i,r)},"Array, number | Array, Array | number":function(t,e,i){var r,s;if(Array.isArray(e)?(s=e,r=i):(s=i,r=e),!Array.isArray(s)||!o(r))throw new TypeError("Invalid argument in function pickRandom");return n(t,r,s)}})};return p}(i)}var h=i(n(9)),c=n(16),u=i(n(1229)),p={uniform:function(){return u},normal:function(){return function(){for(var t,e,n=-1;n<0||n>1;)t=u(),e=u(),n=1/6*Math.pow(-2*Math.log(t),.5)*Math.cos(2*Math.PI*e)+.5;return n}}};return l.toTex=void 0,l}var r=n(232),s=n(143),o=n(19).isNumber;e.name="distribution",e.factory=i},function(t,e,n){"use strict";function i(t,e){var n;return e>1,i(t,n)*i(n+1,e))}t.exports=i},function(t,e,n){"use strict";function i(t,e,i,o){var a=i(n(9)),_=i(n(92)),l=i(n(133)),h=i(n(94)),c=i(n(50)),u=i(n(40)),p=n(26),d=o("largerEq",{"boolean, boolean":function(t,e){return t>=e},"number, number":function(t,n){return t>=n||r(t,n,e.epsilon)},"BigNumber, BigNumber":function(t,n){return t.gte(n)||s(t,n,e.epsilon)},"Fraction, Fraction":function(t,e){return t.compare(e)!==-1},"Complex, Complex":function(){throw new TypeError("No ordering relation is defined for complex numbers")},"Unit, Unit":function(t,e){if(!t.equalBase(e))throw new Error("Cannot compare units with different base");return d(t.value,e.value)},"SparseMatrix, SparseMatrix":function(t,e){return l(t,e,d)},"SparseMatrix, DenseMatrix":function(t,e){return _(e,t,d,!0)},"DenseMatrix, SparseMatrix":function(t,e){return _(t,e,d,!1)},"DenseMatrix, DenseMatrix":function(t,e){return c(t,e,d)},"Array, Array":function(t,e){return d(a(t),a(e)).valueOf()},"Array, Matrix":function(t,e){return d(a(t),e)},"Matrix, Array":function(t,e){return d(t,a(e))},"SparseMatrix, any":function(t,e){return h(t,e,d,!1)},"DenseMatrix, any":function(t,e){return u(t,e,d,!1)},"any, SparseMatrix":function(t,e){return h(e,t,d,!0)},"any, DenseMatrix":function(t,e){return u(e,t,d,!0)},"Array, any":function(t,e){return u(a(t),e,d,!1).valueOf()},"any, Array":function(t,e){return u(a(e),t,d,!0).valueOf()}});return d.toTex={2:"\\left(${args[0]}".concat(p.operators.largerEq,"${args[1]}\\right)")},d}var r=n(19).nearlyEqual,s=n(142);e.name="largerEq",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,a){function _(t,e){try{return h(t,e)?t:e}catch(t){throw c(t,"max",e)}}function l(t){var e;if(r(t,function(t){try{isNaN(t)&&"number"==typeof t?e=NaN:(void 0===e||h(t,e))&&(e=t)}catch(e){throw c(e,"max",t)}}),void 0===e)throw new Error("Cannot calculate max of an empty array");return e}var h=i(n(140)),c=i(n(157)),u=a("max",{"Array | Matrix":l,"Array | Matrix, number | BigNumber":function(t,e){return s(t,e.valueOf(),_)},"...":function(t){if(o(t))throw new TypeError("Scalar values expected in function max");return l(t)}});return u.toTex="\\max\\left(${args}\\right)",u}var r=n(180),s=n(321),o=n(237);e.name="max",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,a){function _(n){var i;if(r(n,function(t){try{i=void 0===i?t:h(i,t)}catch(e){throw c(e,"sum",t)}}),void 0===i)switch(e.number){case"number":return 0;case"BigNumber":return new t.BigNumber(0);case"Fraction":return new t.Fraction(0);default:return 0}return i}function l(t,e){try{var n=s(t,e,h);return n}catch(t){throw c(t,"sum")}}var h=i(n(91)),c=i(n(157)),u=a("sum",{"Array | Matrix":_,"Array | Matrix, number | BigNumber":l,"...":function(t){if(o(t))throw new TypeError("Scalar values expected in function sum");return _(t)}});return u.toTex=void 0,u}var r=n(180),s=n(321),o=n(237);e.name="sum",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,o){function a(e,n){var i=0,r=0;if(0===e.length)throw new SyntaxError("Function var requires one or more parameters (0 provided)");if(s(e,function(t){try{i=h(i,t),r++}catch(e){throw f(e,"var",t)}}),0===r)throw new Error("Cannot calculate var of an empty array");var o=p(i,r);if(i=0,s(e,function(t){var e=c(t,o);i=h(i,u(e,e))}),d(i))return i;switch(n){case"uncorrected":return p(i,r);case"biased":return p(i,r+1);case"unbiased":var a=t.isBigNumber(i)?new t.BigNumber(0):0;return 1===r?a:p(i,r-1);default:throw new Error('Unknown normalization "'+n+'". Choose "unbiased" (default), "uncorrected", or "biased".'); }}function _(t,e,n){try{if(0===t.length)throw new SyntaxError("Function var requires one or more parameters (0 provided)");return l(t,e,function(t){return a(t,n)})}catch(t){throw f(t,"var")}}var l=i(n(403)),h=i(n(91)),c=i(n(86)),u=i(n(106)),p=i(n(77)),d=i(n(314)),f=i(n(157)),m=o("variance",{"Array | Matrix":function(t){return a(t,r)},"Array | Matrix, string":a,"Array | Matrix, number | BigNumber":function(t,e){return _(t,e,r)},"Array | Matrix, number | BigNumber, string":_,"...":function(t){return a(t,r)}});return m.toTex="\\mathrm{Var}\\left(${args}\\right)",m}var r="unbiased",s=n(180);e.name="var",e.factory=i},function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e,n,r,_){return s.prototype.type="Complex",s.prototype.isComplex=!0,s.prototype.toJSON=function(){return{mathjs:"Complex",re:this.re,im:this.im}},s.prototype.toPolar=function(){return{r:this.abs(),phi:this.arg()}},s.prototype.format=function(t){var e="",n=this.im,i=this.re,r=o(this.re,t),s=o(this.im,t),_=a(t)?t:t?t.precision:null;if(null!==_){var l=Math.pow(10,-_);Math.abs(i/n)e.re?1:t.ree.im?1:t.im0)if(++a>l)for(a-=l;a--;)_+="0";else a1&&(null!==h[p+1]&&void 0!==h[p+1]||(h[p+1]=0),h[p+1]+=h[p]>>1,h[p]&=1)}return h.reverse()}var r=n(416);t.exports=function(t,e,n){var s,o,a=t.constructor,_=+(t.s<0),l=+(e.s<0);if(_){s=i(r(t));for(var h=0;h0;)n(u[--f],p[--m])===g&&(v=v.plus(x)),x=x.times(y);for(;m>0;)n(d,p[--m])===g&&(v=v.plus(x)),x=x.times(y);return a.config({precision:b}),0===g&&(v.s=-v.s),v}},function(t,e,n){"use strict";t.exports=function(t){return t&&t.constructor.prototype.isBigNumber||!1}},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n(57),s=n(1),o=n(18),a=n(79),_=function(t){function e(e,n){t.call(this),this.source=e,this.subjectFactory=n,this._refCount=0}return i(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||(t=this._connection=new a.Subscription,t.add(this.source.subscribe(new l(this.getSubject(),this))),t.closed?(this._connection=null,t=a.Subscription.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return this.lift(new h(this))},e}(s.Observable);e.ConnectableObservable=_;var l=function(t){function e(e,n){t.call(this,e),this.connectable=n}return i(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){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}(r.SubjectSubscriber),h=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var i=new c(t,n),r=e._subscribe(i);return i.closed||(i.connection=n.connect()),r},t}(),c=function(t){function e(e,n){t.call(this,e),this.connectable=n}return i(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(!t)return void(this.connection=null);this.connectable=null;var e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);var n=this.connection,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()},e}(o.Subscriber)},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n(1),s=function(t){function e(e,n){t.call(this),this.value=e,this.scheduler=n,this._isScalar=!0,n&&(this._isScalar=!1)}return i(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.done,n=t.value,i=t.subscriber;return e?void i.complete():(i.next(n),void(i.closed||(t.done=!0,this.schedule(t))))},e.prototype._subscribe=function(t){var n=this.value,i=this.scheduler;return i?i.schedule(e.dispatch,0,{done:!1,value:n,subscriber:t}):(t.next(n),void(t.closed||t.complete()))},e}(r.Observable);e.ScalarObservable=s},function(t,e,n){"use strict";function i(){for(var t=[],e=0;ethis.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),m=function(t){function e(e,n,i,r){t.call(this,e),this.parent=n,this.observable=i,this.index=r,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return s(e,t),e.prototype[c.$$iterator]=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 h.subscribeToResult(this,this.observable,this,e)},e}(l.OuterSubscriber)},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=function(t){function e(){var e=t.call(this,"object unsubscribed");this.name=e.name="ObjectUnsubscribedError",this.stack=e.stack,this.message=e.message}return i(e,t),e}(Error);e.ObjectUnsubscribedError=r},function(t,e,n){"use strict";function i(t){return"function"==typeof t}e.isFunction=i},function(t,e,n){"use strict";function i(t){return!r.isArray(t)&&t-parseFloat(t)+1>=0}var r=n(134);e.isNumeric=i},function(t,e,n){"use strict";var i=n(0),r=n(431),s=n(208),o=n(433);n.d(e,"a",function(){return a});var a=function(){function t(){}return t.decorators=[{type:i.NgModule,args:[{declarations:[r.a,o.a],exports:[r.a,o.a],providers:[{provide:s.b,useClass:s.a}]}]}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";var i=n(58),r=n(55),s=n(33),o=n(726),a=n(243),_=n(244),l=n(727);n.d(e,"a",function(){return h});var h=[i.a,r.a,s.a,l.a,a.a,_.a,_.b,_.c,o.a,o.b]},function(t,e,n){"use strict";function i(t){return function(e,n){var i=t(e,n);return 1==i.length?"0"+i:i}}function r(t){return function(e,n){var i=t(e,n);return i.split(" ")[1]}}function s(t){return function(e,n){var i=t(e,n);return i.split(" ")[0]}}function o(t,e,n){return new Intl.DateTimeFormat(e,n).format(t).replace(/[\u200e\u200f]/g,"")}function a(t){var e={hour:"2-digit",hour12:!1,timeZoneName:t};return function(t,n){var i=o(t,n,e);return i?i.substring(3):""}}function _(t,e){return t.hour12=e,t}function l(t,e){var n={};return n[t]=2==e?"2-digit":"numeric",n}function h(t,e){var n={};return n[t]=e<4?"short":"long",n}function c(t){var e={};return t.forEach(function(t){Object.assign(e,t)}),e}function u(t){return function(e,n){return o(e,n,t)}}function p(t,e,n){var i,r,s="",o=[];if(v[t])return v[t](e,n);if(y.has(t))o=y.get(t);else{for(g.exec(t);t;)i=g.exec(t),i?(o=d(o,i,1),t=o.pop()):(o.push(t),t=null);y.set(t,o)}return o.forEach(function(t){r=x[t],s+=r?r(e,n):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),s}function d(t,e,n){return t.concat(b.call(e,n))}n.d(e,"b",function(){return f}),n.d(e,"c",function(){return m}),n.d(e,"a",function(){return w});var f;!function(t){t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency"}(f||(f={}));var m=function(){function t(){}return t.format=function(t,e,n,i){var r=void 0===i?{}:i,s=r.minimumIntegerDigits,o=r.minimumFractionDigits,a=r.maximumFractionDigits,_=r.currency,l=r.currencyAsSymbol,h=void 0!==l&&l,c={minimumIntegerDigits:s,minimumFractionDigits:o,maximumFractionDigits:a,style:f[n].toLowerCase()};return n==f.Currency&&(c.currency=_,c.currencyDisplay=h?"symbol":"code"),new Intl.NumberFormat(e,c).format(t)},t}(),g=/((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/,v={yMMMdjms:u(c([l("year",1),h("month",3),l("day",1),l("hour",1),l("minute",1),l("second",1)])),yMdjm:u(c([l("year",1),l("month",1),l("day",1),l("hour",1),l("minute",1)])),yMMMMEEEEd:u(c([l("year",1),h("month",4),h("weekday",4),l("day",1)])),yMMMMd:u(c([l("year",1),h("month",4),l("day",1)])),yMMMd:u(c([l("year",1),h("month",3),l("day",1)])),yMd:u(c([l("year",1),l("month",1),l("day",1)])),jms:u(c([l("hour",1),l("second",1),l("minute",1)])),jm:u(c([l("hour",1),l("minute",1)]))},x={yyyy:u(l("year",4)),yy:u(l("year",2)),y:u(l("year",1)),MMMM:u(h("month",4)),MMM:u(h("month",3)),MM:u(l("month",2)),M:u(l("month",1)),LLLL:u(h("month",4)),dd:u(l("day",2)),d:u(l("day",1)),HH:i(s(u(_(l("hour",2),!1)))),H:s(u(_(l("hour",1),!1))),hh:i(s(u(_(l("hour",2),!0)))),h:s(u(_(l("hour",1),!0))),jj:u(l("hour",2)),j:u(l("hour",1)),mm:i(u(l("minute",2))),m:u(l("minute",1)),ss:i(u(l("second",2))),s:u(l("second",1)),sss:u(l("second",3)),EEEE:u(h("weekday",4)),EEE:u(h("weekday",3)),EE:u(h("weekday",2)),E:u(h("weekday",1)),a:r(u(_(l("hour",1),!0))),Z:a("short"),z:a("long"),ww:u({}),w:u({}),G:u(h("era",1)),GG:u(h("era",2)),GGG:u(h("era",3)),GGGG:u(h("era",4))},y=new Map,b=[].slice,w=function(){function t(){}return t.format=function(t,e,n){return p(n,t,e)},t}()},function(t,e,n){"use strict";var i=n(732),r=n(733),s=n(734),o=n(735),a=n(736),_=n(737),l=n(738),h=n(739),c=n(740);n.d(e,"a",function(){return u});var u=[i.a,c.a,_.a,a.a,h.a,l.a,l.b,l.c,r.a,s.a,o.a]},function(t,e,n){"use strict";n.d(e,"d",function(){return i}),n.d(e,"a",function(){return r}),n.d(e,"b",function(){return s}),n.d(e,"c",function(){return o});var i="true",r="*",s="*",o="void"},function(t,e,n){"use strict";var i=n(24),r=n(749);n.d(e,"a",function(){return s});var s=function(){function t(t){var e=this;this._players=t,this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this.parentPlayer=null;var r=0,s=this._players.length;0==s?n.i(i.d)(function(){return e._onFinish()}):this._players.forEach(function(t){t.parentPlayer=e,t.onDone(function(){++r>=s&&e._onFinish()})})}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,n.i(i.e)(this.parentPlayer)||this.destroy(),this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this._players.forEach(function(t){return t.init()})},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){n.i(i.e)(this.parentPlayer)||this.init(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0),this._players.forEach(function(t){return t.play()})},t.prototype.pause=function(){this._players.forEach(function(t){return t.pause()})},t.prototype.restart=function(){this._players.forEach(function(t){return t.restart()})},t.prototype.finish=function(){this._onFinish(),this._players.forEach(function(t){return t.finish()})},t.prototype.destroy=function(){this._onFinish(),this._players.forEach(function(t){return t.destroy()})},t.prototype.reset=function(){this._players.forEach(function(t){return t.reset()})},t.prototype.setPosition=function(t){this._players.forEach(function(e){e.setPosition(t)})},t.prototype.getPosition=function(){var t=0;return this._players.forEach(function(e){var n=e.getPosition();t=r.a.min(n,t)}),t},t}()},function(t,e,n){"use strict";function i(t){s.push(t)}function r(){for(var t=0;t"+n.i(r.a)(this.currentValue)+"]"},t}()},function(t,e,n){"use strict";function i(t){return t.map(function(t){return t.nativeElement})}function r(t,e,n){t.childNodes.forEach(function(t){t instanceof d&&(e(t)&&n.push(t),r(t,e,n))})}function s(t,e,n){t instanceof d&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof d&&s(t,e,n)})}function o(t){return f.get(t)}function a(t){f.set(t.nativeNode,t)}function _(t){f.delete(t.nativeNode)}var l=n(69),h=n(24);n.d(e,"f",function(){return u}),n.d(e,"d",function(){return p}),n.d(e,"a",function(){return d}),e.g=i,e.c=o,e.b=a,e.e=_;var c=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=function(){function t(t,e){this.name=t,this.callback=e}return t}(),p=function(){function t(t,e,i){this._debugInfo=i,this.nativeNode=t,n.i(h.e)(e)&&e instanceof d?e.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return n.i(h.e)(this._debugInfo)?this._debugInfo.injector:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return n.i(h.e)(this._debugInfo)?this._debugInfo.component:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return n.i(h.e)(this._debugInfo)?this._debugInfo.context:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return n.i(h.e)(this._debugInfo)?this._debugInfo.references:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return n.i(h.e)(this._debugInfo)?this._debugInfo.providerTokens:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"source",{get:function(){return n.i(h.e)(this._debugInfo)?this._debugInfo.source:null},enumerable:!0,configurable:!0}),t}(),d=function(t){function e(e,n,i){t.call(this,e,n,i),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=e}return c(e,t),e.prototype.addChild=function(t){n.i(h.e)(t)&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);e!==-1&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var i=this.childNodes.indexOf(t);if(i!==-1){var r=this.childNodes.slice(0,i+1),s=this.childNodes.slice(i+1);this.childNodes=l.a.concat(l.a.concat(r,e),s);for(var o=0;o0?e[0]:null},e.prototype.queryAll=function(t){var e=[];return r(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return s(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){var t=[];return this.childNodes.forEach(function(n){n instanceof e&&t.push(n)}),t},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(p),f=new Map},function(t,e,n){"use strict";function i(t){for(var e=[],n=0;n1){var e=i(s.a.reversed(t)),r=e.map(function(t){return n.i(a.a)(t.token)});return" ("+r.join(" -> ")+")"}return""}var s=n(69),o=n(108),a=n(24);n.d(e,"c",function(){return l}),n.d(e,"e",function(){return h}),n.d(e,"b",function(){return c}),n.d(e,"d",function(){return u}),n.d(e,"g",function(){return p}),n.d(e,"h",function(){return d}),n.d(e,"a",function(){return f}),n.d(e,"f",function(){return m});var _=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=function(t){function e(e,n,i){t.call(this,"DI Error"),this.keys=[n],this.injectors=[e],this.constructResolvingMessage=i,this.message=this.constructResolvingMessage(this.keys)}return _(e,t),e.prototype.addKey=function(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)},e}(o.b),h=function(t){function e(e,i){t.call(this,e,i,function(t){var e=n.i(a.a)(s.a.first(t).token);return"No provider for "+e+"!"+r(t)})}return _(e,t),e}(l),c=function(t){function e(e,n){t.call(this,e,n,function(t){return"Cannot instantiate cyclic dependency!"+r(t)})}return _(e,t),e}(l),u=function(t){function e(e,n,i,r){t.call(this,"DI Error",n),this.keys=[r],this.injectors=[e]}return _(e,t),e.prototype.addKey=function(t,e){this.injectors.push(t),this.keys.push(e)},Object.defineProperty(e.prototype,"message",{get:function(){var t=n.i(a.a)(s.a.first(this.keys).token);return this.originalError.message+": Error during instantiation of "+t+"!"+r(this.keys)+"."},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"causeKey",{get:function(){return this.keys[0]},enumerable:!0,configurable:!0}),e}(o.c),p=function(t){function e(e){t.call(this,"Invalid provider - only instances of Provider and Type are allowed, got: "+e)}return _(e,t),e}(o.b),d=function(t){function e(n,i){t.call(this,e._genMessage(n,i))}return _(e,t),e._genMessage=function(t,e){for(var i=[],r=0,s=e.length;r=0;t--)this.remove(t)},t}()},function(t,e,n){"use strict";var i=n(436),r=n(251),s=n(108);n.d(e,"c",function(){return a}),n.d(e,"b",function(){return _}),n.d(e,"a",function(){return l});var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=function(){function t(){}return Object.defineProperty(t.prototype,"destroyed",{get:function(){return n.i(s.a)()},enumerable:!0,configurable:!0}),t}(),_=function(t){function e(){t.apply(this,arguments)}return o(e,t),Object.defineProperty(e.prototype,"context",{get:function(){return n.i(s.a)()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rootNodes",{get:function(){return n.i(s.a)()},enumerable:!0,configurable:!0}),e}(a),l=function(){function t(t){this._view=t,this._view=t,this._originalMode=this._view.cdMode}return Object.defineProperty(t.prototype,"internalView",{get:function(){return this._view},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rootNodes",{get:function(){return this._view.flatRootNodes},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._view.destroyed},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){this._view.markPathToRootAsCheckOnce()},t.prototype.detach=function(){this._view.cdMode=r.b.Detached},t.prototype.detectChanges=function(){this._view.detectChanges(!1),n.i(i.b)()},t.prototype.checkNoChanges=function(){this._view.detectChanges(!0)},t.prototype.reattach=function(){this._view.cdMode=this._originalMode,this.markForCheck()},t.prototype.onDestroy=function(t){this._view.disposables.push(t)},t.prototype.destroy=function(){this._view.destroy()},t}()},function(t,e,n){"use strict";var i=n(753);n.d(e,"o",function(){return i.f}),n.d(e,"i",function(){return i.b}),n.d(e,"j",function(){return i.c}),n.d(e,"k",function(){return i.d}),n.d(e,"p",function(){return i.g}),n.d(e,"c",function(){return i.a}),n.d(e,"n",function(){return i.e});var r=n(754);n.d(e,"b",function(){return r.b}),n.d(e,"d",function(){return r.c}),n.d(e,"m",function(){return r.g}),n.d(e,"l",function(){return r.f}),n.d(e,"f",function(){return r.d}),n.d(e,"a",function(){return r.a}),n.d(e,"h",function(){return r.e}),n.d(e,"q",function(){return s.c});var s=n(450);n.d(e,"r",function(){return s.d}),n.d(e,"s",function(){return s.e}),n.d(e,"t",function(){return s.f}),n.d(e,"u",function(){return s.g}),n.d(e,"v",function(){return s.h}),n.d(e,"w",function(){return s.i}),n.d(e,"x",function(){return s.j});var o=n(755);n.d(e,"y",function(){return o.b}),n.d(e,"z",function(){return o.c}),n.d(e,"g",function(){return o.a});var a=n(8);n.d(e,"e",function(){return a.c})},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r}),n.d(e,"h",function(){return s}),n.d(e,"j",function(){return o}),n.d(e,"g",function(){return a}),n.d(e,"c",function(){return _}),n.d(e,"d",function(){return l}),n.d(e,"i",function(){return h}),n.d(e,"f",function(){return c}),n.d(e,"e",function(){return u});var i;!function(t){t[t.OnInit=0]="OnInit",t[t.OnDestroy=1]="OnDestroy",t[t.DoCheck=2]="DoCheck",t[t.OnChanges=3]="OnChanges",t[t.AfterContentInit=4]="AfterContentInit",t[t.AfterContentChecked=5]="AfterContentChecked",t[t.AfterViewInit=6]="AfterViewInit",t[t.AfterViewChecked=7]="AfterViewChecked"}(i||(i={}));var r=[i.OnInit,i.OnDestroy,i.DoCheck,i.OnChanges,i.AfterContentInit,i.AfterContentChecked,i.AfterViewInit,i.AfterViewChecked],s=function(){function t(){}return t}(),o=function(){function t(){}return t}(),a=function(){function t(){}return t}(),_=function(){function t(){}return t}(),l=function(){function t(){}return t}(),h=function(){function t(){}return t}(),c=function(){function t(){}return t}(),u=function(){function t(){}return t}()},function(t,e,n){"use strict";function i(t){return t?t.map(function(t){var e=t.type,n=e.annotationCls,i=t.args?t.args:[];return new(n.bind.apply(n,[void 0].concat(i)))}):[]}var r=n(24),s=n(340);n.d(e,"a",function(){return o});var o=function(){function t(t){this._reflect=t||r.c.Reflect}return t.prototype.isReflectionEnabled=function(){return!0},t.prototype.factory=function(t){var e=t.prototype;return function(){for(var n=[],i=0;i\n \n \n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',formGroupName:'\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',formArrayName:'\n
\n
\n
\n \n
\n
\n
\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });',ngModelGroup:'\n
\n
\n \n
\n
',ngModelWithFormGroup:'\n
\n \n \n
\n '}},function(t,e,n){"use strict";var i=n(454);n.d(e,"a",function(){return r});var r=function(){function t(){}return t.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '+i.a.formControlName+"\n\n Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n Example:\n\n "+i.a.ngModelWithFormGroup)},t.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+i.a.formGroupName+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+i.a.ngModelGroup)},t.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')},t.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+i.a.formGroupName+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+i.a.ngModelGroup)},t}()},function(t,e,n){"use strict";var i=n(0),r=n(453),s=n(213),o=n(346);n.d(e,"a",function(){return a}),n.d(e,"b",function(){return _});var a=function(){function t(){}return t.decorators=[{type:i.NgModule,args:[{declarations:r.b,providers:[s.a],exports:[r.a,r.b]}]}],t.ctorParameters=[],t}(),_=function(){function t(){}return t.decorators=[{type:i.NgModule,args:[{declarations:[r.c],providers:[o.a,s.a],exports:[r.a,r.c]}]}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";function i(){return null===_&&(_=s.f[a]={}),_}var r=n(0),s=n(102);n.d(e,"a",function(){return l});var o=0,a="__ng_jsonp__",_=null,l=function(){function t(){}return t.prototype.build=function(t){var e=document.createElement("script");return e.src=t,e},t.prototype.nextRequestID=function(){return"__req"+o++},t.prototype.requestCallback=function(t){return a+"."+t+".finished"},t.prototype.exposeConnection=function(t,e){var n=i();n[t]=e},t.prototype.removeConnection=function(t){var e=i();e[t]=null},t.prototype.send=function(t){document.body.appendChild(t)},t.prototype.cleanup=function(t){t.parentNode&&t.parentNode.removeChild(t)},t.decorators=[{type:r.Injectable}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";var i=n(0),r=n(1),s=(n.n(r),n(218)),o=n(148),a=n(102),_=n(185),l=n(349),h=n(457);n.d(e,"a",function(){return m}),n.d(e,"b",function(){return g});var c=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u="JSONP injected script did not invoke callback.",p="JSONP requests must use GET request method.",d=function(){function t(){}return t}(),f=function(t){function e(e,i,_){var h=this;if(t.call(this),this._dom=i,this.baseResponseOptions=_,this._finished=!1,e.method!==o.a.Get)throw new TypeError(p);this.request=e,this.response=new r.Observable(function(t){h.readyState=o.d.Loading;var r=h._id=i.nextRequestID();i.exposeConnection(r,h);var c=i.requestCallback(h._id),p=e.url;p.indexOf("=JSONP_CALLBACK&")>-1?p=a.c.replace(p,"=JSONP_CALLBACK&","="+c+"&"):p.lastIndexOf("=JSONP_CALLBACK")===p.length-"=JSONP_CALLBACK".length&&(p=p.substring(0,p.length-"=JSONP_CALLBACK".length)+("="+c));var d=h._script=i.build(p),f=function(e){if(h.readyState!==o.d.Cancelled){if(h.readyState=o.d.Done,i.cleanup(d),!h._finished){var r=new s.b({body:u,type:o.c.Error,url:p});return n.i(a.a)(_)&&(r=_.merge(r)),void t.error(new l.a(r))}var c=new s.b({body:h._responseData,url:p});n.i(a.a)(h.baseResponseOptions)&&(c=h.baseResponseOptions.merge(c)),t.next(new l.a(c)),t.complete()}},m=function(e){if(h.readyState!==o.d.Cancelled){h.readyState=o.d.Done,i.cleanup(d);var r=new s.b({body:e.message,type:o.c.Error});n.i(a.a)(_)&&(r=_.merge(r)),t.error(new l.a(r))}};return d.addEventListener("load",f),d.addEventListener("error",m),i.send(d),function(){h.readyState=o.d.Cancelled,d.removeEventListener("load",f),d.removeEventListener("error",m),n.i(a.a)(d)&&h._dom.cleanup(d)}})}return c(e,t),e.prototype.finished=function(t){this._finished=!0,this._dom.removeConnection(this._id),this.readyState!==o.d.Cancelled&&(this._responseData=t)},e}(d),m=function(t){function e(){t.apply(this,arguments)}return c(e,t),e}(_.b),g=function(t){function e(e,n){t.call(this),this._browserJSONP=e,this._baseResponseOptions=n}return c(e,t),e.prototype.createConnection=function(t){return new f(t,this._browserJSONP,this._baseResponseOptions)},e.decorators=[{type:i.Injectable}],e.ctorParameters=[{type:h.a},{type:s.b}],e}(m)},function(t,e,n){"use strict";var i=n(102),r=n(265),s=n(266);n.d(e,"a",function(){return o});var o=function(){function t(){}return t.prototype.json=function(){return n.i(i.b)(this._body)?i.d.parse(this._body):this._body instanceof ArrayBuffer?i.d.parse(this.text()):this._body},t.prototype.text=function(){return this._body instanceof s.a?this._body.toString():this._body instanceof ArrayBuffer?String.fromCharCode.apply(null,new Uint16Array(this._body)):null===this._body?"":n.i(r.b)(this._body)?i.d.stringify(this._body):this._body.toString()},t.prototype.arrayBuffer=function(){return this._body instanceof ArrayBuffer?this._body:n.i(r.c)(this.text()); },t.prototype.blob=function(){if(this._body instanceof Blob)return this._body;if(this._body instanceof ArrayBuffer)return new Blob([this._body]);throw new Error("The request body isn't either a blob or an array buffer")},t}()},function(t,e,n){"use strict";function i(t,e){if(n.i(o.a)(t))for(var r=0;r-1&&(t.splice(n,1),!0)},t.clear=function(t){t.length=0},t.isEmpty=function(t){return 0==t.length},t.fill=function(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=null),t.fill(e,n,null===i?t.length:i)},t.equals=function(t,e){if(t.length!=e.length)return!1;for(var n=0;nr&&(i=a,r=_)}}return i},t.flatten=function(t){var e=[];return i(t,e),e},t.addAll=function(t,e){for(var n=0;n0){var _="?";i.c.contains(this.url,"?")&&(_="&"==this.url[this.url.length-1]?"":"&"),this.url=r+_+s}}this._body=e.body,this.method=n.i(a.a)(e.method),this.headers=new o.a(e.headers),this.contentType=this.detectContentType(),this.withCredentials=e.withCredentials,this.responseType=e.responseType}return l(e,t),e.prototype.detectContentType=function(){switch(this.headers.get("content-type")){case"application/json":return s.b.JSON;case"application/x-www-form-urlencoded":return s.b.FORM;case"multipart/form-data":return s.b.FORM_DATA;case"text/plain":case"text/html":return s.b.TEXT;case"application/octet-stream":return s.b.BLOB;default:return this.detectContentTypeFromBody()}},e.prototype.detectContentTypeFromBody=function(){return null==this._body?s.b.NONE:this._body instanceof _.a?s.b.FORM:this._body instanceof p?s.b.FORM_DATA:this._body instanceof d?s.b.BLOB:this._body instanceof f?s.b.ARRAY_BUFFER:this._body&&"object"==typeof this._body?s.b.JSON:s.b.TEXT},e.prototype.getBody=function(){switch(this.contentType){case s.b.JSON:return this.text();case s.b.FORM:return this.text();case s.b.FORM_DATA:return this._body;case s.b.TEXT:return this.text();case s.b.BLOB:return this.blob();case s.b.ARRAY_BUFFER:return this.arrayBuffer();default:return null}},e}(r.a),c=function(){},u="object"==typeof window?window:c,p=u.FormData||c,d=u.Blob||c,f=u.ArrayBuffer||c},function(t,e,n){"use strict";function i(){return n.i(_.a)(m)&&(m=document.querySelector("base"),n.i(_.a)(m))?null:m.getAttribute("href")}function r(t){return n.i(_.a)(g)&&(g=document.createElement("a")),g.setAttribute("href",t),"/"===g.pathname.charAt(0)?g.pathname:"/"+g.pathname}function s(t,e){e=encodeURIComponent(e);for(var n=0,i=t.split(";");n0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,i=0;i=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},m=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},g=this&&this.__param||function(t,e){return function(n,i){e(n,i,t)}},v=function(){function t(t){if(t)throw new Error("CoreModule is already loaded. Import it in the AppModule only")}return t=f([n.i(i.NgModule)({imports:[],providers:[s.Storage,r.a,a.DeviceManagerService,_.a,l.a,c.a,u.a,h.a,p.a,o.a,d.a]}),g(0,n.i(i.Optional)()),g(0,n.i(i.SkipSelf)()),m("design:paramtypes",[t])],t)}()},function(t,e,n){"use strict";function i(t,e,n){return null===y&&(y=t.createRenderComponentType("",0,d.c.None,[],{})),new b(t,e,n)}function r(t,e,n){return null===C&&(C=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/components/logger-chart/logger-chart.html",0,d.c.None,w,{})),new E(t,e,n)}var s=n(10),o=n(6),a=n(222),_=n(11),l=n(5),h=n(4),c=n(99),u=n(43),p=n(104),d=n(8),f=n(7),m=n(34),g=n(192),v=n(273);e.a=r;var x=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},y=null,b=function(t){function e(n,i,r){t.call(this,e,y,l.a.HOST,n,i,r,h.b.CheckAlways)}return x(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("logger-chart",t,null),this._appEl_0=new o.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._LoggerChartComponent_0_4=new a.a(this.parentInjector.get(c.a),this.parentInjector.get(u.DeviceManagerService),this.parentInjector.get(p.a)),this._appEl_0.initComponent(this._LoggerChartComponent_0_4,[],e),e.create(this._LoggerChartComponent_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===a.a&&0===e?this._LoggerChartComponent_0_4:n},e.prototype.destroyInternal=function(){this._LoggerChartComponent_0_4.ngOnDestroy()},e}(s.a),w=(new f.a("logger-chart",i,a.a),[]),C=null,E=function(t){function e(n,i,r){t.call(this,e,C,l.a.COMPONENT,n,i,r,h.b.CheckAlways)}return x(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement); this._viewQuery_loggerChart_0=new m.a,this._el_0=this.renderer.createElement(e,"digilent-chart",null),this.renderer.setElementAttribute(this._el_0,"chartId","loggerChart"),this._appEl_0=new o.a(0,null,this,this._el_0);var n=v.a(this.viewUtils,this.injector(0),this._appEl_0);this._DigilentChart_0_4=new g.a,this._appEl_0.initComponent(this._DigilentChart_0_4,[],n),n.create(this._DigilentChart_0_4,[],null);var i=this.renderer.listen(this._el_0,"chartLoad",this.eventHandler(this._handle_chartLoad_0_0.bind(this)));this._expr_1=h.n,this._expr_2=h.n;var r=this._DigilentChart_0_4.chartLoad.subscribe(this.eventHandler(this._handle_chartLoad_0_0.bind(this)));return this._viewQuery_loggerChart_0.reset([this._DigilentChart_0_4]),this.context.loggerChart=this._viewQuery_loggerChart_0.first,this.init([],[this._el_0],[i],[r]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===g.a&&0===e?this._DigilentChart_0_4:n},e.prototype.detectChangesInternal=function(t){var e="loggerChart";_.c(t,this._expr_1,e)&&(this._DigilentChart_0_4.chartId=e,this._expr_1=e);var n=this.context.loggerChartOptions;_.c(t,this._expr_2,n)&&(this._DigilentChart_0_4.flotOptions=n,this._expr_2=n),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._DigilentChart_0_4.ngAfterViewInit()},e.prototype._handle_chartLoad_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.plotLoaded()!==!1;return e},e}(s.a)},function(t,e,n){"use strict";function i(t,e,n){return null===x&&(x=t.createRenderComponentType("",0,p.c.None,[],{})),new y(t,e,n)}function r(t,e,n){return null===w&&(w=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/components/logger-timeline/logger-timeline.html",0,p.c.None,b,{})),new C(t,e,n)}var s=n(10),o=n(6),a=n(223),_=n(11),l=n(5),h=n(4),c=n(99),u=n(43),p=n(8),d=n(7),f=n(34),m=n(192),g=n(273);e.a=r;var v=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},x=null,y=function(t){function e(n,i,r){t.call(this,e,x,l.a.HOST,n,i,r,h.b.CheckAlways)}return v(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("logger-timeline",t,null),this._appEl_0=new o.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._LoggerTimelineComponent_0_4=new a.a(this.parentInjector.get(c.a),this.parentInjector.get(u.DeviceManagerService)),this._appEl_0.initComponent(this._LoggerTimelineComponent_0_4,[],e),e.create(this._LoggerTimelineComponent_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===a.a&&0===e?this._LoggerTimelineComponent_0_4:n},e}(s.a),b=(new d.a("logger-timeline",i,a.a),[]),w=null,C=function(t){function e(n,i,r){t.call(this,e,w,l.a.COMPONENT,n,i,r,h.b.CheckAlways)}return v(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_loggerTimeline_0=new f.a,this._el_0=this.renderer.createElement(e,"digilent-chart",null),this.renderer.setElementAttribute(this._el_0,"chartId","loggerTimeline"),this._appEl_0=new o.a(0,null,this,this._el_0);var n=g.a(this.viewUtils,this.injector(0),this._appEl_0);this._DigilentChart_0_4=new m.a,this._appEl_0.initComponent(this._DigilentChart_0_4,[],n),n.create(this._DigilentChart_0_4,[],null);var i=this.renderer.listen(this._el_0,"chartLoad",this.eventHandler(this._handle_chartLoad_0_0.bind(this)));this._expr_1=h.n,this._expr_2=h.n;var r=this._DigilentChart_0_4.chartLoad.subscribe(this.eventHandler(this._handle_chartLoad_0_0.bind(this)));return this._viewQuery_loggerTimeline_0.reset([this._DigilentChart_0_4]),this.context.loggerTimeline=this._viewQuery_loggerTimeline_0.first,this.init([],[this._el_0],[i],[r]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===m.a&&0===e?this._DigilentChart_0_4:n},e.prototype.detectChangesInternal=function(t){var e="loggerTimeline";_.c(t,this._expr_1,e)&&(this._DigilentChart_0_4.chartId=e,this._expr_1=e);var n=this.context.loggerChartOptions;_.c(t,this._expr_2,n)&&(this._DigilentChart_0_4.flotOptions=n,this._expr_2=n),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._DigilentChart_0_4.ngAfterViewInit()},e.prototype._handle_chartLoad_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.plotLoaded()!==!1;return e},e}(s.a)},function(t,e,n){"use strict";function i(t,e,n){return null===L&&(L=t.createRenderComponentType("",0,m.c.None,[],{})),new B(t,e,n)}function r(t,e,n){return null===q&&(q=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/components/logger-xaxis/logger-xaxis.html",0,m.c.None,F,{})),new V(t,e,n)}function s(t,e,n){return new H(t,e,n)}function o(t,e,n){return new U(t,e,n)}var a=n(10),_=n(6),l=n(190),h=n(11),c=n(5),u=n(4),p=n(28),d=n(172),f=n(31),m=n(8),g=n(7),v=n(33),x=n(63),y=n(21),b=n(35),w=n(20),C=n(70),E=n(60),T=n(62),A=n(61),I=n(129),S=n(25),O=n(2),k=n(14),N=n(51),P=n(23),R=n(66),D=n(41),j=n(53);e.a=r;var M=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},L=null,B=function(t){function e(n,i,r){t.call(this,e,L,c.a.HOST,n,i,r,u.b.CheckAlways)}return M(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("logger-xaxis",t,null),this._appEl_0=new _.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._LoggerXAxisComponent_0_4=new l.a(this.parentInjector.get(p.a),this.parentInjector.get(d.a),this.parentInjector.get(f.a)),this._appEl_0.initComponent(this._LoggerXAxisComponent_0_4,[],e),e.create(this._LoggerXAxisComponent_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===l.a&&0===e?this._LoggerXAxisComponent_0_4:n},e.prototype.destroyInternal=function(){this._LoggerXAxisComponent_0_4.ngOnDestroy()},e}(a.a),F=(new g.a("logger-xaxis",i,l.a),[]),q=null,V=function(t){function e(n,i,r){t.call(this,e,q,c.a.COMPONENT,n,i,r,u.b.CheckAlways)}return M(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","xaxis-component-wrapper"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._anchor_2=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_2=new _.a(2,0,this,this._anchor_2),this._TemplateRef_2_5=new y.a(this._appEl_2,s),this._NgIf_2_6=new v.a(this._appEl_2.vcRef,this._TemplateRef_2_5),this._text_3=this.renderer.createText(this._el_0,"\n\n ",null),this._anchor_4=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_4=new _.a(4,0,this,this._anchor_4),this._TemplateRef_4_5=new y.a(this._appEl_4,o),this._NgIf_4_6=new v.a(this._appEl_4.vcRef,this._TemplateRef_4_5),this._text_5=this.renderer.createText(this._el_0,"\n",null),this._expr_0=u.n,this._pipe_unitFormat_0=new x.a,this._expr_1=u.n,this.init([],[this._el_0,this._text_1,this._anchor_2,this._text_3,this._anchor_4,this._text_5],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===y.b&&2===e?this._TemplateRef_2_5:t===v.a&&2===e?this._NgIf_2_6:t===y.b&&4===e?this._TemplateRef_4_5:t===v.a&&4===e?this._NgIf_4_6:n},e.prototype.detectChangesInternal=function(t){var e=this.context.showTimeSettings;h.c(t,this._expr_0,e)&&(this._NgIf_2_6.ngIf=e,this._expr_0=e);var n=this.context.showTimeSettings;h.c(t,this._expr_1,n)&&(this._NgIf_4_6.ngIf=n,this._expr_1=n),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(a.a),H=function(t){function e(n,i,r){t.call(this,e,q,c.a.EMBEDDED,n,i,r,u.b.CheckAlways)}return M(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-row",null),this.renderer.setElementAttribute(this._el_0,"class","controls-container time-base-row"),this._Row_0_3=new b.c,this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_2,"center",""),this.renderer.setElementAttribute(this._el_2,"class","tpd-label-col"),this._Col_2_3=new b.a,this._text_3=this.renderer.createText(this._el_2,"\n Time/\n ",null),this._text_4=this.renderer.createText(this._el_0,"\n ",null),this._el_5=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_5,"center",""),this.renderer.setElementAttribute(this._el_5,"class","xaxis-left"),this._Col_5_3=new b.a,this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._el_7=this.renderer.createElement(this._el_5,"div",null),this.renderer.setElementAttribute(this._el_7,"style","display:inline-block"),this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"button",null),this.renderer.setElementAttribute(this._el_9,"class","img-button disable-hover"),this.renderer.setElementAttribute(this._el_9,"ion-button",""),this._appEl_9=new _.a(9,7,this,this._el_9);var e=S.a(this.viewUtils,this.injector(9),this._appEl_9);this._Button_9_4=new w.a(null,"",this.parent.parentInjector.get(O.c),new k.a(this._el_9),this.renderer),this._appEl_9.initComponent(this._Button_9_4,[],e),this._text_10=this.renderer.createText(null,"\n ",null),this._el_11=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_11,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_11,"src","assets/img/zoom-out.svg"),this._text_12=this.renderer.createText(null,"\n ",null),e.create(this._Button_9_4,[[].concat([this._text_10,this._el_11,this._text_12])],null),this._text_13=this.renderer.createText(this._el_7,"\n ",null),this._text_14=this.renderer.createText(this._el_5,"\n ",null),this._text_15=this.renderer.createText(this._el_0,"\n ",null),this._el_16=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_16,"center",""),this.renderer.setElementAttribute(this._el_16,"class","xaxis-center"),this.renderer.setElementAttribute(this._el_16,"text-center",""),this._Col_16_3=new b.a,this._text_17=this.renderer.createText(this._el_16,"\n ",null),this._el_18=this.renderer.createElement(this._el_16,"div",null),this.renderer.setElementAttribute(this._el_18,"style","display:inline-block;"),this.renderer.setElementAttribute(this._el_18,"tooltipPlacement","bottom"),this._appEl_18=new _.a(18,16,this,this._el_18),this._Tooltip_18_5=new C.a(this._appEl_18.vcRef,this.parent.parentInjector.get(N.a),this.parent.parentInjector.get(P.f)),this._text_19=this.renderer.createText(this._el_18,"\n ",null),this._el_20=this.renderer.createElement(this._el_18,"input",null),this.renderer.setElementAttribute(this._el_20,"class","custom-input highlight-input"),this.renderer.setElementAttribute(this._el_20,"formatInput",""),this.renderer.setElementAttribute(this._el_20,"step","any"),this._DefaultValueAccessor_20_3=new E.a(this.renderer,new k.a(this._el_20)),this._NG_VALUE_ACCESSOR_20_4=[this._DefaultValueAccessor_20_3],this._NgModel_20_5=new T.a(null,null,null,this._NG_VALUE_ACCESSOR_20_4),this._NgControl_20_6=this._NgModel_20_5,this._NgControlStatus_20_7=new A.a(this._NgControl_20_6),this._FormatInputDirective_20_8=new I.a(this.parent.parentInjector.get(R.a)),this._text_21=this.renderer.createText(this._el_18,"\n ",null),this._text_22=this.renderer.createText(this._el_16,"\n ",null),this._text_23=this.renderer.createText(this._el_0,"\n ",null),this._el_24=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_24,"center",""),this.renderer.setElementAttribute(this._el_24,"class","xaxis-right"),this._Col_24_3=new b.a,this._text_25=this.renderer.createText(this._el_24,"\n ",null),this._el_26=this.renderer.createElement(this._el_24,"div",null),this.renderer.setElementAttribute(this._el_26,"style","display:inline-block"),this._text_27=this.renderer.createText(this._el_26,"\n ",null),this._el_28=this.renderer.createElement(this._el_26,"button",null),this.renderer.setElementAttribute(this._el_28,"class","img-button disable-hover"),this.renderer.setElementAttribute(this._el_28,"ion-button",""),this._appEl_28=new _.a(28,26,this,this._el_28);var n=S.a(this.viewUtils,this.injector(28),this._appEl_28);this._Button_28_4=new w.a(null,"",this.parent.parentInjector.get(O.c),new k.a(this._el_28),this.renderer),this._appEl_28.initComponent(this._Button_28_4,[],n),this._text_29=this.renderer.createText(null,"\n ",null),this._el_30=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_30,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_30,"src","assets/img/zoom-in.svg"),this._text_31=this.renderer.createText(null,"\n ",null),n.create(this._Button_28_4,[[].concat([this._text_29,this._el_30,this._text_31])],null),this._text_32=this.renderer.createText(this._el_26,"\n ",null),this._text_33=this.renderer.createText(this._el_24,"\n ",null),this._text_34=this.renderer.createText(this._el_0,"\n ",null),this._expr_1=u.n;var i=this.renderer.listen(this._el_9,"tap",this.eventHandler(this._handle_tap_9_0.bind(this))),r=this.renderer.listen(this._el_18,"focusin",this.eventHandler(this._handle_focusin_18_0.bind(this))),s=this.renderer.listen(this._el_18,"mouseenter",this.eventHandler(this._handle_mouseenter_18_1.bind(this))),o=this.renderer.listen(this._el_18,"focusout",this.eventHandler(this._handle_focusout_18_2.bind(this))),a=this.renderer.listen(this._el_18,"mouseleave",this.eventHandler(this._handle_mouseleave_18_3.bind(this)));this._expr_6=u.n,this._expr_7=u.n,this._expr_8=u.n;var l=this.renderer.listen(this._el_20,"valChange",this.eventHandler(this._handle_valChange_20_0.bind(this))),c=this.renderer.listen(this._el_20,"input",this.eventHandler(this._handle_input_20_1.bind(this))),p=this.renderer.listen(this._el_20,"blur",this.eventHandler(this._handle_blur_20_2.bind(this))),d=this.renderer.listen(this._el_20,"focusout",this.eventHandler(this._handle_focusout_20_3.bind(this))),f=this.renderer.listen(this._el_20,"keypress",this.eventHandler(this._handle_keypress_20_4.bind(this)));this._pipe_unitFormat_0_0=h.i(this.parent._pipe_unitFormat_0.transform.bind(this.parent._pipe_unitFormat_0)),this._expr_14=u.n,this._expr_15=u.n,this._expr_16=u.n,this._expr_17=u.n,this._expr_18=u.n,this._expr_19=u.n,this._expr_20=u.n;var m=this._FormatInputDirective_20_8.valChange.subscribe(this.eventHandler(this._handle_valChange_20_0.bind(this)));this._expr_22=u.n;var g=this.renderer.listen(this._el_28,"tap",this.eventHandler(this._handle_tap_28_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._el_11,this._text_12,this._text_13,this._text_14,this._text_15,this._el_16,this._text_17,this._el_18,this._text_19,this._el_20,this._text_21,this._text_22,this._text_23,this._el_24,this._text_25,this._el_26,this._text_27,this._el_28,this._text_29,this._el_30,this._text_31,this._text_32,this._text_33,this._text_34],[i,r,s,o,a,l,c,p,d,f,g],[m]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===b.a&&2<=e&&e<=3?this._Col_2_3:t===w.a&&9<=e&&e<=12?this._Button_9_4:t===b.a&&5<=e&&e<=14?this._Col_5_3:t===E.a&&20===e?this._DefaultValueAccessor_20_3:t===D.a&&20===e?this._NG_VALUE_ACCESSOR_20_4:t===T.a&&20===e?this._NgModel_20_5:t===j.a&&20===e?this._NgControl_20_6:t===A.a&&20===e?this._NgControlStatus_20_7:t===I.a&&20===e?this._FormatInputDirective_20_8:t===C.a&&18<=e&&e<=21?this._Tooltip_18_5:t===b.a&&16<=e&&e<=22?this._Col_16_3:t===w.a&&28<=e&&e<=31?this._Button_28_4:t===b.a&&24<=e&&e<=33?this._Col_24_3:t===b.c&&0<=e&&e<=34?this._Row_0_3:n},e.prototype.detectChangesInternal=function(t){var e=null,n=new u.o;e=null;var i=this.parent.context.tooltipService.getTooltip("xAxisTpd").message;h.c(t,this._expr_6,i)&&(this._Tooltip_18_5.content=i,null===e&&(e={}),e.content=new u.m(this._expr_6,i),this._expr_6=i);var r=!0;h.c(t,this._expr_7,r)&&(this._Tooltip_18_5.tooltipAnimation=r,null===e&&(e={}),e.tooltipAnimation=new u.m(this._expr_7,r),this._expr_7=r);var s="bottom";h.c(t,this._expr_8,s)&&(this._Tooltip_18_5.tooltipPlacement=s,null===e&&(e={}),e.tooltipPlacement=new u.m(this._expr_8,s),this._expr_8=s),null!==e&&this._Tooltip_18_5.ngOnChanges(e),e=null,n.reset();var o=n.unwrap(h.r(this._pipe_unitFormat_0_0,this.parent._pipe_unitFormat_0.transform)(this.parent.context.tpdArray[this.parent.context.tpdIndex],"s/"));(n.hasWrappedValue||h.c(t,this._expr_14,o))&&(this._NgModel_20_5.model=o,null===e&&(e={}),e.model=new u.m(this._expr_14,o),this._expr_14=o),null!==e&&this._NgModel_20_5.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_9_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_28_4.ngAfterContentInit());var a=this.parent.context.tpdIndex==this.parent.context.tpdArray.length-1;h.c(t,this._expr_1,a)&&(this.renderer.setElementProperty(this._el_9,"disabled",a),this._expr_1=a);var _=this._NgControlStatus_20_7.ngClassUntouched;h.c(t,this._expr_15,_)&&(this.renderer.setElementClass(this._el_20,"ng-untouched",_),this._expr_15=_);var l=this._NgControlStatus_20_7.ngClassTouched;h.c(t,this._expr_16,l)&&(this.renderer.setElementClass(this._el_20,"ng-touched",l),this._expr_16=l);var c=this._NgControlStatus_20_7.ngClassPristine;h.c(t,this._expr_17,c)&&(this.renderer.setElementClass(this._el_20,"ng-pristine",c),this._expr_17=c);var p=this._NgControlStatus_20_7.ngClassDirty;h.c(t,this._expr_18,p)&&(this.renderer.setElementClass(this._el_20,"ng-dirty",p),this._expr_18=p);var d=this._NgControlStatus_20_7.ngClassValid;h.c(t,this._expr_19,d)&&(this.renderer.setElementClass(this._el_20,"ng-valid",d),this._expr_19=d);var f=this._NgControlStatus_20_7.ngClassInvalid;h.c(t,this._expr_20,f)&&(this.renderer.setElementClass(this._el_20,"ng-invalid",f),this._expr_20=f);var m=0==this.parent.context.tpdIndex;h.c(t,this._expr_22,m)&&(this.renderer.setElementProperty(this._el_28,"disabled",m),this._expr_22=m),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_20_5.ngOnDestroy()},e.prototype._handle_tap_9_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.incrementTpd()!==!1;return e},e.prototype._handle_focusin_18_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_18_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_18_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_5.hide()!==!1;return e},e.prototype._handle_mouseleave_18_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_5.hide()!==!1;return e},e.prototype._handle_valChange_20_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.valChange(t)!==!1;return e},e.prototype._handle_input_20_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_20_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_20_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_20_3.onTouched()!==!1;return e},e.prototype._handle_focusout_20_3=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_20_8.onFocusOut(t)!==!1;return e},e.prototype._handle_keypress_20_4=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_20_8.onkeypress(t)!==!1;return e},e.prototype._handle_tap_28_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.decrementTpd()!==!1;return e},e}(a.a),U=function(t){function e(n,i,r){t.call(this,e,q,c.a.EMBEDDED,n,i,r,u.b.CheckAlways)}return M(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-row",null),this.renderer.setElementAttribute(this._el_0,"class","controls-container time-base-row"),this._Row_0_3=new b.c,this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_2,"center",""),this.renderer.setElementAttribute(this._el_2,"class","tpd-label-col"),this._Col_2_3=new b.a,this._text_3=this.renderer.createText(this._el_2,"\n Buffer Size\n ",null),this._text_4=this.renderer.createText(this._el_0,"\n ",null),this._el_5=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_5,"center",""),this.renderer.setElementAttribute(this._el_5,"class","xaxis-left"),this._Col_5_3=new b.a,this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._el_7=this.renderer.createElement(this._el_5,"div",null),this.renderer.setElementAttribute(this._el_7,"style","display:inline-block"),this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"button",null),this.renderer.setElementAttribute(this._el_9,"class","icon-only-button-side disable-hover"),this.renderer.setElementAttribute(this._el_9,"ion-button",""),this._appEl_9=new _.a(9,7,this,this._el_9);var e=S.a(this.viewUtils,this.injector(9),this._appEl_9);this._Button_9_4=new w.a(null,"",this.parent.parentInjector.get(O.c),new k.a(this._el_9),this.renderer),this._appEl_9.initComponent(this._Button_9_4,[],e),this._text_10=this.renderer.createText(null,"\n ",null),this._el_11=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_11,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_11,"src","assets/img/remove.svg"),this._text_12=this.renderer.createText(null,"\n ",null),e.create(this._Button_9_4,[[].concat([this._text_10,this._el_11,this._text_12])],null),this._text_13=this.renderer.createText(this._el_7,"\n ",null),this._text_14=this.renderer.createText(this._el_5,"\n ",null),this._text_15=this.renderer.createText(this._el_0,"\n ",null),this._el_16=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_16,"center",""),this.renderer.setElementAttribute(this._el_16,"class","xaxis-center"),this.renderer.setElementAttribute(this._el_16,"text-center",""),this._Col_16_3=new b.a,this._text_17=this.renderer.createText(this._el_16,"\n ",null),this._el_18=this.renderer.createElement(this._el_16,"div",null),this.renderer.setElementAttribute(this._el_18,"style","display:inline-block;"),this.renderer.setElementAttribute(this._el_18,"tooltipPlacement","bottom"),this._appEl_18=new _.a(18,16,this,this._el_18),this._Tooltip_18_5=new C.a(this._appEl_18.vcRef,this.parent.parentInjector.get(N.a),this.parent.parentInjector.get(P.f)),this._text_19=this.renderer.createText(this._el_18,"\n ",null),this._el_20=this.renderer.createElement(this._el_18,"input",null),this.renderer.setElementAttribute(this._el_20,"class","custom-input highlight-input"),this.renderer.setElementAttribute(this._el_20,"formatInput",""),this.renderer.setElementAttribute(this._el_20,"step","any"),this._DefaultValueAccessor_20_3=new E.a(this.renderer,new k.a(this._el_20)),this._NG_VALUE_ACCESSOR_20_4=[this._DefaultValueAccessor_20_3],this._NgModel_20_5=new T.a(null,null,null,this._NG_VALUE_ACCESSOR_20_4),this._NgControl_20_6=this._NgModel_20_5,this._NgControlStatus_20_7=new A.a(this._NgControl_20_6),this._FormatInputDirective_20_8=new I.a(this.parent.parentInjector.get(R.a)),this._text_21=this.renderer.createText(this._el_18,"\n ",null),this._text_22=this.renderer.createText(this._el_16,"\n ",null),this._text_23=this.renderer.createText(this._el_0,"\n ",null),this._el_24=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_24,"center",""),this.renderer.setElementAttribute(this._el_24,"class","xaxis-right"),this._Col_24_3=new b.a,this._text_25=this.renderer.createText(this._el_24,"\n ",null),this._el_26=this.renderer.createElement(this._el_24,"div",null),this.renderer.setElementAttribute(this._el_26,"style","display:inline-block"),this._text_27=this.renderer.createText(this._el_26,"\n ",null),this._el_28=this.renderer.createElement(this._el_26,"button",null),this.renderer.setElementAttribute(this._el_28,"class","icon-only-button-side disable-hover"),this.renderer.setElementAttribute(this._el_28,"ion-button",""),this._appEl_28=new _.a(28,26,this,this._el_28);var n=S.a(this.viewUtils,this.injector(28),this._appEl_28);this._Button_28_4=new w.a(null,"",this.parent.parentInjector.get(O.c),new k.a(this._el_28),this.renderer),this._appEl_28.initComponent(this._Button_28_4,[],n),this._text_29=this.renderer.createText(null,"\n ",null),this._el_30=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_30,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_30,"src","assets/img/add.svg"),this._text_31=this.renderer.createText(null,"\n ",null),n.create(this._Button_28_4,[[].concat([this._text_29,this._el_30,this._text_31])],null),this._text_32=this.renderer.createText(this._el_26,"\n ",null),this._text_33=this.renderer.createText(this._el_24,"\n ",null),this._text_34=this.renderer.createText(this._el_0,"\n ",null),this._expr_1=u.n;var i=this.renderer.listen(this._el_9,"tap",this.eventHandler(this._handle_tap_9_0.bind(this))),r=this.renderer.listen(this._el_18,"focusin",this.eventHandler(this._handle_focusin_18_0.bind(this))),s=this.renderer.listen(this._el_18,"mouseenter",this.eventHandler(this._handle_mouseenter_18_1.bind(this))),o=this.renderer.listen(this._el_18,"focusout",this.eventHandler(this._handle_focusout_18_2.bind(this))),a=this.renderer.listen(this._el_18,"mouseleave",this.eventHandler(this._handle_mouseleave_18_3.bind(this)));this._expr_6=u.n,this._expr_7=u.n,this._expr_8=u.n;var l=this.renderer.listen(this._el_20,"valChange",this.eventHandler(this._handle_valChange_20_0.bind(this))),c=this.renderer.listen(this._el_20,"input",this.eventHandler(this._handle_input_20_1.bind(this))),p=this.renderer.listen(this._el_20,"blur",this.eventHandler(this._handle_blur_20_2.bind(this))),d=this.renderer.listen(this._el_20,"focusout",this.eventHandler(this._handle_focusout_20_3.bind(this))),f=this.renderer.listen(this._el_20,"keypress",this.eventHandler(this._handle_keypress_20_4.bind(this)));this._pipe_unitFormat_0_1=h.i(this.parent._pipe_unitFormat_0.transform.bind(this.parent._pipe_unitFormat_0)),this._expr_14=u.n,this._expr_15=u.n,this._expr_16=u.n,this._expr_17=u.n,this._expr_18=u.n,this._expr_19=u.n,this._expr_20=u.n;var m=this._FormatInputDirective_20_8.valChange.subscribe(this.eventHandler(this._handle_valChange_20_0.bind(this))),g=this.renderer.listen(this._el_28,"tap",this.eventHandler(this._handle_tap_28_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._el_11,this._text_12,this._text_13,this._text_14,this._text_15,this._el_16,this._text_17,this._el_18,this._text_19,this._el_20,this._text_21,this._text_22,this._text_23,this._el_24,this._text_25,this._el_26,this._text_27,this._el_28,this._text_29,this._el_30,this._text_31,this._text_32,this._text_33,this._text_34],[i,r,s,o,a,l,c,p,d,f,g],[m]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===b.a&&2<=e&&e<=3?this._Col_2_3:t===w.a&&9<=e&&e<=12?this._Button_9_4:t===b.a&&5<=e&&e<=14?this._Col_5_3:t===E.a&&20===e?this._DefaultValueAccessor_20_3:t===D.a&&20===e?this._NG_VALUE_ACCESSOR_20_4:t===T.a&&20===e?this._NgModel_20_5:t===j.a&&20===e?this._NgControl_20_6:t===A.a&&20===e?this._NgControlStatus_20_7:t===I.a&&20===e?this._FormatInputDirective_20_8:t===C.a&&18<=e&&e<=21?this._Tooltip_18_5:t===b.a&&16<=e&&e<=22?this._Col_16_3:t===w.a&&28<=e&&e<=31?this._Button_28_4:t===b.a&&24<=e&&e<=33?this._Col_24_3:t===b.c&&0<=e&&e<=34?this._Row_0_3:n},e.prototype.detectChangesInternal=function(t){var e=null,n=new u.o;e=null;var i=this.parent.context.tooltipService.getTooltip("xAxisBuffer").message;h.c(t,this._expr_6,i)&&(this._Tooltip_18_5.content=i,null===e&&(e={}),e.content=new u.m(this._expr_6,i),this._expr_6=i);var r=!0;h.c(t,this._expr_7,r)&&(this._Tooltip_18_5.tooltipAnimation=r,null===e&&(e={}),e.tooltipAnimation=new u.m(this._expr_7,r),this._expr_7=r);var s="bottom";h.c(t,this._expr_8,s)&&(this._Tooltip_18_5.tooltipPlacement=s,null===e&&(e={}),e.tooltipPlacement=new u.m(this._expr_8,s),this._expr_8=s),null!==e&&this._Tooltip_18_5.ngOnChanges(e),e=null,n.reset();var o=n.unwrap(h.r(this._pipe_unitFormat_0_1,this.parent._pipe_unitFormat_0.transform)(this.parent.context.loggerBufferSize,"sec"));(n.hasWrappedValue||h.c(t,this._expr_14,o))&&(this._NgModel_20_5.model=o,null===e&&(e={}),e.model=new u.m(this._expr_14,o),this._expr_14=o),null!==e&&this._NgModel_20_5.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_9_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_28_4.ngAfterContentInit());var a=this.parent.context.tpdIndex==this.parent.context.tpdArray.length-1;h.c(t,this._expr_1,a)&&(this.renderer.setElementProperty(this._el_9,"disabled",a),this._expr_1=a);var _=this._NgControlStatus_20_7.ngClassUntouched;h.c(t,this._expr_15,_)&&(this.renderer.setElementClass(this._el_20,"ng-untouched",_),this._expr_15=_);var l=this._NgControlStatus_20_7.ngClassTouched;h.c(t,this._expr_16,l)&&(this.renderer.setElementClass(this._el_20,"ng-touched",l),this._expr_16=l);var c=this._NgControlStatus_20_7.ngClassPristine;h.c(t,this._expr_17,c)&&(this.renderer.setElementClass(this._el_20,"ng-pristine",c),this._expr_17=c);var p=this._NgControlStatus_20_7.ngClassDirty;h.c(t,this._expr_18,p)&&(this.renderer.setElementClass(this._el_20,"ng-dirty",p),this._expr_18=p);var d=this._NgControlStatus_20_7.ngClassValid;h.c(t,this._expr_19,d)&&(this.renderer.setElementClass(this._el_20,"ng-valid",d),this._expr_19=d);var f=this._NgControlStatus_20_7.ngClassInvalid;h.c(t,this._expr_20,f)&&(this.renderer.setElementClass(this._el_20,"ng-invalid",f),this._expr_20=f),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_20_5.ngOnDestroy()},e.prototype._handle_tap_9_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.decrementLoggerBufferSize()!==!1;return e},e.prototype._handle_focusin_18_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_18_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_18_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_5.hide()!==!1;return e},e.prototype._handle_mouseleave_18_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_5.hide()!==!1;return e},e.prototype._handle_valChange_20_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.loggerBufferSizeChange(t)!==!1;return e},e.prototype._handle_input_20_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_20_3.onChange(t.target.value)!==!1; return e},e.prototype._handle_blur_20_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_20_3.onTouched()!==!1;return e},e.prototype._handle_focusout_20_3=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_20_8.onFocusOut(t)!==!1;return e},e.prototype._handle_keypress_20_4=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_20_8.onkeypress(t)!==!1;return e},e.prototype._handle_tap_28_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.incrementLoggerBufferSize()!==!1;return e},e}(a.a)},function(t,e,n){"use strict";var i=n(0);n.d(e,"a",function(){return o});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},o=function(){function t(){}return t.prototype.transform=function(t,e){return void 0===t?"":(t>1&&(e+="s"),t+" "+e)},t=r([n.i(i.Pipe)({name:"averageFormat"}),s("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var i=n(0),r=n(207),s=n(70),o=n(168);n.d(e,"a",function(){return l});var a=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},_=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},l=function(){function t(){}return t=a([n.i(i.NgModule)({imports:[r.b],declarations:[s.a,o.a],exports:[s.a,o.a],entryComponents:[o.a]}),_("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var i=n(0),r=n(76),s=n(15),o=n(371);n.d(e,"a",function(){return l});var a=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},_=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},l=function(){function t(){}return t=a([n.i(i.NgModule)({imports:[r.a,s.a.forRoot(o.a)],declarations:[o.a],exports:[o.a]}),_("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var i=n(0),r=n(76),s=n(15),o=n(372),a=n(274);n.d(e,"a",function(){return h});var _=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},l=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},h=function(){function t(){}return t=_([n.i(i.NgModule)({imports:[r.a,s.a.forRoot(o.a)],declarations:[a.a,o.a],exports:[o.a]}),l("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var i=n(0),r=n(76),s=n(15),o=n(283);n.d(e,"a",function(){return l});var a=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},_=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},l=function(){function t(){}return t=a([n.i(i.NgModule)({imports:[r.a,s.a.forRoot(o.a)],declarations:[o.a],exports:[o.a]}),_("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var i=n(0),r=n(76),s=n(15),o=n(375),a=n(374),_=n(478),l=n(489),h=n(488),c=n(481),u=n(487),p=n(482),d=n(365);n.d(e,"a",function(){return g});var f=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},m=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},g=function(){function t(){}return t=f([n.i(i.NgModule)({imports:[r.a,s.a.forRoot(o.a),s.a.forRoot(a.a),_.a,l.a,h.a,c.a,u.a,p.a],declarations:[d.a,o.a,a.a],exports:[o.a]}),m("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var i=n(0),r=n(76),s=n(15),o=n(483),a=n(477),_=n(476),l=n(485),h=n(285),c=n(150),u=n(370),p=n(281),d=n(369),f=n(280),m=n(362),g=n(360),v=n(373),x=n(379),y=n(366),b=n(358),w=n(364);n.d(e,"a",function(){return T});var C=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},E=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},T=function(){function t(){}return t=C([n.i(i.NgModule)({imports:[r.a,o.a,w.a,g.a,m.a,s.a.forRoot(h.a),s.a.forRoot(v.a),s.a.forRoot(x.a),s.a.forRoot(y.a),s.a.forRoot(b.a),a.a,_.a,l.a],declarations:[y.a,h.a,v.a,x.a,c.a,u.a,p.a,d.a,f.a,b.a],exports:[h.a]}),E("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var i=n(0),r=n(76),s=n(15),o=n(286);n.d(e,"a",function(){return l});var a=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},_=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},l=function(){function t(){}return t=a([n.i(i.NgModule)({imports:[r.a,s.a.forRoot(o.a)],declarations:[o.a],exports:[o.a]}),_("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var i=n(0),r=n(76),s=n(15),o=n(376),a=n(364),_=n(360),l=n(362),h=n(276),c=n(368),u=n(377),p=n(170);n.d(e,"a",function(){return m});var d=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},f=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},m=function(){function t(){}return t=d([n.i(i.NgModule)({imports:[r.a,o.a,a.a,_.a,l.a,s.a.forRoot(u.a),s.a.forRoot(c.a)],declarations:[u.a,h.a,c.a],exports:[u.a],providers:[p.a]}),f("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var i=n(0),r=n(76),s=n(15),o=n(376),a=n(277),_=n(378);n.d(e,"a",function(){return c});var l=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},h=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},c=function(){function t(){}return t=l([n.i(i.NgModule)({imports:[r.a,o.a,s.a.forRoot(_.a)],declarations:[_.a,a.a],exports:[_.a],providers:[]}),h("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var i=n(0),r=n(76),s=n(15),o=n(380);n.d(e,"a",function(){return l});var a=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},_=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},l=function(){function t(){}return t=a([n.i(i.NgModule)({imports:[r.a,s.a.forRoot(o.a)],declarations:[o.a],exports:[o.a]}),_("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var i=n(0),r=n(15),s=n(486);n.d(e,"a",function(){return _});var o=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},a=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},_=function(){function t(){}return t=o([n.i(i.NgModule)({imports:[r.a.forRoot(s.a)],declarations:[s.a],exports:[s.a]}),a("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var i=n(0),r=n(15);n.d(e,"a",function(){return a});var s=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},a=function(){function t(t,e){this.navCtrl=t,this.viewCtrl=e}return t.prototype.ionViewDidLoad=function(){console.log("Hello SlowUsbModal Page")},t.prototype.closeModal=function(){this.viewCtrl.dismiss()},t=s([n.i(i.Component)({selector:"page-slow-usb-modal",templateUrl:"slow-usb-modal.html"}),o("design:paramtypes",["function"==typeof(e="undefined"!=typeof r.g&&r.g)&&e||Object,"function"==typeof(a="undefined"!=typeof r.i&&r.i)&&a||Object])],t);var e,a}()},function(t,e,n){"use strict";var i=n(0),r=n(76),s=n(15),o=n(287),a=n(169);n.d(e,"a",function(){return h});var _=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},l=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},h=function(){function t(){}return t=_([n.i(i.NgModule)({imports:[r.a,s.a.forRoot(o.a)],declarations:[o.a],exports:[o.a],providers:[a.a]}),l("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var i=n(0),r=n(76),s=n(15),o=n(381);n.d(e,"a",function(){return l});var a=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},_=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},l=function(){function t(){}return t=a([n.i(i.NgModule)({imports:[r.a,s.a.forRoot(o.a)],declarations:[o.a],exports:[o.a]}),_("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var i=n(0),r=n(76),s=n(15),o=n(382);n.d(e,"a",function(){return l});var a=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},_=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},l=function(){function t(){}return t=a([n.i(i.NgModule)({imports:[r.a,s.a.forRoot(o.a)],declarations:[o.a],exports:[o.a]}),_("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";var i=n(491);e.Storage=i.Storage},function(t,e,n){"use strict";var i=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},r=n(0),s=n(901),o=n(900),a=function(){function t(){s.default?this._db=s.default:this._db=s,this._db.config({name:"_ionicstorage",storeName:"_ionickv"});o.default;this._db.setDriver([this._db.INDEXEDDB,this._db.WEBSQL,this._db.LOCALSTORAGE])}return t.prototype.get=function(t){return this._db.getItem(t)},t.prototype.set=function(t,e){return this._db.setItem(t,e)},t.prototype.remove=function(t){return this._db.removeItem(t)},t.prototype.clear=function(){return this._db.clear()},t.prototype.length=function(){return this._db.length()},t.prototype.keys=function(){return this._db.keys()},t.prototype.forEach=function(t){return this._db.iterate(t)},t=i([r.Injectable()],t)}();e.Storage=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=n(192);n.d(e,"DigilentChartModule",function(){return s});var s=function(){function t(){}return t.decorators=[{type:i.NgModule,args:[{declarations:[r.a],exports:[r.a]}]}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";var i=n(0);n.d(e,"a",function(){return r});var r=function(){function t(t){this.pointOfInterest=0,this.triggerPosition=0,this.seriesOffset=0,this.triggerDelay=0,this.t0=t.t0,this.dt=t.dt,this.y=t.y,this.data=t.data,this.pointOfInterest=t.pointOfInterest,this.triggerPosition=t.triggerPosition,this.seriesOffset=t.seriesOffset,this.triggerDelay=t.triggerDelay}return t.decorators=[{type:i.Injectable}],t.ctorParameters=[null],t}()},function(t,e,n){"use strict";var i=n(0),r=n(1),s=(n.n(r),n(54)),o=(n.n(s),n(119)),a=n(171);n.d(e,"a",function(){return _});var _=function(){function t(t){this.instrumentRef=t,this.commandUtilityService=new a.a}return t.prototype.analogSetParametersJson=function(t,e,n,i,r,s,o,a,_){var l={log:{analog:{}}};return t.forEach(function(h,c,u){l.log.analog[t[c]]=[{command:"setParameters",maxSampleCount:e[c],gain:n[c],vOffset:Math.round(1e3*i[c]),sampleFreq:Math.round(1e6*r[c]),startDelay:Math.round(s[c]*Math.pow(10,12)),overflow:o[c],storageLocation:a[c],uri:_[c]}]}),l},t.prototype.daqSetParametersJson=function(t,e,n,i,r,s,o){var a={log:{daq:{command:"setParameters",maxSampleCount:e,startDelay:i,sampleFreq:n,storageLocation:r,uri:s,channels:[]}}};return t.forEach(function(e,n,i){var r={};r[t[n]]={average:o[n]},a.log.daq.channels.push(r)}),a},t.prototype.analogSetParametersParse=function(t,e){return"Channel "+t+" "+e.command+" successful"},t.prototype.digitalSetParametersParse=function(t,e){return"Channel "+t+" "+e.command+" successful"},t.prototype.runParse=function(t,e){return"Channel "+t+" "+e.command+" successful"},t.prototype.stopParse=function(t,e){return"Channel "+t+" "+e.command+" successful"},t.prototype.digitalSetParametersJson=function(t,e,n,i,r,s,o,a){var _={log:{digital:{}}};return t.forEach(function(l,h,c){_.log.digital[t[h]]=[{command:"setParameters",bitMask:a[h],maxSampleCount:e[h],sampleFreq:Math.round(1e6*n[h]),startDelay:Math.round(i[h]*Math.pow(10,12)),overflow:r[h],storageLocation:s[h],uri:o[h]}]}),_},t.prototype.runJson=function(t,e){var n={log:{}};return n.log[t]={},e.forEach(function(i,r,s){n.log[t][e[r]]=[{command:"run"}]}),n},t.prototype.stopJson=function(t,e){var n={log:{}};return n.log[t]={},e.forEach(function(i,r,s){n.log[t][e[r]]=[{command:"stop"}]}),n},t.prototype.readJson=function(t,e,n,i){var r={log:{}};return r.log[t]={},e.forEach(function(s,o,a){r.log[t][e[o]]=[{command:"read",startIndex:n[o],count:i[o]}]}),r},t.prototype.getCurrentStateJson=function(t,e){var n={log:{}};return"daq"===t?n.log[t]={command:"getCurrentState"}:(n.log[t]={},e.forEach(function(i,r,s){n.log[t][e[r]]=[{command:"getCurrentState"}]})),n},t.prototype.analogSetParameters=function(t,e,n,i,r,s,o,a,_){var l=this.analogSetParametersJson(t,e,n,i,r,s,o,a,_);return this.instrumentRef._genericResponseHandler(l)},t.prototype.daqSetParameters=function(t,e,n,i,r,s,o){var a=this.daqSetParametersJson(t,e,n,i,r,s,o);return this.instrumentRef._genericResponseHandler(a)},t.prototype.digitalSetParameters=function(t,e,n,i,r,s,o,a){var _=this.digitalSetParametersJson(t,e,n,i,r,s,o,a);return this.instrumentRef._genericResponseHandler(_)},t.prototype.run=function(t,e){var n=this.runJson(t,e);return this.instrumentRef._genericResponseHandler(n)},t.prototype.stop=function(t,e){var n=this.stopJson(t,e);return this.instrumentRef._genericResponseHandler(n)},t.prototype.read=function(t,e,n,i){var s=this,o=this.readJson(t,e,n,i);return r.Observable.create(function(t){s.instrumentRef.transport.writeRead("/",JSON.stringify(o),"binary").flatMap(function(t){return s.commandUtilityService.observableParseChunkedTransfer(t)}).subscribe(function(e){var n={cmdRespObj:e.json,instruments:{}},i=e.json;console.log(i);for(var r in i.log){n.instruments[r]={};for(var s in i.log[r]){if(n.instruments[r][s]={},i.log[r][s][0].statusCode>0)return void t.error("StatusCode error: "+r+" Ch "+s);if(0===i.log[r][s][0].binaryLength)return void t.error("No data received on "+r+" Ch "+s);var o=i.log[r][s][0].binaryOffset/2,a=e.typedArray.slice(o,o+i.log[r][s][0].binaryLength/2),_=Array.prototype.slice.call(a),l=_.map(function(t){return t/1e3});Object.assign(n.instruments[r][s],i.log[r][s][0]),n.instruments[r][s].data=l}}t.next(n),t.complete()},function(e){console.log(e),t.error(e)},function(){})})},t.prototype.getCurrentState=function(t,e){var n=this.getCurrentStateJson(t,e);return this.instrumentRef._genericResponseHandler(n)},t.decorators=[{type:i.Injectable}],t.ctorParameters=[{type:o.a}],t}()},function(t,e,n){"use strict";var i=n(0),r=n(130);n.d(e,"a",function(){return s});var s=function(){function t(t){this.signalTypes=["none","none","none","none","none","none","none","none"],this.signalFreqs=[0,0,0,0,0,0,0,0],this.vpps=[0,0,0,0,0,0,0,0],this.vOffsets=[0,0,0,0,0,0,0,0],this.state="idle",this.simulatedDeviceService=t}return t.prototype.getCurrentState=function(t){return{command:"getCurrentState",actualSignalFreq:this.signalFreqs[t],actualVOffset:this.vOffsets[t],actualVpp:this.vpps[t],state:this.state,waveType:this.signalTypes[t]}},t.prototype.setArbitraryWaveform=function(t){return{statusCode:0,wait:0}},t.prototype.setRegularWaveform=function(t,e){return this.signalTypes[t]=e.signalType,this.signalFreqs[t]=e.signalFreq,this.vpps[t]=e.vpp,this.vOffsets[t]=e.vOffset,this.simulatedDeviceService.setAwgSettings(e,t),{command:"setRegularWaveform",statusCode:0,actualSignalFreq:e.signalFreq,actualVpp:e.vpp,actualVOffset:e.vOffset,wait:0}},t.prototype.run=function(t){return this.simulatedDeviceService.setTriggerArmed(!0),this.state="running",{command:"run",statusCode:0,wait:0}},t.prototype.stop=function(t){return this.simulatedDeviceService.setTriggerArmed(!1),this.state="stopped",{command:"stop",statusCode:0,wait:0}},t.decorators=[{type:i.Injectable}],t.ctorParameters=[{type:r.a}],t}()},function(t,e,n){"use strict";var i=n(0),r=n(130);n.d(e,"a",function(){return s});var s=function(){function t(t){this.voltages=[0,0,0,0,0,0,0,0],this.simulatedDeviceService=t}return t.prototype.getVoltage=function(t){return{command:"getVoltage",voltage:this.voltages[t],statusCode:0,wait:100}},t.prototype.setVoltage=function(t,e){return this.voltages[t]=e,{command:"setVoltage",statusCode:0,wait:0}},t.decorators=[{type:i.Injectable}],t.ctorParameters=[{type:r.a}],t}()},function(t,e,n){"use strict";var i=n(0),r=n(54);n.n(r);n.d(e,"a",function(){return s});var s=function(){function t(){}return t.prototype.setUri=function(t){this.rootUri=t},t.prototype.getUri=function(){return this.rootUri},t.prototype.getType=function(){return"Parent"},t.decorators=[{type:i.Injectable}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";var i=n(0),r=n(2),s=n(42);n.d(e,"a",function(){return a});var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=function(t){function e(e,n,i){t.call(this,e,n,i),this.mode=e.get("mode")}return o(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("badge",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("badge",t)},enumerable:!0,configurable:!0}),e.decorators=[{type:i.Directive,args:[{selector:"ion-badge"}]}],e.ctorParameters=[{type:r.c},{type:i.ElementRef},{type:i.Renderer}],e.propDecorators={color:[{type:i.Input}],mode:[{type:i.Input}]},e}(s.a)},function(t,e,n){"use strict";var i=n(0),r=n(2),s=n(42);n.d(e,"a",function(){return a});var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=function(t){function e(e,n,i){t.call(this,e,n,i),this.mode=e.get("mode")}return o(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("chip",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("chip",t)},enumerable:!0,configurable:!0}),e.decorators=[{type:i.Directive,args:[{selector:"ion-chip"}]}],e.ctorParameters=[{type:r.c},{type:i.ElementRef},{type:i.Renderer}],e.propDecorators={color:[{type:i.Input}],mode:[{type:i.Input}]},e}(s.a)},function(t,e,n){"use strict";function i(t,e){var i=[];return n.i(u.o)(t)&&(t=t.replace(/\[|\]|\s/g,"").split(",")),n.i(u.b)(t)&&t.forEach(function(t){t=parseInt(t,10),isNaN(t)||i.push(t)}),i.length||console.warn('Invalid "'+e+'Values". Must be an array of numbers, or a comma separated string of numbers.'),i}function r(t,e){if(n.i(u.a)(t)){var i=[];return n.i(u.o)(t)&&(t=t.replace(/\[|\]/g,"").split(",")),n.i(u.b)(t)&&t.forEach(function(t){t=t.trim(),t&&i.push(t)}),i.length||console.warn('Invalid "'+e+'Names". Must be an array of strings, or a comma separated string.'),i}}var s=n(0),o=n(109),a=n(2),_=n(299),l=n(39),h=n(42),c=n(44),u=n(17),p=n(896);n.d(e,"a",function(){return m});var d=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},f={provide:o.a,useExisting:n.i(s.forwardRef)(function(){return m}),multi:!0},m=function(t){function e(e,n,i,r,o,a){t.call(this,n,i,r),this._form=e,this._item=o,this._pickerCtrl=a,this._disabled=!1,this._text="",this._isOpen=!1,this._value={},this._locale={},this.displayFormat="MMM D, YYYY",this.cancelText="Cancel",this.doneText="Done",this.pickerOptions={},this.ionChange=new s.EventEmitter,this.ionCancel=new s.EventEmitter,this.mode=n.get("mode"),e.register(this),o&&(this.id="dt-"+o.registerInput("datetime"),this._labelId="lbl-"+o.id,this._item.setElementClass("item-datetime",!0))}return d(e,t),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("datetime",t)},enumerable:!0,configurable:!0}),e.prototype._click=function(t){0!==t.detail&&(t.preventDefault(),t.stopPropagation(),this.open())},e.prototype._keyup=function(){this._isOpen||this.open()},e.prototype.open=function(){var t=this;if(!this._disabled){var e=n.i(u.m)({},this.pickerOptions),i=this._pickerCtrl.create(e);e.buttons=[{text:this.cancelText,role:"cancel",handler:function(){t.ionCancel.emit(null)}},{text:this.doneText,handler:function(e){console.log("datetime, done",e),t.onChange(e),t.ionChange.emit(e)}}],this.generate(i),this.validate(i),i.ionChange.subscribe(function(){t.validate(i)}),i.present(e),this._isOpen=!0,i.onDidDismiss(function(){t._isOpen=!1})}},e.prototype.generate=function(t){var e=this,r=this.pickerFormat||this.displayFormat;n.i(u.a)(r)&&(this.calcMinMax(),r=r.replace("DDDD","{~}").replace("DDD","{~}"),r.indexOf("D")===-1&&(r=r.replace("{~}","D")),r=r.replace(/{~}/g,""),n.i(p.a)(r).forEach(function(r){var s,o=n.i(p.b)(r);s=n.i(u.a)(e[o+"Values"])?i(e[o+"Values"],o):n.i(p.c)(r,e._min,e._max);var a={name:o,options:s.map(function(t){return{value:t,text:n.i(p.d)(r,t,null,e._locale)}})};if(a.options.length){var _=a.options.find(function(t){return t.value===n.i(p.e)(e._value,r)});_&&(a.selectedIndex=a.options.indexOf(_)),t.addColumn(a)}}),this.divyColumns(t))},e.prototype.validate=function(t){var e,i,r,s,o=new Date,a=t.getColumns(),_=a.find(function(t){return"year"===t.name}),l=a.find(function(t){return"month"===t.name}),h=a.find(function(t){return"day"===t.name}),c=o.getFullYear();_&&(i=_.options[_.selectedIndex],i&&(c=i.value));var d,f=31;l&&(r=l.options[l.selectedIndex],r&&(d=r.value,f=n.i(p.f)(d,c)));var m=n.i(p.g)(this._min),g=n.i(p.g)(this._max);if(l)for(e=0;eg;if(h)if(n.i(u.a)(d))for(e=0;e<31;e++){s=h.options[e];var v=n.i(p.h)(c,d,s.value);s.disabled=vg||f<=e}else for(e=0;e<31;e++)h.options[e].disabled=f<=e;t.refresh()},e.prototype.divyColumns=function(t){var e=t.getColumns(),n=[];if(e.forEach(function(t,e){n.push(0),t.options.forEach(function(t){t.text.length>n[e]&&(n[e]=t.text.length)})}),2===n.length){var i=Math.max(n[0],n[1]);e[0].columnWidth=e[1].columnWidth=16*i+"px"}else if(3===n.length){var i=Math.max(n[0],n[2]);e[1].columnWidth=16*n[1]+"px",e[0].columnWidth=e[2].columnWidth=16*i+"px"}else n.length>3&&n.forEach(function(t,n){e[n].columnWidth=12*t+"px"})},e.prototype.setValue=function(t){n.i(p.i)(this._value,t)},e.prototype.getValue=function(){return this._value},e.prototype.checkHasValue=function(t){this._item&&this._item.setElementClass("input-has-value",!(!t||""===t))},e.prototype.updateText=function(){this._text=n.i(p.j)(this.displayFormat,this._value,this._locale)},e.prototype.calcMinMax=function(){var t=(new Date).getFullYear();n.i(u.d)(this.min)&&(n.i(u.a)(this.yearValues)?this.min=Math.min.apply(Math,i(this.yearValues,"year")):this.min=(t-100).toString()),n.i(u.d)(this.max)&&(n.i(u.a)(this.yearValues)?this.max=Math.max.apply(Math,i(this.yearValues,"year")):this.max=t.toString());var e=this._min=n.i(p.k)(this.min),r=this._max=n.i(p.k)(this.max);e.month=e.month||1,e.day=e.day||1,e.hour=e.hour||0,e.minute=e.minute||0,e.second=e.second||0,r.month=r.month||12,r.day=r.day||31,r.hour=r.hour||23,r.minute=r.minute||59,r.second=r.second||59},Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=n.i(u.k)(t),this._item&&this._item.setElementClass("item-datetime-disabled",this._disabled)},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(t){this.setValue(t),this.updateText(),this.checkHasValue(t)},e.prototype.ngAfterContentInit=function(){var t=this;["monthNames","monthShortNames","dayNames","dayShortNames"].forEach(function(e){t._locale[e]=r(n.i(u.a)(t[e])?t[e]:t._config.get(e),e)}),this.updateText()},e.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(i){e.setValue(i),e.updateText(),e.checkHasValue(i),t(n.i(p.l)(e._value)),e.onTouched()}},e.prototype.registerOnTouched=function(t){this.onTouched=t},e.prototype.onChange=function(t){this.setValue(t),this.updateText(),this.onTouched()},e.prototype.onTouched=function(){},e.prototype.ngOnDestroy=function(){this._form.deregister(this)},e.decorators=[{type:s.Component,args:[{selector:"ion-datetime",template:'
{{_text}}
',host:{"[class.datetime-disabled]":"_disabled"},providers:[f],encapsulation:s.ViewEncapsulation.None}]}],e.ctorParameters=[{type:l.a},{type:a.c},{type:s.ElementRef},{type:s.Renderer},{type:c.a,decorators:[{type:s.Optional}]},{type:_.a,decorators:[{type:s.Optional}]}],e.propDecorators={min:[{type:s.Input}],max:[{type:s.Input}],displayFormat:[{type:s.Input}],pickerFormat:[{type:s.Input}],cancelText:[{type:s.Input}],doneText:[{type:s.Input}],yearValues:[{type:s.Input}],monthValues:[{type:s.Input}],dayValues:[{type:s.Input}],hourValues:[{type:s.Input}],minuteValues:[{type:s.Input}],monthNames:[{type:s.Input}],monthShortNames:[{type:s.Input}],dayNames:[{type:s.Input}],dayShortNames:[{type:s.Input}],pickerOptions:[{type:s.Input}],mode:[{type:s.Input}],ionChange:[{type:s.Output}],ionCancel:[{type:s.Output}],_click:[{type:s.HostListener,args:["click",["$event"]]}],_keyup:[{type:s.HostListener,args:["keyup.space"]}],disabled:[{type:s.Input}]},e}(h.a)},function(t,e,n){"use strict";var i=n(0),r=n(2),s=n(385);n.d(e,"a",function(){return o});var o=function(){function t(t,e){this.inf=t,this._config=e}return t.prototype.ngOnInit=function(){this.loadingSpinner||(this.loadingSpinner=this._config.get("infiniteLoadingSpinner",this._config.get("spinner","ios")))},t.decorators=[{type:i.Component,args:[{selector:"ion-infinite-scroll-content",template:'
',host:{"[attr.state]":"inf.state"},encapsulation:i.ViewEncapsulation.None}]}],t.ctorParameters=[{type:s.a},{type:r.c}],t.propDecorators={loadingSpinner:[{type:i.Input}],loadingText:[{type:i.Input}]},t}()},function(t,e,n){"use strict";function i(t,e,n){var i=!e&&n||t&&e;return i}var r=n(0),s=n(36),o=n(44),a=n(17),_=n(112);n.d(e,"a",function(){return c}),n.d(e,"b",function(){return u});var l=30,h=.55,c=function(){function t(t,e){this._elementRef=t,this._renderer=e,this.ionSwipe=new r.EventEmitter}return t.prototype.getSides=function(){return n.i(a.a)(this.side)&&"left"===this.side?1:2},t.prototype.width=function(){return this._elementRef.nativeElement.offsetWidth},t.decorators=[{type:r.Directive,args:[{selector:"ion-item-options"}]}],t.ctorParameters=[{type:r.ElementRef},{type:r.Renderer}],t.propDecorators={side:[{type:r.Input}],ionSwipe:[{type:r.Output}]},t}(),u=function(){function t(t,e,n,i){this._renderer=e,this._elementRef=n,this._zone=i,this._openAmount=0,this._startX=0,this._optsWidthRightSide=0,this._optsWidthLeftSide=0,this._timer=null,this._optsDirty=!0,this._state=2,this.ionDrag=new r.EventEmitter,t&&t.containsSlidingItem(!0),n.nativeElement.$ionComponent=this,this.setElementClass("item-wrapper",!0)}return Object.defineProperty(t.prototype,"_itemOptions",{set:function(t){for(var e=0,n=0,i=t.toArray();n0?t/this._optsWidthRightSide:t<0?t/this._optsWidthLeftSide:0},t.prototype.startSliding=function(t){this._timer&&(n.i(s.o)(this._timer),this._timer=null),0===this._openAmount&&(this._optsDirty=!0,this._setState(4)),this._startX=t+this._openAmount,this.item.setElementStyle(s.k.transition,"none")},t.prototype.moveSliding=function(t){if(this._optsDirty)return void this.calculateOptsWidth();var e=this._startX-t;switch(this._sides){case 2:e=Math.max(0,e);break;case 1:e=Math.min(0,e);break;case 3:break;default:return}if(e>this._optsWidthRightSide){var n=this._optsWidthRightSide;e=n+(e-n)*h}else if(e<-this._optsWidthLeftSide){var n=-this._optsWidthLeftSide;e=n+(e-n)*h}return this._setOpenAmount(e,!1),e},t.prototype.endSliding=function(t){var e=this._openAmount>0?this._optsWidthRightSide:-this._optsWidthLeftSide,n=this._openAmount>0==!(t<0),r=Math.abs(t)>.3,s=Math.abs(this._openAmount)0){var r=t>=this._optsWidthRightSide+l?40:8;this._setState(r)}else if(t<0){var r=t<=-this._optsWidthLeftSide-l?80:16;this._setState(r)}return 0===t?(this._timer=n.i(s.j)(function(){i._setState(2),i._timer=null},600),void this.item.setElementStyle(s.k.transform,"")):(this.item.setElementStyle(s.k.transform,"translate3d("+-t+"px,0,0)"),void this._zone.run(function(){return i.ionDrag.emit(i)}))},t.prototype._setState=function(t){t!==this._state&&(this.setElementClass("active-slide",2!==t),this.setElementClass("active-options-right",!!(8&t)),this.setElementClass("active-options-left",!!(16&t)),this.setElementClass("active-swipe-right",!!(32&t)),this.setElementClass("active-swipe-left",!!(64&t)),this._state=t)},t.prototype.close=function(){this._setOpenAmount(0,!0)},t.prototype.setElementClass=function(t,e){this._renderer.setElementClass(this._elementRef.nativeElement,t,e)},t.decorators=[{type:r.Component,args:[{selector:"ion-item-sliding",template:'\n \n \n ',changeDetection:r.ChangeDetectionStrategy.OnPush,encapsulation:r.ViewEncapsulation.None}]}],t.ctorParameters=[{type:_.a,decorators:[{type:r.Optional}]},{type:r.Renderer},{type:r.ElementRef},{type:r.NgZone}],t.propDecorators={item:[{type:r.ContentChild,args:[o.a]}],ionDrag:[{type:r.Output}],_itemOptions:[{type:r.ContentChildren,args:[c]}]},t}()},function(t,e,n){"use strict";var i=n(0),r=n(113);n.d(e,"a",function(){return s});var s=function(){function t(t){this._menu=t}return t.prototype.close=function(){var t=this._menu.get(this.menuClose);t&&t.close()},t.decorators=[{type:i.Directive,args:[{selector:"[menuClose]"}]}],t.ctorParameters=[{type:r.a}],t.propDecorators={menuClose:[{type:i.Input}],close:[{type:i.HostListener,args:["click"]}]},t}()},function(t,e,n){"use strict";var i=n(0),r=n(114),s=n(71),o=n(13);n.d(e,"a",function(){return a}),n.d(e,"b",function(){return _});var a=function(){function t(t){this._nav=t,t||console.error("navPop must be within a NavController")}return t.prototype.onClick=function(){return!this._nav||(this._nav.pop(null,null),!1)},t.decorators=[{type:i.Directive,args:[{selector:"[navPop]"}]}],t.ctorParameters=[{type:s.a,decorators:[{type:i.Optional}]}],t.propDecorators={onClick:[{type:i.HostListener,args:["click"]}]},t}(),_=function(){function t(t,e,n){this.host=t,this.linker=e,this.viewCtrl=n}return t.prototype.updateHref=function(){if(this.host&&this.viewCtrl){var t=this.host._nav.getPrevious(this.viewCtrl);this.href=t&&this.linker.createUrl(this.host._nav,this.viewCtrl.component,this.viewCtrl.data)||"#"}else this.href="#"},t.prototype.ngOnChanges=function(){this.updateHref()},t.prototype.ngAfterViewInit=function(){this.updateHref()},t.decorators=[{type:i.Directive,args:[{selector:"a[navPop]"}]}],t.ctorParameters=[{type:a,decorators:[{type:i.Optional}]},{type:r.b},{type:o.a,decorators:[{type:i.Optional}]}],t.propDecorators={href:[{type:i.HostBinding}]},t}()},function(t,e,n){"use strict";var i=n(0),r=n(114),s=n(71);n.d(e,"a",function(){return o}),n.d(e,"b",function(){return a});var o=function(){function t(t){this._nav=t,t||console.error("navPush must be within a NavController")}return t.prototype.onClick=function(){return!this._nav||(this._nav.push(this.navPush,this.navParams,null),!1)},t.decorators=[{type:i.Directive,args:[{selector:"[navPush]"}]}],t.ctorParameters=[{type:s.a,decorators:[{type:i.Optional}]}],t.propDecorators={navPush:[{type:i.Input}],navParams:[{type:i.Input}],onClick:[{type:i.HostListener,args:["click"]}]},t}(),a=function(){function t(t,e){this.host=t,this.linker=e}return t.prototype.updateHref=function(){this.host&&this.linker?this.href=this.linker.createUrl(this.host._nav,this.host.navPush,this.host.navParams)||"#":this.href="#"},t.prototype.ngOnChanges=function(){this.updateHref()},t.prototype.ngAfterViewInit=function(){this.updateHref()},t.decorators=[{type:i.Directive,args:[{selector:"a[navPush]"}]}],t.ctorParameters=[{type:o,decorators:[{type:i.Host}]},{type:r.b,decorators:[{type:i.Optional}]}],t.propDecorators={href:[{type:i.HostBinding}]},t}()},function(t,e,n){"use strict";var i=n(0);n.d(e,"a",function(){return r});var r=function(){function t(){}return t.decorators=[{type:i.Directive,args:[{selector:"ion-note"}]}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";var i=n(0),r=n(2),s=n(39),o=n(42),a=n(17),_=n(44),l=n(388);n.d(e,"a",function(){return c});var h=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},c=function(t){function e(e,n,r,s,o,a){t.call(this,n,r,s),this._form=e,this._item=o,this._group=a,this._checked=!1,this._disabled=!1,this._value=null,this.ionSelect=new i.EventEmitter,this.mode=n.get("mode"),e.register(this),a&&(this.id="rb-"+a.add(this)),o&&(this.id="rb-"+o.registerInput("radio"),this._labelId="lbl-"+o.id,this._item.setElementClass("item-radio",!0))}return h(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("radio",t),this._item&&this._item._updateColor(t,"item-radio")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("radio",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return n.i(a.d)(this._value)?this.id:this._value},set:function(t){this._value=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(t){this._checked=n.i(a.k)(t),this._item&&this._item.setElementClass("item-radio-checked",this._checked)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=n.i(a.k)(t),this._item&&this._item.setElementClass("item-radio-disabled",this._disabled)},enumerable:!0,configurable:!0}),e.prototype._click=function(t){t.preventDefault(),t.stopPropagation(),this.checked=!0,this.ionSelect.emit(this.value)},e.prototype.ngOnInit=function(){this._group&&n.i(a.a)(this._group.value)&&(this.checked=n.i(a.n)(this._group.value,this.value))},e.prototype.ngOnDestroy=function(){this._form.deregister(this),this._group&&this._group.remove(this)},e.decorators=[{type:i.Component,args:[{selector:"ion-radio",template:'
',host:{"[class.radio-disabled]":"_disabled"},encapsulation:i.ViewEncapsulation.None}]}],e.ctorParameters=[{type:s.a},{type:r.c},{type:i.ElementRef},{type:i.Renderer},{type:_.a,decorators:[{type:i.Optional}]},{type:l.a,decorators:[{type:i.Optional}]}],e.propDecorators={color:[{type:i.Input}],mode:[{type:i.Input}],ionSelect:[{type:i.Output}],value:[{type:i.Input}],checked:[{type:i.Input}],disabled:[{type:i.Input}],_click:[{type:i.HostListener,args:["click",["$event"]]}]},e}(o.a)},function(t,e,n){"use strict";var i=n(0),r=n(109),s=n(17),o=n(2),a=n(530),_=n(39),l=n(42),h=n(44),c=n(36),u=n(123),p=n(154);n.d(e,"b",function(){return m}),n.d(e,"a",function(){return g});var d=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},f={provide:r.a,useExisting:n.i(i.forwardRef)(function(){return g}),multi:!0},m=function(){function t(t){this.range=t}return Object.defineProperty(t.prototype,"ratio",{get:function(){return this._ratio},set:function(t){this._ratio=n.i(s.g)(0,t,1),this._val=this.range.ratioToValue(this._ratio),this.range.snaps&&(this._ratio=this.range.valueToRatio(this._val))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._val},set:function(t){n.i(s.o)(t)&&(t=Math.round(t)),n.i(s.e)(t)&&!isNaN(t)&&(this._ratio=this.range.valueToRatio(t),this._val=this.range.ratioToValue(this._ratio))},enumerable:!0,configurable:!0}),t.prototype.position=function(){this._x=100*this._ratio+"%"},t.prototype.ngOnInit=function(){n.i(s.a)(this.range.value)?this.range.dualKnobs?this.upper?this.value=this.range.value.upper:this.value=this.range.value.lower:this.value=this.range.value:this.ratio=this.range.dualKnobs&&this.upper?1:0,this.position()},t.decorators=[{type:i.Component,args:[{selector:".range-knob-handle",template:'
{{_val}}
',host:{"[class.range-knob-pressed]":"pressed","[class.range-knob-min]":"_val===range.min","[class.range-knob-max]":"_val===range.max","[style.left]":"_x","[attr.aria-valuenow]":"_val","[attr.aria-valuemin]":"range.min","[attr.aria-valuemax]":"range.max",role:"slider",tabindex:"0"}}]}],t.ctorParameters=[{type:g,decorators:[{type:i.Inject,args:[n.i(i.forwardRef)(function(){return g})]}]}],t.propDecorators={upper:[{type:i.Input}]},t}(),g=function(t){function e(e,n,r,s,o,_){t.call(this,s,o,_),this._form=e,this._haptic=n,this._item=r,this._dual=!1,this._disabled=!1,this._start=null,this._min=0,this._max=100,this._step=1,this._snaps=!1,this._debouncer=new a.a(0),this._events=new p.a,this.ionChange=new i.EventEmitter,this.mode=s.get("mode"),e.register(this),r&&(this.id="rng-"+r.registerInput("range"),this._labelId="lbl-"+r.id,r.setElementClass("item-range",!0))}return d(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("range",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("range",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"min",{get:function(){return this._min},set:function(t){t=Math.round(t),isNaN(t)||(this._min=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"max",{get:function(){return this._max},set:function(t){t=Math.round(t),isNaN(t)||(this._max=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"step",{get:function(){return this._step},set:function(t){t=Math.round(t),!isNaN(t)&&t>0&&(this._step=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"snaps",{get:function(){return this._snaps},set:function(t){this._snaps=n.i(s.k)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pin",{get:function(){return this._pin},set:function(t){this._pin=n.i(s.k)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"debounce",{get:function(){return this._debouncer.wait},set:function(t){this._debouncer.wait=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dualKnobs",{get:function(){return this._dual},set:function(t){this._dual=n.i(s.k)(t)},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){var t="",e="",n=this._knobs.first.ratio;if(this._dual){var i=this._knobs.last.ratio;t=100*Math.min(n,i)+"%",e=100-100*Math.max(n,i)+"%"}else e=100-100*n+"%";this._renderer.setElementStyle(this._bar.nativeElement,"left",t),this._renderer.setElementStyle(this._bar.nativeElement,"right",e),this._events.pointerEvents({elementRef:this._slider,pointerDown:this.pointerDown.bind(this),pointerMove:this.pointerMove.bind(this),pointerUp:this.pointerUp.bind(this)}),this.createTicks()},e.prototype.pointerDown=function(t){if(this._disabled)return!1;t.preventDefault(),t.stopPropagation(),this._start=n.i(c.c)(t);var e=this._rect=this._slider.nativeElement.getBoundingClientRect();return this._start.xe.right?e.xOffset=this._start.x-e.right:e.xOffset=0,this.setActiveKnob(this._start,e),this.updateKnob(this._start,e),this._active.position(),this._pressed=this._active.pressed=!0,this._haptic.gestureSelectionStart(),!0},e.prototype.pointerMove=function(t){t.preventDefault(),t.stopPropagation(),this.updateKnob(n.i(c.c)(t),this._rect),this._active.position(),this._pressed=this._active.pressed=!0},e.prototype.pointerUp=function(t){t.preventDefault(),t.stopPropagation(),this.updateKnob(n.i(c.c)(t),this._rect),this._active.position(),this._haptic.gestureSelectionEnd(),this._start=this._active=null,this._pressed=this._knobs.first.pressed=this._knobs.last.pressed=!1},e.prototype.setActiveKnob=function(t,e){var n=(t.x-e.left)/e.width;this._dual&&Math.abs(n-this._knobs.first.ratio)>Math.abs(n-this._knobs.last.ratio)?this._active=this._knobs.last:this._active=this._knobs.first},e.prototype.updateKnob=function(t,e){var n=this;if(this._active){var i=this._active.value;this._active.ratio=(t.x-e.left)/e.width;var r=this._active.value;i!==r&&(this.snaps&&this._haptic.gestureSelectionChanged(),this._dual?this.value={lower:Math.min(this._knobs.first.value,this._knobs.last.value),upper:Math.max(this._knobs.first.value,this._knobs.last.value)}:this.value=r,this._debouncer.debounce(function(){n.onChange(n.value),n.ionChange.emit(n)})),this.updateBar()}},e.prototype.updateBar=function(){var t=this._knobs.first.ratio;if(this._dual){var e=this._knobs.last.ratio;this._barL=100*Math.min(t,e)+"%",this._barR=100-100*Math.max(t,e)+"%"}else this._barL="",this._barR=100-100*t+"%";this.updateTicks()},e.prototype.createTicks=function(){var t=this;this._snaps&&n.i(c.r)(function(){t._ticks=[];for(var e=t._min;e<=t._max;e+=t._step){var n=t.valueToRatio(e);t._ticks.push({ratio:n,left:100*n+"%"})}t.updateTicks()})},e.prototype.updateTicks=function(){if(this._snaps&&this._ticks){var t=this.ratio;if(this._dual){var e=this.ratioUpper;this._ticks.forEach(function(n){n.active=n.ratio>=t&&n.ratio<=e})}else this._ticks.forEach(function(e){e.active=e.ratio<=t})}},e.prototype.ratioToValue=function(t){return t=Math.round((this._max-this._min)*t+this._min),Math.round(t/this._step)*this._step},e.prototype.valueToRatio=function(t){return t=Math.round(n.i(s.g)(this._min,t,this._max)/this._step)*this._step,(t-this._min)/(this._max-this._min)},e.prototype.writeValue=function(t){if(n.i(s.a)(t)){var e=this._knobs;this.value=t,this._knobs&&(this._dual?(e.first.value=t.lower,e.last.value=t.upper,e.last.position()):e.first.value=t,e.first.position(),this.updateBar())}},e.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(n){t(n),e.onTouched()}},e.prototype.registerOnTouched=function(t){this.onTouched=t},Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=n.i(s.k)(t),this._item&&this._item.setElementClass("item-range-disabled",this._disabled)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ratio",{get:function(){return this._dual?Math.min(this._knobs.first.ratio,this._knobs.last.ratio):this._knobs.first.ratio},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ratioUpper",{get:function(){return this._dual?Math.max(this._knobs.first.ratio,this._knobs.last.ratio):null},enumerable:!0,configurable:!0}),e.prototype.onChange=function(t){this.onTouched()},e.prototype.onTouched=function(){},e.prototype.ngOnDestroy=function(){this._form.deregister(this),this._events.unlistenAll()},e.decorators=[{type:i.Component,args:[{selector:"ion-range",template:'
',host:{"[class.range-disabled]":"_disabled","[class.range-pressed]":"_pressed","[class.range-has-pin]":"_pin"},providers:[f],encapsulation:i.ViewEncapsulation.None}]}],e.ctorParameters=[{type:_.a},{type:u.a},{type:h.a,decorators:[{type:i.Optional}]},{type:o.c},{type:i.ElementRef},{type:i.Renderer}],e.propDecorators={color:[{type:i.Input}],mode:[{type:i.Input}],_bar:[{type:i.ViewChild,args:["bar"]}],_slider:[{type:i.ViewChild,args:["slider"]}],_knobs:[{type:i.ViewChildren,args:[m]}],min:[{type:i.Input}],max:[{type:i.Input}],step:[{type:i.Input}],snaps:[{type:i.Input}],pin:[{type:i.Input}],debounce:[{type:i.Input}],dualKnobs:[{type:i.Input}],ionChange:[{type:i.Output}],disabled:[{type:i.Input}]},e}(l.a)},function(t,e,n){"use strict";var i=n(0),r=n(2),s=n(389);n.d(e,"a",function(){return o});var o=function(){function t(t,e){this.r=t,this._config=e}return t.prototype.ngOnInit=function(){this.pullingIcon||(this.pullingIcon=this._config.get("ionPullIcon","arrow-down")),this.refreshingSpinner||(this.refreshingSpinner=this._config.get("ionRefreshingSpinner",this._config.get("spinner","ios")))},t.decorators=[{type:i.Component,args:[{selector:"ion-refresher-content",template:'
',host:{"[attr.state]":"r.state"},encapsulation:i.ViewEncapsulation.None}]}],t.ctorParameters=[{type:s.a},{type:r.c}],t.propDecorators={pullingIcon:[{type:i.Input}],pullingText:[{type:i.Input}],refreshingSpinner:[{type:i.Input}],refreshingText:[{type:i.Input}]},t}()},function(t,e,n){"use strict";var i=n(0),r=n(17);n.d(e,"a",function(){return s});var s=function(){function t(t){this._elementRef=t,this._scrollX=!1,this._scrollY=!1,this._zoom=!1,this._maxZoom=1,this.maxScale=3,this.zoomDuration=250}return Object.defineProperty(t.prototype,"scrollX",{get:function(){return this._scrollX},set:function(t){this._scrollX=n.i(r.k)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scrollY",{get:function(){return this._scrollY},set:function(t){this._scrollY=n.i(r.k)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"zoom",{get:function(){return this._zoom},set:function(t){this._zoom=n.i(r.k)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxZoom",{get:function(){return this._maxZoom},set:function(t){this._maxZoom=t},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.scrollElement=this._elementRef.nativeElement.children[0]},t.prototype.addScrollEventListener=function(t){var e=this;if(this.scrollElement)return this.scrollElement.addEventListener("scroll",t),function(){e.scrollElement.removeEventListener("scroll",t)}},t.decorators=[{type:i.Component,args:[{selector:"ion-scroll",template:'
',host:{"[class.scroll-x]":"scrollX","[class.scroll-y]":"scrollY"},changeDetection:i.ChangeDetectionStrategy.OnPush,encapsulation:i.ViewEncapsulation.None}]}],t.ctorParameters=[{type:i.ElementRef}],t.propDecorators={scrollX:[{type:i.Input}],scrollY:[{type:i.Input}],zoom:[{type:i.Input}],maxZoom:[{type:i.Input}]},t}()},function(t,e,n){"use strict";var i=n(0),r=n(109),s=n(2),o=n(42),a=n(17),_=n(530);n.d(e,"a",function(){return h});var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},h=function(t){function e(e,n,r,s){t.call(this,e,n,r),this._value="",this._shouldBlur=!0,this._shouldAlignLeft=!0,this._isCancelVisible=!1,this._spellcheck=!1,this._autocomplete="off",this._autocorrect="off",this._isActive=!1,this._debouncer=new _.a(250),this.cancelButtonText="Cancel",this.showCancelButton=!1,this.placeholder="Search",this.type="search",this.animated=!1,this.ionInput=new i.EventEmitter,this.ionBlur=new i.EventEmitter,this.ionFocus=new i.EventEmitter,this.ionCancel=new i.EventEmitter,this.ionClear=new i.EventEmitter,this.onChange=function(t){},this.onTouched=function(){},this.mode=e.get("mode"),s&&(s.valueAccessor=this)}return l(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("searchbar",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("searchbar",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"debounce",{get:function(){return this._debouncer.wait},set:function(t){this._debouncer.wait=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autocomplete",{set:function(t){this._autocomplete=""===t||"on"===t?"on":this._config.get("autocomplete","off")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autocorrect",{set:function(t){this._autocorrect=""===t||"on"===t?"on":this._config.get("autocorrect","off")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"spellcheck",{set:function(t){this._spellcheck=""===t||"true"===t||t===!0||this._config.getBoolean("spellcheck",!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){if(this._value=t,this._searchbarInput){var e=this._searchbarInput.nativeElement;e&&(e.value=t)}},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this.showCancelButton;"string"==typeof t&&(this.showCancelButton=""===t||"true"===t)},e.prototype.ngAfterContentInit=function(){this.positionElements()},e.prototype.positionElements=function(){var t=n.i(a.k)(this.animated),e=this._shouldAlignLeft,i=!t||this._value&&""!==this._value.toString().trim()||this._sbHasFocus===!0;this._shouldAlignLeft=i,"ios"===this._config.get("mode")&&(e!==i&&this.positionPlaceholder(),t&&this.positionCancelButton())},e.prototype.positionPlaceholder=function(){if(this._searchbarInput&&this._searchbarIcon){var t=this._searchbarInput.nativeElement,e=this._searchbarIcon.nativeElement;if(this._shouldAlignLeft)t.removeAttribute("style"),e.removeAttribute("style");else{var n=document.createElement("span");n.innerHTML=this.placeholder,document.body.appendChild(n);var i=n.offsetWidth;n.remove();var r="calc(50% - "+i/2+"px)";t.style.paddingLeft=r;var s="calc(50% - "+(i/2+30)+"px)";e.style.marginLeft=s}}},e.prototype.positionCancelButton=function(){if(this._cancelButton&&this._cancelButton.nativeElement){var t=this._sbHasFocus;if(t!==this._isCancelVisible){var e=this._cancelButton.nativeElement,n=e.style;if(this._isCancelVisible=t,t)n.marginRight="0";else{var i=e.offsetWidth;i>0&&(n.marginRight=-i+"px")}}}},e.prototype.inputChanged=function(t){var e=this;this._value=t.target.value,this._debouncer.debounce(function(){e.onChange(e._value),e.ionInput.emit(t)})},e.prototype.inputFocused=function(t){this.ionFocus.emit(t),this._sbHasFocus=!0,this._isActive=!0,this.positionElements()},e.prototype.inputBlurred=function(t){return this._shouldBlur===!1?(this._searchbarInput.nativeElement.focus(),void(this._shouldBlur=!0)):(this.ionBlur.emit(t),this._sbHasFocus=!1,void this.positionElements())},e.prototype.clearInput=function(t){var e=this;this.ionClear.emit(t),setTimeout(function(){var i=e._value;n.i(a.a)(i)&&""!==i&&(e.value="",e.onChange(e._value),e.ionInput.emit(t))},64),this._shouldBlur=!1},e.prototype.cancelSearchbar=function(t){this.ionCancel.emit(t),this.clearInput(t),this._shouldBlur=!0,this._isActive=!1},e.prototype.writeValue=function(t){this.value=t,this.positionElements()},e.prototype.registerOnChange=function(t){this.onChange=t},e.prototype.registerOnTouched=function(t){this.onTouched=t},e.prototype.setFocus=function(){this._renderer.invokeElementMethod(this._searchbarInput.nativeElement,"focus")},e.decorators=[{type:i.Component,args:[{selector:"ion-searchbar",template:'
',host:{"[class.searchbar-animated]":"animated","[class.searchbar-has-value]":"_value","[class.searchbar-active]":"_isActive","[class.searchbar-show-cancel]":"showCancelButton","[class.searchbar-left-aligned]":"_shouldAlignLeft"},encapsulation:i.ViewEncapsulation.None}]}],e.ctorParameters=[{type:s.c},{type:i.ElementRef},{type:i.Renderer},{type:r.b,decorators:[{type:i.Optional}]}],e.propDecorators={color:[{type:i.Input}],mode:[{type:i.Input}],cancelButtonText:[{type:i.Input}],showCancelButton:[{type:i.Input}],debounce:[{type:i.Input}],placeholder:[{type:i.Input}],autocomplete:[{type:i.Input}],autocorrect:[{type:i.Input}],spellcheck:[{type:i.Input}],type:[{type:i.Input}],animated:[{type:i.Input}],ionInput:[{type:i.Output}],ionBlur:[{type:i.Output}],ionFocus:[{type:i.Output}],ionCancel:[{type:i.Output}],ionClear:[{type:i.Output}],_sbHasFocus:[{type:i.HostBinding,args:["class.searchbar-has-focus"]}],_searchbarInput:[{type:i.ViewChild,args:["searchbarInput"]}],_searchbarIcon:[{type:i.ViewChild,args:["searchbarIcon"]}],_cancelButton:[{type:i.ViewChild,args:["cancelButton",{read:i.ElementRef}]}],value:[{type:i.Input}]},e}(o.a)},function(t,e,n){"use strict";var i=n(0),r=n(109),s=n(2),o=n(42),a=n(17);n.d(e,"b",function(){return l}),n.d(e,"a",function(){return h});var _=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._disabled=!1,this.ionSelect=new i.EventEmitter}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=n.i(a.k)(t),this._setElementClass("segment-button-disabled",this._disabled)},enumerable:!0,configurable:!0}),t.prototype._setElementClass=function(t,e){this._renderer.setElementClass(this._elementRef.nativeElement,t,e)},t.prototype.onClick=function(){this.ionSelect.emit(this)},t.prototype.ngOnInit=function(){n.i(a.a)(this.value)||console.warn(' requires a "value" attribute')},Object.defineProperty(t.prototype,"isActive",{set:function(t){this._renderer.setElementClass(this._elementRef.nativeElement,"segment-activated",t),this._renderer.setElementAttribute(this._elementRef.nativeElement,"aria-pressed",t)},enumerable:!0,configurable:!0}),t.decorators=[{type:i.Component,args:[{selector:"ion-segment-button",template:'
',host:{tappable:"",class:"segment-button",role:"button"},encapsulation:i.ViewEncapsulation.None}]}],t.ctorParameters=[{type:i.Renderer},{type:i.ElementRef}],t.propDecorators={value:[{type:i.Input}],ionSelect:[{type:i.Output}],disabled:[{type:i.Input}],onClick:[{type:i.HostListener,args:["click"]}]},t}(),h=function(t){function e(e,n,r,s){t.call(this,e,n,r),this._disabled=!1,this.ionChange=new i.EventEmitter,this.onChange=function(t){},this.onTouched=function(t){},this.mode=e.get("mode"),s&&(s.valueAccessor=this)}return _(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("segment",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("segment",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){var e=this;this._disabled=n.i(a.k)(t),this._buttons&&this._buttons.forEach(function(t){t._setElementClass("segment-button-disabled",e._disabled)})},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(t){if(this.value=n.i(a.a)(t)?t:"",this._buttons)for(var e=this._buttons.toArray(),i=0,r=e;i6&&(console.warn('Interface cannot be "action-sheet" with more than 6 options. Using the "alert" interface.'),this.interface="alert"),"action-sheet"===this.interface&&this._multi&&(console.warn('Interface cannot be "action-sheet" with a multi-value select. Using the "alert" interface.'),this.interface="alert");var r;if("action-sheet"===this.interface){e.buttons=e.buttons.concat(i.map(function(e){return{role:e.selected?"selected":"",text:e.text,handler:function(){t.onChange(e.value),t.ionChange.emit(e.value)}}}));var a="select-action-sheet";a+=e.cssClass?" "+e.cssClass:"",e.cssClass=a,r=new s.b(this._app,e)}else{this.interface="alert",e.inputs=this._options.map(function(e){return{type:t._multi?"checkbox":"radio",label:e.text,value:e.value,checked:e.selected,disabled:e.disabled}});var a="select-alert";r=new o.b(this._app,e),a+=this._multi?" multiple-select-alert":" single-select-alert",a+=e.cssClass?" "+e.cssClass:"",r.setCssClass(a),r.addButton({text:this.okText,handler:function(e){t.onChange(e),t.ionChange.emit(e)}})}r.present(e),this._isOpen=!0,r.onDidDismiss(function(){t._isOpen=!1})}},Object.defineProperty(e.prototype,"multiple",{get:function(){return this._multi},set:function(t){this._multi=n.i(c.k)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this._multi?this._texts:this._texts.join()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"options",{set:function(t){this._options=t,this._values.length||(this._values=t.filter(function(t){return t.selected}).map(function(t){return t.value})),this._updOpts()},enumerable:!0,configurable:!0}),e.prototype._updOpts=function(){var t=this;this._texts=[],this._options&&this._options.forEach(function(e){e.selected=t._values.some(function(t){return n.i(c.n)(t,e.value)}),e.selected&&t._texts.push(e.text)}),this._text=this._texts.join(", ")},Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=n.i(c.k)(t),this._item&&this._item.setElementClass("item-select-disabled",this._disabled)},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(t){this._values=Array.isArray(t)?t:n.i(c.d)(t)?[]:[t],this._updOpts()},e.prototype.ngAfterContentInit=function(){this._updOpts()},e.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(i){t(i),e._values=Array.isArray(i)?i:n.i(c.d)(i)?[]:[i],e._updOpts(),e.onTouched()}},e.prototype.registerOnTouched=function(t){this.onTouched=t},e.prototype.onChange=function(t){this._values=Array.isArray(t)?t:n.i(c.d)(t)?[]:[t],this._updOpts(),this.onTouched()},e.prototype.onTouched=function(){},e.prototype.ngOnDestroy=function(){this._form.deregister(this)},e.decorators=[{type:i.Component,args:[{selector:"ion-select",template:'
{{placeholder}}
{{selectedText || _text}}
',host:{"[class.select-disabled]":"_disabled"},providers:[m],encapsulation:i.ViewEncapsulation.None}]}],e.ctorParameters=[{type:a.a},{type:l.a},{type:_.c},{type:i.ElementRef},{type:i.Renderer},{type:u.a,decorators:[{type:i.Optional}]},{type:p.a,decorators:[{type:i.Optional}]}],e.propDecorators={cancelText:[{type:i.Input}],okText:[{type:i.Input}],placeholder:[{type:i.Input}],selectOptions:[{type:i.Input}],interface:[{type:i.Input}],selectedText:[{type:i.Input}],mode:[{type:i.Input}],ionChange:[{type:i.Output}],ionCancel:[{type:i.Output}],_click:[{type:i.HostListener,args:["click",["$event"]]}],_keyup:[{type:i.HostListener,args:["keyup.space"]}],multiple:[{type:i.Input}],options:[{type:i.ContentChildren,args:[d.a]}],disabled:[{type:i.Input}]},e}(h.a)},function(t,e,n){"use strict";var i=n(0),r=n(23);n.d(e,"b",function(){return a}),n.d(e,"a",function(){return _});var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(){function t(t,e,n){var i=this;if(this.platform=e,this.zone=n,this.isMatch=!1,this.platform=e,t){this.conditions=t.split(",");for(var r=0;r0;if(r&&(i=this.parent.portal),t.prototype._viewInsert.call(this,e,n,i),r){var s=e.pageRef();s&&this._renderer.setElementClass(s.nativeElement,"tab-subpage",!0)}},e.prototype.setSelected=function(t){this.isSelected=t,this.setElementClass("show-tab",t),this.setElementAttribute("aria-hidden",(!t).toString()),t?this._cd.reattach():this._cd.detach()},Object.defineProperty(e.prototype,"index",{get:function(){return this.parent.getIndex(this)},enumerable:!0,configurable:!0}),e.prototype.updateHref=function(t,e){if(this.btn&&this.linker){var n=this.linker.createUrl(this,t,e)||"#";this.btn.updateHref(n)}},e.prototype.destroy=function(){this.destroy()},e.decorators=[{type:i.Component,args:[{selector:"ion-tab",template:'
',host:{"[attr.id]":"_tabId","[attr.aria-labelledby]":"_btnId",role:"tabpanel"},encapsulation:i.ViewEncapsulation.None}]}],e.ctorParameters=[{type:c.a},{type:r.a},{type:s.c},{type:l.a},{type:i.ElementRef},{type:i.NgZone},{type:i.Renderer},{type:i.ComponentFactoryResolver},{type:i.ChangeDetectorRef},{type:a.a},{type:u.a},{type:o.b,decorators:[{type:i.Optional}]}],e.propDecorators={root:[{type:i.Input}],rootParams:[{type:i.Input}],tabUrlPath:[{type:i.Input}],tabTitle:[{type:i.Input}],tabIcon:[{type:i.Input}],tabBadge:[{type:i.Input}],tabBadgeStyle:[{type:i.Input}],enabled:[{type:i.Input}],show:[{type:i.Input}],swipeBackEnabled:[{type:i.Input}],ionSelect:[{type:i.Output}],_vp:[{type:i.ViewChild,args:["viewport",{read:i.ViewContainerRef}]}]},e}(h.a)},function(t,e,n){"use strict";var i=n(36);n.d(e,"a",function(){return r});var r=function(){function t(t,e){this.app=t,this._queue=[],this._active=[],this._css=e.get("activatedClass")||"activated"}return t.prototype.downAction=function(t,e,r){var s=this;this.disableActivated(t)||(this._queue.push(e),n.i(i.i)(2,function(){for(var t,e=0;e',changeDetection:i.ChangeDetectionStrategy.OnPush,encapsulation:i.ViewEncapsulation.None}]}],e.ctorParameters=[{type:r.c},{type:i.ElementRef},{type:i.Renderer},{type:a.c,decorators:[{type:i.Optional}]},{type:o.a,decorators:[{type:i.Optional},{type:i.Inject,args:[n.i(i.forwardRef)(function(){return o.a})]}]}],e}(s.a)},function(t,e,n){"use strict";var i=n(0),r=n(2),s=n(42);n.d(e,"a",function(){return a});var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=function(t){function e(e,n,i){t.call(this,e,n,i),this.mode=e.get("mode")}return o(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor("text",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._setMode("text",t)},enumerable:!0,configurable:!0}),e.decorators=[{type:i.Directive,args:[{selector:"h1[color], h2[color], h3[color], h4[color], h5[color], h6[color], a[color]:not([ion-button]), p[color], span[color], b[color], i[color], strong[color], em[color], small[color], sub[color], sup[color]"}]}],e.ctorParameters=[{type:r.c},{type:i.ElementRef},{type:i.Renderer}],e.propDecorators={color:[{type:i.Input}],mode:[{type:i.Input}]},e}(s.a)},function(t,e,n){"use strict";var i=n(0);n.d(e,"b",function(){return r}),n.d(e,"a",function(){return s}),n.d(e,"c",function(){return o});var r=function(){function t(t){this.templateRef=t}return t.decorators=[{type:i.Directive,args:[{selector:"[virtualHeader]"}]}],t.ctorParameters=[{type:i.TemplateRef}],t}(),s=function(){function t(t){this.templateRef=t}return t.decorators=[{type:i.Directive,args:[{selector:"[virtualFooter]"}]}],t.ctorParameters=[{type:i.TemplateRef}],t}(),o=function(){function t(t,e){this.templateRef=t,this.viewContainer=e}return t.decorators=[{type:i.Directive,args:[{selector:"[virtualItem]"}]}],t.ctorParameters=[{type:i.TemplateRef},{type:i.ViewContainerRef}],t}()},function(t,e,n){"use strict";var i=n(0),r=n(887),s=n(36),o=n(2),a=n(46),_=n(384),l=n(17),h=n(23),c=n(13),u=n(521);n.d(e,"a",function(){return p});var p=function(){function t(t,e,n,i,r,s,o,a,_){this._iterableDiffers=t,this._elementRef=e,this._renderer=n,this._zone=i,this._cd=r,this._content=s,this._platform=o,this._ctrl=a,this._records=[],this._cells=[],this._nodes=[],this._vHeight=0,this._lastCheck=0,this._data={scrollTop:0},this._queue=null,this.bufferRatio=2,this.approxItemWidth="100%",this.approxHeaderWidth="100%",this.approxHeaderHeight="40px",this.approxFooterWidth="100%",this.approxFooterHeight="40px",this._eventAssist=_.getBoolean("virtualScrollEventAssist")}return Object.defineProperty(t.prototype,"virtualScroll",{set:function(t){this._records=t,n.i(l.d)(this._differ)&&n.i(l.a)(t)&&(this._differ=this._iterableDiffers.find(t).create(this._cd,this._trackBy))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"headerFn",{set:function(t){n.i(l.j)(t)&&(this._hdrFn=t.bind(this._ctrl&&this._ctrl._cmp||this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"footerFn",{set:function(t){n.i(l.j)(t)&&(this._ftrFn=t.bind(this._ctrl&&this._ctrl._cmp||this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"virtualTrackBy",{set:function(t){this._trackBy=t},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){this._init&&this.update(!0)},t.prototype.ngAfterContentInit=function(){var t=this;if(!this._init){if(!this._itmTmp)throw"virtualItem required within virtualScroll";this._init=!0,this.approxItemHeight||(this.approxItemHeight="40px",console.warn('Virtual Scroll: Please provide an "approxItemHeight" input to ensure proper virtual scroll rendering')),this.update(!0),this._platform.onResize(function(){t.update(!1)})}},t.prototype.update=function(t){function e(t){i._data.valid?t():(n.i(r.a)(i._data,i._elementRef.nativeElement.parentElement,i.approxItemWidth,i.approxItemHeight,i.approxHeaderWidth,i.approxHeaderHeight,i.approxFooterWidth,i.approxFooterHeight,i.bufferRatio),i._data.valid?t():a<30&&(a++,n.i(s.l)(function(){e(t)})))}var i=this;if(i._records&&i._records.length){if(t&&n.i(l.a)(i._differ)){var o=i._differ.diff(i._records);if(!n.i(l.a)(o))return}i._cells.length=0,i._nodes.length=0,i._itmTmp.viewContainer.clear(),i._elementRef.nativeElement.parentElement.scrollTop=0;var a=0;e(function(){n.i(r.b)(i._data.renderHeight,i._records,i._cells,i._hdrFn,i._ftrFn,i._data),i.renderVirtual(),i.addScrollListener()})}},t.prototype.renderVirtual=function(){this._data.topCell=0,this._data.bottomCell=this._cells.length-1,n.i(r.c)(0,this._data.bottomCell,this._data.viewWidth,!0,this._cells,this._records,this._nodes,this._itmTmp.viewContainer,this._itmTmp.templateRef,this._hdrTmp&&this._hdrTmp.templateRef,this._ftrTmp&&this._ftrTmp.templateRef,!0),this._cd.detectChanges(),n.i(s.l)(this.postRenderVirtual.bind(this))},t.prototype.postRenderVirtual=function(){n.i(r.d)(this._nodes,this._cells,this._data),this._renderer.setElementClass(this._elementRef.nativeElement,"virtual-scroll",!0),n.i(r.e)(this._nodes,this._cells,this._records.length),this.setVirtualHeight(n.i(r.f)(this._records.length,this._cells[this._cells.length-1],this._vHeight,.25))},t.prototype.scrollUpdate=function(){n.i(s.o)(this._tmId),this._tmId=n.i(s.j)(this.onScrollEnd.bind(this),d);var t=this._data;if(this._queue===m)this._cd.detectChanges(),n.i(r.e)(this._nodes,this._cells,this._records.length),this.setVirtualHeight(n.i(r.f)(this._records.length,this._cells[this._cells.length-1],this._vHeight,.25)),this._queue=null;else if(t.scrollDiff=t.scrollTop-this._lastCheck,Math.abs(t.scrollDiff)>f){if(this._lastCheck=t.scrollTop,t.scrollDiff>0){var e=t.scrollTop+t.renderHeight;n.i(r.b)(e,this._records,this._cells,this._hdrFn,this._ftrFn,t)}n.i(r.g)(this._nodes,this._cells,t,!1),n.i(r.h)(this._cells,t);var i=n.i(r.c)(t.topCell,t.bottomCell,t.viewWidth,t.scrollDiff>0,this._cells,this._records,this._nodes,this._itmTmp.viewContainer,this._itmTmp.templateRef,this._hdrTmp&&this._hdrTmp.templateRef,this._ftrTmp&&this._ftrTmp.templateRef,!1);i?(this._imgs.forEach(function(t){t.enable(!1)}),this._queue=m):this._queue=null}},t.prototype.onScrollEnd=function(){this._imgs.forEach(function(t){t.enable(!0)}),n.i(r.g)(this._nodes,this._cells,this._data,!1),n.i(r.h)(this._cells,this._data),this._cd.detectChanges(),this.setVirtualHeight(n.i(r.f)(this._records.length,this._cells[this._cells.length-1],this._vHeight,.05))},t.prototype.setVirtualHeight=function(t){t!==this._vHeight&&(this._renderer.setElementStyle(this._elementRef.nativeElement,"height",t>0?t+"px":""),this._vHeight=t)},t.prototype.addScrollListener=function(){var t=this;t._unreg||t._zone.runOutsideAngular(function(){function e(){t._data.scrollTop=t._content.getScrollTop(),t.scrollUpdate()}t._eventAssist?t._unreg=t._content.jsScroll(e):t._unreg=t._content.addScrollListener(e)})},t.prototype.ngOnDestroy=function(){this._unreg&&this._unreg(),this._unreg=null},t.decorators=[{type:i.Directive,args:[{selector:"[virtualScroll]"}]}],t.ctorParameters=[{type:i.IterableDiffers},{type:i.ElementRef},{type:i.Renderer},{type:i.NgZone},{type:i.ChangeDetectorRef},{type:a.a},{type:h.f},{type:c.a,decorators:[{type:i.Optional}]},{type:o.c}],t.propDecorators={_itmTmp:[{type:i.ContentChild,args:[u.c]}],_hdrTmp:[{type:i.ContentChild,args:[u.b]}],_ftrTmp:[{type:i.ContentChild,args:[u.a]}],_imgs:[{type:i.ContentChildren,args:[_.a]}],virtualScroll:[{type:i.Input}],bufferRatio:[{type:i.Input}],approxItemWidth:[{type:i.Input}],approxItemHeight:[{type:i.Input}],approxHeaderWidth:[{type:i.Input}],approxHeaderHeight:[{type:i.Input}],approxFooterWidth:[{type:i.Input}],approxFooterHeight:[{type:i.Input}],headerFn:[{type:i.Input}],footerFn:[{type:i.Input}],virtualTrackBy:[{type:i.Input}]},t}(),d=140,f=20,m=0},function(t,e,n){"use strict";function i(t){return function(){t.setModeConfig("ios",r),t.setModeConfig("md",s),t.setModeConfig("wp",o)}}e.a=i;var r={activator:"highlight",actionSheetEnter:"action-sheet-slide-in",actionSheetLeave:"action-sheet-slide-out",alertEnter:"alert-pop-in",alertLeave:"alert-pop-out",backButtonText:"Back",backButtonIcon:"ios-arrow-back",iconMode:"ios",loadingEnter:"loading-pop-in",loadingLeave:"loading-pop-out",menuType:"reveal",modalEnter:"modal-slide-in",modalLeave:"modal-slide-out",pageTransition:"ios-transition",pageTransitionDelay:16,pickerEnter:"picker-slide-in",pickerLeave:"picker-slide-out",pickerRotateFactor:-.46,popoverEnter:"popover-pop-in",popoverLeave:"popover-pop-out",spinner:"ios",tabsHighlight:!1,tabsPlacement:"bottom",tabsHideOnSubPages:!1,toastEnter:"toast-slide-in",toastLeave:"toast-slide-out"},s={activator:"ripple",actionSheetEnter:"action-sheet-md-slide-in",actionSheetLeave:"action-sheet-md-slide-out",alertEnter:"alert-md-pop-in",alertLeave:"alert-md-pop-out",backButtonText:"",backButtonIcon:"md-arrow-back",iconMode:"md",loadingEnter:"loading-md-pop-in",loadingLeave:"loading-md-pop-out",menuType:"overlay",modalEnter:"modal-md-slide-in",modalLeave:"modal-md-slide-out",pageTransition:"md-transition",pageTransitionDelay:64,pickerEnter:"picker-slide-in",pickerLeave:"picker-slide-out",pickerRotateFactor:0,popoverEnter:"popover-md-pop-in",popoverLeave:"popover-md-pop-out",spinner:"crescent",tabsHighlight:!1,tabsPlacement:"bottom",tabsHideOnSubPages:!1,toastEnter:"toast-md-slide-in",toastLeave:"toast-md-slide-out"},o={activator:"highlight",actionSheetEnter:"action-sheet-wp-slide-in",actionSheetLeave:"action-sheet-wp-slide-out",alertEnter:"alert-wp-pop-in",alertLeave:"alert-wp-pop-out",backButtonText:"",backButtonIcon:"ios-arrow-back",iconMode:"ios",loadingEnter:"loading-wp-pop-in",loadingLeave:"loading-wp-pop-out",menuType:"overlay",modalEnter:"modal-md-slide-in",modalLeave:"modal-md-slide-out",pageTransition:"wp-transition",pageTransitionDelay:96,pickerEnter:"picker-slide-in",pickerLeave:"picker-slide-out",pickerRotateFactor:0,popoverEnter:"popover-md-pop-in",popoverLeave:"popover-md-pop-out",spinner:"circles",tabsHighlight:!1,tabsPlacement:"top",tabsHideOnSubPages:!0,toastEnter:"toast-wp-slide-in",toastLeave:"toast-wp-slide-out"}},function(t,e,n){"use strict";var i=n(383),r=n(131),s=n(498),o=n(20),a=n(226),_=n(151),l=n(499),h=n(46),c=n(500),u=n(291),p=n(35),d=n(193),f=n(384),m=n(385),g=n(501),v=n(138),x=n(44),y=n(227),b=n(502),w=n(111),C=n(112),E=n(386),T=n(295),A=n(503),I=n(228),S=n(293),O=n(297),k=n(504),N=n(505),P=n(152),R=n(506),D=n(387),j=n(298),M=n(229),L=n(507),B=n(388),F=n(508),q=n(389),V=n(509),H=n(510),U=n(511),z=n(512),G=n(513),W=n(514),Y=n(139),$=n(194),X=n(516),J=n(67),Q=n(515),Z=n(390),K=n(292),tt=n(518),et=n(230),nt=n(122),it=n(302),rt=n(519),st=n(520),ot=n(522),at=n(521);n(289);n.d(e,"g",function(){return _t.a});var _t=n(103),lt=n(22);n.d(e,"i",function(){return lt.a}),n.d(e,"a",function(){return v.b}),n.d(e,"c",function(){return ht.a});var ht=n(120),ct=n(113);n.d(e,"k",function(){return ct.a});var ut=(n(880),n(121));n.d(e,"b",function(){return ut.a}),n.d(e,"j",function(){return O.a});var pt=(n(299),n(47));n.d(e,"e",function(){return pt.a}),n.d(e,"f",function(){return Y.b});n(391);n.d(e,"h",function(){return dt.a});var dt=n(172);n(288),n(290),n(294),n(296),n(300),n(301);n.d(e,"d",function(){return ft});var ft=[i.a,r.a,s.a,o.a,a.a,a.b,a.c,a.d,_.a,l.a,p.a,h.a,c.a,u.a,u.b,u.c,nt.a,p.b,nt.b,W.a,d.a,f.a,m.a,g.a,v.b,x.a,x.b,x.c,b.a,y.a,b.b,w.a,C.a,E.a,T.a,A.a,I.a,S.a,O.a,P.a,k.a,k.b,N.a,N.b,S.b,R.a,D.a,j.a,M.a,L.a,B.a,F.a,F.b,q.a,V.a,y.b,p.c,H.a,U.a,z.a,z.b,G.a,W.b,Y.a,Y.b,Y.c,$.a,X.a,J.a,Q.a,Z.a,K.a,K.b,tt.a,et.a,nt.c,it.a,rt.a,st.a,at.a,at.b,at.c,ot.a]},function(t,e,n){"use strict";var i=n(0),r=n(181);n.d(e,"a",function(){return o});var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(){t.apply(this,arguments)}return s(e,t),e.prototype.buildHammer=function(t){var e=new window.Hammer(t);for(var n in this.overrides)e.get(n).set(this.overrides[n]);return e},e.decorators=[{type:i.Injectable}],e.ctorParameters=[],e}(r.f)},function(t,e,n){"use strict";var i=n(17),r=n(888);n.d(e,"a",function(){return s});var s=function(){function t(t,e){void 0===e&&(e={}),this._callbacks={},this.isListening=!1,n.i(i.f)(e,{domEvents:!0}),this.element=t,this.direction=e.direction||"x",e.direction="x"===this.direction?r.a:r.b,this._options=e}return t.prototype.options=function(t){n.i(i.c)(this._options,t)},t.prototype.on=function(t,e){"pinch"!==t&&"rotate"!==t||this._hammer.get("pinch").set({enable:!0}),this._hammer.on(t,e),(this._callbacks[t]||(this._callbacks[t]=[])).push(e)},t.prototype.off=function(t,e){this._hammer.off(t,this._callbacks[t]?e:null)},t.prototype.listen=function(){this.isListening||(this._hammer=n.i(r.c)(this.element,this._options)),this.isListening=!0},t.prototype.unlisten=function(){var t,e;if(this._hammer&&this.isListening){for(t in this._callbacks)for(e=0;e390&&e<520&&n>620&&n<800}},tablet:{isMatch:function(t){var e=Math.min(t.width(),t.height()),n=Math.max(t.width(),t.height());return e>460&&e<820&&n>780&&n<1400}},android:{superset:"mobile",subsets:["phablet","tablet"],settings:{activator:function(t){if(t.testNavigatorPlatform("linux")){var e=t.matchUserAgentVersion(/Chrome\/(\d+).(\d+)?/);if(e)return parseInt(e.major,10)<36?"none":"ripple";if(t.version().major<5)return"none"}return"ripple"},autoFocusAssist:"immediate",hoverCSS:!1,keyboardHeight:300,mode:"md"},isMatch:function(t){return t.isPlatformMatch("android",["android","silk"],["windows phone"])},versionParser:function(t){return t.matchUserAgentVersion(/Android (\d+).(\d+)?/)}},ios:{superset:"mobile",subsets:["ipad","iphone"],settings:{autoFocusAssist:"delay",hoverCSS:!1,inputBlurring:i,inputCloning:i,keyboardHeight:300,mode:"ios",scrollAssist:i,statusbarPadding:!!window.cordova,swipeBackEnabled:i,swipeBackThreshold:40,tapPolyfill:i,virtualScrollEventAssist:!window.indexedDB,canDisableScroll:!!window.indexedDB},isMatch:function(t){return t.isPlatformMatch("ios",["iphone","ipad","ipod"],["windows phone"])},versionParser:function(t){return t.matchUserAgentVersion(/OS (\d+)_(\d+)?/)}},ipad:{superset:"tablet",settings:{keyboardHeight:500},isMatch:function(t){return t.isPlatformMatch("ipad")}},iphone:{subsets:["phablet"],isMatch:function(t){return t.isPlatformMatch("iphone")}},windows:{superset:"mobile",subsets:["phablet","tablet"],settings:{mode:"wp",autoFocusAssist:"immediate",hoverCSS:!1},isMatch:function(t){return t.isPlatformMatch("windows",["windows phone"])},versionParser:function(t){return t.matchUserAgentVersion(/Windows Phone (\d+).(\d+)?/)}},cordova:{isEngine:!0,initialize:function(t){t.prepareReady=function(){n.i(o.g)(function(){document.addEventListener("deviceready",function(){document.addEventListener("backbutton",function(e){ t.zone.run(function(){t.backButton.emit(e)})}),document.addEventListener("pause",function(e){t.zone.run(function(){t.pause.emit(e)})}),document.addEventListener("resume",function(e){t.zone.run(function(){t.resume.emit(e)})}),t.exitApp=function(){window.navigator.app.exitApp()},t.triggerReady("cordova")})})}},isMatch:function(){return!!(window.cordova||window.PhoneGap||window.phonegap)}}},_=new s.OpaqueToken("PLTCONFIG")},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t){this.wait=t,this.timer=null}return t.prototype.debounce=function(t){this.callback=t,this.schedule()},t.prototype.schedule=function(){this.timer&&(clearTimeout(this.timer),this.timer=null),this.wait<=0?this.callback():this.timer=setTimeout(this.callback,this.wait)},t}()},function(t,e,n){"use strict";var i=n(36);n.d(e,"a",function(){return r});var r=function(){function t(t){this._js=!1,this._top=0,this._el=t}return t.prototype.getTop=function(){return this._js?this._top:this._top=this._el.scrollTop},t.prototype.setTop=function(t){this._top=t,this._js?this._el.style[i.k.transform]="translate3d(0px,"+t*-1+"px,0px)":this._el.scrollTop=t},t.prototype.scrollTo=function(t,e,r){var s=this;if(!s._el)return Promise.resolve();t=t||0,e=e||0;var o=s._el.scrollTop,a=s._el.scrollLeft,_=r/16+100;return new Promise(function(l){function h(){if(u++,!s._el||!s.isPlaying||u>_)return s.isPlaying=!1,void l();var p=Math.min(1,(Date.now()-c)/r),d=--p*p*p+1;o!==e&&s.setTop(d*(e-o)+o),a!==t&&(s._el.scrollLeft=Math.floor(d*(t-a)+a)),d<1?n.i(i.l)(h):l()}var c,u=0;s.isPlaying=!0,n.i(i.l)(function(){c=Date.now(),n.i(i.l)(h)})})},t.prototype.scrollToTop=function(t){return this.scrollTo(0,0,t)},t.prototype.scrollToBottom=function(t){var e=0;return this._el&&(e=this._el.scrollHeight-this._el.clientHeight),this.scrollTo(0,e,t)},t.prototype.stop=function(){this.isPlaying=!1},t.prototype.jsScroll=function(t){var e=this;return this._js=!0,this._cb=t,this._pos=[],this._el&&(this._el.addEventListener("touchstart",this._start.bind(this)),this._el.addEventListener("touchmove",this._move.bind(this)),this._el.addEventListener("touchend",this._end.bind(this)),this._el.parentElement.classList.add("js-scroll")),function(){e._el&&(e._el.removeEventListener("touchstart",e._start.bind(e)),e._el.removeEventListener("touchmove",e._move.bind(e)),e._el.removeEventListener("touchend",e._end.bind(e)),e._el.parentElement.classList.remove("js-scroll"))}},t.prototype._start=function(t){this._velocity=0,this._pos.length=0,this._max=null,this._pos.push(n.i(i.c)(t).y,Date.now())},t.prototype._move=function(t){if(this._pos.length){var e=n.i(i.c)(t).y;this._setMax(),this._top-=e-this._pos[this._pos.length-2],this._top=Math.min(Math.max(this._top,0),this._max),this._pos.push(e,Date.now()),this._cb(this._top),this.setTop(this._top)}},t.prototype._setMax=function(){this._max||(this._max=this._el.offsetHeight-this._el.parentElement.offsetHeight+this._el.parentElement.offsetTop)},t.prototype._end=function(t){var e=this._pos;if(this._velocity=0,n.i(i.m)(this._rafId),e.length){var r=n.i(i.c)(t).y;e.push(r,Date.now());for(var o=e.length-1,a=o,l=Date.now()-100,h=o;h>0&&e[h]>l;h-=2)a=h;if(a!==o){var c=e[o]-e[a],u=e[a-1]-e[o-1];this._velocity=u/c*_,Math.abs(this._velocity)>s&&(this._setMax(),this._rafId=n.i(i.l)(this._decelerate.bind(this)))}e.length=0}},t.prototype._decelerate=function(){var t=this;t._velocity&&(t._velocity*=a,t._top=Math.min(Math.max(t._top+t._velocity,0),t._max),t._cb(t._top),t.setTop(t._top),t._top>0&&t._topo&&(t._rafId=n.i(i.l)(t._decelerate.bind(t))))},t.prototype.destroy=function(){this._velocity=0,this.stop(),this._el=null},t}(),s=4,o=.12,a=.97,_=1e3/60},function(t,e,n){"use strict";var i=n(897),r=n(534),s=n(535),o=n(536),a=n(537),_=n(538),l=n(539),h=n(542),c=n(540),u=n(541),p=n(543),d=n(544),f=n(545),m=n(548),g=n(546),v=n(547),x=n(549),y=n(550),b=n(552),w=n(551),C=n(553),E=n(554),T=n(555),A=n(556),I=n(557),S=n(558),O=n(559),k=n(560),N=n(561),P=n(562),R=n(563),D=n(564),j=n(565),M=n(566),L=n(567),B=n(568),F=n(569),q=n(572),V=n(570),H=n(571),U=n(573),z=n(574),G=n(575),W=n(576),Y=n(577),$=n(578),X=n(580),J=n(579),Q=n(581),Z=n(582),K=n(583),tt=n(584),et=n(585),nt=n(586),it=n(587),rt=n(588),st=n(589),ot=n(590),at=n(591),_t=n(592),lt=n(593),ht=n(594),ct=n(595),ut=n(597),pt=n(601),dt=n(602),ft=n(603),mt=n(596),gt=n(598),vt=n(599),xt=n(600),yt=n(604),bt=n(605),wt=n(606),Ct=n(608),Et=n(614),Tt=n(607),At=n(609),It=n(610),St=n(611),Ot=n(612),kt=n(613),Nt=n(615),Pt=n(616),Rt=n(617),Dt=n(618),jt=n(619),Mt=n(620),Lt=n(621),Bt=n(622),Ft=n(623),qt=n(624),Vt=n(625),Ht=n(626),Ut=n(533),zt=n(629),Gt=n(630),Wt=n(627),Yt=n(628),$t=n(631),Xt=n(632),Jt=n(633),Qt=n(634),Zt=n(635),Kt=n(636),te=n(637),ee=n(638);n.d(e,"c",function(){return U.a});n(3);n.d(e,"b",function(){return Bt.a}),n.d(e,"a",function(){return qt.a});var ne=2e3;window.IonicNative={ActionSheet:r.a,AdMob:s.a,AndroidFingerprintAuth:o.a,AppAvailability:a.a,AppRate:_.a,AppVersion:l.a,Badge:h.a,BackgroundGeolocation:c.a,BackgroundMode:u.a,BarcodeScanner:p.a,Base64ToGallery:d.a,BatteryStatus:f.a,Brightness:m.a,BLE:g.a,BluetoothSerial:v.a,Calendar:x.a,CallNumber:y.a,Camera:b.a,CameraPreview:w.a,CardIO:C.a,Clipboard:E.a,CodePush:T.a,Contacts:A.a,Crop:I.a,DatePicker:S.a,DBMeter:O.a,Deeplinks:k.a,Device:N.a,DeviceAccounts:P.a,DeviceMotion:R.a,DeviceOrientation:D.a,Dialogs:M.a,Diagnostic:j.a,EmailComposer:L.a,EstimoteBeacons:B.a,Facebook:F.a,File:q.a,FileChooser:V.a,FileOpener:H.a,Flashlight:z.a,Geofence:G.a,Geolocation:W.a,Globalization:Y.a,GooglePlus:$.a,GoogleMap:X.a,GoogleAnalytics:J.a,Hotspot:Q.a,HTTP:Z.a,Httpd:K.a,IBeacon:tt.a,ImagePicker:et.a,ImageResizer:nt.a,InAppBrowser:it.a,InAppPurchase:rt.a,Insomnia:st.a,Instagram:ot.a,IsDebug:at.a,Keyboard:_t.a,LaunchNavigator:lt.a,LocalNotifications:ht.a,LocationAccuracy:ct.a,Market:mt.a,MediaCapture:ut.a,MediaPlugin:gt.a,Mixpanel:vt.a,MusicControls:xt.a,NativeAudio:pt.a,NativePageTransitions:dt.a,NativeStorage:ft.a,Network:yt.a,PayPal:Tt.a,NFC:bt.a,Printer:St.a,Push:Ot.a,OneSignal:wt.a,PhotoViewer:Ct.a,ScreenOrientation:Et.a,PinDialog:At.a,PowerManagement:It.a,SafariViewController:kt.a,Screenshot:Nt.a,SecureStorage:Pt.a,Shake:Rt.a,Sim:Dt.a,SMS:jt.a,SocialSharing:Mt.a,SpinnerDialog:Lt.a,Splashscreen:Bt.a,SQLite:Ft.a,StatusBar:qt.a,Stepcounter:Vt.a,StreamingMedia:Ht.a,ThreeDeeTouch:Ut.a,Toast:zt.a,TouchID:Gt.a,Transfer:U.a,TextToSpeech:Wt.a,ThemeableBrowser:Yt.a,TwitterConnect:$t.a,VideoEditor:Jt.a,VideoPlayer:Qt.a,Vibration:Xt.a,WebIntent:Zt.a,YoutubeVideoPlayer:Kt.a,ZBar:te.a,Zip:ee.a},n.i(i.a)(window.IonicNative);var ie=Date.now(),re=!1;document.addEventListener("deviceready",function(){console.log("DEVICE READY FIRED AFTER",Date.now()-ie,"ms"),re=!0}),setTimeout(function(){!re&&window.cordova&&console.warn("Native: deviceready did not fire within "+ne+"ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.")},ne)},function(t,e,n){"use strict";var i=n(3),r=n(1);n.n(r);n.d(e,"a",function(){return o});var s=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},o=function(){function t(){}return t.isAvailable=function(){},t.watchForceTouches=function(){},t.configureQuickActions=function(t){},t.onHomeIconPressed=function(){return new r.Observable(function(t){window.ThreeDeeTouch&&window.ThreeDeeTouch.onHomeIconPressed?window.ThreeDeeTouch.onHomeIconPressed=t.next.bind(t):(t.error("3dTouch plugin is not available."),t.complete())})},t.enableLinkPreview=function(){},t.disableLinkPreview=function(){},s([n.i(i.a)()],t,"isAvailable",null),s([n.i(i.a)({observable:!0})],t,"watchForceTouches",null),s([n.i(i.a)({sync:!0})],t,"configureQuickActions",null),s([n.i(i.a)({sync:!0})],t,"enableLinkPreview",null),s([n.i(i.a)({sync:!0})],t,"disableLinkPreview",null),t=s([n.i(i.b)({plugin:"cordova-plugin-3dtouch",pluginRef:"ThreeDeeTouch",repo:"https://github.com/EddyVerbruggen/cordova-plugin-3dtouch",platforms:["iOS"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.show=function(t){},t.hide=function(t){},r([n.i(i.a)()],t,"show",null),r([n.i(i.a)()],t,"hide",null),t=r([n.i(i.b)({plugin:"cordova-plugin-actionsheet",pluginRef:"plugins.actionsheet",repo:"https://github.com/EddyVerbruggen/cordova-plugin-actionsheet",platforms:["Android","iOS","Windows Phone 8"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.createBanner=function(t){},t.removeBanner=function(){},t.showBanner=function(t){},t.showBannerAtXY=function(t,e){},t.hideBanner=function(){},t.prepareInterstitial=function(t){},t.showInterstitial=function(){},t.isInterstitialReady=function(){},t.prepareRewardVideoAd=function(t){},t.showRewardVideoAd=function(){},t.setOptions=function(t){},t.getAdSettings=function(){},t.onBannerFailedToReceive=function(){},t.onBannerReceive=function(){},t.onBannerPresent=function(){},t.onBannerLeaveApp=function(){},t.onBannerDismiss=function(){},t.onInterstitialFailedToReceive=function(){},t.onInterstitialReceive=function(){},t.onInterstitialPresent=function(){},t.onInterstitialLeaveApp=function(){},t.onInterstitialDismiss=function(){},r([n.i(i.a)()],t,"createBanner",null),r([n.i(i.a)({sync:!0})],t,"removeBanner",null),r([n.i(i.a)({sync:!0})],t,"showBanner",null),r([n.i(i.a)({sync:!0})],t,"showBannerAtXY",null),r([n.i(i.a)({sync:!0})],t,"hideBanner",null),r([n.i(i.a)()],t,"prepareInterstitial",null),r([n.i(i.a)({sync:!0})],t,"showInterstitial",null),r([n.i(i.a)()],t,"isInterstitialReady",null),r([n.i(i.a)()],t,"prepareRewardVideoAd",null),r([n.i(i.a)({sync:!0})],t,"showRewardVideoAd",null),r([n.i(i.a)()],t,"setOptions",null),r([n.i(i.a)()],t,"getAdSettings",null),r([n.i(i.a)({eventObservable:!0,event:"onBannerFailedToReceive"})],t,"onBannerFailedToReceive",null),r([n.i(i.a)({eventObservable:!0,event:"onBannerReceive"})],t,"onBannerReceive",null),r([n.i(i.a)({eventObservable:!0,event:"onBannerPresent"})],t,"onBannerPresent",null),r([n.i(i.a)({eventObservable:!0,event:"onBannerLeaveApp"})],t,"onBannerLeaveApp",null),r([n.i(i.a)({eventObservable:!0,event:"onBannerDismiss"})],t,"onBannerDismiss",null),r([n.i(i.a)({eventObservable:!0,event:"onInterstitialFailedToReceive"})],t,"onInterstitialFailedToReceive",null),r([n.i(i.a)({eventObservable:!0,event:"onInterstitialReceive"})],t,"onInterstitialReceive",null),r([n.i(i.a)({eventObservable:!0,event:"onInterstitialPresent"})],t,"onInterstitialPresent",null),r([n.i(i.a)({eventObservable:!0,event:"onInterstitialLeaveApp"})],t,"onInterstitialLeaveApp",null),r([n.i(i.a)({eventObservable:!0,event:"onInterstitialDismiss"})],t,"onInterstitialDismiss",null),t=r([n.i(i.b)({plugin:"cordova-plugin-admobpro",pluginRef:"AdMob",repo:"https://github.com/floatinghotpot/cordova-admob-pro",platforms:["Android","iOS","Windows Phone 8"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.show=function(t){},t.isAvailable=function(){},r([n.i(i.a)()],t,"show",null),r([n.i(i.a)()],t,"isAvailable",null),t=r([n.i(i.b)({plugin:"cordova-plugin-android-fingerprint-auth",pluginRef:"FingerprintAuth",repo:"https://github.com/mjwheatley/cordova-plugin-android-fingerprint-auth"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.check=function(t){},r([n.i(i.a)()],t,"check",null),t=r([n.i(i.b)({plugin:"cordova-plugin-appavailability",pluginRef:"appAvailability",repo:"https://github.com/ohh2ahh/AppAvailability",platforms:["Android","iOS"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return Object.defineProperty(t,"preferences",{get:function(){return window.AppRate.preferences},enumerable:!0,configurable:!0}),t.promptForRating=function(t){},r([i.c],t,"preferences",null),r([n.i(i.a)()],t,"promptForRating",null),t=r([n.i(i.b)({plugin:"cordova-plugin-apprate",pluginRef:"AppRate",repo:"https://github.com/pushandplay/cordova-plugin-apprate",platforms:["Android","iOS"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.getAppName=function(){},t.getPackageName=function(){},t.getVersionCode=function(){},t.getVersionNumber=function(){},r([n.i(i.a)()],t,"getAppName",null),r([n.i(i.a)()],t,"getPackageName",null),r([n.i(i.a)()],t,"getVersionCode",null),r([n.i(i.a)()],t,"getVersionNumber",null),t=r([n.i(i.b)({plugin:"cordova-plugin-app-version",pluginRef:"cordova.getAppVersion",repo:"https://github.com/whiteoctober/cordova-plugin-app-version",platforms:["Android","iOS"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.configure=function(t,e,n){},t.start=function(){},t.stop=function(){},t.finish=function(){},t.changePace=function(t){},t.setConfig=function(t){},t.getStationaryLocation=function(){},t.onStationary=function(){},t.isLocationEnabled=function(){},t.showAppSettings=function(){},t.showLocationSettings=function(){},t.watchLocationMode=function(){},t.stopWatchingLocationMode=function(){},t.getLocations=function(){},t.getValidLocations=function(){},t.deleteLocation=function(t){},t.deleteAllLocations=function(){},t.switchMode=function(t){},t.getLogEntries=function(t){},t.LocationProvider={ANDROID_DISTANCE_FILTER_PROVIDER:0,ANDROID_ACTIVITY_PROVIDER:1},t.Accuracy={HIGH:0,MEDIUM:10,LOW:100,PASSIVE:1e3},t.Mode={BACKGROUND:0,FOREGROUND:1},r([n.i(i.a)({sync:!0})],t,"configure",null),r([n.i(i.a)()],t,"start",null),r([n.i(i.a)()],t,"stop",null),r([n.i(i.a)()],t,"finish",null),r([n.i(i.a)()],t,"changePace",null),r([n.i(i.a)({callbackOrder:"reverse"})],t,"setConfig",null),r([n.i(i.a)()],t,"getStationaryLocation",null),r([n.i(i.a)()],t,"onStationary",null),r([n.i(i.a)()],t,"isLocationEnabled",null),r([n.i(i.a)({sync:!0})],t,"showAppSettings",null),r([n.i(i.a)({sync:!0})],t,"showLocationSettings",null),r([n.i(i.a)()],t,"watchLocationMode",null),r([n.i(i.a)()],t,"stopWatchingLocationMode",null),r([n.i(i.a)()],t,"getLocations",null),r([n.i(i.a)()],t,"getValidLocations",null),r([n.i(i.a)()],t,"deleteLocation",null),r([n.i(i.a)()],t,"deleteAllLocations",null),r([n.i(i.a)()],t,"switchMode",null),r([n.i(i.a)()],t,"getLogEntries",null),t=r([n.i(i.b)({plugin:"cordova-plugin-mauron85-background-geolocation",pluginRef:"backgroundGeolocation",repo:"https://github.com/mauron85/cordova-plugin-background-geolocation",platforms:["iOS","Android","Windows Phone 8"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.enable=function(){},t.disable=function(){},t.isEnabled=function(){},t.isActive=function(){},t.setDefaults=function(t){},t.configure=function(t){},t.onactivate=function(){},t.ondeactivate=function(){},t.onfailure=function(){},r([n.i(i.a)({sync:!0})],t,"enable",null),r([n.i(i.a)()],t,"disable",null),r([n.i(i.a)()],t,"isEnabled",null),r([n.i(i.a)()],t,"isActive",null),r([n.i(i.a)({platforms:["Android"]})],t,"setDefaults",null),r([n.i(i.a)({platforms:["Android"]})],t,"configure",null),r([n.i(i.h)()],t,"onactivate",null),r([n.i(i.h)()],t,"ondeactivate",null),r([n.i(i.h)()],t,"onfailure",null),t=r([n.i(i.b)({plugin:"cordova-plugin-background-mode",pluginRef:"cordova.plugins.backgroundMode",repo:"https://github.com/katzer/cordova-plugin-background-mode",platforms:["Android","iOS","Windows Phone 8"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.clear=function(){},t.set=function(t){},t.get=function(){},t.increase=function(t){},t.decrease=function(t){},t.hasPermission=function(){},t.registerPermission=function(){},r([n.i(i.a)()],t,"clear",null),r([n.i(i.a)()],t,"set",null),r([n.i(i.a)()],t,"get",null),r([n.i(i.a)()],t,"increase",null),r([n.i(i.a)()],t,"decrease",null),r([n.i(i.a)()],t,"hasPermission",null),r([n.i(i.a)()],t,"registerPermission",null),t=r([n.i(i.b)({plugin:"cordova-plugin-badge",pluginRef:"cordova.plugins.notification.badge",repo:"https://github.com/katzer/cordova-plugin-badge",platforms:["Android","iOS","Browser","Windows","Amazon FireOS","Windows Phone 8"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.scan=function(t){},t.encode=function(t,e){},t.Encode={TEXT_TYPE:"TEXT_TYPE",EMAIL_TYPE:"EMAIL_TYPE",PHONE_TYPE:"PHONE_TYPE",SMS_TYPE:"SMS_TYPE"},r([n.i(i.a)({callbackOrder:"reverse"})],t,"scan",null),r([n.i(i.a)()],t,"encode",null),t=r([n.i(i.b)({plugin:"phonegap-plugin-barcodescanner",pluginRef:"cordova.plugins.barcodeScanner",repo:"https://github.com/phonegap/phonegap-plugin-barcodescanner",platforms:["Android","iOS","Windows Phone 8","Windows 10","Windows 8","BlackBerry 10","Browser"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.base64ToGallery=function(t,e){},r([n.i(i.a)({successIndex:2,errorIndex:3})],t,"base64ToGallery",null),t=r([n.i(i.b)({plugin:"cordova-base64-to-gallery",pluginRef:"cordova",repo:"https://github.com/Nexxa/cordova-base64-to-gallery",platforms:["Android","iOS","Windows Phone 8"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.onChange=function(){},t.onLow=function(){},t.onCritical=function(){},r([n.i(i.a)({eventObservable:!0,event:"batterystatus"})],t,"onChange",null),r([n.i(i.a)({eventObservable:!0,event:"batterylow"})],t,"onLow",null),r([n.i(i.a)({eventObservable:!0,event:"batterycritical"})],t,"onCritical",null),t=r([n.i(i.b)({plugin:"cordova-plugin-battery-status",repo:"https://github.com/apache/cordova-plugin-battery-status",platforms:["Amazon Fire OS","iOS","Android","BlackBerry 10","Windows Phone 7","Windows Phone 8","Windows","Firefox OS","Browser"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.scan=function(t,e){},t.startScan=function(t){},t.startScanWithOptions=function(t,e){},t.stopScan=function(){},t.connect=function(t){},t.disconnect=function(t){},t.read=function(t,e,n){},t.write=function(t,e,n,i){},t.writeWithoutResponse=function(t,e,n,i){},t.startNotification=function(t,e,n){},t.stopNotification=function(t,e,n){},t.isConnected=function(t){},t.isEnabled=function(){},t.showBluetoothSettings=function(){},t.enable=function(){},r([n.i(i.a)({observable:!0})],t,"scan",null),r([n.i(i.a)({observable:!0,clearFunction:"stopScan",clearWithArgs:!0})],t,"startScan",null),r([n.i(i.a)({observable:!0,clearFunction:"stopScan",clearWithArgs:!0})],t,"startScanWithOptions",null),r([n.i(i.a)()],t,"stopScan",null),r([n.i(i.a)({observable:!0,clearFunction:"disconnect",clearWithArgs:!0})],t,"connect",null),r([n.i(i.a)()],t,"disconnect",null),r([n.i(i.a)()],t,"read",null),r([n.i(i.a)()],t,"write",null),r([n.i(i.a)()],t,"writeWithoutResponse",null),r([n.i(i.a)({observable:!0,clearFunction:"stopNotification",clearWithArgs:!0})],t,"startNotification",null),r([n.i(i.a)()],t,"stopNotification",null),r([n.i(i.a)()],t,"isConnected",null),r([n.i(i.a)()],t,"isEnabled",null),r([n.i(i.a)()],t,"showBluetoothSettings",null),r([n.i(i.a)()],t,"enable",null),t=r([n.i(i.b)({plugin:"cordova-plugin-ble-central",pluginRef:"ble",repo:"https://github.com/don/cordova-plugin-ble-central",platforms:["iOS","Android"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.connect=function(t){},t.connectInsecure=function(t){},t.write=function(t){},t.available=function(){},t.read=function(){},t.readUntil=function(t){},t.subscribe=function(t){},t.subscribeRawData=function(){},t.clear=function(){},t.list=function(){},t.isEnabled=function(){},t.isConnected=function(){},t.readRSSI=function(){},t.showBluetoothSettings=function(){},t.enable=function(){},t.discoverUnpaired=function(){},t.setDeviceDiscoveredListener=function(){},t.setName=function(t){},t.setDiscoverable=function(t){},r([n.i(i.a)({platforms:["Android","iOS","Windows Phone"],observable:!0,clearFunction:"disconnect"})],t,"connect",null),r([n.i(i.a)({platforms:["Android"],observable:!0,clearFunction:"disconnect"})],t,"connectInsecure",null),r([n.i(i.a)({platforms:["Android","iOS","Windows Phone"]})],t,"write",null),r([n.i(i.a)({platforms:["Android","iOS","Windows Phone"]})],t,"available",null),r([n.i(i.a)({platforms:["Android","iOS","Windows Phone"]})],t,"read",null),r([n.i(i.a)({platforms:["Android","iOS","Windows Phone"]})],t,"readUntil",null),r([n.i(i.a)({platforms:["Android","iOS","Windows Phone"],observable:!0,clearFunction:"unsubscribe"})],t,"subscribe",null),r([n.i(i.a)({platforms:["Android","iOS","Windows Phone"],observable:!0,clearFunction:"unsubscribeRawData"})],t,"subscribeRawData",null),r([n.i(i.a)({platforms:["Android","iOS","Windows Phone"]})],t,"clear",null),r([n.i(i.a)({platforms:["Android","iOS","Windows Phone"]})],t,"list",null),r([n.i(i.a)({platforms:["Android","iOS","Windows Phone"]})],t,"isEnabled",null),r([n.i(i.a)({platforms:["Android","iOS","Windows Phone"]})],t,"isConnected",null),r([n.i(i.a)({platforms:["Android","iOS","Windows Phone"]})],t,"readRSSI",null),r([n.i(i.a)({platforms:["Android","iOS","Windows Phone"]})],t,"showBluetoothSettings",null),r([n.i(i.a)({platforms:["Android","iOS","Windows Phone"]})],t,"enable",null),r([n.i(i.a)({platforms:["Android","iOS","Windows Phone"]})],t,"discoverUnpaired",null),r([n.i(i.a)({platforms:["Android","iOS","Windows Phone"],observable:!0,clearFunction:"clearDeviceDiscoveredListener"})],t,"setDeviceDiscoveredListener",null),r([n.i(i.a)({platforms:["Android"],sync:!0})],t,"setName",null),r([n.i(i.a)({platforms:["Android"],sync:!0})],t,"setDiscoverable",null),t=r([n.i(i.b)({repo:"https://github.com/don/BluetoothSerial",plugin:"cordova-plugin-bluetooth-serial",pluginRef:"bluetoothSerial",platforms:["Android","iOS","Windows Phone","Browser"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.setBrightness=function(t){},t.getBrightness=function(){},t.setKeepScreenOn=function(t){},r([n.i(i.a)()],t,"setBrightness",null),r([n.i(i.a)()],t,"getBrightness",null),r([n.i(i.a)()],t,"setKeepScreenOn",null),t=r([n.i(i.b)({plugin:"cordova-plugin-brightness",pluginRef:"cordova.plugins.brightness",repo:"https://github.com/mgcrea/cordova-plugin-brightness",platforms:["Android","iOS"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.hasReadWritePermission=function(){},t.hasReadPermission=function(){},t.hasWritePermission=function(){},t.requestWritePermission=function(){},t.requestReadPermission=function(){},t.requestReadWritePermission=function(){},t.createCalendar=function(t){},t.deleteCalendar=function(t){},t.getCalendarOptions=function(){return{firstReminderMinutes:60,secondReminderMinutes:null,recurrence:null,recurrenceInterval:1,recurrenceEndDate:null,calendarName:null,calendarId:null,url:null}},t.createEvent=function(t,e,n,i,r){},t.createEventWithOptions=function(t,e,n,i,r,s){},t.createEventInteractively=function(t,e,n,i,r){},t.createEventInteractivelyWithOptions=function(t,e,n,i,r,s){},t.findEvent=function(t,e,n,i,r){},t.findEventWithOptions=function(t,e,n,i,r,s){},t.listEventsInRange=function(t,e){},t.listCalendars=function(){},t.findAllEventsInNamedCalendar=function(t){},t.modifyEvent=function(t,e,n,i,r,s,o,a,_,l){},t.modifyEventWithOptions=function(t,e,n,i,r,s,o,a,_,l,h,c){},t.deleteEvent=function(t,e,n,i,r){},t.deleteEventFromNamedCalendar=function(t,e,n,i,r,s){},t.openCalendar=function(t){},r([n.i(i.a)()],t,"hasReadWritePermission",null),r([n.i(i.a)()],t,"hasReadPermission",null),r([n.i(i.a)()],t,"hasWritePermission",null),r([n.i(i.a)()],t,"requestWritePermission",null),r([n.i(i.a)()],t,"requestReadPermission",null),r([n.i(i.a)()],t,"requestReadWritePermission",null),r([n.i(i.a)()],t,"createCalendar",null),r([n.i(i.a)()],t,"deleteCalendar",null),r([n.i(i.a)({sync:!0})],t,"getCalendarOptions",null),r([n.i(i.a)()],t,"createEvent",null),r([n.i(i.a)()],t,"createEventWithOptions",null),r([n.i(i.a)()],t,"createEventInteractively",null),r([n.i(i.a)()],t,"createEventInteractivelyWithOptions",null),r([n.i(i.a)()],t,"findEvent",null),r([n.i(i.a)()],t,"findEventWithOptions",null),r([n.i(i.a)()],t,"listEventsInRange",null),r([n.i(i.a)()],t,"listCalendars",null),r([n.i(i.a)()],t,"findAllEventsInNamedCalendar",null),r([n.i(i.a)()],t,"modifyEvent",null),r([n.i(i.a)()],t,"modifyEventWithOptions",null),r([n.i(i.a)()],t,"deleteEvent",null),r([n.i(i.a)()],t,"deleteEventFromNamedCalendar",null),r([n.i(i.a)()],t,"openCalendar",null),t=r([n.i(i.b)({plugin:"cordova-plugin-calendar",pluginRef:"plugins.calendar",repo:"https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin",platforms:["Android","iOS"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.callNumber=function(t,e){},r([n.i(i.a)({callbackOrder:"reverse"})],t,"callNumber",null),t=r([n.i(i.b)({plugin:"call-number",pluginRef:"plugins.CallNumber",repo:"https://github.com/Rohfosho/CordovaCallNumberPlugin",platforms:["iOS","Android"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){ function t(){}return t.startCamera=function(t,e,n,i,r,s){},t.stopCamera=function(){},t.takePicture=function(t){},t.setOnPictureTakenHandler=function(){},t.switchCamera=function(){},t.show=function(){},t.hide=function(){},t.setColorEffect=function(t){},r([n.i(i.a)({sync:!0})],t,"startCamera",null),r([n.i(i.a)({sync:!0})],t,"stopCamera",null),r([n.i(i.a)({sync:!0})],t,"takePicture",null),r([n.i(i.a)({observable:!0})],t,"setOnPictureTakenHandler",null),r([n.i(i.a)({sync:!0})],t,"switchCamera",null),r([n.i(i.a)({sync:!0})],t,"show",null),r([n.i(i.a)({sync:!0})],t,"hide",null),r([n.i(i.a)({sync:!0})],t,"setColorEffect",null),t=r([n.i(i.b)({plugin:"cordova-plugin-camera-preview",pluginRef:"cordova.plugins.camerapreview",repo:"https://github.com/westonganger/cordova-plugin-camera-preview",platforms:["Android","iOS"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.getPicture=function(t){},t.cleanup=function(){},t.DestinationType={DATA_URL:0,FILE_URI:1,NATIVE_URI:2},t.EncodingType={JPEG:0,PNG:1},t.MediaType={PICTURE:0,VIDEO:1,ALLMEDIA:2},t.PictureSourceType={PHOTOLIBRARY:0,CAMERA:1,SAVEDPHOTOALBUM:2},t.PopoverArrowDirection={ARROW_UP:1,ARROW_DOWN:2,ARROW_LEFT:4,ARROW_RIGHT:8,ARROW_ANY:15},t.Direction={BACK:0,FRONT:1},r([n.i(i.a)({callbackOrder:"reverse"})],t,"getPicture",null),r([n.i(i.a)({platforms:["iOS"]})],t,"cleanup",null),t=r([n.i(i.b)({plugin:"cordova-plugin-camera",pluginRef:"navigator.camera",repo:"https://github.com/apache/cordova-plugin-camera",platforms:["Android","BlackBerry","Browser","Firefox","FireOS","iOS","Windows","Windows Phone 8","Ubuntu"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.canScan=function(){},t.scan=function(t){},t.version=function(){},r([n.i(i.a)()],t,"canScan",null),r([n.i(i.a)()],t,"scan",null),r([n.i(i.a)()],t,"version",null),t=r([n.i(i.b)({plugin:"https://github.com/card-io/card.io-Cordova-Plugin",pluginRef:"CardIO",repo:"https://github.com/card-io/card.io-Cordova-Plugin",platforms:["iOS","Android"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.copy=function(t){},t.paste=function(){},r([n.i(i.a)()],t,"copy",null),r([n.i(i.a)()],t,"paste",null),t=r([n.i(i.b)({plugin:"https://github.com/VersoSolutions/CordovaClipboard.git",pluginRef:"cordova.plugins.clipboard",repo:"https://github.com/VersoSolutions/CordovaClipboard",platforms:["Amazon Fire OS","iOS","Android","BlackBerry 10","Windows Phone 7","Windows Phone 8","Windows","Firefox OS","Browser"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return a});var r,s=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o};!function(t){t[t.UP_TO_DATE=0]="UP_TO_DATE",t[t.UPDATE_INSTALLED=1]="UPDATE_INSTALLED",t[t.UPDATE_IGNORED=2]="UPDATE_IGNORED",t[t.ERROR=3]="ERROR",t[t.IN_PROGRESS=4]="IN_PROGRESS",t[t.CHECKING_FOR_UPDATE=5]="CHECKING_FOR_UPDATE",t[t.AWAITING_USER_ACTION=6]="AWAITING_USER_ACTION",t[t.DOWNLOADING_PACKAGE=7]="DOWNLOADING_PACKAGE",t[t.INSTALLING_UPDATE=8]="INSTALLING_UPDATE"}(r||(r={}));var o;!function(t){t[t.IMMEDIATE=0]="IMMEDIATE",t[t.ON_NEXT_RESTART=1]="ON_NEXT_RESTART",t[t.ON_NEXT_RESUME=2]="ON_NEXT_RESUME"}(o||(o={}));var a=function(){function t(){}return t.getCurrentPackage=function(){},t.getPendingPackage=function(){},t.checkForUpdate=function(t){},t.notifyApplicationReady=function(){},t.restartApplication=function(){},t.sync=function(t,e){},s([n.i(i.a)()],t,"getCurrentPackage",null),s([n.i(i.a)()],t,"getPendingPackage",null),s([n.i(i.a)({callbackOrder:"reverse"})],t,"checkForUpdate",null),s([n.i(i.a)()],t,"notifyApplicationReady",null),s([n.i(i.a)()],t,"restartApplication",null),s([n.i(i.a)({observable:!0,successIndex:0,errorIndex:3})],t,"sync",null),t=s([n.i(i.b)({plugin:"cordova-plugin-code-push",pluginRef:"codePush",repo:"https://github.com/Microsoft/cordova-plugin-code-push",platforms:["Android","iOS"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return o});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){this._objectInstance=navigator.contacts.create()}return Object.defineProperty(t.prototype,"id",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"displayName",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nickname",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"phoneNumbers",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"emails",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"addresses",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ims",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"organizations",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"birthday",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"note",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"photos",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"categories",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"urls",{get:function(){},enumerable:!0,configurable:!0}),t.prototype.clone=function(){var e=new t;for(var n in this){if("id"===n)return;e[n]=this[n]}return e},t.prototype.remove=function(){},t.prototype.save=function(){},r([i.g],t.prototype,"id",null),r([i.g],t.prototype,"displayName",null),r([i.g],t.prototype,"name",null),r([i.g],t.prototype,"nickname",null),r([i.g],t.prototype,"phoneNumbers",null),r([i.g],t.prototype,"emails",null),r([i.g],t.prototype,"addresses",null),r([i.g],t.prototype,"ims",null),r([i.g],t.prototype,"organizations",null),r([i.g],t.prototype,"birthday",null),r([i.g],t.prototype,"note",null),r([i.g],t.prototype,"photos",null),r([i.g],t.prototype,"categories",null),r([i.g],t.prototype,"urls",null),r([n.i(i.d)()],t.prototype,"remove",null),r([n.i(i.d)()],t.prototype,"save",null),t}(),o=(function(){function t(t,e,n,i,r,s){this._objectInstance=new window.ContactName(t,e,n,i,r,s)}return Object.defineProperty(t.prototype,"formatted",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"familyName",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"givenName",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"middleName",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"honorificPrefix",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"honorificSuffix",{get:function(){},enumerable:!0,configurable:!0}),r([i.g],t.prototype,"formatted",null),r([i.g],t.prototype,"familyName",null),r([i.g],t.prototype,"givenName",null),r([i.g],t.prototype,"middleName",null),r([i.g],t.prototype,"honorificPrefix",null),r([i.g],t.prototype,"honorificSuffix",null),t}(),function(){function t(t,e,n){this._objectInstance=new window.ContactField(t,e,n)}return Object.defineProperty(t.prototype,"type",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pref",{get:function(){},enumerable:!0,configurable:!0}),r([i.g],t.prototype,"type",null),r([i.g],t.prototype,"value",null),r([i.g],t.prototype,"pref",null),t}(),function(){function t(t,e,n,i,r,s,o,a){this._objectInstance=new window.ContactAddress(t,e,n,i,r,s,o,a)}return Object.defineProperty(t.prototype,"pref",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formatted",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"streetAddress",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"locality",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"region",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"postalCode",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"country",{get:function(){},enumerable:!0,configurable:!0}),r([i.g],t.prototype,"pref",null),r([i.g],t.prototype,"type",null),r([i.g],t.prototype,"formatted",null),r([i.g],t.prototype,"streetAddress",null),r([i.g],t.prototype,"locality",null),r([i.g],t.prototype,"region",null),r([i.g],t.prototype,"postalCode",null),r([i.g],t.prototype,"country",null),t}(),function(){function t(){this._objectInstance=new window.ContactOrganization}return Object.defineProperty(t.prototype,"pref",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"department",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"title",{get:function(){},enumerable:!0,configurable:!0}),r([i.g],t.prototype,"pref",null),r([i.g],t.prototype,"type",null),r([i.g],t.prototype,"name",null),r([i.g],t.prototype,"department",null),r([i.g],t.prototype,"title",null),t}(),function(){function t(){this._objectInstance=new window.ContactFindOptions}return Object.defineProperty(t.prototype,"filter",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"multiple",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"desiredFields",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasPhoneNumber",{get:function(){},enumerable:!0,configurable:!0}),r([i.g],t.prototype,"filter",null),r([i.g],t.prototype,"multiple",null),r([i.g],t.prototype,"desiredFields",null),r([i.g],t.prototype,"hasPhoneNumber",null),t}(),function(){function t(){}return t.create=function(){return new s},t.find=function(t,e){},t.pickContact=function(){},r([n.i(i.a)({successIndex:1,errorIndex:2})],t,"find",null),r([n.i(i.a)()],t,"pickContact",null),t=r([n.i(i.b)({plugin:"cordova-plugin-contacts",pluginRef:"navigator.contacts",repo:"https://github.com/apache/cordova-plugin-contacts"})],t)}())},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.crop=function(t,e){},r([n.i(i.a)({callbackOrder:"reverse"})],t,"crop",null),t=r([n.i(i.b)({plugin:"cordova-plugin-crop",pluginRef:"plugins",repo:"https://github.com/jeduan/cordova-plugin-crop"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.show=function(t){},t.ANDROID_THEMES={THEME_TRADITIONAL:1,THEME_HOLO_DARK:2,THEME_HOLO_LIGHT:3,THEME_DEVICE_DEFAULT_DARK:4,THEME_DEVICE_DEFAULT_LIGHT:5},r([n.i(i.a)()],t,"show",null),t=r([n.i(i.b)({plugin:"cordova-plugin-datepicker",pluginRef:"datePicker",repo:"https://github.com/VitaliiBlagodir/cordova-plugin-datepicker"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.start=function(){},t.stop=function(){},t.isListening=function(){},t.delete=function(){},r([n.i(i.a)({observable:!0,clearFunction:"stop"})],t,"start",null),r([n.i(i.a)()],t,"stop",null),r([n.i(i.a)()],t,"isListening",null),r([n.i(i.a)()],t,"delete",null),t=r([n.i(i.b)({plugin:"cordova-plugin-dbmeter",pluginRef:"DBMeter",repo:"https://github.com/akofman/cordova-plugin-dbmeter",platforms:["iOS","Android"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.route=function(t){},t.routeWithNavController=function(t,e){},r([n.i(i.a)({observable:!0})],t,"route",null),r([n.i(i.a)({observable:!0})],t,"routeWithNavController",null),t=r([n.i(i.b)({plugin:"ionic-plugin-deeplinks",pluginRef:"IonicDeeplink",repo:"https://github.com/driftyco/ionic-plugin-deeplinks",platforms:["iOS","Android"],install:"ionic plugin add ionic-plugin-deeplinks --variable URL_SCHEME=myapp --variable DEEPLINK_SCHEME=https --variable DEEPLINK_HOST=example.com --variable ANDROID_PATH_PREFIX=/"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return Object.defineProperty(t,"device",{get:function(){return window.device},enumerable:!0,configurable:!0}),r([i.c],t,"device",null),t=r([n.i(i.b)({plugin:"cordova-plugin-device",pluginRef:"device",repo:"https://github.com/apache/cordova-plugin-device"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.get=function(){},t.getByType=function(t){},t.getEmails=function(){},t.getEmail=function(){},r([n.i(i.a)()],t,"get",null),r([n.i(i.a)()],t,"getByType",null),r([n.i(i.a)()],t,"getEmails",null),r([n.i(i.a)()],t,"getEmail",null),t=r([n.i(i.b)({plugin:"https://github.com/loicknuchel/cordova-device-accounts.git",pluginRef:"plugins.DeviceAccounts",repo:"https://github.com/loicknuchel/cordova-device-accounts",platforms:["Android"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.getCurrentAcceleration=function(){},t.watchAcceleration=function(t){},r([n.i(i.a)()],t,"getCurrentAcceleration",null),r([n.i(i.a)({callbackOrder:"reverse",observable:!0,clearFunction:"clearWatch"})],t,"watchAcceleration",null),t=r([n.i(i.b)({plugin:"cordova-plugin-device-motion",pluginRef:"navigator.accelerometer",repo:"https://github.com/apache/cordova-plugin-device-motion"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.getCurrentHeading=function(){},t.watchHeading=function(t){},r([n.i(i.a)()],t,"getCurrentHeading",null),r([n.i(i.a)({callbackOrder:"reverse",observable:!0,clearFunction:"clearWatch"})],t,"watchHeading",null),t=r([n.i(i.b)({plugin:"cordova-plugin-device-orientation",pluginRef:"navigator.compass",repo:"https://github.com/apache/cordova-plugin-device-orientation"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.isLocationAvailable=function(){},t.isWifiAvailable=function(){},t.isCameraAvailable=function(){},t.isBluetoothAvailable=function(){},t.switchToLocationSettings=function(){},t.switchToMobileDataSettings=function(){},t.switchToBluetoothSettings=function(){},t.switchToWifiSettings=function(){},t.isWifiEnabled=function(){},t.setWifiState=function(t){},t.setBluetoothState=function(t){},t.isLocationEnabled=function(){},t.isLocationAuthorized=function(){},t.getLocationAuthorizationStatus=function(){},t.requestLocationAuthorization=function(t){},t.isCameraPresent=function(){},t.isCameraAuthorized=function(){},t.getCameraAuthorizationStatus=function(){},t.requestCameraAuthorization=function(){},t.isMicrophoneAuthorized=function(){},t.getMicrophoneAuthorizationStatus=function(){},t.requestMicrophoneAuthorization=function(){},t.isContactsAuthorized=function(){},t.getContactsAuthorizationStatus=function(){},t.requestContactsAuthorization=function(){},t.isCalendarAuthorized=function(){},t.getCalendarAuthorizationStatus=function(){},t.requestCalendarAuthorization=function(){},t.switchToSettings=function(){},t.getBluetoothState=function(){},t.registerBluetoothStateChangeHandler=function(t){},t.registerLocationStateChangeHandler=function(t){},t.isGpsLocationAvailable=function(){},t.isGpsLocationEnabled=function(){},t.isNetworkLocationAvailable=function(){},t.isNetworkLocationEnabled=function(){},t.getLocationMode=function(){},t.getPermissionAuthorizationStatus=function(t){},t.getPermissionsAuthorizationStatus=function(t){},t.requestRuntimePermission=function(t){},t.requestRuntimePermissions=function(t){},t.isBluetoothEnabled=function(){},t.hasBluetoothSupport=function(){},t.hasBluetoothLESupport=function(){},t.hasBluetoothLEPeripheralSupport=function(){},t.isCameraRollAuthorized=function(){},t.getCameraRollAuthorizationStatus=function(){},t.requestCameraRollAuthorization=function(){},t.isRemoteNotificationsEnabled=function(){},t.isRegisteredForRemoteNotifications=function(){},t.getRemoteNotificationTypes=function(){},t.isRemindersAuthorized=function(){},t.getRemindersAuthorizationStatus=function(){},t.requestRemindersAuthorization=function(){},t.isBackgroundRefreshAuthorized=function(){},t.getBackgroundRefreshStatus=function(){},t.permission={READ_CALENDAR:"READ_CALENDAR",WRITE_CALENDAR:"WRITE_CALENDAR",CAMERA:"CAMERA",READ_CONTACTS:"READ_CONTACTS",WRITE_CONTACTS:"WRITE_CONTACTS",GET_ACCOUNTS:"GET_ACCOUNTS",ACCESS_FINE_LOCATION:"ACCESS_FINE_LOCATION",ACCESS_COARSE_LOCATION:"ACCESS_COARSE_LOCATION",RECORD_AUDIO:"RECORD_AUDIO",READ_PHONE_STATE:"READ_PHONE_STATE",CALL_PHONE:"CALL_PHONE",ADD_VOICEMAIL:"ADD_VOICEMAIL",USE_SIP:"USE_SIP",PROCESS_OUTGOING_CALLS:"PROCESS_OUTGOING_CALLS",READ_CALL_LOG:"READ_CALL_LOG",WRITE_CALL_LOG:"WRITE_CALL_LOG",SEND_SMS:"SEND_SMS",RECEIVE_SMS:"RECEIVE_SMS",READ_SMS:"READ_SMS",RECEIVE_WAP_PUSH:"RECEIVE_WAP_PUSH",RECEIVE_MMS:"RECEIVE_MMS",WRITE_EXTERNAL_STORAGE:"WRITE_EXTERNAL_STORAGE",READ_EXTERNAL_STORAGE:"READ_EXTERNAL_STORAGE",BODY_SENSORS:"BODY_SENSORS"},t.permissionStatus={GRANTED:"GRANTED",GRANTED_WHEN_IN_USE:"GRANTED_WHEN_IN_USE",RESTRICTED:"RESTRICTED",DENIED:"DENIED",DENIED_ALWAYS:"DENIED_ALWAYS",NOT_REQUESTED:"NOT_REQUESTED"},t.locationAuthorizationMode={ALWAYS:"ALWAYS",WHEN_IN_USE:"WHEN_IN_USE"},t.permissionGroups={CALENDAR:["READ_CALENDAR","WRITE_CALENDAR"],CAMERA:["CAMERA"],CONTACTS:["READ_CONTACTS","WRITE_CONTACTS","GET_ACCOUNTS"],LOCATION:["ACCESS_FINE_LOCATION","ACCESS_COARSE_LOCATION"],MICROPHONE:["RECORD_AUDIO"],PHONE:["READ_PHONE_STATE","CALL_PHONE","ADD_VOICEMAIL","USE_SIP","PROCESS_OUTGOING_CALLS","READ_CALL_LOG","WRITE_CALL_LOG"],SENSORS:["BODY_SENSORS"],SMS:["SEND_SMS","RECEIVE_SMS","READ_SMS","RECEIVE_WAP_PUSH","RECEIVE_MMS"],STORAGE:["READ_EXTERNAL_STORAGE","WRITE_EXTERNAL_STORAGE"]},t.locationMode={HIGH_ACCURACY:"high_accuracy",DEVICE_ONLY:"device_only",BATTERY_SAVING:"battery_saving",LOCATION_OFF:"location_off"},t.bluetoothState={UNKNOWN:"unknown",RESETTING:"resetting",UNSUPPORTED:"unsupported",UNAUTHORIZED:"unauthorized",POWERED_OFF:"powered_off",POWERED_ON:"powered_on",POWERING_OFF:"powering_off",POWERING_ON:"powering_on"},r([n.i(i.a)()],t,"isLocationAvailable",null),r([n.i(i.a)()],t,"isWifiAvailable",null),r([n.i(i.a)()],t,"isCameraAvailable",null),r([n.i(i.a)()],t,"isBluetoothAvailable",null),r([n.i(i.a)({sync:!0,platforms:["Android","Windows 10"]})],t,"switchToLocationSettings",null),r([n.i(i.a)({sync:!0,platforms:["Android","Windows 10"]})],t,"switchToMobileDataSettings",null),r([n.i(i.a)({sync:!0,platforms:["Android","Windows 10"]})],t,"switchToBluetoothSettings",null),r([n.i(i.a)({sync:!0,platforms:["Android","Windows 10"]})],t,"switchToWifiSettings",null),r([n.i(i.a)({platforms:["Android","Windows 10"]})],t,"isWifiEnabled",null),r([n.i(i.a)({callbackOrder:"reverse",platforms:["Android","Windows 10"]})],t,"setWifiState",null),r([n.i(i.a)({callbackOrder:"reverse",platforms:["Android","Windows 10"]})],t,"setBluetoothState",null),r([n.i(i.a)({platforms:["Android","iOS"]})],t,"isLocationEnabled",null),r([n.i(i.a)()],t,"isLocationAuthorized",null),r([n.i(i.a)({platforms:["Android","iOS"]})],t,"getLocationAuthorizationStatus",null),r([n.i(i.a)({platforms:["Android","iOS"]})],t,"requestLocationAuthorization",null),r([n.i(i.a)({platforms:["Android","iOS"]})],t,"isCameraPresent",null),r([n.i(i.a)({platforms:["Android","iOS"]})],t,"isCameraAuthorized",null),r([n.i(i.a)({platforms:["Android","iOS"]})],t,"getCameraAuthorizationStatus",null),r([n.i(i.a)({platforms:["Android","iOS"]})],t,"requestCameraAuthorization",null),r([n.i(i.a)({platforms:["Android","iOS"]})],t,"isMicrophoneAuthorized",null),r([n.i(i.a)({platforms:["Android","iOS"]})],t,"getMicrophoneAuthorizationStatus",null),r([n.i(i.a)({platforms:["Android","iOS"]})],t,"requestMicrophoneAuthorization",null),r([n.i(i.a)({platforms:["Android","iOS"]})],t,"isContactsAuthorized",null),r([n.i(i.a)({platforms:["Android","iOS"]})],t,"getContactsAuthorizationStatus",null),r([n.i(i.a)({platforms:["Android","iOS"]})],t,"requestContactsAuthorization",null),r([n.i(i.a)({platforms:["Android","iOS"]})],t,"isCalendarAuthorized",null),r([n.i(i.a)({platforms:["Android","iOS"]})],t,"getCalendarAuthorizationStatus",null),r([n.i(i.a)({platforms:["Android","iOS"]})],t,"requestCalendarAuthorization",null),r([n.i(i.a)({platforms:["Android","iOS"]})],t,"switchToSettings",null),r([n.i(i.a)({platforms:["Android","iOS"]})],t,"getBluetoothState",null),r([n.i(i.a)({platforms:["Android","iOS"],sync:!0})],t,"registerBluetoothStateChangeHandler",null),r([n.i(i.a)({platforms:["Android","iOS"],sync:!0})],t,"registerLocationStateChangeHandler",null),r([n.i(i.a)({platforms:["Android"]})],t,"isGpsLocationAvailable",null),r([n.i(i.a)({platforms:["Android"]})],t,"isGpsLocationEnabled",null),r([n.i(i.a)({platforms:["Android"]})],t,"isNetworkLocationAvailable",null),r([n.i(i.a)({platforms:["Android"]})],t,"isNetworkLocationEnabled",null),r([n.i(i.a)({platforms:["Android"]})],t,"getLocationMode",null),r([n.i(i.a)({platforms:["Android"],callbackOrder:"reverse"})],t,"getPermissionAuthorizationStatus",null),r([n.i(i.a)({platforms:["Android"],callbackOrder:"reverse"})],t,"getPermissionsAuthorizationStatus",null),r([n.i(i.a)({platforms:["Android"],callbackOrder:"reverse"})],t,"requestRuntimePermission",null),r([n.i(i.a)({platforms:["Android"],callbackOrder:"reverse"})],t,"requestRuntimePermissions",null),r([n.i(i.a)({platforms:["Android"]})],t,"isBluetoothEnabled",null),r([n.i(i.a)({platforms:["Android"]})],t,"hasBluetoothSupport",null),r([n.i(i.a)({platforms:["Android"]})],t,"hasBluetoothLESupport",null),r([n.i(i.a)({platforms:["Android"]})],t,"hasBluetoothLEPeripheralSupport",null),r([n.i(i.a)({platforms:["iOS"]})],t,"isCameraRollAuthorized",null),r([n.i(i.a)({platforms:["iOS"]})],t,"getCameraRollAuthorizationStatus",null),r([n.i(i.a)({platforms:["iOS"]})],t,"requestCameraRollAuthorization",null),r([n.i(i.a)({platforms:["iOS"]})],t,"isRemoteNotificationsEnabled",null),r([n.i(i.a)({platforms:["iOS"]})],t,"isRegisteredForRemoteNotifications",null),r([n.i(i.a)({platforms:["iOS"]})],t,"getRemoteNotificationTypes",null),r([n.i(i.a)({platforms:["iOS"]})],t,"isRemindersAuthorized",null),r([n.i(i.a)({platforms:["iOS"]})],t,"getRemindersAuthorizationStatus",null),r([n.i(i.a)({platforms:["iOS"]})],t,"requestRemindersAuthorization",null),r([n.i(i.a)({platforms:["iOS"]})],t,"isBackgroundRefreshAuthorized",null),r([n.i(i.a)({platforms:["iOS"]})],t,"getBackgroundRefreshStatus",null),t=r([n.i(i.b)({plugin:"cordova.plugins.diagnostic",pluginRef:"cordova.plugins.diagnostic",repo:"https://github.com/dpa99c/cordova-diagnostic-plugin"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.alert=function(t,e,n){void 0===e&&(e="Alert"),void 0===n&&(n="OK")},t.confirm=function(t,e,n){void 0===e&&(e="Confirm"),void 0===n&&(n=["OK","Cancel"])},t.prompt=function(t,e,n,i){void 0===e&&(e="Prompt"),void 0===n&&(n=["OK","Cancel"]),void 0===i&&(i="")},t.beep=function(t){},r([n.i(i.a)({successIndex:1,errorIndex:4})],t,"alert",null),r([n.i(i.a)({successIndex:1,errorIndex:4})],t,"confirm",null),r([n.i(i.a)({successIndex:1,errorIndex:5})],t,"prompt",null),r([n.i(i.a)({sync:!0})],t,"beep",null),t=r([n.i(i.b)({plugin:"cordova-plugin-dialogs",pluginRef:"navigator.notification",repo:"https://github.com/apache/cordova-plugin-dialogs.git"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.isAvailable=function(t){return new Promise(function(e,n){t?cordova.plugins.email.isAvailable(t,function(t){t?e():n()}):cordova.plugins.email.isAvailable(function(t){t?e():n()})})},t.addAlias=function(t,e){},t.open=function(t,e){},r([n.i(i.a)()],t,"addAlias",null),r([n.i(i.a)({successIndex:1,errorIndex:3})],t,"open",null),t=r([n.i(i.b)({plugin:"cordova-plugin-email",pluginRef:"cordova.plugins.email",repo:"https://github.com/hypery2k/cordova-email-plugin",platforms:["Android","iOS"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.requestWhenInUseAuthorization=function(){},t.requestAlwaysAuthorization=function(){},t.authorizationStatus=function(){},t.startAdvertisingAsBeacon=function(t,e,n,i){},t.stopAdvertisingAsBeacon=function(){},t.enableAnalytics=function(t){},t.isAnalyticsEnabled=function(){},t.isAuthorized=function(){},t.setupAppIDAndAppToken=function(t,e){},t.startEstimoteBeaconDiscovery=function(){},t.stopEstimoteBeaconDiscovery=function(){},t.startRangingBeaconsInRegion=function(t){},t.stopRangingBeaconsInRegion=function(t){},t.startRangingSecureBeaconsInRegion=function(t){},t.stopRangingSecureBeaconsInRegion=function(t){},t.startMonitoringForRegion=function(t,e){},t.stopMonitoringForRegion=function(t){},t.startSecureMonitoringForRegion=function(t,e){},t.stopSecureMonitoringForRegion=function(t){},t.connectToBeacon=function(t){},t.disconnectConnectedBeacon=function(){},t.writeConnectedProximityUUID=function(t){},t.writeConnectedMajor=function(t){},t.writeConnectedMinor=function(t){},t.ProximityUnknown=0,t.ProximityImmediate=1,t.ProximityNear=2,t.ProximityFar=3,t.BeaconColorUnknown=0,t.BeaconColorMintCocktail=1,t.BeaconColorIcyMarshmallow=2,t.BeaconColorBlueberryPie=3,t.BeaconColorSweetBeetroot=4,t.BeaconColorCandyFloss=5,t.BeaconColorLemonTart=6,t.BeaconColorVanillaJello=7,t.BeaconColorLiquoriceSwirl=8,t.BeaconColorWhite=9,t.BeaconColorTransparent=10,t.RegionStateUnknown="unknown",t.RegionStateOutside="outside",t.RegionStateInside="inside",r([n.i(i.a)()],t,"requestWhenInUseAuthorization",null),r([n.i(i.a)()],t,"requestAlwaysAuthorization",null), r([n.i(i.a)()],t,"authorizationStatus",null),r([n.i(i.a)({clearFunction:"stopAdvertisingAsBeacon"})],t,"startAdvertisingAsBeacon",null),r([n.i(i.a)()],t,"stopAdvertisingAsBeacon",null),r([n.i(i.a)()],t,"enableAnalytics",null),r([n.i(i.a)()],t,"isAnalyticsEnabled",null),r([n.i(i.a)()],t,"isAuthorized",null),r([n.i(i.a)()],t,"setupAppIDAndAppToken",null),r([n.i(i.a)({observable:!0,clearFunction:"stopEstimoteBeaconDiscovery"})],t,"startEstimoteBeaconDiscovery",null),r([n.i(i.a)()],t,"stopEstimoteBeaconDiscovery",null),r([n.i(i.a)({observable:!0,clearFunction:"stopRangingBeaconsInRegion",clearWithArgs:!0})],t,"startRangingBeaconsInRegion",null),r([n.i(i.a)()],t,"stopRangingBeaconsInRegion",null),r([n.i(i.a)({observable:!0,clearFunction:"stopRangingSecureBeaconsInRegion",clearWithArgs:!0})],t,"startRangingSecureBeaconsInRegion",null),r([n.i(i.a)()],t,"stopRangingSecureBeaconsInRegion",null),r([n.i(i.a)({observable:!0,clearFunction:"stopMonitoringForRegion",clearWithArgs:!0,successIndex:1,errorIndex:2})],t,"startMonitoringForRegion",null),r([n.i(i.a)()],t,"stopMonitoringForRegion",null),r([n.i(i.a)({observable:!0,clearFunction:"stopSecureMonitoringForRegion",clearWithArgs:!0,successIndex:1,errorIndex:2})],t,"startSecureMonitoringForRegion",null),r([n.i(i.a)()],t,"stopSecureMonitoringForRegion",null),r([n.i(i.a)()],t,"connectToBeacon",null),r([n.i(i.a)()],t,"disconnectConnectedBeacon",null),r([n.i(i.a)()],t,"writeConnectedProximityUUID",null),r([n.i(i.a)()],t,"writeConnectedMajor",null),r([n.i(i.a)()],t,"writeConnectedMinor",null),t=r([n.i(i.b)({plugin:"cordova-plugin-estimote",pluginRef:"estimote.beacons",repo:"https://github.com/evothings/phonegap-estimotebeacons",platforms:["iOS","Android"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.browserInit=function(t,e){},t.login=function(t){},t.logout=function(){},t.getLoginStatus=function(){},t.getAccessToken=function(){},t.showDialog=function(t){},t.api=function(t,e){},t.logEvent=function(t,e,n){},t.logPurchase=function(t,e){},t.appInvite=function(t){},r([n.i(i.a)()],t,"browserInit",null),r([n.i(i.a)()],t,"login",null),r([n.i(i.a)()],t,"logout",null),r([n.i(i.a)()],t,"getLoginStatus",null),r([n.i(i.a)()],t,"getAccessToken",null),r([n.i(i.a)()],t,"showDialog",null),r([n.i(i.a)()],t,"api",null),r([n.i(i.a)()],t,"logEvent",null),r([n.i(i.a)()],t,"logPurchase",null),r([n.i(i.a)()],t,"appInvite",null),t=r([n.i(i.b)({plugin:"cordova-plugin-facebook4",pluginRef:"facebookConnectPlugin",repo:"https://github.com/jeduan/cordova-plugin-facebook4",install:'ionic plugin add cordova-plugin-facebook4 --variable APP_ID="123456789" --variable APP_NAME="myApplication"'})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.open=function(){},r([n.i(i.a)()],t,"open",null),t=r([n.i(i.b)({plugin:"http://github.com/don/cordova-filechooser.git",pluginRef:"fileChooser",repo:"https://github.com/don/cordova-filechooser",platforms:["Android"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.open=function(t,e){},t.uninstall=function(t){},t.appIsInstalled=function(t){},r([n.i(i.a)({callbackStyle:"object",successName:"success",errorName:"error"})],t,"open",null),r([n.i(i.a)({callbackStyle:"object",successName:"success",errorName:"error"})],t,"uninstall",null),r([n.i(i.a)({callbackStyle:"object",successName:"success",errorName:"error"})],t,"appIsInstalled",null),t=r([n.i(i.b)({plugin:"cordova-plugin-file-opener2",pluginRef:"cordova.plugins.fileOpener2",repo:"https://github.com/pwlin/cordova-plugin-file-opener2"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return o});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s={plugin:"cordova-plugin-file",pluginRef:"cordova.file",repo:"https://github.com/apache/cordova-plugin-file"},o=function(){function t(){}return t.getFreeDiskSpace=function(){return new Promise(function(t,e){cordova&&cordova.exec?cordova.exec(t,e,"File","getFreeDiskSpace",[]):(n.i(i.f)(s),e({error:"plugin_not_installed"}))})},t.checkDir=function(e,n){if(/^\//.test(n)){var i=new FileError(5);return i.message="directory cannot start with /",Promise.reject(i)}var r=e+n;return t.resolveDirectoryUrl(r).then(function(){return!0})},t.createDir=function(e,n,i){if(/^\//.test(n)){var r=new FileError(5);return r.message="directory cannot start with /",Promise.reject(r)}var s={create:!0};return i||(s.exclusive=!0),t.resolveDirectoryUrl(e).then(function(e){return t.getDirectory(e,n,s)})},t.removeDir=function(e,n){if(/^\//.test(n)){var i=new FileError(5);return i.message="directory cannot start with /",Promise.reject(i)}return t.resolveDirectoryUrl(e).then(function(e){return t.getDirectory(e,n,{create:!1})}).then(function(e){return t.remove(e)})},t.moveDir=function(e,n,i,r){var s=this;if(r=r||n,/^\//.test(r)){var o=new FileError(5);return o.message="directory cannot start with /",Promise.reject(o)}return this.resolveDirectoryUrl(e).then(function(t){return s.getDirectory(t,n,{create:!1})}).then(function(e){return s.resolveDirectoryUrl(i).then(function(n){return t.move(e,n,r)})})},t.copyDir=function(e,n,i,r){var s=this;if(/^\//.test(r)){var o=new FileError(5);return o.message="directory cannot start with /",Promise.reject(o)}return this.resolveDirectoryUrl(e).then(function(t){return s.getDirectory(t,n,{create:!1})}).then(function(e){return s.resolveDirectoryUrl(i).then(function(n){return t.copy(e,n,r)})})},t.listDir=function(e,n){if(/^\//.test(n)){var i=new FileError(5);return i.message="directory cannot start with /",Promise.reject(i)}return t.resolveDirectoryUrl(e).then(function(e){return t.getDirectory(e,n,{create:!1,exclusive:!1})}).then(function(e){var n=e.createReader();return t.readEntries(n)})},t.removeRecursively=function(e,n){if(/^\//.test(n)){var i=new FileError(5);return i.message="directory cannot start with /",Promise.reject(i)}return t.resolveDirectoryUrl(e).then(function(e){return t.getDirectory(e,n,{create:!1})}).then(function(e){return t.rimraf(e)})},t.checkFile=function(e,n){if(/^\//.test(n)){var i=new FileError(5);return i.message="file cannot start with /",Promise.reject(i)}return t.resolveLocalFilesystemUrl(e+n).then(function(t){if(t.isFile)return!0;var e=new FileError(13);return e.message="input is not a file",Promise.reject(e)})},t.createFile=function(e,n,i){if(/^\//.test(n)){var r=new FileError(5);return r.message="file-name cannot start with /",Promise.reject(r)}var s={create:!0};return i||(s.exclusive=!0),t.resolveDirectoryUrl(e).then(function(e){return t.getFile(e,n,s)})},t.removeFile=function(e,n){if(/^\//.test(n)){var i=new FileError(5);return i.message="file-name cannot start with /",Promise.reject(i)}return t.resolveDirectoryUrl(e).then(function(e){return t.getFile(e,n,{create:!1})}).then(function(e){return t.remove(e)})},t.writeFile=function(e,n,i,r){if(/^\//.test(n)){var s=new FileError(5);return s.message="file-name cannot start with /",Promise.reject(s)}var o={create:!0,exclusive:r.replace};return t.resolveDirectoryUrl(e).then(function(e){return t.getFile(e,n,o)}).then(function(e){return t.createWriter(e)}).then(function(e){return r.append&&e.seek(e.length),r.truncate&&e.truncate(r.truncate),t.write(e,i)})},t.writeExistingFile=function(e,n,i){if(/^\//.test(n)){var r=new FileError(5);return r.message="file-name cannot start with /",Promise.reject(r)}return t.resolveDirectoryUrl(e).then(function(e){return t.getFile(e,n,{create:!1})}).then(function(e){return t.createWriter(e)}).then(function(e){return t.write(e,i)})},t.readAsText=function(e,n){if(/^\//.test(n)){var i=new FileError(5);return i.message="file-name cannot start with /",Promise.reject(i)}return t.resolveDirectoryUrl(e).then(function(e){return t.getFile(e,n,{create:!1})}).then(function(t){var e=new FileReader;return new Promise(function(n,i){e.onloadend=function(){void 0!==e.result||null!==e.result?n(e.result):i(void 0!==e.error||null!==e.error?e.error:{code:null,message:"READER_ONLOADEND_ERR"})},t.file(function(t){e.readAsText(t)},function(t){i(t)})})})},t.readAsDataURL=function(e,n){if(/^\//.test(n)){var i=new FileError(5);return i.message="file-name cannot start with /",Promise.reject(i)}return t.resolveDirectoryUrl(e).then(function(e){return t.getFile(e,n,{create:!1})}).then(function(t){var e=new FileReader;return new Promise(function(n,i){e.onloadend=function(){void 0!==e.result||null!==e.result?n(e.result):i(void 0!==e.error||null!==e.error?e.error:{code:null,message:"READER_ONLOADEND_ERR"})},t.file(function(t){e.readAsDataURL(t)},function(t){i(t)})})})},t.readAsBinaryString=function(e,n){if(/^\//.test(n)){var i=new FileError(5);return i.message="file-name cannot start with /",Promise.reject(i)}return t.resolveDirectoryUrl(e).then(function(e){return t.getFile(e,n,{create:!1})}).then(function(t){var e=new FileReader;return new Promise(function(n,i){e.onloadend=function(){void 0!==e.result||null!==e.result?n(e.result):i(void 0!==e.error||null!==e.error?e.error:{code:null,message:"READER_ONLOADEND_ERR"})},t.file(function(t){e.readAsBinaryString(t)},function(t){i(t)})})})},t.readAsArrayBuffer=function(e,n){if(/^\//.test(n)){var i=new FileError(5);return i.message="file-name cannot start with /",Promise.reject(i)}return t.resolveDirectoryUrl(e).then(function(e){return t.getFile(e,n,{create:!1})}).then(function(t){var e=new FileReader;return new Promise(function(n,i){e.onloadend=function(){void 0!==e.result||null!==e.result?n(e.result):i(void 0!==e.error||null!==e.error?e.error:{code:null,message:"READER_ONLOADEND_ERR"})},t.file(function(t){e.readAsArrayBuffer(t)},function(t){i(t)})})})},t.moveFile=function(e,n,i,r){var s=this;if(r=r||n,/^\//.test(r)){var o=new FileError(5);return o.message="file name cannot start with /",Promise.reject(o)}return this.resolveDirectoryUrl(e).then(function(t){return s.getFile(t,n,{create:!1})}).then(function(e){return s.resolveDirectoryUrl(i).then(function(n){return t.move(e,n,r)})})},t.copyFile=function(e,n,i,r){var s=this;if(r=r||n,/^\//.test(r)){var o=new FileError(5);return o.message="file name cannot start with /",Promise.reject(o)}return this.resolveDirectoryUrl(e).then(function(t){return s.getFile(t,n,{create:!1})}).then(function(e){return s.resolveDirectoryUrl(i).then(function(n){return t.copy(e,n,r)})})},t.fillErrorMessage=function(e){e.message=t.cordovaFileError[e.code]},t.resolveLocalFilesystemUrl=function(e){return new Promise(function(n,i){try{window.resolveLocalFileSystemURL(e,function(t){n(t)},function(e){t.fillErrorMessage(e),i(e)})}catch(e){t.fillErrorMessage(e),i(e)}})},t.resolveDirectoryUrl=function(e){return t.resolveLocalFilesystemUrl(e).then(function(t){if(t.isDirectory)return t;var e=new FileError(13);return e.message="input is not a directory",Promise.reject(e)})},t.getDirectory=function(e,n,i){return new Promise(function(r,s){try{e.getDirectory(n,i,function(t){r(t)},function(e){t.fillErrorMessage(e),s(e)})}catch(e){t.fillErrorMessage(e),s(e)}})},t.getFile=function(e,n,i){return new Promise(function(r,s){try{e.getFile(n,i,r,function(e){t.fillErrorMessage(e),s(e)})}catch(e){t.fillErrorMessage(e),s(e)}})},t.remove=function(e){return new Promise(function(n,i){e.remove(function(){n({success:!0,fileRemoved:e})},function(e){t.fillErrorMessage(e),i(e)})})},t.move=function(e,n,i){return new Promise(function(r,s){e.moveTo(n,i,function(t){r(t)},function(e){t.fillErrorMessage(e),s(e)})})},t.copy=function(e,n,i){return new Promise(function(r,s){e.copyTo(n,i,function(t){r(t)},function(e){t.fillErrorMessage(e),s(e)})})},t.readEntries=function(e){return new Promise(function(n,i){e.readEntries(function(t){n(t)},function(e){t.fillErrorMessage(e),i(e)})})},t.rimraf=function(e){return new Promise(function(n,i){e.removeRecursively(function(){n({success:!0,fileRemoved:e})},function(e){t.fillErrorMessage(e),i(e)})})},t.createWriter=function(e){return new Promise(function(n,i){e.createWriter(function(t){n(t)},function(e){t.fillErrorMessage(e),i(e)})})},t.write=function(t,e){return e instanceof Blob?this.writeFileInChunks(t,e):new Promise(function(n,i){t.onwriteend=function(e){t.error?i(t.error):n(e)},t.write(e)})},t.writeFileInChunks=function(t,e){function n(){var n=Math.min(i,e.size-r),s=e.slice(r,r+n);r+=n,t.write(s)}var i=1048576,r=0;return new Promise(function(i,s){t.onerror=s,t.onwrite=function(){r=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){this._objectInstance=new FileTransfer}return t.prototype.upload=function(t,e,n,i){},t.prototype.download=function(t,e,n,i){},t.prototype.onProgress=function(t){this._objectInstance.onprogress=t},t.prototype.abort=function(){},t.FileTransferErrorCode={FILE_NOT_FOUND_ERR:1,INVALID_URL_ERR:2,CONNECTION_ERR:3,ABORT_ERR:4,NOT_MODIFIED_ERR:5},r([n.i(i.d)({successIndex:2,errorIndex:3})],t.prototype,"upload",null),r([n.i(i.d)({successIndex:2,errorIndex:3})],t.prototype,"download",null),r([n.i(i.d)({sync:!0})],t.prototype,"abort",null),t=r([n.i(i.b)({plugin:"cordova-plugin-file-transfer",pluginRef:"FileTransfer",repo:"https://github.com/apache/cordova-plugin-file-transfer"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.available=function(){},t.switchOn=function(){},t.switchOff=function(){},t.toggle=function(){},t.isSwitchedOn=function(){},r([n.i(i.a)()],t,"available",null),r([n.i(i.a)()],t,"switchOn",null),r([n.i(i.a)()],t,"switchOff",null),r([n.i(i.a)()],t,"toggle",null),r([n.i(i.a)({sync:!0})],t,"isSwitchedOn",null),t=r([n.i(i.b)({plugin:"cordova-plugin-flashlight",pluginRef:"window.plugins.flashlight",repo:"https://github.com/EddyVerbruggen/Flashlight-PhoneGap-Plugin.git"})],t)}()},function(t,e,n){"use strict";var i=n(3),r=n(1);n.n(r);n.d(e,"a",function(){return o});var s=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},o=function(){function t(){}return t.initialize=function(){},t.addOrUpdate=function(t){},t.remove=function(t){},t.removeAll=function(){},t.getWatched=function(){},t.onTransitionReceived=function(){return new r.Observable(function(t){return window&&window.geofence&&(window.geofence.onTransitionReceived=t.next.bind(t)),function(){return window.geofence.onTransitionReceived=function(){}}})},t.onNotificationClicked=function(){return new r.Observable(function(t){return window&&window.geofence&&(window.geofence.onNotificationClicked=t.next.bind(t)),function(){return window.geofence.onNotificationClicked=function(){}}})},t.TransitionType={ENTER:1,EXIT:2,BOTH:3},s([n.i(i.a)()],t,"initialize",null),s([n.i(i.a)()],t,"addOrUpdate",null),s([n.i(i.a)()],t,"remove",null),s([n.i(i.a)()],t,"removeAll",null),s([n.i(i.a)()],t,"getWatched",null),t=s([n.i(i.b)({plugin:"cordova-plugin-geofence",pluginRef:"geofence",repo:"https://github.com/cowbell/cordova-plugin-geofence/",platforms:["Android","iOS","Windows Phone 8","Windows Phone"]})],t)}()},function(t,e,n){"use strict";var i=n(3),r=n(1);n.n(r);n.d(e,"a",function(){return o});var s=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},o=function(){function t(){}return t.getCurrentPosition=function(t){},t.watchPosition=function(t){return new r.Observable(function(e){var n=navigator.geolocation.watchPosition(e.next.bind(e),e.next.bind(e),t);return function(){return navigator.geolocation.clearWatch(n)}})},s([n.i(i.a)({callbackOrder:"reverse"})],t,"getCurrentPosition",null),t=s([n.i(i.b)({plugin:"cordova-plugin-geolocation",pluginRef:"navigator.geolocation",repo:"https://github.com/apache/cordova-plugin-geolocation"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.getPreferredLanguage=function(){},t.getLocaleName=function(){},t.dateToString=function(t,e){},t.stringToDate=function(t,e){},t.getDatePattern=function(t){},t.getDateNames=function(t){},t.isDayLightSavingsTime=function(t){},t.getFirstDayOfWeek=function(){},t.numberToString=function(t){},t.stringToNumber=function(t,e){},t.getNumberPattern=function(t){},t.getCurrencyPattern=function(t){},r([n.i(i.a)()],t,"getPreferredLanguage",null),r([n.i(i.a)()],t,"getLocaleName",null),r([n.i(i.a)({successIndex:1,errorIndex:2})],t,"dateToString",null),r([n.i(i.a)({successIndex:1,errorIndex:2})],t,"stringToDate",null),r([n.i(i.a)({callbackOrder:"reverse"})],t,"getDatePattern",null),r([n.i(i.a)({callbackOrder:"reverse"})],t,"getDateNames",null),r([n.i(i.a)()],t,"isDayLightSavingsTime",null),r([n.i(i.a)()],t,"getFirstDayOfWeek",null),r([n.i(i.a)({successIndex:1,errorIndex:2})],t,"numberToString",null),r([n.i(i.a)({successIndex:1,errorIndex:2})],t,"stringToNumber",null),r([n.i(i.a)({callbackOrder:"reverse"})],t,"getNumberPattern",null),r([n.i(i.a)()],t,"getCurrencyPattern",null),t=r([n.i(i.b)({plugin:"cordova-plugin-globalization",pluginRef:"navigator.globalization",repo:"https://github.com/apache/cordova-plugin-globalization"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.login=function(t){},t.trySilentLogin=function(t){},t.logout=function(){},t.disconnect=function(){},r([n.i(i.a)()],t,"login",null),r([n.i(i.a)()],t,"trySilentLogin",null),r([n.i(i.a)()],t,"logout",null),r([n.i(i.a)()],t,"disconnect",null),t=r([n.i(i.b)({plugin:"cordova-plugin-googleplus",pluginRef:"window.plugins.googleplus",repo:"https://github.com/EddyVerbruggen/cordova-plugin-googleplus",platforms:["Web","Android","iOS"],install:"ionic plugin add cordova-plugin-googleplus --variable REVERSED_CLIENT_ID=myreversedclientid"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.startTrackerWithId=function(t){},t.setAllowIDFACollection=function(t){},t.setUserId=function(t){},t.setAnonymizeIp=function(t){},t.setAppVersion=function(t){},t.setOptOut=function(t){},t.debugMode=function(){},t.trackMetric=function(t,e){},t.trackView=function(t,e,n){},t.addCustomDimension=function(t,e){},t.trackEvent=function(t,e,n,i,r){},t.trackException=function(t,e){},t.trackTiming=function(t,e,n,i){},t.addTransaction=function(t,e,n,i,r,s){},t.addTransactionItem=function(t,e,n,i,r,s,o){},t.enableUncaughtExceptionReporting=function(t){},r([n.i(i.a)()],t,"startTrackerWithId",null),r([n.i(i.a)()],t,"setAllowIDFACollection",null),r([n.i(i.a)()],t,"setUserId",null),r([n.i(i.a)()],t,"setAnonymizeIp",null),r([n.i(i.a)()],t,"setAppVersion",null),r([n.i(i.a)()],t,"setOptOut",null),r([n.i(i.a)()],t,"debugMode",null),r([n.i(i.a)({successIndex:2,errorIndex:3})],t,"trackMetric",null),r([n.i(i.a)({successIndex:3,errorIndex:4})],t,"trackView",null),r([n.i(i.a)()],t,"addCustomDimension",null),r([n.i(i.a)({successIndex:5,errorIndex:6})],t,"trackEvent",null),r([n.i(i.a)()],t,"trackException",null),r([n.i(i.a)()],t,"trackTiming",null),r([n.i(i.a)()],t,"addTransaction",null),r([n.i(i.a)()],t,"addTransactionItem",null),r([n.i(i.a)()],t,"enableUncaughtExceptionReporting",null),t=r([n.i(i.b)({plugin:"cordova-plugin-google-analytics",pluginRef:"ga",repo:"https://github.com/danwilson/google-analytics-plugin",platforms:["Android","iOS"]})],t)}()},function(t,e,n){"use strict";var i=n(3),r=n(1);n.n(r);n.d(e,"a",function(){return a});var s=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},o={pluginRef:"plugin.google.maps.Map",plugin:"cordova-plugin-googlemaps",repo:"https://github.com/mapsplugin/cordova-plugin-googlemaps",install:'ionic plugin add cordova-plugin-googlemaps --variable API_KEY_FOR_ANDROID="YOUR_ANDROID_API_KEY_IS_HERE" --variable API_KEY_FOR_IOS="YOUR_IOS_API_KEY_IS_HERE"'},a=function(){function t(t,e){n.i(i.e)("plugin.google.maps.Map")?("string"==typeof t&&(t=document.getElementById(t)),this._objectInstance=plugin.google.maps.Map.getMap(t,e)):n.i(i.f)(o)}return t.isAvailable=function(){},t.prototype.on=function(t){var e=this;return this._objectInstance?new r.Observable(function(n){return e._objectInstance.on(t,n.next.bind(n)),function(){return e._objectInstance.off(t)}}):new r.Observable(function(t){t.error({error:"plugin_not_installed"})})},t.prototype.one=function(t){var e=this;return this._objectInstance?new Promise(function(n){return e._objectInstance.one(t,n)}):Promise.reject({error:"plugin_not_installed"})},t.prototype.setDebuggable=function(t){},t.prototype.setClickable=function(t){},t.prototype.getCameraPosition=function(){},t.prototype.getMyLocation=function(t){},t.prototype.getVisibleRegion=function(){},t.prototype.showDialog=function(){},t.prototype.closeDialog=function(){},t.prototype.getLicenseInfo=function(){},t.prototype.setCenter=function(t){},t.prototype.setZoom=function(t){},t.prototype.setMapTypeId=function(t){},t.prototype.setTilt=function(t){},t.prototype.animateCamera=function(t){},t.prototype.moveCamera=function(t){},t.prototype.setMyLocationEnabled=function(t){},t.prototype.setIndoorEnabled=function(t){},t.prototype.setTrafficEnabled=function(t){},t.prototype.setCompassEnabled=function(t){},t.prototype.setAllGesturesEnabled=function(t){},t.prototype.addMarker=function(t){var e=this;return this._objectInstance?new Promise(function(n,i){e._objectInstance.addMarker(t,function(t){t?n(new _(t)):i()})}):Promise.reject({error:"plugin_not_installed"})},t.prototype.addCircle=function(t){var e=this;return this._objectInstance?new Promise(function(n,i){e._objectInstance.addCircle(t,function(t){t?n(new l(t)):i()})}):Promise.reject({error:"plugin_not_installed"})},t.prototype.addPolygon=function(t){var e=this;return this._objectInstance?new Promise(function(n,i){e._objectInstance.addPolygon(t,function(t){t?n(new c(t)):i()})}):Promise.reject({error:"plugin_not_installed"})},t.prototype.addPolyline=function(t){var e=this;return this._objectInstance?new Promise(function(n,i){e._objectInstance.addPolyline(t,function(t){t?n(new h(t)):i()})}):Promise.reject({error:"plugin_not_installed"})},t.prototype.addTileOverlay=function(t){var e=this;return this._objectInstance?new Promise(function(n,i){e._objectInstance.addTileOverlay(t,function(t){t?n(new u(t)):i()})}):Promise.reject({error:"plugin_not_installed"})},t.prototype.addGroundOverlay=function(t){var e=this;return this._objectInstance?new Promise(function(n,i){e._objectInstance.addGroundOverlay(t,function(t){t?n(new p(t)):i()})}):Promise.reject({error:"plugin_not_installed"})},t.prototype.addKmlOverlay=function(t){var e=this;return this._objectInstance?new Promise(function(n,i){e._objectInstance.addKmlOverlay(t,function(t){t?n(new d(t)):i()})}):Promise.reject({error:"plugin_not_installed"})},t.prototype.setDiv=function(t){},t.prototype.setVisible=function(t){},t.prototype.setOptions=function(t){},t.prototype.setBackgroundColor=function(t){},t.prototype.setPadding=function(t,e,n,i){},t.prototype.clear=function(){},t.prototype.refreshLayout=function(){},t.prototype.fromLatLngToPoint=function(t,e){},t.prototype.fromPointToLatLng=function(t,e){},t.prototype.toDataURL=function(){},t.prototype.remove=function(){},t.prototype.panBy=function(){},s([n.i(i.d)({sync:!0})],t.prototype,"setDebuggable",null),s([n.i(i.d)({sync:!0})],t.prototype,"setClickable",null),s([n.i(i.d)()],t.prototype,"getCameraPosition",null),s([n.i(i.d)()],t.prototype,"getMyLocation",null),s([n.i(i.d)()],t.prototype,"getVisibleRegion",null),s([n.i(i.d)({sync:!0})],t.prototype,"showDialog",null),s([n.i(i.d)({sync:!0})],t.prototype,"closeDialog",null),s([n.i(i.d)()],t.prototype,"getLicenseInfo",null),s([n.i(i.d)({sync:!0})],t.prototype,"setCenter",null),s([n.i(i.d)({sync:!0})],t.prototype,"setZoom",null),s([n.i(i.d)({sync:!0})],t.prototype,"setMapTypeId",null),s([n.i(i.d)({sync:!0})],t.prototype,"setTilt",null),s([n.i(i.d)()],t.prototype,"animateCamera",null),s([n.i(i.d)()],t.prototype,"moveCamera",null),s([n.i(i.d)({sync:!0})],t.prototype,"setMyLocationEnabled",null),s([n.i(i.d)({sync:!0})],t.prototype,"setIndoorEnabled",null),s([n.i(i.d)({sync:!0})],t.prototype,"setTrafficEnabled",null),s([n.i(i.d)({sync:!0})],t.prototype,"setCompassEnabled",null),s([n.i(i.d)({sync:!0})],t.prototype,"setAllGesturesEnabled",null),s([n.i(i.d)({sync:!0})],t.prototype,"setDiv",null),s([n.i(i.d)({sync:!0})],t.prototype,"setVisible",null),s([n.i(i.d)({sync:!0})],t.prototype,"setOptions",null),s([n.i(i.d)({sync:!0})],t.prototype,"setBackgroundColor",null),s([n.i(i.d)({sync:!0})],t.prototype,"setPadding",null),s([n.i(i.d)({sync:!0})],t.prototype,"clear",null),s([n.i(i.d)({sync:!0})],t.prototype,"refreshLayout",null),s([n.i(i.d)()],t.prototype,"fromLatLngToPoint",null),s([n.i(i.d)()],t.prototype,"fromPointToLatLng",null),s([n.i(i.d)()],t.prototype,"toDataURL",null),s([n.i(i.d)({sync:!0})],t.prototype,"remove",null),s([n.i(i.d)({sync:!0})],t.prototype,"panBy",null),s([n.i(i.a)()],t,"isAvailable",null),t=s([n.i(i.b)(o)],t)}(),_=function(){function t(t){this._objectInstance=t}return t.prototype.addEventListener=function(t){var e=this;return new r.Observable(function(n){return e._objectInstance.addEventListener(t,n.next.bind(n)),function(){return e._objectInstance.removeEventListener(t,n.next.bind(n))}})},t.prototype.isVisible=function(){},t.prototype.setVisible=function(t){},t.prototype.getHashCode=function(){},t.prototype.remove=function(){},t.prototype.setOpacity=function(t){},t.prototype.getOpacity=function(){},t.prototype.setZIndex=function(){},t.prototype.setIconAnchor=function(t,e){},t.prototype.setInfoWindowAnchor=function(t,e){},t.prototype.setDraggable=function(t){},t.prototype.isDraggable=function(){},t.prototype.setFlat=function(t){},t.prototype.setIcon=function(t){},t.prototype.setTitle=function(t){},t.prototype.getTitle=function(){},t.prototype.setSnippet=function(t){},t.prototype.getSnippet=function(){},t.prototype.setRotation=function(t){},t.prototype.getRotation=function(){},t.prototype.showInfoWindow=function(){},t.prototype.hideInfoWindow=function(){},t.prototype.setPosition=function(t){},t.prototype.getPosition=function(){},t.prototype.getMap=function(){},t.prototype.setAnimation=function(t){},s([n.i(i.d)({sync:!0})],t.prototype,"isVisible",null),s([n.i(i.d)()],t.prototype,"setVisible",null),s([n.i(i.d)({sync:!0})],t.prototype,"getHashCode",null),s([n.i(i.d)({sync:!0})],t.prototype,"remove",null),s([n.i(i.d)({sync:!0})],t.prototype,"setOpacity",null),s([n.i(i.d)({sync:!0})],t.prototype,"getOpacity",null),s([n.i(i.d)({sync:!0})],t.prototype,"setZIndex",null),s([n.i(i.d)({sync:!0})],t.prototype,"setIconAnchor",null),s([n.i(i.d)({sync:!0})],t.prototype,"setInfoWindowAnchor",null),s([n.i(i.d)({sync:!0})],t.prototype,"setDraggable",null),s([n.i(i.d)({sync:!0})],t.prototype,"isDraggable",null),s([n.i(i.d)({sync:!0})],t.prototype,"setFlat",null),s([n.i(i.d)({sync:!0})],t.prototype,"setIcon",null),s([n.i(i.d)({sync:!0})],t.prototype,"setTitle",null),s([n.i(i.d)({sync:!0})],t.prototype,"getTitle",null),s([n.i(i.d)({sync:!0})],t.prototype,"setSnippet",null),s([n.i(i.d)({sync:!0})],t.prototype,"getSnippet",null),s([n.i(i.d)({sync:!0})],t.prototype,"setRotation",null),s([n.i(i.d)({sync:!0})],t.prototype,"getRotation",null),s([n.i(i.d)({sync:!0})],t.prototype,"showInfoWindow",null),s([n.i(i.d)({sync:!0})],t.prototype,"hideInfoWindow",null),s([n.i(i.d)({sync:!0})],t.prototype,"setPosition",null),s([n.i(i.d)()],t.prototype,"getPosition",null),s([n.i(i.d)({sync:!0})],t.prototype,"getMap",null),s([n.i(i.d)({sync:!0})],t.prototype,"setAnimation",null),t}(),l=function(){function t(t){this._objectInstance=t}return t.prototype.addEventListener=function(t){var e=this;return new r.Observable(function(n){return e._objectInstance.addEventListener(t,n.next.bind(n)),function(){return e._objectInstance.removeEventListener(t,n.next.bind(n))}})},t.prototype.getCenter=function(){},t.prototype.getRadius=function(){}, t.prototype.getStrokeColor=function(){},t.prototype.getVisible=function(){},t.prototype.getZIndex=function(){},t.prototype.remove=function(){},t.prototype.setCenter=function(t){},t.prototype.setFillColor=function(t){},t.prototype.setStrokeColor=function(t){},t.prototype.setStrokeWidth=function(t){},t.prototype.setVisible=function(t){},t.prototype.setZIndex=function(t){},t.prototype.setRadius=function(t){},t.prototype.getMap=function(){},s([n.i(i.d)({sync:!0})],t.prototype,"getCenter",null),s([n.i(i.d)({sync:!0})],t.prototype,"getRadius",null),s([n.i(i.d)({sync:!0})],t.prototype,"getStrokeColor",null),s([n.i(i.d)({sync:!0})],t.prototype,"getVisible",null),s([n.i(i.d)({sync:!0})],t.prototype,"getZIndex",null),s([n.i(i.d)({sync:!0})],t.prototype,"remove",null),s([n.i(i.d)({sync:!0})],t.prototype,"setCenter",null),s([n.i(i.d)({sync:!0})],t.prototype,"setFillColor",null),s([n.i(i.d)({sync:!0})],t.prototype,"setStrokeColor",null),s([n.i(i.d)({sync:!0})],t.prototype,"setStrokeWidth",null),s([n.i(i.d)({sync:!0})],t.prototype,"setVisible",null),s([n.i(i.d)({sync:!0})],t.prototype,"setZIndex",null),s([n.i(i.d)({sync:!0})],t.prototype,"setRadius",null),s([n.i(i.d)({sync:!0})],t.prototype,"getMap",null),t}(),h=function(){function t(t){this._objectInstance=t}return t.prototype.addEventListener=function(t){var e=this;return new r.Observable(function(n){return e._objectInstance.addEventListener(t,n.next.bind(n)),function(){return e._objectInstance.removeEventListener(t,n.next.bind(n))}})},t.prototype.getPoints=function(){},t.prototype.getCOlor=function(){},t.prototype.getWidth=function(){},t.prototype.getGeodesic=function(){},t.prototype.getZIndex=function(){},t.prototype.remove=function(){},t.prototype.setPoints=function(t){},t.prototype.setColor=function(t){},t.prototype.setWidth=function(t){},t.prototype.setVisible=function(t){},t.prototype.setZIndex=function(t){},t.prototype.setGeoDesic=function(t){},t.prototype.getMap=function(){},s([n.i(i.d)({sync:!0})],t.prototype,"getPoints",null),s([n.i(i.d)({sync:!0})],t.prototype,"getCOlor",null),s([n.i(i.d)({sync:!0})],t.prototype,"getWidth",null),s([n.i(i.d)({sync:!0})],t.prototype,"getGeodesic",null),s([n.i(i.d)({sync:!0})],t.prototype,"getZIndex",null),s([n.i(i.d)({sync:!0})],t.prototype,"remove",null),s([n.i(i.d)({sync:!0})],t.prototype,"setPoints",null),s([n.i(i.d)({sync:!0})],t.prototype,"setColor",null),s([n.i(i.d)({sync:!0})],t.prototype,"setWidth",null),s([n.i(i.d)({sync:!0})],t.prototype,"setVisible",null),s([n.i(i.d)({sync:!0})],t.prototype,"setZIndex",null),s([n.i(i.d)({sync:!0})],t.prototype,"setGeoDesic",null),s([n.i(i.d)({sync:!0})],t.prototype,"getMap",null),t}(),c=function(){function t(t){this._objectInstance=t}return t.prototype.addEventListener=function(t){var e=this;return new r.Observable(function(n){return e._objectInstance.addEventListener(t,n.next.bind(n)),function(){return e._objectInstance.removeEventListener(t,n.next.bind(n))}})},t.prototype.getPoints=function(){},t.prototype.getStrokeColor=function(){},t.prototype.getFillColor=function(){},t.prototype.getStrokeWidth=function(){},t.prototype.getGeodesic=function(){},t.prototype.getVisible=function(){},t.prototype.getZIndex=function(){},t.prototype.remove=function(){},t.prototype.setPoints=function(t){},t.prototype.setStrokeColor=function(t){},t.prototype.setFillColor=function(t){},t.prototype.setStrokeWidth=function(t){},t.prototype.setVisible=function(t){},t.prototype.setZIndex=function(t){},t.prototype.setGeodesic=function(t){},s([n.i(i.d)({sync:!0})],t.prototype,"getPoints",null),s([n.i(i.d)({sync:!0})],t.prototype,"getStrokeColor",null),s([n.i(i.d)({sync:!0})],t.prototype,"getFillColor",null),s([n.i(i.d)({sync:!0})],t.prototype,"getStrokeWidth",null),s([n.i(i.d)({sync:!0})],t.prototype,"getGeodesic",null),s([n.i(i.d)({sync:!0})],t.prototype,"getVisible",null),s([n.i(i.d)({sync:!0})],t.prototype,"getZIndex",null),s([n.i(i.d)({sync:!0})],t.prototype,"remove",null),s([n.i(i.d)({sync:!0})],t.prototype,"setPoints",null),s([n.i(i.d)({sync:!0})],t.prototype,"setStrokeColor",null),s([n.i(i.d)({sync:!0})],t.prototype,"setFillColor",null),s([n.i(i.d)({sync:!0})],t.prototype,"setStrokeWidth",null),s([n.i(i.d)({sync:!0})],t.prototype,"setVisible",null),s([n.i(i.d)({sync:!0})],t.prototype,"setZIndex",null),s([n.i(i.d)({sync:!0})],t.prototype,"setGeodesic",null),t}(),u=function(){function t(t){this._objectInstance=t}return t.prototype.getVisible=function(){},t.prototype.setVisible=function(t){},t.prototype.getFadeIn=function(){},t.prototype.setFadeIn=function(t){},t.prototype.getZIndex=function(){},t.prototype.setZIndex=function(t){},t.prototype.getOpacity=function(){},t.prototype.setOpacity=function(t){},t.prototype.clearTileCache=function(){},t.prototype.remove=function(){},s([n.i(i.d)({sync:!0})],t.prototype,"getVisible",null),s([n.i(i.d)({sync:!0})],t.prototype,"setVisible",null),s([n.i(i.d)({sync:!0})],t.prototype,"getFadeIn",null),s([n.i(i.d)({sync:!0})],t.prototype,"setFadeIn",null),s([n.i(i.d)({sync:!0})],t.prototype,"getZIndex",null),s([n.i(i.d)({sync:!0})],t.prototype,"setZIndex",null),s([n.i(i.d)({sync:!0})],t.prototype,"getOpacity",null),s([n.i(i.d)({sync:!0})],t.prototype,"setOpacity",null),s([n.i(i.d)({sync:!0})],t.prototype,"clearTileCache",null),s([n.i(i.d)({sync:!0})],t.prototype,"remove",null),t}(),p=function(){function t(t){this._objectInstance=t}return t.prototype.setBearing=function(t){},t.prototype.getBearing=function(){},t.prototype.setOpacity=function(t){},t.prototype.getOpacity=function(){},t.prototype.setVisible=function(t){},t.prototype.getVisible=function(){},t.prototype.setImage=function(t){},t.prototype.remove=function(){},s([n.i(i.d)({sync:!0})],t.prototype,"setBearing",null),s([n.i(i.d)({sync:!0})],t.prototype,"getBearing",null),s([n.i(i.d)({sync:!0})],t.prototype,"setOpacity",null),s([n.i(i.d)({sync:!0})],t.prototype,"getOpacity",null),s([n.i(i.d)({sync:!0})],t.prototype,"setVisible",null),s([n.i(i.d)({sync:!0})],t.prototype,"getVisible",null),s([n.i(i.d)({sync:!0})],t.prototype,"setImage",null),s([n.i(i.d)({sync:!0})],t.prototype,"remove",null),t}(),d=function(){function t(t){this._objectInstance=t}return t.prototype.remove=function(){},t.prototype.getOverlays=function(){},s([n.i(i.d)({sync:!0})],t.prototype,"remove",null),s([n.i(i.d)({sync:!0})],t.prototype,"getOverlays",null),t}();(function(){function t(t,e){var n=e?[t,e]:t;this._objectInstance=new plugin.google.maps.LatLngBounds(n)}return Object.defineProperty(t.prototype,"northeast",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"southwest",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){},enumerable:!0,configurable:!0}),t.prototype.toString=function(){},t.prototype.toUrlValue=function(t){},t.prototype.extend=function(t){},t.prototype.contains=function(t){},t.prototype.getCenter=function(){},s([i.g],t.prototype,"northeast",null),s([i.g],t.prototype,"southwest",null),s([i.g],t.prototype,"type",null),s([n.i(i.d)({sync:!0})],t.prototype,"toString",null),s([n.i(i.d)({sync:!0})],t.prototype,"toUrlValue",null),s([n.i(i.d)({sync:!0})],t.prototype,"extend",null),s([n.i(i.d)({sync:!0})],t.prototype,"contains",null),s([n.i(i.d)({sync:!0})],t.prototype,"getCenter",null),t})(),function(){function t(t,e){this.lat=t,this.lng=e}return t.prototype.equals=function(t){return this.lat===t.lat&&this.lng===t.lng},t.prototype.toString=function(){return this.lat+","+this.lng},t.prototype.toUrlValue=function(t){return t=t||6,this.lat.toFixed(t)+","+this.lng.toFixed(t)},t}(),function(){function t(){}return t.geocode=function(t){return new Promise(function(e,r){plugin&&plugin.google&&plugin.google.maps&&plugin.google.maps.Geocoder?plugin.google.maps.Geocoder.geocode(t,e):(n.i(i.f)(o),r({error:"plugin_not_installed"}))})},t}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.isAvailable=function(){},t.toggleWifi=function(){},t.createHotspot=function(t,e,n){},t.startHotspot=function(){},t.configureHotspot=function(t,e,n){},t.stopHotspot=function(){},t.isHotspotEnabled=function(){},t.getAllHotspotDevices=function(){},t.connectToWifi=function(t,e){},t.connectToWifiAuthEncrypt=function(t,e,n,i){},t.addWifiNetwork=function(t,e,n){},t.removeWifiNetwork=function(t){},t.isConnectedToInternet=function(){},t.isConnectedToInternetViaWifi=function(){},t.isWifiOn=function(){},t.isWifiSupported=function(){},t.isWifiDirectSupported=function(){},t.scanWifi=function(){},t.scanWifiByLevel=function(){},t.startWifiPeriodicallyScan=function(t,e){},t.stopWifiPeriodicallyScan=function(){},t.getNetConfig=function(){},t.getConnectionInfo=function(){},t.pingHost=function(t){},t.getMacAddressOfHost=function(t){},t.isDnsLive=function(t){},t.isPortLive=function(t){},t.isRooted=function(){},r([n.i(i.a)()],t,"isAvailable",null),r([n.i(i.a)()],t,"toggleWifi",null),r([n.i(i.a)()],t,"createHotspot",null),r([n.i(i.a)()],t,"startHotspot",null),r([n.i(i.a)()],t,"configureHotspot",null),r([n.i(i.a)()],t,"stopHotspot",null),r([n.i(i.a)()],t,"isHotspotEnabled",null),r([n.i(i.a)()],t,"getAllHotspotDevices",null),r([n.i(i.a)()],t,"connectToWifi",null),r([n.i(i.a)()],t,"connectToWifiAuthEncrypt",null),r([n.i(i.a)()],t,"addWifiNetwork",null),r([n.i(i.a)()],t,"removeWifiNetwork",null),r([n.i(i.a)()],t,"isConnectedToInternet",null),r([n.i(i.a)()],t,"isConnectedToInternetViaWifi",null),r([n.i(i.a)()],t,"isWifiOn",null),r([n.i(i.a)()],t,"isWifiSupported",null),r([n.i(i.a)()],t,"isWifiDirectSupported",null),r([n.i(i.a)()],t,"scanWifi",null),r([n.i(i.a)()],t,"scanWifiByLevel",null),r([n.i(i.a)()],t,"startWifiPeriodicallyScan",null),r([n.i(i.a)()],t,"stopWifiPeriodicallyScan",null),r([n.i(i.a)()],t,"getNetConfig",null),r([n.i(i.a)()],t,"getConnectionInfo",null),r([n.i(i.a)()],t,"pingHost",null),r([n.i(i.a)()],t,"getMacAddressOfHost",null),r([n.i(i.a)()],t,"isDnsLive",null),r([n.i(i.a)()],t,"isPortLive",null),r([n.i(i.a)()],t,"isRooted",null),t=r([n.i(i.b)({plugin:"cordova-plugin-hotspot",pluginRef:"cordova.plugins.hotspot",repo:"https://github.com/hypery2k/cordova-hotspot-plugin",platforms:["Android"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.getBasicAuthHeader=function(t,e){},t.useBasicAuth=function(t,e){},t.setHeader=function(t,e){},t.enableSSLPinning=function(t){},t.acceptAllCerts=function(t){},t.validateDomainName=function(t){},t.post=function(t,e,n){},t.get=function(t,e,n){},t.uploadFile=function(t,e,n,i,r){},t.downloadFile=function(t,e,n,i){},r([n.i(i.a)({sync:!0})],t,"getBasicAuthHeader",null),r([n.i(i.a)({sync:!0})],t,"useBasicAuth",null),r([n.i(i.a)({sync:!0})],t,"setHeader",null),r([n.i(i.a)()],t,"enableSSLPinning",null),r([n.i(i.a)()],t,"acceptAllCerts",null),r([n.i(i.a)()],t,"validateDomainName",null),r([n.i(i.a)()],t,"post",null),r([n.i(i.a)()],t,"get",null),r([n.i(i.a)()],t,"uploadFile",null),r([n.i(i.a)()],t,"downloadFile",null),t=r([n.i(i.b)({plugin:"cordova-plugin-http",pluginRef:"cordovaHTTP",repo:"https://github.com/wymsee/cordova-HTTP",platforms:["Android","iOS"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.startServer=function(t){},t.getUrl=function(){},t.getLocalPath=function(){},r([n.i(i.a)({observable:!0,clearFunction:"stopServer"})],t,"startServer",null),r([n.i(i.a)()],t,"getUrl",null),r([n.i(i.a)()],t,"getLocalPath",null),t=r([n.i(i.b)({plugin:"https://github.com/floatinghotpot/cordova-httpd.git",pluginRef:"cordova.plugins.CorHttpd",repo:"https://github.com/floatinghotpot/cordova-httpd",platforms:["iOS","Android"]})],t)}()},function(t,e,n){"use strict";var i=n(3),r=n(1);n.n(r);n.d(e,"a",function(){return o});var s=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},o=function(){function t(){}return t.Delegate=function(){var t=new cordova.plugins.locationManager.Delegate;return t.didChangeAuthorizationStatus=function(e){return new r.Observable(function(e){var n=function(t){return e.next(t)};return t.didChangeAuthorizationStatus=n})},t.didDetermineStateForRegion=function(e){return new r.Observable(function(e){var n=function(t){return e.next(t)};return t.didDetermineStateForRegion=n})},t.didEnterRegion=function(e){return new r.Observable(function(e){var n=function(t){return e.next(t)};return t.didEnterRegion=n})},t.didExitRegion=function(e){return new r.Observable(function(e){var n=function(t){return e.next(t)};return t.didExitRegion=n})},t.didRangeBeaconsInRegion=function(e){return new r.Observable(function(e){var n=function(t){return e.next(t)};return t.didRangeBeaconsInRegion=n})},t.didStartMonitoringForRegion=function(e){return new r.Observable(function(e){var n=function(t){return e.next(t)};return t.didStartMonitoringForRegion=n})},t.monitoringDidFailForRegionWithError=function(e){return new r.Observable(function(e){var n=function(t){return e.next(t)};return t.monitoringDidFailForRegionWithError=n})},t.peripheralManagerDidStartAdvertising=function(e){return new r.Observable(function(e){var n=function(t){return e.next(t)};return t.peripheralManagerDidStartAdvertising=n})},t.peripheralManagerDidUpdateState=function(e){return new r.Observable(function(e){var n=function(t){return e.next(t)};return t.peripheralManagerDidUpdateState=n})},cordova.plugins.locationManager.setDelegate(t),t},t.BeaconRegion=function(t,e,n,i,r){return new cordova.plugins.locationManager.BeaconRegion(t,e,n,i,r)},t.getDelegate=function(){},t.setDelegate=function(t){},t.onDomDelegateReady=function(){},t.isBluetoothEnabled=function(){},t.enableBluetooth=function(){},t.disableBluetooth=function(){},t.startMonitoringForRegion=function(t){},t.stopMonitoringForRegion=function(t){},t.requestStateForRegion=function(t){},t.startRangingBeaconsInRegion=function(t){},t.stopRangingBeaconsInRegion=function(t){},t.getAuthorizationStatus=function(){},t.requestWhenInUseAuthorization=function(){},t.requestAlwaysAuthorization=function(){},t.getMonitoredRegions=function(){},t.getRangedRegions=function(){},t.isRangingAvailable=function(){},t.isMonitoringAvailableForClass=function(t){},t.startAdvertising=function(t,e){},t.stopAdvertising=function(t){},t.isAdvertisingAvailable=function(){},t.isAdvertising=function(){},t.disableDebugLogs=function(){},t.enableDebugNotifications=function(){},t.disableDebugNotifications=function(){},t.enableDebugLogs=function(){},t.appendToDeviceLog=function(t){},s([n.i(i.a)()],t,"getDelegate",null),s([n.i(i.a)()],t,"setDelegate",null),s([n.i(i.a)({otherPromise:!0})],t,"onDomDelegateReady",null),s([n.i(i.a)({otherPromise:!0})],t,"isBluetoothEnabled",null),s([n.i(i.a)({otherPromise:!0})],t,"enableBluetooth",null),s([n.i(i.a)({otherPromise:!0})],t,"disableBluetooth",null),s([n.i(i.a)({otherPromise:!0})],t,"startMonitoringForRegion",null),s([n.i(i.a)({otherPromise:!0})],t,"stopMonitoringForRegion",null),s([n.i(i.a)({otherPromise:!0})],t,"requestStateForRegion",null),s([n.i(i.a)({otherPromise:!0})],t,"startRangingBeaconsInRegion",null),s([n.i(i.a)({otherPromise:!0})],t,"stopRangingBeaconsInRegion",null),s([n.i(i.a)({otherPromise:!0})],t,"getAuthorizationStatus",null),s([n.i(i.a)({otherPromise:!0})],t,"requestWhenInUseAuthorization",null),s([n.i(i.a)({otherPromise:!0})],t,"requestAlwaysAuthorization",null),s([n.i(i.a)({otherPromise:!0})],t,"getMonitoredRegions",null),s([n.i(i.a)({otherPromise:!0})],t,"getRangedRegions",null),s([n.i(i.a)({otherPromise:!0})],t,"isRangingAvailable",null),s([n.i(i.a)({otherPromise:!0})],t,"isMonitoringAvailableForClass",null),s([n.i(i.a)({otherPromise:!0})],t,"startAdvertising",null),s([n.i(i.a)({otherPromise:!0})],t,"stopAdvertising",null),s([n.i(i.a)({otherPromise:!0})],t,"isAdvertisingAvailable",null),s([n.i(i.a)({otherPromise:!0})],t,"isAdvertising",null),s([n.i(i.a)({otherPromise:!0})],t,"disableDebugLogs",null),s([n.i(i.a)({otherPromise:!0})],t,"enableDebugNotifications",null),s([n.i(i.a)({otherPromise:!0})],t,"disableDebugNotifications",null),s([n.i(i.a)({otherPromise:!0})],t,"enableDebugLogs",null),s([n.i(i.a)({otherPromise:!0})],t,"appendToDeviceLog",null),t=s([n.i(i.b)({plugin:"cordova-plugin-ibeacon",pluginRef:"cordova.plugins.locationManager",repo:"https://github.com/petermetz/cordova-plugin-ibeacon",platforms:["Android","iOS"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.getPictures=function(t){},r([n.i(i.a)({callbackOrder:"reverse"})],t,"getPictures",null),t=r([n.i(i.b)({plugin:"cordova-plugin-image-picker",pluginRef:"window.imagePicker",repo:"https://github.com/wymsee/cordova-imagePicker"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.resize=function(t){},r([n.i(i.a)()],t,"resize",null),t=r([n.i(i.b)({plugin:"https://github.com/protonet/cordova-plugin-image-resizer.git",pluginRef:"ImageResizer",repo:"https://github.com/protonet/cordova-plugin-image-resizer"})],t)}()},function(t,e,n){"use strict";var i=n(3),r=n(1);n.n(r);n.d(e,"a",function(){return o});var s=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},o=function(){function t(t,e,n){try{this._objectInstance=cordova.InAppBrowser.open(t,e,n)}catch(e){window.open(t),console.warn("Native: InAppBrowser is not installed or you are running on a browser. Falling back to window.open, all instance methods will NOT work.")}}return t.open=function(t,e,n){console.warn("Native: Your current usage of the InAppBrowser plugin is depreciated as of ionic-native@1.3.8. Please check the Ionic Native docs for the latest usage details.")},t.prototype.show=function(){},t.prototype.close=function(){},t.prototype.executeScript=function(t){},t.prototype.insertCss=function(t){},t.prototype.on=function(t){var e=this;return new r.Observable(function(n){return e._objectInstance.addEventListener(t,n.next.bind(n)),function(){return e._objectInstance.removeEventListener(t,n.next.bind(n))}})},s([n.i(i.d)({sync:!0})],t.prototype,"show",null),s([n.i(i.d)({sync:!0})],t.prototype,"close",null),s([n.i(i.d)()],t.prototype,"executeScript",null),s([n.i(i.d)()],t.prototype,"insertCss",null),t=s([n.i(i.b)({plugin:"cordova-plugin-inappbrowser",pluginRef:"cordova.InAppBrowser",repo:"https://github.com/apache/cordova-plugin-inappbrowser"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.getProducts=function(t){},t.buy=function(t){},t.subscribe=function(t){},t.consume=function(t,e,n){},t.restorePurchases=function(){},t.getReceipt=function(){},r([n.i(i.a)({otherPromise:!0})],t,"getProducts",null),r([n.i(i.a)({otherPromise:!0})],t,"buy",null),r([n.i(i.a)({otherPromise:!0})],t,"subscribe",null),r([n.i(i.a)({otherPromise:!0})],t,"consume",null),r([n.i(i.a)({otherPromise:!0})],t,"restorePurchases",null),r([n.i(i.a)({otherPromise:!0,platforms:["iOS"]})],t,"getReceipt",null),t=r([n.i(i.b)({plugin:"cordova-plugin-inapppurchase",pluginRef:"inAppPurchase",platforms:["Android","iOS"],repo:"https://github.com/AlexDisler/cordova-plugin-inapppurchase"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.keepAwake=function(){},t.allowSleepAgain=function(){},r([n.i(i.a)()],t,"keepAwake",null),r([n.i(i.a)()],t,"allowSleepAgain",null),t=r([n.i(i.b)({plugin:"https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin.git",pluginRef:"plugins.insomnia",repo:"https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin",platforms:["Android","iOS","Windows Phone 8"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.isInstalled=function(){},t.share=function(t,e){},t.shareAsset=function(t){},r([n.i(i.a)({callbackStyle:"node"})],t,"isInstalled",null),r([n.i(i.a)({callbackStyle:"node"})],t,"share",null),r([n.i(i.a)({callbackOrder:"reverse"})],t,"shareAsset",null),t=r([n.i(i.b)({plugin:"cordova-instagram-plugin",pluginRef:"Instagram",repo:"https://github.com/vstirbu/InstagramPlugin"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.getIsDebug=function(){},r([n.i(i.a)()],t,"getIsDebug",null),t=r([n.i(i.b)({plugin:"cordova-plugin-is-debug",pluginRef:"cordova.plugins.IsDebug",repo:"https://github.com/mattlewis92/cordova-plugin-is-debug"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.hideKeyboardAccessoryBar=function(t){},t.show=function(){},t.close=function(){},t.disableScroll=function(t){},t.onKeyboardShow=function(){},t.onKeyboardHide=function(){},r([n.i(i.a)({sync:!0})],t,"hideKeyboardAccessoryBar",null),r([n.i(i.a)({sync:!0,platforms:["Android","BlackBerry 10","Windows"]})],t,"show",null),r([n.i(i.a)({sync:!0,platforms:["iOS","Android","BlackBerry 10","Windows"]})],t,"close",null),r([n.i(i.a)({sync:!0,platforms:["iOS","Windows"]})],t,"disableScroll",null),r([n.i(i.a)({eventObservable:!0,event:"native.keyboardshow",platforms:["iOS","Android","BlackBerry 10","Windows"]})],t,"onKeyboardShow",null),r([n.i(i.a)({eventObservable:!0,event:"native.keyboardhide",platforms:["iOS","Android","BlackBerry 10","Windows"]})],t,"onKeyboardHide",null),t=r([n.i(i.b)({plugin:"ionic-plugin-keyboard",pluginRef:"cordova.plugins.Keyboard",repo:"https://github.com/driftyco/ionic-plugin-keyboard"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.navigate=function(t,e){},t.isAppAvailable=function(t){},t.availableApps=function(){},t.getAppDisplayName=function(t){},t.getAppsForPlatform=function(t){},t.supportsTransportMode=function(t,e){},t.getTransportModes=function(t,e){},t.supportsLaunchMode=function(t,e){},t.supportsStart=function(t,e){},t.supportsStartName=function(t,e){},t.supportsDestName=function(t,e){},t.userSelect=function(t,e){},t.APP={USER_SELECT:"user_select",APPLE_MAPS:"apple_maps",GOOGLE_MAPS:"google_maps",WAZE:"waze",CITYMAPPER:"citymapper",NAVIGON:"navigon",TRANSIT_APP:"transit_app",YANDEX:"yandex",UBER:"uber",TOMTOM:"tomtom",BING_MAPS:"bing_maps",SYGIC:"sygic",HERE_MAPS:"here_maps",MOOVIT:"moovit"},t.TRANSPORT_MODE={DRIVING:"driving",WALKING:"walking",BICYCLING:"bicycling",TRANSIT:"transit"},r([n.i(i.a)({successIndex:1,errorIndex:2})],t,"navigate",null),r([n.i(i.a)()],t,"isAppAvailable",null),r([n.i(i.a)()],t,"availableApps",null),r([n.i(i.a)({sync:!0})],t,"getAppDisplayName",null),r([n.i(i.a)({sync:!0})],t,"getAppsForPlatform",null),r([n.i(i.a)({sync:!0})],t,"supportsTransportMode",null),r([n.i(i.a)({sync:!0})],t,"getTransportModes",null),r([n.i(i.a)({sync:!0})],t,"supportsLaunchMode",null),r([n.i(i.a)({sync:!0})],t,"supportsStart",null),r([n.i(i.a)({sync:!0})],t,"supportsStartName",null),r([n.i(i.a)({sync:!0})],t,"supportsDestName",null),r([n.i(i.a)({sync:!0})],t,"userSelect",null),t=r([n.i(i.b)({plugin:"uk.co.workingedge.phonegap.plugin.launchnavigator",pluginRef:"launchnavigator",repo:"https://github.com/dpa99c/phonegap-launch-navigator.git"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.schedule=function(t){},t.update=function(t){},t.clear=function(t){},t.clearAll=function(){},t.cancel=function(t){},t.cancelAll=function(){},t.isPresent=function(t){},t.isScheduled=function(t){},t.isTriggered=function(t){},t.getAllIds=function(){},t.getTriggeredIds=function(){},t.getScheduledIds=function(){},t.get=function(t){},t.getScheduled=function(t){},t.getTriggered=function(t){},t.getAll=function(){},t.getAllScheduled=function(){},t.getAllTriggered=function(){},t.registerPermission=function(){},t.hasPermission=function(){},t.on=function(t,e){},r([n.i(i.a)({sync:!0})],t,"schedule",null),r([n.i(i.a)({sync:!0})],t,"update",null),r([n.i(i.a)()],t,"clear",null),r([n.i(i.a)({successIndex:0,errorIndex:2})],t,"clearAll",null),r([n.i(i.a)()],t,"cancel",null),r([n.i(i.a)({successIndex:0,errorIndex:2})],t,"cancelAll",null),r([n.i(i.a)()],t,"isPresent",null),r([n.i(i.a)()],t,"isScheduled",null),r([n.i(i.a)()],t,"isTriggered",null),r([n.i(i.a)()],t,"getAllIds",null),r([n.i(i.a)()],t,"getTriggeredIds",null),r([n.i(i.a)()],t,"getScheduledIds",null),r([n.i(i.a)()],t,"get",null),r([n.i(i.a)()],t,"getScheduled",null),r([n.i(i.a)()],t,"getTriggered",null),r([n.i(i.a)()],t,"getAll",null),r([n.i(i.a)()],t,"getAllScheduled",null),r([n.i(i.a)()],t,"getAllTriggered",null),r([n.i(i.a)()],t,"registerPermission",null),r([n.i(i.a)()],t,"hasPermission",null),r([n.i(i.a)({sync:!0})],t,"on",null),t=r([n.i(i.b)({plugin:"de.appplant.cordova.plugin.local-notification",pluginRef:"cordova.plugins.notification.local",repo:"https://github.com/katzer/cordova-plugin-local-notifications"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.canRequest=function(){},t.isRequesting=function(){},t.request=function(t){},t.REQUEST_PRIORITY_NO_POWER=0,t.REQUEST_PRIORITY_LOW_POWER=1,t.REQUEST_PRIORITY_BALANCED_POWER_ACCURACY=2,t.REQUEST_PRIORITY_HIGH_ACCURACY=3,t.SUCCESS_SETTINGS_SATISFIED=0,t.SUCCESS_USER_AGREED=1,t.ERROR_ALREADY_REQUESTING=-1,t.ERROR_INVALID_ACTION=0,t.ERROR_INVALID_ACCURACY=1,t.ERROR_EXCEPTION=1,t.ERROR_CANNOT_CHANGE_ACCURACY=3,t.ERROR_USER_DISAGREED=4,t.ERROR_GOOGLE_API_CONNECTION_FAILED=4,r([n.i(i.a)()],t,"canRequest",null),r([n.i(i.a)()],t,"isRequesting",null),r([n.i(i.a)({callbackOrder:"reverse"})],t,"request",null),t=r([n.i(i.b)({plugin:"cordova-plugin-request-location-accuracy",pluginRef:"cordova.plugins.locationAccuracy",repo:"https://github.com/dpa99c/cordova-plugin-request-location-accuracy"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.open=function(t,e){},r([n.i(i.a)({sync:!0})],t,"open",null),t=r([n.i(i.b)({plugin:"cordova-plugin-market",pluginRef:"plugins.market",repo:"https://github.com/xmartlabs/cordova-plugin-market"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return Object.defineProperty(t,"supportedImageModes",{ get:function(){return navigator.device.capture.supportedImageModes},enumerable:!0,configurable:!0}),Object.defineProperty(t,"supportedAudioModes",{get:function(){return navigator.device.capture.supportedAudioModes},enumerable:!0,configurable:!0}),Object.defineProperty(t,"supportedVideoModes",{get:function(){return navigator.device.capture.supportedVideoModes},enumerable:!0,configurable:!0}),t.captureAudio=function(t){},t.captureImage=function(t){},t.captureVideo=function(t){},t.onPendingCaptureResult=function(){},t.onPendingCaptureError=function(){},r([i.c],t,"supportedImageModes",null),r([i.c],t,"supportedAudioModes",null),r([i.c],t,"supportedVideoModes",null),r([n.i(i.a)({callbackOrder:"reverse"})],t,"captureAudio",null),r([n.i(i.a)({callbackOrder:"reverse"})],t,"captureImage",null),r([n.i(i.a)({callbackOrder:"reverse"})],t,"captureVideo",null),r([n.i(i.a)({eventObservable:!0,event:"pendingcaptureresult"})],t,"onPendingCaptureResult",null),r([n.i(i.a)({eventObservable:!0,event:"pendingcaptureerror"})],t,"onPendingCaptureError",null),t=r([n.i(i.b)({plugin:"cordova-plugin-media-capture",pluginRef:"navigator.device.capture",repo:"https://github.com/apache/cordova-plugin-media-capture"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return o});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s={repo:"https://github.com/apache/cordova-plugin-media",plugin:"cordova-plugin-media",pluginRef:"Media"},o=function(){function t(t,e){var r=this;n.i(i.e)("Media")?this.init=new Promise(function(n,i){r._objectInstance=new Media(t,n,i,e)}):n.i(i.f)(s)}return t.prototype.getCurrentAmplitude=function(){},t.prototype.getCurrentPosition=function(){},t.prototype.getDuration=function(){},t.prototype.play=function(t){},t.prototype.pause=function(){},t.prototype.release=function(){},t.prototype.seekTo=function(t){},t.prototype.setVolume=function(t){},t.prototype.startRecord=function(){},t.prototype.stopRecord=function(){},t.prototype.stop=function(){},t.MEDIA_NONE=0,t.MEDIA_STARTING=1,t.MEDIA_RUNNING=2,t.MEDIA_PAUSED=3,t.MEDIA_STOPPED=4,t.MEDIA_ERR_ABORTED=1,t.MEDIA_ERR_NETWORK=2,t.MEDIA_ERR_DECODE=3,t.MEDIA_ERR_NONE_SUPPORTED=4,r([n.i(i.d)()],t.prototype,"getCurrentAmplitude",null),r([n.i(i.d)()],t.prototype,"getCurrentPosition",null),r([n.i(i.d)({sync:!0})],t.prototype,"getDuration",null),r([n.i(i.d)({sync:!0})],t.prototype,"play",null),r([n.i(i.d)({sync:!0})],t.prototype,"pause",null),r([n.i(i.d)({sync:!0})],t.prototype,"release",null),r([n.i(i.d)({sync:!0})],t.prototype,"seekTo",null),r([n.i(i.d)({sync:!0})],t.prototype,"setVolume",null),r([n.i(i.d)({sync:!0})],t.prototype,"startRecord",null),r([n.i(i.d)({sync:!0})],t.prototype,"stopRecord",null),r([n.i(i.d)({sync:!0})],t.prototype,"stop",null),t=r([n.i(i.b)(s)],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.alias=function(t,e){},t.distinctId=function(){},t.flush=function(){},t.identify=function(t){},t.init=function(t){},t.registerSuperProperties=function(t){},t.reset=function(){},t.track=function(t,e){},t.showSurvey=function(){},Object.defineProperty(t,"people",{get:function(){return mixpanel.people},enumerable:!0,configurable:!0}),r([n.i(i.a)()],t,"alias",null),r([n.i(i.a)()],t,"distinctId",null),r([n.i(i.a)()],t,"flush",null),r([n.i(i.a)()],t,"identify",null),r([n.i(i.a)()],t,"init",null),r([n.i(i.a)()],t,"registerSuperProperties",null),r([n.i(i.a)()],t,"reset",null),r([n.i(i.a)()],t,"track",null),r([n.i(i.a)()],t,"showSurvey",null),r([i.c],t,"people",null),t=r([n.i(i.b)({plugin:"cordova-plugin-mixpanel",pluginRef:"mixpanel",repo:"https://github.com/samzilverberg/cordova-mixpanel-plugin"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.create=function(t){},t.destroy=function(){},t.subscribe=function(){},t.listen=function(){},t.updateIsPlaying=function(t){},r([n.i(i.a)()],t,"create",null),r([n.i(i.a)()],t,"destroy",null),r([n.i(i.a)({observable:!0})],t,"subscribe",null),r([n.i(i.a)({sync:!0})],t,"listen",null),r([n.i(i.a)({sync:!0})],t,"updateIsPlaying",null),t=r([n.i(i.b)({plugin:"cordova-plugin-music-controls",pluginRef:"MusicControls",repo:"https://github.com/homerours/cordova-music-controls-plugin"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.preloadSimple=function(t,e){},t.preloadComplex=function(t,e,n,i,r){},t.play=function(t,e){},t.stop=function(t){},t.loop=function(t){},t.unload=function(t){},t.setVolumeForComplexAsset=function(t,e){},r([n.i(i.a)()],t,"preloadSimple",null),r([n.i(i.a)()],t,"preloadComplex",null),r([n.i(i.a)({successIndex:1,errorIndex:2})],t,"play",null),r([n.i(i.a)()],t,"stop",null),r([n.i(i.a)()],t,"loop",null),r([n.i(i.a)()],t,"unload",null),r([n.i(i.a)()],t,"setVolumeForComplexAsset",null),t=r([n.i(i.b)({plugin:"cordova-plugin-nativeaudio",pluginRef:"plugins.NativeAudio",repo:"https://github.com/floatinghotpot/cordova-plugin-nativeaudio"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.slide=function(t){},t.flip=function(t){},t.fade=function(t){},t.drawer=function(t){},t.curl=function(t){},r([n.i(i.a)()],t,"slide",null),r([n.i(i.a)()],t,"flip",null),r([n.i(i.a)({platforms:["iOS","Android"]})],t,"fade",null),r([n.i(i.a)({platforms:["iOS","Android"]})],t,"drawer",null),r([n.i(i.a)({platforms:["iOS"]})],t,"curl",null),t=r([n.i(i.b)({plugin:"com.telerik.plugins.nativepagetransitions",pluginRef:"plugins.nativepagetransitions",repo:"https://github.com/Telerik-Verified-Plugins/NativePageTransitions",platforms:["iOS","Android","Windows Phone"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.setItem=function(t,e){},t.getItem=function(t){},t.remove=function(t){},t.clear=function(){},r([n.i(i.a)()],t,"setItem",null),r([n.i(i.a)()],t,"getItem",null),r([n.i(i.a)()],t,"remove",null),r([n.i(i.a)()],t,"clear",null),t=r([n.i(i.b)({plugin:"cordova-plugin-nativestorage",pluginRef:"NativeStorage",repo:"https://github.com/TheCocoaProject/cordova-plugin-nativestorage"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return Object.defineProperty(t,"connection",{get:function(){return navigator.connection.type},enumerable:!0,configurable:!0}),t.onDisconnect=function(){},t.onConnect=function(){},r([i.c],t,"connection",null),r([n.i(i.a)({eventObservable:!0,event:"offline"})],t,"onDisconnect",null),r([n.i(i.a)({eventObservable:!0,event:"online"})],t,"onConnect",null),t=r([n.i(i.b)({plugin:"cordova-plugin-network-information",repo:"https://github.com/apache/cordova-plugin-network-information",platforms:["Amazon Fire OS","iOS","Android","BlackBerry 10","Windows Phone 7","Windows Phone 8","Windows","Firefox OS","Browser"],pluginRef:"navigator.connection"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.addNdefListener=function(t,e){},t.addTagDiscoveredListener=function(t,e,n){},t.addMimeTypeListener=function(t,e){},t.addNdefFormatableListener=function(t,e){},t.write=function(t){},t.makeReadyOnly=function(){},t.share=function(t){},t.unshare=function(){},t.erase=function(){},t.handover=function(t){},t.stopHandover=function(){},t.showSettings=function(){},t.enabled=function(){},r([n.i(i.a)({observable:!0,successIndex:0,errorIndex:3,clearFunction:"removeNdefListener",clearWithArgs:!0})],t,"addNdefListener",null),r([n.i(i.a)({observable:!0,successIndex:1,errorIndex:4,clearFunction:"removeTagDiscoveredListener",clearWithArgs:!0})],t,"addTagDiscoveredListener",null),r([n.i(i.a)({observable:!0,successIndex:0,errorIndex:3,clearFunction:"removeMimeTypeListener",clearWithArgs:!0})],t,"addMimeTypeListener",null),r([n.i(i.a)({observable:!0,successIndex:0,errorIndex:3})],t,"addNdefFormatableListener",null),r([n.i(i.a)()],t,"write",null),r([n.i(i.a)()],t,"makeReadyOnly",null),r([n.i(i.a)()],t,"share",null),r([n.i(i.a)()],t,"unshare",null),r([n.i(i.a)()],t,"erase",null),r([n.i(i.a)()],t,"handover",null),r([n.i(i.a)()],t,"stopHandover",null),r([n.i(i.a)()],t,"showSettings",null),r([n.i(i.a)()],t,"enabled",null),t=r([n.i(i.b)({plugin:"phonegap-nfc",pluginRef:"nfc",repo:"https://github.com/chariotsolutions/phonegap-nfc"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.startInit=function(t,e){},t.handleNotificationReceived=function(){},t.handleNotificationOpened=function(){},t.iOSSettings=function(t){},t.endInit=function(){},t.getTags=function(){},t.getIds=function(){},t.sendTag=function(t,e){},t.sendTags=function(t){},t.deleteTag=function(t){},t.deleteTags=function(t){},t.registerForPushNotifications=function(){},t.enableVibrate=function(t){},t.enableSound=function(t){},t.inFocusDisplaying=function(t){},t.setSubscription=function(t){},t.postNotification=function(t){},t.promptLocation=function(){},t.syncHashedEmail=function(t){},t.setLogLevel=function(t){},t.OSInFocusDisplayOption={None:0,InAppAlert:1,Notification:2},r([n.i(i.a)({sync:!0})],t,"startInit",null),r([n.i(i.a)({observable:!0})],t,"handleNotificationReceived",null),r([n.i(i.a)({observable:!0})],t,"handleNotificationOpened",null),r([n.i(i.a)({sync:!0})],t,"iOSSettings",null),r([n.i(i.a)({sync:!0})],t,"endInit",null),r([n.i(i.a)()],t,"getTags",null),r([n.i(i.a)()],t,"getIds",null),r([n.i(i.a)({sync:!0})],t,"sendTag",null),r([n.i(i.a)({sync:!0})],t,"sendTags",null),r([n.i(i.a)({sync:!0})],t,"deleteTag",null),r([n.i(i.a)({sync:!0})],t,"deleteTags",null),r([n.i(i.a)({sync:!0})],t,"registerForPushNotifications",null),r([n.i(i.a)({sync:!0})],t,"enableVibrate",null),r([n.i(i.a)({sync:!0})],t,"enableSound",null),r([n.i(i.a)({sync:!0})],t,"inFocusDisplaying",null),r([n.i(i.a)({sync:!0})],t,"setSubscription",null),r([n.i(i.a)()],t,"postNotification",null),r([n.i(i.a)({sync:!0})],t,"promptLocation",null),r([n.i(i.a)({sync:!0})],t,"syncHashedEmail",null),r([n.i(i.a)({sync:!0})],t,"setLogLevel",null),t=r([n.i(i.b)({plugin:"onesignal-cordova-plugin",pluginRef:"plugins.OneSignal",repo:"https://github.com/OneSignal/OneSignal-Cordova-SDK"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.version=function(){},t.init=function(t){},t.prepareToRender=function(t,e){},t.renderSinglePaymentUI=function(t){},t.clientMetadataID=function(){},t.renderFuturePaymentUI=function(){},t.renderProfileSharingUI=function(t){},r([n.i(i.a)()],t,"version",null),r([n.i(i.a)()],t,"init",null),r([n.i(i.a)()],t,"prepareToRender",null),r([n.i(i.a)()],t,"renderSinglePaymentUI",null),r([n.i(i.a)()],t,"clientMetadataID",null),r([n.i(i.a)()],t,"renderFuturePaymentUI",null),r([n.i(i.a)()],t,"renderProfileSharingUI",null),t=r([n.i(i.b)({plugin:"com.paypal.cordova.mobilesdk",pluginRef:"PayPalMobile",repo:"https://github.com/paypal/PayPal-Cordova-Plugin"})],t)}();(function(){function t(t,e,n,i,r){this.bnCode="PhoneGap_SP",this.amount=t,this.currency=e,this.shortDescription=n,this.intent=i,this.details=r}return t})(),function(){function t(t,e,n,i,r){this.name=t,this.quantity=e,this.price=n,this.currency=i,this.sku=r}return t}(),function(){function t(t,e,n){this.subtotal=t,this.shipping=e,this.tax=n}return t}(),function(){function t(t){var e={defaultUserEmail:null,defaultUserPhoneCountryCode:null,defaultUserPhoneNumber:null,merchantName:null,merchantPrivacyPolicyURL:null,merchantUserAgreementURL:null,acceptCreditCards:!0,payPalShippingAddressOption:0,rememberUser:!0,languageOrLocale:null,disableBlurWhenBackgrounding:!1,presentingInPopover:!1,forceDefaultsInSandbox:!1,sandboxUserPassword:null,sandboxUserPin:null};if(t&&"object"==typeof t)for(var n in t)e.hasOwnProperty(n)&&(e[n]=t[n]);return e}return t}(),function(){function t(t,e,n,i,r,s,o){this.recipientName=t,this.line1=e,this.line2=n,this.city=i,this.state=r,this.postalCode=s,this.countryCode=o}return t}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.show=function(t,e,n){},r([n.i(i.a)({sync:!0})],t,"show",null),t=r([n.i(i.b)({plugin:"com-sarriaroman-photoviewer",pluginRef:"PhotoViewer",repo:"https://github.com/sarriaroman/photoviewer"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.prompt=function(t,e,n){},r([n.i(i.a)({successIndex:1})],t,"prompt",null),t=r([n.i(i.b)({plugin:"cordova-plugin-pin-dialog",pluginRef:"plugins.pinDialog",repo:"https://github.com/Paldom/PinDialog"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.acquire=function(){},t.dim=function(){},t.release=function(){},t.setReleaseOnPause=function(t){},r([n.i(i.a)()],t,"acquire",null),r([n.i(i.a)()],t,"dim",null),r([n.i(i.a)()],t,"release",null),r([n.i(i.a)()],t,"setReleaseOnPause",null),t=r([n.i(i.b)({plugin:"cordova-plugin-powermanagement-orig",pluginRef:"powerManagement",repo:"https://github.com/Viras-/cordova-plugin-powermanagement"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.isAvailable=function(){},t.print=function(t,e){},r([n.i(i.a)()],t,"isAvailable",null),r([n.i(i.a)()],t,"print",null),t=r([n.i(i.b)({plugin:"de.appplant.cordova.plugin.printer",pluginRef:"cordova.plugins.printer",repo:"https://github.com/katzer/cordova-plugin-printer.git",platforms:["Android","iOS"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.init=function(t){},t.hasPermission=function(){},r([n.i(i.a)({sync:!0})],t,"init",null),r([n.i(i.a)()],t,"hasPermission",null),t=r([n.i(i.b)({plugin:"phonegap-plugin-push",pluginRef:"PushNotification",repo:"https://github.com/phonegap/phonegap-plugin-push"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.isAvailable=function(){},t.show=function(t){},t.hide=function(){},t.connectToService=function(){},t.warmUp=function(){},t.mayLaunchUrl=function(t){},r([n.i(i.a)()],t,"isAvailable",null),r([n.i(i.a)()],t,"show",null),r([n.i(i.a)()],t,"hide",null),r([n.i(i.a)()],t,"connectToService",null),r([n.i(i.a)()],t,"warmUp",null),r([n.i(i.a)()],t,"mayLaunchUrl",null),t=r([n.i(i.b)({plugin:"cordova-plugin-safariviewcontroller",pluginRef:"SafariViewController",platforms:["iOS","Android"],repo:"https://github.com/EddyVerbruggen/cordova-plugin-safariviewcontroller"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.lockOrientation=function(t){},t.unlockOrientation=function(){},Object.defineProperty(t,"orientation",{get:function(){return window.screen.orientation},enumerable:!0,configurable:!0}),r([n.i(i.a)({sync:!0})],t,"lockOrientation",null),r([n.i(i.a)({sync:!0})],t,"unlockOrientation",null),r([i.c],t,"orientation",null),t=r([n.i(i.b)({plugin:"cordova-plugin-screen-orientation",pluginRef:"window.screen",repo:"https://github.com/apache/cordova-plugin-screen-orientation",platforms:["Android","iOS","Windows Phone 8"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.save=function(t,e,n){return new Promise(function(i,r){navigator.screenshot.save(function(t,e){t?r(t):i(e)},t,e,n)})},t.URI=function(t){return new Promise(function(e,n){navigator.screenshot.URI(function(t,i){t?n(t):e(i)},t)})},t=r([n.i(i.b)({plugin:"https://github.com/gitawego/cordova-screenshot.git",pluginRef:"navigator.screenshot",repo:"https://github.com/gitawego/cordova-screenshot.git"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.prototype.create=function(t){var e=this;return new Promise(function(n,i){e._objectInstance=new cordova.plugins.SecureStorage(n,i,t)})},t.prototype.get=function(t){},t.prototype.set=function(t,e){},t.prototype.remove=function(t){},r([n.i(i.d)({callbackOrder:"reverse"})],t.prototype,"get",null),r([n.i(i.d)({callbackOrder:"reverse"})],t.prototype,"set",null),r([n.i(i.d)({callbackOrder:"reverse"})],t.prototype,"remove",null),t=r([n.i(i.b)({plugin:"cordova-plugin-secure-storage",pluginRef:"plugins.securestorage",repo:"https://github.com/Crypho/cordova-plugin-secure-storage",platforms:["Android","iOS","Windows Phone","Browser"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.startWatch=function(t){},r([n.i(i.a)({observable:!0,clearFunction:"stopWatch",successIndex:0,errorIndex:2})],t,"startWatch",null),t=r([n.i(i.b)({plugin:"cordova-plugin-shake",pluginRef:"shake",repo:"https://github.com/leecrossley/cordova-plugin-shake"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.getSimInfo=function(){},r([n.i(i.a)()],t,"getSimInfo",null),t=r([n.i(i.b)({plugin:"cordova-plugin-sim",pluginRef:"plugins.sim",repo:"https://github.com/pbakondy/cordova-plugin-sim",platforms:["Android","iOS","Windows Phone"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.send=function(t,e,n){},r([n.i(i.a)()],t,"send",null),t=r([n.i(i.b)({plugin:"cordova-sms-plugin",pluginRef:"sms",repo:"https://github.com/cordova-sms/cordova-sms-plugin",platforms:["Android","iOS","Windows Phone 8"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.share=function(t,e,n,i){},t.shareWithOptions=function(t){},t.canShareVia=function(t,e,n,i,r){},t.shareViaTwitter=function(t,e,n){},t.shareViaFacebook=function(t,e,n){},t.shareViaFacebookWithPasteMessageHint=function(t,e,n,i){},t.shareViaInstagram=function(t,e){},t.shareViaWhatsApp=function(t,e,n){},t.shareViaWhatsAppToReceiver=function(t,e,n,i){},t.shareViaSMS=function(t,e){},t.canShareViaEmail=function(){},t.shareViaEmail=function(t,e,n,i,r,s){},t.shareVia=function(t,e,n,i,r){},r([n.i(i.a)()],t,"share",null),r([n.i(i.a)({platforms:["iOS","Android"]})],t,"shareWithOptions",null),r([n.i(i.a)({successIndex:5,errorIndex:6,platforms:["iOS","Android"]})],t,"canShareVia",null),r([n.i(i.a)({successIndex:3,errorIndex:4,platforms:["iOS","Android"]})],t,"shareViaTwitter",null),r([n.i(i.a)({successIndex:3,errorIndex:4,platforms:["iOS","Android"]})],t,"shareViaFacebook",null),r([n.i(i.a)({successIndex:4,errorIndex:5,platforms:["iOS","Android"]})],t,"shareViaFacebookWithPasteMessageHint",null),r([n.i(i.a)({platforms:["iOS","Android"]})],t,"shareViaInstagram",null),r([n.i(i.a)({successIndex:3,errorIndex:4,platforms:["iOS","Android"]})],t,"shareViaWhatsApp",null),r([n.i(i.a)({successIndex:4,errorIndex:5,platforms:["iOS","Android"]})],t,"shareViaWhatsAppToReceiver",null),r([n.i(i.a)({platforms:["iOS","Android"]})],t,"shareViaSMS",null),r([n.i(i.a)({platforms:["iOS","Android"]})],t,"canShareViaEmail",null),r([n.i(i.a)({platforms:["iOS","Android"],successIndex:6,errorIndex:7})],t,"shareViaEmail",null),r([n.i(i.a)({successIndex:5,errorIndex:6,platforms:["iOS","Android"]})],t,"shareVia",null),t=r([n.i(i.b)({plugin:"cordova-plugin-x-socialsharing",pluginRef:"plugins.socialsharing",repo:"https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin",platforms:["iOS","Android","Windows Phone"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.show=function(t,e,n,i){},t.hide=function(){},r([n.i(i.a)({sync:!0})],t,"show",null),r([n.i(i.a)({sync:!0})],t,"hide",null),t=r([n.i(i.b)({plugin:"cordova-plugin-spinner-dialog",pluginRef:"window.plugins.spinnerDialog",repo:"https://github.com/Paldom/SpinnerDialog",platforms:["Android","iOS","Windows Phone 8"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.show=function(){},t.hide=function(){},r([n.i(i.a)({sync:!0})],t,"show",null),r([n.i(i.a)({sync:!0})],t,"hide",null),t=r([n.i(i.b)({plugin:"cordova-plugin-splashscreen",pluginRef:"navigator.splashscreen",repo:"https://github.com/apache/cordova-plugin-splashscreen"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return Object.defineProperty(t.prototype,"databaseFeatures",{get:function(){return this._objectInstance.databaseFeatures},enumerable:!0,configurable:!0}),t.prototype.openDatabase=function(t){var e=this;return new Promise(function(n,i){sqlitePlugin.openDatabase(t,function(t){e._objectInstance=t,n(t)},function(t){console.warn(t),i(t)})})},t.prototype.addTransaction=function(t){},t.prototype.transaction=function(t){},t.prototype.readTransaction=function(t){},t.prototype.startNextTransaction=function(){},t.prototype.close=function(){},t.prototype.start=function(){},t.prototype.executeSql=function(t,e){},t.prototype.addStatement=function(t,e){},t.prototype.sqlBatch=function(t){},t.prototype.abortallPendingTransactions=function(){},t.prototype.handleStatementSuccess=function(t,e){},t.prototype.handleStatementFailure=function(t,e){},t.prototype.run=function(){},t.prototype.abort=function(t){},t.prototype.finish=function(){},t.prototype.abortFromQ=function(t){},t.echoTest=function(){},t.deleteDatabase=function(t){},r([n.i(i.d)({sync:!0})],t.prototype,"addTransaction",null),r([n.i(i.d)()],t.prototype,"transaction",null),r([n.i(i.d)()],t.prototype,"readTransaction",null),r([n.i(i.d)({sync:!0})],t.prototype,"startNextTransaction",null),r([n.i(i.d)()],t.prototype,"close",null),r([n.i(i.d)({sync:!0})],t.prototype,"start",null),r([n.i(i.d)()],t.prototype,"executeSql",null),r([n.i(i.d)()],t.prototype,"addStatement",null),r([n.i(i.d)()],t.prototype,"sqlBatch",null),r([n.i(i.d)({sync:!0})],t.prototype,"abortallPendingTransactions",null),r([n.i(i.d)({sync:!0})],t.prototype,"handleStatementSuccess",null),r([n.i(i.d)({sync:!0})],t.prototype,"handleStatementFailure",null),r([n.i(i.d)({sync:!0})],t.prototype,"run",null),r([n.i(i.d)({sync:!0})],t.prototype,"abort",null),r([n.i(i.d)({sync:!0})],t.prototype,"finish",null),r([n.i(i.d)({sync:!0})],t.prototype,"abortFromQ",null),r([n.i(i.a)()],t,"echoTest",null),r([n.i(i.a)()],t,"deleteDatabase",null),t=r([n.i(i.b)({pluginRef:"sqlitePlugin",plugin:"cordova-sqlite-storage",repo:"https://github.com/litehelpers/Cordova-sqlite-storage"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o), o},s=function(){function t(){}return t.overlaysWebView=function(t){},t.styleDefault=function(){},t.styleLightContent=function(){},t.styleBlackTranslucent=function(){},t.styleBlackOpaque=function(){},t.backgroundColorByName=function(t){},t.backgroundColorByHexString=function(t){},t.hide=function(){},t.show=function(){},Object.defineProperty(t,"isVisible",{get:function(){return window.StatusBar.isVisible},enumerable:!0,configurable:!0}),r([n.i(i.a)({sync:!0})],t,"overlaysWebView",null),r([n.i(i.a)({sync:!0})],t,"styleDefault",null),r([n.i(i.a)({sync:!0})],t,"styleLightContent",null),r([n.i(i.a)({sync:!0})],t,"styleBlackTranslucent",null),r([n.i(i.a)({sync:!0})],t,"styleBlackOpaque",null),r([n.i(i.a)({sync:!0})],t,"backgroundColorByName",null),r([n.i(i.a)({sync:!0})],t,"backgroundColorByHexString",null),r([n.i(i.a)({sync:!0})],t,"hide",null),r([n.i(i.a)({sync:!0})],t,"show",null),r([i.c],t,"isVisible",null),t=r([n.i(i.b)({plugin:"cordova-plugin-statusbar",pluginRef:"StatusBar",repo:"https://github.com/apache/cordova-plugin-statusbar",platforms:["iOS","Android","Windows Phone 8","Windows 8","Windows 10"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.start=function(t){},t.stop=function(){},t.getTodayStepCount=function(){},t.getStepCount=function(){},t.deviceCanCountSteps=function(){},t.getHistory=function(){},r([n.i(i.a)()],t,"start",null),r([n.i(i.a)()],t,"stop",null),r([n.i(i.a)()],t,"getTodayStepCount",null),r([n.i(i.a)()],t,"getStepCount",null),r([n.i(i.a)()],t,"deviceCanCountSteps",null),r([n.i(i.a)()],t,"getHistory",null),t=r([n.i(i.b)({plugin:"https://github.com/texh/cordova-plugin-stepcounter",pluginRef:"stepcounter",repo:"https://github.com/texh/cordova-plugin-stepcounter",platforms:["Android"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.playVideo=function(t,e){},t.playAudio=function(t,e){},t.stopAudio=function(){},t.pauseAudio=function(){},t.resumeAudio=function(){},r([n.i(i.a)({sync:!0})],t,"playVideo",null),r([n.i(i.a)({sync:!0})],t,"playAudio",null),r([n.i(i.a)({sync:!0})],t,"stopAudio",null),r([n.i(i.a)({sync:!0,platforms:["iOS"]})],t,"pauseAudio",null),r([n.i(i.a)({sync:!0,platforms:["iOS"]})],t,"resumeAudio",null),t=r([n.i(i.b)({plugin:"cordova-plugin-streaming-media",pluginRef:"plugins.streamingMedia",repo:"https://github.com/nchutchind/cordova-plugin-streaming-media",platforms:["Android","iOS"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.speak=function(t){},r([n.i(i.a)({successIndex:1,errorIndex:2})],t,"speak",null),t=r([n.i(i.b)({plugin:"cordova-plugin-tts",pluginRef:"TTS",repo:"https://github.com/vilic/cordova-plugin-tts"})],t)}()},function(t,e,n){"use strict";var i=n(3),r=n(1);n.n(r);n.d(e,"a",function(){return o});var s=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},o=function(){function t(t,e,n){try{this._objectInstance=cordova.ThemeableBrowser.open(t,e,n)}catch(e){window.open(t),console.warn("Native: ThemeableBrowser is not installed or you are running on a browser. Falling back to window.open, all instance methods will NOT work.")}}return t.prototype.show=function(){},t.prototype.close=function(){},t.prototype.reload=function(){},t.prototype.executeScript=function(t){},t.prototype.insertCss=function(t){},t.prototype.on=function(t){var e=this;return new r.Observable(function(n){return e._objectInstance.addEventListener(t,n.next.bind(n)),function(){return e._objectInstance.removeEventListener(t,n.next.bind(n))}})},s([n.i(i.d)({sync:!0})],t.prototype,"show",null),s([n.i(i.d)({sync:!0})],t.prototype,"close",null),s([n.i(i.d)({sync:!0})],t.prototype,"reload",null),s([n.i(i.d)()],t.prototype,"executeScript",null),s([n.i(i.d)()],t.prototype,"insertCss",null),t=s([n.i(i.b)({plugin:"cordova-plugin-themeablebrowser",pluginRef:"cordova.ThemeableBrowser",repo:"https://github.com/initialxy/cordova-plugin-themeablebrowser"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.show=function(t,e,n){},t.hide=function(){},t.showWithOptions=function(t){},t.showShortTop=function(t){},t.showShortCenter=function(t){},t.showShortBottom=function(t){},t.showLongTop=function(t){},t.showLongCenter=function(t){},t.showLongBottom=function(t){},r([n.i(i.a)({observable:!0,clearFunction:"hide"})],t,"show",null),r([n.i(i.a)()],t,"hide",null),r([n.i(i.a)({observable:!0,clearFunction:"hide"})],t,"showWithOptions",null),r([n.i(i.a)({observable:!0,clearFunction:"hide"})],t,"showShortTop",null),r([n.i(i.a)({observable:!0,clearFunction:"hide"})],t,"showShortCenter",null),r([n.i(i.a)({observable:!0,clearFunction:"hide"})],t,"showShortBottom",null),r([n.i(i.a)({observable:!0,clearFunction:"hide"})],t,"showLongTop",null),r([n.i(i.a)({observable:!0,clearFunction:"hide"})],t,"showLongCenter",null),r([n.i(i.a)({observable:!0,clearFunction:"hide"})],t,"showLongBottom",null),t=r([n.i(i.b)({plugin:"cordova-plugin-x-toast",pluginRef:"plugins.toast",repo:"https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin",platforms:["Android","iOS","Windows Phone 8"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.isAvailable=function(){},t.verifyFingerprint=function(t){},t.verifyFingerprintWithCustomPasswordFallback=function(t){},t.verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel=function(t,e){},r([n.i(i.a)()],t,"isAvailable",null),r([n.i(i.a)()],t,"verifyFingerprint",null),r([n.i(i.a)()],t,"verifyFingerprintWithCustomPasswordFallback",null),r([n.i(i.a)()],t,"verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel",null),t=r([n.i(i.b)({plugin:"cordova-plugin-touch-id",pluginRef:"plugins.touchid",repo:"https://github.com/EddyVerbruggen/cordova-plugin-touch-id",platforms:["iOS"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.login=function(){},t.logout=function(){},t.showUser=function(){},r([n.i(i.a)()],t,"login",null),r([n.i(i.a)()],t,"logout",null),r([n.i(i.a)()],t,"showUser",null),t=r([n.i(i.b)({plugin:"twitter-connect-plugin",pluginRef:"TwitterConnect",repo:"https://github.com/ManifestWebDesign/twitter-connect-plugin",install:"ionic plugin add twitter-connect-plugin --variable FABRIC_KEY=fabric_API_key"})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.vibrate=function(t){},r([n.i(i.a)({sync:!0})],t,"vibrate",null),t=r([n.i(i.b)({plugin:"cordova-plugin-vibration",pluginRef:"navigator",repo:"https://github.com/apache/cordova-plugin-vibration",platforms:["Android","iOS","Windows 8.1 Phone","Windows 8.1","Windows 10"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.transcodeVideo=function(t){},t.trim=function(t){},t.createThumbnail=function(t){},t.getVideoInfo=function(t){},t.OptimizeForNetworkUse={NO:0,YES:1},t.OutputFileType={M4V:0,MPEG4:1,M4A:2,QUICK_TIME:3},r([n.i(i.a)({callbackOrder:"reverse"})],t,"transcodeVideo",null),r([n.i(i.a)({callbackOrder:"reverse",platforms:["iOS"]})],t,"trim",null),r([n.i(i.a)({callbackOrder:"reverse"})],t,"createThumbnail",null),r([n.i(i.a)({callbackOrder:"reverse"})],t,"getVideoInfo",null),t=r([n.i(i.b)({plugin:"cordova-plugin-video-editor",pluginRef:"VideoEditor",repo:"https://github.com/jbavari/cordova-plugin-video-editor",platforms:["Android","iOS","Windows Phone 8"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.play=function(t,e){},t.close=function(){},r([n.i(i.a)()],t,"play",null),r([n.i(i.a)({sync:!0})],t,"close",null),t=r([n.i(i.b)({plugin:"cordova-plugin-videoplayer",pluginRef:"VideoPlayer",repo:"https://github.com/moust/cordova-plugin-videoplayer",platforms:["Android"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return Object.defineProperty(t,"ACTION_VIEW",{get:function(){return window.plugins.webintent.ACTION_VIEW},enumerable:!0,configurable:!0}),Object.defineProperty(t,"EXTRA_TEXT",{get:function(){return window.plugins.webintent.EXTRA_TEXT},enumerable:!0,configurable:!0}),t.startActivity=function(t){},t.hasExtra=function(t){},t.getExtra=function(t){},t.getUri=function(){},t.onNewIntent=function(){},t.sendBroadcast=function(t){},r([i.c],t,"ACTION_VIEW",null),r([i.c],t,"EXTRA_TEXT",null),r([n.i(i.a)()],t,"startActivity",null),r([n.i(i.a)()],t,"hasExtra",null),r([n.i(i.a)()],t,"getExtra",null),r([n.i(i.a)()],t,"getUri",null),r([n.i(i.a)()],t,"onNewIntent",null),r([n.i(i.a)()],t,"sendBroadcast",null),t=r([n.i(i.b)({plugin:"https://github.com/Initsogar/cordova-webintent.git",pluginRef:"window.plugins.webintent",repo:"https://github.com/Initsogar/cordova-webintent.git",platforms:["Android"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.openVideo=function(t){},r([n.i(i.a)({sync:!0})],t,"openVideo",null),t=r([n.i(i.b)({plugin:"https://github.com/Glitchbone/CordovaYoutubeVideoPlayer.git",pluginRef:"YoutubeVideoPlayer",repo:"https://github.com/Glitchbone/CordovaYoutubeVideoPlayer",platforms:["Android","iOS"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.scan=function(t){},r([n.i(i.a)()],t,"scan",null),t=r([n.i(i.b)({plugin:"cordova-plugin-cszbar",pluginRef:"cloudSky.zBar",repo:"https://github.com/tjwoon/csZBar",platforms:["Android","iOS"]})],t)}()},function(t,e,n){"use strict";var i=n(3);n.d(e,"a",function(){return s});var r=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},s=function(){function t(){}return t.unzip=function(t,e,n){},r([n.i(i.a)({successIndex:2,errorIndex:4})],t,"unzip",null),t=r([n.i(i.b)({plugin:"cordova-plugin-zip",pluginRef:"zip",repo:"https://github.com/MobileChromeApps/cordova-plugin-zip"})],t)}()},function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r=n(1603),s=n(19).digits,o=n(418),a=n(238),_=function(){return _=r.create,r};e.create=function(t){t.isNumber=function(t){return"number"==typeof t},t.isComplex=function(e){return t.Complex&&e instanceof t.Complex||!1},t.isBigNumber=o,t.isFraction=function(e){return t.Fraction&&e instanceof t.Fraction||!1},t.isUnit=function(t){return t&&t.constructor.prototype.isUnit||!1},t.isString=function(t){return"string"==typeof t},t.isArray=Array.isArray,t.isMatrix=a,t.isDenseMatrix=function(t){return t&&t.isDenseMatrix&&t.constructor.prototype.isMatrix||!1},t.isSparseMatrix=function(t){return t&&t.isSparseMatrix&&t.constructor.prototype.isMatrix||!1},t.isRange=function(t){return t&&t.constructor.prototype.isRange||!1},t.isIndex=function(t){return t&&t.constructor.prototype.isIndex||!1},t.isBoolean=function(t){return"boolean"==typeof t},t.isResultSet=function(t){return t&&t.constructor.prototype.isResultSet||!1},t.isHelp=function(t){return t&&t.constructor.prototype.isHelp||!1},t.isFunction=function(t){return"function"==typeof t},t.isDate=function(t){return t instanceof Date},t.isRegExp=function(t){return t instanceof RegExp},t.isObject=function(e){return"object"===i(e)&&e.constructor===Object&&!t.isComplex(e)&&!t.isFraction(e)},t.isNull=function(t){return null===t},t.isUndefined=function(t){return void 0===t},t.isAccessorNode=function(t){return t&&t.isAccessorNode&&t.constructor.prototype.isNode||!1},t.isArrayNode=function(t){return t&&t.isArrayNode&&t.constructor.prototype.isNode||!1},t.isAssignmentNode=function(t){return t&&t.isAssignmentNode&&t.constructor.prototype.isNode||!1},t.isBlockNode=function(t){return t&&t.isBlockNode&&t.constructor.prototype.isNode||!1},t.isConditionalNode=function(t){return t&&t.isConditionalNode&&t.constructor.prototype.isNode||!1},t.isConstantNode=function(t){return t&&t.isConstantNode&&t.constructor.prototype.isNode||!1},t.isFunctionAssignmentNode=function(t){return t&&t.isFunctionAssignmentNode&&t.constructor.prototype.isNode||!1},t.isFunctionNode=function(t){return t&&t.isFunctionNode&&t.constructor.prototype.isNode||!1},t.isIndexNode=function(t){return t&&t.isIndexNode&&t.constructor.prototype.isNode||!1},t.isNode=function(t){return t&&t.isNode&&t.constructor.prototype.isNode||!1},t.isObjectNode=function(t){return t&&t.isObjectNode&&t.constructor.prototype.isNode||!1},t.isOperatorNode=function(t){return t&&t.isOperatorNode&&t.constructor.prototype.isNode||!1},t.isParenthesisNode=function(t){return t&&t.isParenthesisNode&&t.constructor.prototype.isNode||!1},t.isRangeNode=function(t){return t&&t.isRangeNode&&t.constructor.prototype.isNode||!1},t.isSymbolNode=function(t){return t&&t.isSymbolNode&&t.constructor.prototype.isNode||!1},t.isChain=function(t){return t&&t.constructor.prototype.isChain||!1};var e=_();return e.types=[{name:"number",test:t.isNumber},{name:"Complex",test:t.isComplex},{name:"BigNumber",test:t.isBigNumber},{name:"Fraction",test:t.isFraction},{name:"Unit",test:t.isUnit},{name:"string",test:t.isString},{name:"Array",test:t.isArray},{name:"Matrix",test:t.isMatrix},{name:"DenseMatrix",test:t.isDenseMatrix},{name:"SparseMatrix",test:t.isSparseMatrix},{name:"Range",test:t.isRange},{name:"Index",test:t.isIndex},{name:"boolean",test:t.isBoolean},{name:"ResultSet",test:t.isResultSet},{name:"Help",test:t.isHelp},{name:"function",test:t.isFunction},{name:"Date",test:t.isDate},{name:"RegExp",test:t.isRegExp},{name:"null",test:t.isNull},{name:"undefined",test:t.isUndefined},{name:"OperatorNode",test:t.isOperatorNode},{name:"ConstantNode",test:t.isConstantNode},{name:"SymbolNode",test:t.isSymbolNode},{name:"ParenthesisNode",test:t.isParenthesisNode},{name:"FunctionNode",test:t.isFunctionNode},{name:"FunctionAssignmentNode",test:t.isFunctionAssignmentNode},{name:"ArrayNode",test:t.isArrayNode},{name:"AssignmentNode",test:t.isAssignmentNode},{name:"BlockNode",test:t.isBlockNode},{name:"ConditionalNode",test:t.isConditionalNode},{name:"IndexNode",test:t.isIndexNode},{name:"RangeNode",test:t.isRangeNode},{name:"Node",test:t.isNode},{name:"Object",test:t.isObject}],e.conversions=[{from:"number",to:"BigNumber",convert:function(e){if(s(e)>15)throw new TypeError("Cannot implicitly convert a number with >15 significant digits to BigNumber (value: "+e+"). Use function bignumber(x) to convert to BigNumber.");return new t.BigNumber(e)}},{from:"number",to:"Complex",convert:function(e){return new t.Complex(e,0)}},{from:"number",to:"string",convert:function(t){return t+""}},{from:"BigNumber",to:"Complex",convert:function(e){return new t.Complex(e.toNumber(),0)}},{from:"Fraction",to:"BigNumber",convert:function(t){throw new TypeError("Cannot implicitly convert a Fraction to BigNumber or vice versa. Use function bignumber(x) to convert to BigNumber or fraction(x) to convert to Fraction.")}},{from:"Fraction",to:"Complex",convert:function(e){return new t.Complex(e.valueOf(),0)}},{from:"number",to:"Fraction",convert:function(e){var n=new t.Fraction(e);if(n.valueOf()!==e)throw new TypeError("Cannot implicitly convert a number to a Fraction when there will be a loss of precision (value: "+e+"). Use function fraction(x) to convert to Fraction.");return new t.Fraction(e)}},{from:"string",to:"number",convert:function(t){var e=Number(t);if(isNaN(e))throw new Error('Cannot convert "'+t+'" to a number');return e}},{from:"string",to:"BigNumber",convert:function(e){try{return new t.BigNumber(e)}catch(t){throw new Error('Cannot convert "'+e+'" to BigNumber')}}},{from:"string",to:"Fraction",convert:function(e){try{return new t.Fraction(e)}catch(t){throw new Error('Cannot convert "'+e+'" to Fraction')}}},{from:"string",to:"Complex",convert:function(e){try{return new t.Complex(e)}catch(t){throw new Error('Cannot convert "'+e+'" to Complex')}}},{from:"boolean",to:"number",convert:function(t){return+t}},{from:"boolean",to:"BigNumber",convert:function(e){return new t.BigNumber(+e)}},{from:"boolean",to:"Fraction",convert:function(e){return new t.Fraction(+e)}},{from:"boolean",to:"string",convert:function(t){return+t}},{from:"Array",to:"Matrix",convert:function(e){return new t.DenseMatrix(e)}},{from:"Matrix",to:"Array",convert:function(t){return t.valueOf()}}],e}},function(t,e,n){"use strict";function i(t,e,i,o,a){function _(){if(!(this instanceof _))throw new SyntaxError("Constructor must be called with the new operator");this.scope={}}var l=i(n(174));return _.prototype.type="Parser",_.prototype.isParser=!0,_.prototype.parse=function(t){throw new Error("Parser.parse is deprecated. Use math.parse instead.")},_.prototype.compile=function(t){throw new Error("Parser.compile is deprecated. Use math.compile instead.")},_.prototype.eval=function(t){return l(t).compile().eval(this.scope)},_.prototype.get=function(t){return t in this.scope?s.getSafeProperty(this.scope,t):void 0},_.prototype.getAll=function(){return r({},this.scope)},_.prototype.set=function(t,e){return s.setSafeProperty(this.scope,t,e)},_.prototype.remove=function(t){delete this.scope[t]},_.prototype.clear=function(){for(var t in this.scope)this.scope.hasOwnProperty(t)&&delete this.scope[t]},_}var r=n(32).extend,s=n(78);e.name="Parser",e.path="expression",e.factory=i,e.math=!0},function(t,e,n){"use strict";t.exports={name:"e",category:"Constants",syntax:["e"],description:"Euler's number, the base of the natural logarithm. Approximately equal to 2.71828",examples:["e","e ^ 2","exp(2)","log(e)"],seealso:["exp"]}},function(t,e,n){"use strict";t.exports={name:"pi",category:"Constants",syntax:["pi"],description:"The number pi is a mathematical constant that is the ratio of a circle's circumference to its diameter, and is approximately equal to 3.14159",examples:["pi","sin(pi/2)"],seealso:["tau"]}},function(t,e,n){"use strict";function i(t,e,i,r){var s={};return s.bignumber=n(924),s.boolean=n(925),s.complex=n(926),s.createUnit=n(927),s.fraction=n(928),s.index=n(929),s.matrix=n(930),s.number=n(931),s.sparse=n(932),s.splitUnit=n(933),s.string=n(934),s.unit=n(935),s.e=n(641),s.E=n(641),s.false=n(917),s.i=n(918),s.Infinity=n(909),s.LN2=n(911),s.LN10=n(910),s.LOG2E=n(913),s.LOG10E=n(912),s.NaN=n(914),s.null=n(919),s.pi=n(642),s.PI=n(642),s.phi=n(920),s.SQRT1_2=n(915),s.SQRT2=n(916),s.tau=n(921),s.true=n(922),s.version=n(923),s.speedOfLight={description:"Speed of light in vacuum",examples:["speedOfLight"]},s.gravitationConstant={description:"Newtonian constant of gravitation",examples:["gravitationConstant"]},s.planckConstant={description:"Planck constant",examples:["planckConstant"]},s.reducedPlanckConstant={description:"Reduced Planck constant",examples:["reducedPlanckConstant"]},s.magneticConstant={description:"Magnetic constant (vacuum permeability)",examples:["magneticConstant"]},s.electricConstant={description:"Electric constant (vacuum permeability)",examples:["electricConstant"]},s.vacuumImpedance={description:"Characteristic impedance of vacuum",examples:["vacuumImpedance"]},s.coulomb={description:"Coulomb's constant",examples:["coulomb"]},s.elementaryCharge={description:"Elementary charge",examples:["elementaryCharge"]},s.bohrMagneton={description:"Borh magneton",examples:["bohrMagneton"]},s.conductanceQuantum={description:"Conductance quantum",examples:["conductanceQuantum"]},s.inverseConductanceQuantum={description:"Inverse conductance quantum",examples:["inverseConductanceQuantum"]},s.magneticFluxQuantum={description:"Magnetic flux quantum",examples:["magneticFluxQuantum"]},s.nuclearMagneton={description:"Nuclear magneton",examples:["nuclearMagneton"]},s.klitzing={description:"Von Klitzing constant",examples:["klitzing"]},s.bohrRadius={description:"Borh radius",examples:["bohrRadius"]},s.classicalElectronRadius={description:"Classical electron radius",examples:["classicalElectronRadius"]},s.electronMass={description:"Electron mass",examples:["electronMass"]},s.fermiCoupling={description:"Fermi coupling constant",examples:["fermiCoupling"]},s.fineStructure={description:"Fine-structure constant",examples:["fineStructure"]},s.hartreeEnergy={description:"Hartree energy",examples:["hartreeEnergy"]},s.protonMass={description:"Proton mass",examples:["protonMass"]},s.deuteronMass={description:"Deuteron Mass",examples:["deuteronMass"]},s.neutronMass={description:"Neutron mass",examples:["neutronMass"]},s.quantumOfCirculation={description:"Quantum of circulation",examples:["quantumOfCirculation"]},s.rydberg={description:"Rydberg constant",examples:["rydberg"]},s.thomsonCrossSection={description:"Thomson cross section",examples:["thomsonCrossSection"]},s.weakMixingAngle={description:"Weak mixing angle",examples:["weakMixingAngle"]},s.efimovFactor={description:"Efimov factor",examples:["efimovFactor"]},s.atomicMass={description:"Atomic mass constant",examples:["atomicMass"]},s.avogadro={description:"Avogadro's number",examples:["avogadro"]},s.boltzmann={description:"Boltzmann constant",examples:["boltzmann"]},s.faraday={description:"Faraday constant",examples:["faraday"]},s.firstRadiation={description:"First radiation constant",examples:["firstRadiation"]},s.loschmidt={description:"Loschmidt constant at T=273.15 K and p=101.325 kPa",examples:["loschmidt"]},s.gasConstant={description:"Gas constant",examples:["gasConstant"]},s.molarPlanckConstant={description:"Molar Planck constant",examples:["molarPlanckConstant"]},s.molarVolume={description:"Molar volume of an ideal gas at T=273.15 K and p=101.325 kPa",examples:["molarVolume"]},s.sackurTetrode={description:"Sackur-Tetrode constant at T=1 K and p=101.325 kPa",examples:["sackurTetrode"]},s.secondRadiation={description:"Second radiation constant",examples:["secondRadiation"]},s.stefanBoltzmann={description:"Stefan-Boltzmann constant",examples:["stefanBoltzmann"]},s.wienDisplacement={description:"Wien displacement law constant",examples:["wienDisplacement"]},s.molarMass={description:"Molar mass constant",examples:["molarMass"]},s.molarMassC12={description:"Molar mass constant of carbon-12",examples:["molarMassC12"]},s.gravity={description:"Standard acceleration of gravity (standard acceleration of free-fall on Earth)",examples:["gravity"]},s.planckLength={description:"Planck length",examples:["planckLength"]},s.planckMass={description:"Planck mass",examples:["planckMass"]},s.planckTime={description:"Planck time",examples:["planckTime"]},s.planckCharge={description:"Planck charge",examples:["planckCharge"]},s.planckTemperature={description:"Planck temperature",examples:["planckTemperature"]},s.derivative=n(939),s.lsolve=n(940),s.lup=n(941),s.lusolve=n(942),s.simplify=n(945),s.rationalize=n(944),s.slu=n(946),s.usolve=n(947),s.qr=n(943),s.abs=n(948),s.add=n(949),s.cbrt=n(950),s.ceil=n(951),s.cube=n(952),s.divide=n(953),s.dotDivide=n(954),s.dotMultiply=n(955),s.dotPow=n(956),s.exp=n(957),s.expm=n(958),s.expm1=n(959),s.fix=n(960),s.floor=n(961),s.gcd=n(962),s.hypot=n(963),s.lcm=n(964),s.log=n(965),s.log2=n(968),s.log1p=n(967),s.log10=n(966),s.mod=n(969),s.multiply=n(970),s.norm=n(971),s.nthRoot=n(972),s.nthRoots=n(973),s.pow=n(974),s.round=n(975),s.sign=n(976),s.sqrt=n(977),s.sqrtm=n(978),s.square=n(979),s.subtract=n(980),s.unaryMinus=n(981),s.unaryPlus=n(982),s.xgcd=n(983),s.bitAnd=n(984),s.bitNot=n(985),s.bitOr=n(986),s.bitXor=n(987),s.leftShift=n(988),s.rightArithShift=n(989),s.rightLogShift=n(990),s.bellNumbers=n(991),s.catalan=n(992),s.composition=n(993),s.stirlingS2=n(994),s.config=n(936),s.import=n(937),s.typed=n(938),s.arg=n(995),s.conj=n(996),s.re=n(998),s.im=n(997),s.eval=n(999),s.help=n(1e3),s.distance=n(1001),s.intersect=n(1002),s.and=n(1003),s.not=n(1004),s.or=n(1005),s.xor=n(1006),s.column=n(1007),s.concat=n(1008),s.cross=n(1009),s.ctranspose=n(1010),s.det=n(1011),s.diag=n(1012),s.dot=n(1013),s.getMatrixDataType=n(1017),s.identity=n(1018),s.filter=n(1014),s.flatten=n(1015),s.forEach=n(1016),s.inv=n(1019),s.kron=n(1020),s.map=n(1021),s.ones=n(1022),s.partitionSelect=n(1023),s.range=n(1024),s.resize=n(1026),s.reshape=n(1025),s.row=n(1027),s.size=n(1028),s.sort=n(1029),s.squeeze=n(1030),s.subset=n(1031),s.trace=n(1032),s.transpose=n(1033),s.zeros=n(1034),s.combinations=n(1035),s.factorial=n(1036),s.gamma=n(1037),s.kldivergence=n(1038),s.multinomial=n(1039),s.permutations=n(1040),s.pickRandom=n(1041),s.random=n(1042),s.randomInt=n(1043),s.compare=n(1044),s.compareNatural=n(1045),s.compareText=n(1046),s.deepEqual=n(1047),s.equal=n(1048),s.equalText=n(1049),s.larger=n(1050),s.largerEq=n(1051),s.smaller=n(1052),s.smallerEq=n(1053),s.unequal=n(1054),s.setCartesian=n(1055),s.setDifference=n(1056),s.setDistinct=n(1057),s.setIntersect=n(1058),s.setIsSubset=n(1059),s.setMultiplicity=n(1060),s.setPowerset=n(1061),s.setSize=n(1062),s.setSymDifference=n(1063),s.setUnion=n(1064),s.erf=n(1065),s.mad=n(1066),s.max=n(1067),s.mean=n(1068),s.median=n(1069),s.min=n(1070),s.mode=n(1071),s.prod=n(1072),s.quantileSeq=n(1073),s.std=n(1074),s.sum=n(1075),s.var=n(1076),s.acos=n(1077),s.acosh=n(1078),s.acot=n(1079),s.acoth=n(1080),s.acsc=n(1081),s.acsch=n(1082),s.asec=n(1083),s.asech=n(1084),s.asin=n(1085),s.asinh=n(1086),s.atan=n(1087),s.atanh=n(1089),s.atan2=n(1088),s.cos=n(1090),s.cosh=n(1091),s.cot=n(1092),s.coth=n(1093),s.csc=n(1094),s.csch=n(1095),s.sec=n(1096),s.sech=n(1097),s.sin=n(1098),s.sinh=n(1099),s.tan=n(1100),s.tanh=n(1101),s.to=n(1102),s.clone=n(1103),s.format=n(1104),s.isNaN=n(1107),s.isInteger=n(1106),s.isNegative=n(1108),s.isNumeric=n(1109),s.hasNumericValue=n(1105),s.isPositive=n(1110),s.isPrime=n(1111),s.isZero=n(1112),s.typeof=n(1113),s}e.name="docs",e.path="expression",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,r){var s=i(n(174));return r("parse",{"string | Array | Matrix":s,"string | Array | Matrix, Object":s})}e.name="parse",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,r,s){var o=i(n(640));return r("parser",{"":function(){return new o(s)}})}e.name="parser",e.factory=i,e.math=!0},function(t,e,n){"use strict";t.exports={end:!0}},function(t,e,n){"use strict";function i(t,e,i,s){function o(e,n){if(!(this instanceof o))throw new SyntaxError("Constructor must be called with the new operator");if(!t.isNode(e))throw new TypeError('Node expected for parameter "object"');if(!t.isIndexNode(n))throw new TypeError('IndexNode expected for parameter "index"');this.object=e||null,this.index=n,Object.defineProperty(this,"name",{get:function(){return this.index?this.index.isObjectProperty()?this.index.getObjectProperty():"":this.object.name||""}.bind(this),set:function(){throw new Error("Cannot assign a new name, name is read-only")}})}function a(e){return!(t.isAccessorNode(e)||t.isArrayNode(e)||t.isConstantNode(e)||t.isFunctionNode(e)||t.isObjectNode(e)||t.isParenthesisNode(e)||t.isSymbolNode(e))}var _=i(n(84)),l=i(n(657));return o.prototype=new _,o.prototype.type="AccessorNode",o.prototype.isAccessorNode=!0,o.prototype._compile=function(t,e){var n=this.object._compile(t,e),i=this.index._compile(t,e);if(this.index.isObjectProperty()){ var s=this.index.getObjectProperty();return function(t,e,i){return r(n(t,e,i),s)}}return function(t,e,r){var s=n(t,e,r),o=i(t,e,s);return l(s,o)}},o.prototype.forEach=function(t){t(this.object,"object",this),t(this.index,"index",this)},o.prototype.map=function(t){return new o(this._ifNode(t(this.object,"object",this)),this._ifNode(t(this.index,"index",this)))},o.prototype.clone=function(){return new o(this.object,this.index)},o.prototype._toString=function(t){var e=this.object.toString(t);return a(this.object)&&(e="("+e+")"),e+this.index.toString(t)},o.prototype.toHTML=function(t){var e=this.object.toHTML(t);return a(this.object)&&(e='('+e+')'),e+this.index.toHTML(t)},o.prototype._toTex=function(t){var e=this.object.toTex(t);return a(this.object)&&(e="\\left(' + object + '\\right)"),e+this.index.toTex(t)},o.prototype.toJSON=function(){return{mathjs:"AccessorNode",object:this.object,index:this.index}},o.fromJSON=function(t){return new o(t.object,t.index)},o}var r=n(78).getSafeProperty;e.name="AccessorNode",e.path="expression.node",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,s){function o(e){if(!(this instanceof o))throw new SyntaxError("Constructor must be called with the new operator");if(this.items=e||[],!Array.isArray(this.items)||!this.items.every(t.isNode))throw new TypeError("Array containing Nodes expected");var n=function(){throw new Error("Property `ArrayNode.nodes` is deprecated, use `ArrayNode.items` instead")};Object.defineProperty(this,"nodes",{get:n,set:n})}var a=i(n(84));return o.prototype=new a,o.prototype.type="ArrayNode",o.prototype.isArrayNode=!0,o.prototype._compile=function(t,e){var n=r(this.items,function(n){return n._compile(t,e)}),i="Array"!==t.config().matrix;if(i){var s=t.matrix;return function(t,e,i){return s(r(n,function(n){return n(t,e,i)}))}}return function(t,e,i){return r(n,function(n){return n(t,e,i)})}},o.prototype.forEach=function(t){for(var e=0;e['+e.join(',')+']'},o.prototype._toTex=function(t){var e="\\begin{bmatrix}";return this.items.forEach(function(n){e+=n.items?n.items.map(function(e){return e.toTex(t)}).join("&"):n.toTex(t),e+="\\\\"}),e+="\\end{bmatrix}"},o}var r=n(16).map;e.name="ArrayNode",e.path="expression.node",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,o){function a(e,n,i){if(!(this instanceof a))throw new SyntaxError("Constructor must be called with the new operator");if(this.object=e,this.index=i?n:null,this.value=i||n,!t.isSymbolNode(e)&&!t.isAccessorNode(e))throw new TypeError('SymbolNode or AccessorNode expected as "object"');if(t.isSymbolNode(e)&&"end"===e.name)throw new Error('Cannot assign to symbol "end"');if(this.index&&!t.isIndexNode(this.index))throw new TypeError('IndexNode expected as "index"');if(!t.isNode(this.value))throw new TypeError('Node expected as "value"');Object.defineProperty(this,"name",{get:function(){return this.index?this.index.isObjectProperty()?this.index.getObjectProperty():"":this.object.name||""}.bind(this),set:function(){throw new Error("Cannot assign a new name, name is read-only")}})}function _(t,e){e||(e="keep");var n=u.getPrecedence(t,e),i=u.getPrecedence(t.value,e);return"all"===e||null!==i&&i<=n}var l=i(n(84)),h=i(n(1121)),c=i(n(657)),u=n(200);return a.prototype=new l,a.prototype.type="AssignmentNode",a.prototype.isAssignmentNode=!0,a.prototype._compile=function(e,n){var i=this.object._compile(e,n),o=this.index?this.index._compile(e,n):null,a=this.value._compile(e,n),_=this.object.name;if(this.index){if(this.index.isObjectProperty()){var l=this.index.getObjectProperty();return function(t,e,n){var r=i(t,e,n),o=a(t,e,n);return s(r,l,o)}}if(t.isSymbolNode(this.object))return function(t,e,n){var r=i(t,e,n),l=a(t,e,n),c=o(t,e,r);return s(t,_,h(r,c,l)),l};var u=this.object.object._compile(e,n);if(this.object.index.isObjectProperty()){var p=this.object.index.getObjectProperty();return function(t,e,n){var i=u(t,e,n),_=r(i,p),l=o(t,e,_),c=a(t,e,n);return s(i,p,h(_,l,c)),c}}var d=this.object.index._compile(e,n);return function(t,e,n){var i=u(t,e,n),r=d(t,e,i),s=c(i,r),_=o(t,e,s),l=a(t,e,n);return h(i,r,h(s,_,l)),l}}if(!t.isSymbolNode(this.object))throw new TypeError("SymbolNode expected as object");return function(t,e,n){return s(t,_,a(t,e,n))}},a.prototype.forEach=function(t){t(this.object,"object",this),this.index&&t(this.index,"index",this),t(this.value,"value",this)},a.prototype.map=function(t){var e=this._ifNode(t(this.object,"object",this)),n=this.index?this._ifNode(t(this.index,"index",this)):null,i=this._ifNode(t(this.value,"value",this));return new a(e,n,i)},a.prototype.clone=function(){return new a(this.object,this.index,this.value)},a.prototype._toString=function(t){var e=this.object.toString(t),n=this.index?this.index.toString(t):"",i=this.value.toString(t);return _(this,t&&t.parenthesis)&&(i="("+i+")"),e+n+" = "+i},a.prototype.toJSON=function(){return{mathjs:"AssignmentNode",object:this.object,index:this.index,value:this.value}},a.fromJSON=function(t){return new a(t.object,t.index,t.value)},a.prototype.toHTML=function(t){var e=this.object.toHTML(t),n=this.index?this.index.toHTML(t):"",i=this.value.toHTML(t);return _(this,t&&t.parenthesis)&&(i='('+i+')'),e+n+'='+i},a.prototype._toTex=function(t){var e=this.object.toTex(t),n=this.index?this.index.toTex(t):"",i=this.value.toTex(t);return _(this,t&&t.parenthesis)&&(i="\\left(".concat(i,"\\right)")),e+n+":="+i},a}var r=n(78).getSafeProperty,s=n(78).setSafeProperty;e.name="AssignmentNode",e.path="expression.node",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,o){function a(e){if(!(this instanceof a))throw new SyntaxError("Constructor must be called with the new operator");if(!Array.isArray(e))throw new Error("Array expected");this.blocks=e.map(function(e){var n=e&&e.node,i=!e||void 0===e.visible||e.visible;if(!t.isNode(n))throw new TypeError('Property "node" must be a Node');if("boolean"!=typeof i)throw new TypeError('Property "visible" must be a boolean');return{node:n,visible:i}})}var _=i(n(84)),l=i(n(693));return a.prototype=new _,a.prototype.type="BlockNode",a.prototype.isBlockNode=!0,a.prototype._compile=function(t,e){var n=s(this.blocks,function(n){return{eval:n.node._compile(t,e),visible:n.visible}});return function(t,e,i){var s=[];return r(n,function(n){var r=n.eval(t,e,i);n.visible&&s.push(r)}),new l(s)}},a.prototype.forEach=function(t){for(var e=0;e;')}).join('
')},a.prototype._toTex=function(t){return this.blocks.map(function(e){return e.node.toTex(t)+(e.visible?"":";")}).join("\\;\\;\n")},a}var r=n(16).forEach,s=n(16).map;e.name="BlockNode",e.path="expression.node",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,s){function o(e,n,i){if(!(this instanceof o))throw new SyntaxError("Constructor must be called with the new operator");if(!t.isNode(e))throw new TypeError("Parameter condition must be a Node");if(!t.isNode(n))throw new TypeError("Parameter trueExpr must be a Node");if(!t.isNode(i))throw new TypeError("Parameter falseExpr must be a Node");this.condition=e,this.trueExpr=n,this.falseExpr=i}function a(e){if("number"==typeof e||"boolean"==typeof e||"string"==typeof e)return!!e;if(e){if(t.isBigNumber(e))return!e.isZero();if(t.isComplex(e))return!(!e.re&&!e.im);if(t.isUnit(e))return!!e.value}if(null===e||void 0===e)return!1;throw new TypeError('Unsupported type of condition "'+l(e)+'"')}var _=i(n(84)),l=i(n(125));return o.prototype=new _,o.prototype.type="ConditionalNode",o.prototype.isConditionalNode=!0,o.prototype._compile=function(t,e){var n=this.condition._compile(t,e),i=this.trueExpr._compile(t,e),r=this.falseExpr._compile(t,e);return function(t,e,s){return a(n(t,e,s))?i(t,e,s):r(t,e,s)}},o.prototype.forEach=function(t){t(this.condition,"condition",this),t(this.trueExpr,"trueExpr",this),t(this.falseExpr,"falseExpr",this)},o.prototype.map=function(t){return new o(this._ifNode(t(this.condition,"condition",this)),this._ifNode(t(this.trueExpr,"trueExpr",this)),this._ifNode(t(this.falseExpr,"falseExpr",this)))},o.prototype.clone=function(){return new o(this.condition,this.trueExpr,this.falseExpr)},o.prototype._toString=function(t){var e=t&&t.parenthesis?t.parenthesis:"keep",n=r.getPrecedence(this,e),i=this.condition.toString(t),s=r.getPrecedence(this.condition,e);("all"===e||"OperatorNode"===this.condition.type||null!==s&&s<=n)&&(i="("+i+")");var o=this.trueExpr.toString(t),a=r.getPrecedence(this.trueExpr,e);("all"===e||"OperatorNode"===this.trueExpr.type||null!==a&&a<=n)&&(o="("+o+")");var _=this.falseExpr.toString(t),l=r.getPrecedence(this.falseExpr,e);return("all"===e||"OperatorNode"===this.falseExpr.type||null!==l&&l<=n)&&(_="("+_+")"),i+" ? "+o+" : "+_},o.prototype.toJSON=function(){return{mathjs:"ConditionalNode",condition:this.condition,trueExpr:this.trueExpr,falseExpr:this.falseExpr}},o.fromJSON=function(t){return new o(t.condition,t.trueExpr,t.falseExpr)},o.prototype.toHTML=function(t){var e=t&&t.parenthesis?t.parenthesis:"keep",n=r.getPrecedence(this,e),i=this.condition.toHTML(t),s=r.getPrecedence(this.condition,e);("all"===e||"OperatorNode"===this.condition.type||null!==s&&s<=n)&&(i='('+i+')');var o=this.trueExpr.toHTML(t),a=r.getPrecedence(this.trueExpr,e);("all"===e||"OperatorNode"===this.trueExpr.type||null!==a&&a<=n)&&(o='('+o+')');var _=this.falseExpr.toHTML(t),l=r.getPrecedence(this.falseExpr,e);return("all"===e||"OperatorNode"===this.falseExpr.type||null!==l&&l<=n)&&(_='('+_+')'),i+'?'+o+':'+_},o.prototype._toTex=function(t){return"\\begin{cases} {"+this.trueExpr.toTex(t)+"}, &\\quad{\\text{if }\\;"+this.condition.toTex(t)+"}\\\\{"+this.falseExpr.toTex(t)+"}, &\\quad{\\text{otherwise}}\\end{cases}"},o}var r=n(200);e.name="ConditionalNode",e.path="expression.node",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,c){function u(e,n,i){if(!(this instanceof u))throw new SyntaxError("Constructor must be called with the new operator");if("string"!=typeof e)throw new TypeError('String expected for parameter "name"');if(!Array.isArray(n))throw new TypeError('Array containing strings or objects expected for parameter "params"');if(!t.isNode(i))throw new TypeError('Node expected for parameter "expr"');if(e in r)throw new Error('Illegal function name, "'+e+'" is a reserved keyword');this.name=e,this.params=n.map(function(t){return t&&t.name||t}),this.types=n.map(function(t){return t&&t.type||"any"}),this.expr=i}function p(t,e){var n=l.getPrecedence(t,e),i=l.getPrecedence(t.expr,e);return"all"===e||null!==i&&i<=n}var d=i(n(84));return u.prototype=new d,u.prototype.type="FunctionAssignmentNode",u.prototype.isFunctionAssignmentNode=!0,u.prototype._compile=function(t,e){var n=Object.create(e);o(this.params,function(t){n[t]=!0});var i=this.expr._compile(t,n),r=this.name,s=this.params,_=a(this.types,","),l=r+"("+a(this.params,", ")+")";return function(t,e,n){var o={};o[_]=function(){for(var r=Object.create(e),o=0;o'+s(this.params[i])+"");var r=this.expr.toHTML(t);return p(this,e)&&(r='('+r+')'),''+s(this.name)+'('+n.join(',')+')='+r},u.prototype._toTex=function(t){var e=t&&t.parenthesis?t.parenthesis:"keep",n=this.expr.toTex(t);return p(this,e)&&(n="\\left(".concat(n,"\\right)")),"\\mathrm{"+this.name+"}\\left("+this.params.map(_.toSymbol).join(",")+"\\right):="+n},u}var r=n(646),s=n(64).escape,o=n(16).forEach,a=n(16).join,_=n(26),l=n(200),h=n(78).setSafeProperty;e.name="FunctionAssignmentNode",e.path="expression.node",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,o){function a(e,n){if(!(this instanceof a))throw new SyntaxError("Constructor must be called with the new operator");if(this.dimensions=e,this.dotNotation=n||!1,!c(e)||!e.every(t.isNode))throw new TypeError('Array containing Nodes expected for parameter "dimensions"');if(this.dotNotation&&!this.isObjectProperty())throw new Error("dotNotation only applicable for object properties");var i=function(){throw new Error("Property `IndexNode.object` is deprecated, use `IndexNode.fn` instead")};Object.defineProperty(this,"object",{get:i,set:i})}function _(e,n,i){return new h(t.isBigNumber(e)?e.toNumber():e,t.isBigNumber(n)?n.toNumber():n,t.isBigNumber(i)?i.toNumber():i)}var l=i(n(84)),h=i(n(691)),c=Array.isArray;return a.prototype=new l,a.prototype.type="IndexNode",a.prototype.isIndexNode=!0,a.prototype._compile=function(e,n){var i=r(this.dimensions,function(i,r){if(t.isRangeNode(i)){if(i.needsEnd()){var s=Object.create(n);s.end=!0;var o=i.start._compile(e,s),a=i.end._compile(e,s),l=i.step?i.step._compile(e,s):function(){return 1};return function(t,n,i){var s=e.size(i).valueOf(),h=Object.create(n);return h.end=s[r],_(o(t,h,i),a(t,h,i),l(t,h,i))}}var h=i.start._compile(e,n),c=i.end._compile(e,n),u=i.step?i.step._compile(e,n):function(){return 1};return function(t,e,n){return _(h(t,e,n),c(t,e,n),u(t,e,n))}}if(t.isSymbolNode(i)&&"end"===i.name){var p=Object.create(n);p.end=!0;var d=i._compile(e,p);return function(t,n,i){var s=e.size(i).valueOf(),o=Object.create(n);return o.end=s[r],d(t,o,i)}}var f=i._compile(e,n);return function(t,e,n){return f(t,e,n)}});return function(t,n,s){var o=r(i,function(e){return e(t,n,s)});return e.index.apply(e,o)}},a.prototype.forEach=function(t){for(var e=0;e.'+s(this.getObjectProperty())+"":'['+e.join(',')+']'},a.prototype._toTex=function(t){var e=this.dimensions.map(function(e){return e.toTex(t)});return this.dotNotation?"."+this.getObjectProperty():"_{"+e.join(",")+"}"},a}var r=n(16).map,s=n(64).escape;e.name="IndexNode",e.path="expression.node",e.factory=i},function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e,r,l){function h(e){if(!(this instanceof h))throw new SyntaxError("Constructor must be called with the new operator");if(this.properties=e||{},e&&("object"!==i(e)||!Object.keys(e).every(function(n){return t.isNode(e[n])})))throw new TypeError("Object containing Nodes expected")}var c=r(n(84));return h.prototype=new c,h.prototype.type="ObjectNode",h.prototype.isObjectNode=!0,h.prototype._compile=function(t,e){var n={};for(var i in this.properties)if(_(this.properties,i)){var r=s(i),o=JSON.parse(r);if(!a(this.properties,o))throw new Error('No access to property "'+o+'"');n[o]=this.properties[i]._compile(t,e)}return function(t,e,i){var r={};for(var s in n)_(n,s)&&(r[s]=n[s](t,e,i));return r}},h.prototype.forEach=function(t){for(var e in this.properties)this.properties.hasOwnProperty(e)&&t(this.properties[e],"properties["+s(e)+"]",this)},h.prototype.map=function(t){var e={};for(var n in this.properties)this.properties.hasOwnProperty(n)&&(e[n]=this._ifNode(t(this.properties[n],"properties["+s(n)+"]",this)));return new h(e)},h.prototype.clone=function(){var t={};for(var e in this.properties)this.properties.hasOwnProperty(e)&&(t[e]=this.properties[e]);return new h(t)},h.prototype._toString=function(t){var e=[];for(var n in this.properties)this.properties.hasOwnProperty(n)&&e.push(s(n)+": "+this.properties[n].toString(t));return"{"+e.join(", ")+"}"},h.prototype.toJSON=function(){return{mathjs:"ObjectNode",properties:this.properties}},h.fromJSON=function(t){return new h(t.properties)},h.prototype.toHTML=function(t){var e=[];for(var n in this.properties)this.properties.hasOwnProperty(n)&&e.push(''+o(n)+':'+this.properties[n].toHTML(t));return'{'+e.join(',')+'}'},h.prototype._toTex=function(t){var e=[];for(var n in this.properties)this.properties.hasOwnProperty(n)&&e.push("\\mathbf{"+n+":} & "+this.properties[n].toTex(t)+"\\\\");return"\\left\\{\\begin{array}{ll}".concat(e.join("\n"),"\\end{array}\\right\\}")},h}var s=n(64).stringify,o=n(64).escape,a=n(78).isSafeProperty,_=n(32).hasOwnProperty;e.name="ObjectNode",e.path="expression.node",e.factory=r},function(t,e,n){"use strict";function i(t,e,i,s){function o(e,n,i){if(!(this instanceof o))throw new SyntaxError("Constructor must be called with the new operator");if(!t.isNode(e))throw new TypeError("Node expected");if(!t.isNode(n))throw new TypeError("Node expected");if(i&&!t.isNode(i))throw new TypeError("Node expected");if(arguments.length>3)throw new Error("Too many arguments");this.start=e,this.end=n,this.step=i||null}function a(t,e){var n=r.getPrecedence(t,e),i={},s=r.getPrecedence(t.start,e);if(i.start=null!==s&&s<=n||"all"===e,t.step){var o=r.getPrecedence(t.step,e);i.step=null!==o&&o<=n||"all"===e}var a=r.getPrecedence(t.end,e);return i.end=null!==a&&a<=n||"all"===e,i}var _=i(n(84));return o.prototype=new _,o.prototype.type="RangeNode",o.prototype.isRangeNode=!0,o.prototype.needsEnd=function(){var e=this.filter(function(e){return t.isSymbolNode(e)&&"end"===e.name});return e.length>0},o.prototype._compile=function(t,e){var n=t.range,i=this.start._compile(t,e),r=this.end._compile(t,e);if(this.step){var s=this.step._compile(t,e);return function(t,e,o){return n(i(t,e,o),r(t,e,o),s(t,e,o))}}return function(t,e,s){return n(i(t,e,s),r(t,e,s))}},o.prototype.forEach=function(t){t(this.start,"start",this),t(this.end,"end",this),this.step&&t(this.step,"step",this)},o.prototype.map=function(t){return new o(this._ifNode(t(this.start,"start",this)),this._ifNode(t(this.end,"end",this)),this.step&&this._ifNode(t(this.step,"step",this)))},o.prototype.clone=function(){return new o(this.start,this.end,this.step&&this.step)},o.prototype._toString=function(t){var e,n=t&&t.parenthesis?t.parenthesis:"keep",i=a(this,n),r=this.start.toString(t);if(i.start&&(r="("+r+")"),e=r,this.step){var s=this.step.toString(t);i.step&&(s="("+s+")"),e+=":"+s}var o=this.end.toString(t);return i.end&&(o="("+o+")"),e+=":"+o},o.prototype.toJSON=function(){return{mathjs:"RangeNode",start:this.start,end:this.end,step:this.step}},o.fromJSON=function(t){return new o(t.start,t.end,t.step)},o.prototype.toHTML=function(t){var e,n=t&&t.parenthesis?t.parenthesis:"keep",i=a(this,n),r=this.start.toHTML(t);if(i.start&&(r='('+r+')'),e=r,this.step){var s=this.step.toHTML(t);i.step&&(s='('+s+')'),e+=':'+s}var o=this.end.toHTML(t);return i.end&&(o='('+o+')'),e+=':'+o},o.prototype._toTex=function(t){var e=t&&t.parenthesis?t.parenthesis:"keep",n=a(this,e),i=this.start.toTex(t);if(n.start&&(i="\\left(".concat(i,"\\right)")),this.step){var r=this.step.toTex(t);n.step&&(r="\\left(".concat(r,"\\right)")),i+=":"+r}var s=this.end.toTex(t);return n.end&&(s="\\left(".concat(s,"\\right)")),i+=":"+s},o}var r=n(200);e.name="RangeNode",e.path="expression.node",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,a){function _(t,e){if(!(this instanceof _))throw new SyntaxError("Constructor must be called with the new operator");if(!Array.isArray(t))throw new TypeError("Parameter conditionals must be an array");if(!Array.isArray(e))throw new TypeError("Parameter params must be an array");if(t.length!==e.length-1)throw new TypeError("Parameter params must contain exactly one more element than parameter conditionals");this.conditionals=t,this.params=e}var l=i(n(84)),h=n(78).getSafeProperty;return _.prototype=new l,_.prototype.type="RelationalNode",_.prototype.isRelationalNode=!0,_.prototype._compile=function(t,e){var n=this,i=this.params.map(function(n){return n._compile(t,e)});return function(e,r,s){for(var o,a=i[0](e,r,s),_=0;_",smallerEq:"<=",largerEq:">="},o=i[0],a=0;a('+i.toHTML(t)+')':i.toHTML(t)}),s={equal:"==",unequal:"!=",smaller:"<",larger:">",smallerEq:"<=",largerEq:">="},a=i[0],_=0;_'+o(s[this.conditionals[_]])+""+i[_+1];return a},_.prototype._toTex=function(t){for(var e=t&&t.parenthesis?t.parenthesis:"keep",n=r.getPrecedence(this,e),i=this.params.map(function(i,s){var o=r.getPrecedence(i,e);return"all"===e||null!==o&&o<=n?"\\left("+i.toTex(t)+"\right)":i.toTex(t)}),o=i[0],a=0;a3)throw new Error("Symbolic Ordering and Analysis order must be an integer number in the interval [0, 3]");if(n<0||n>1)throw new Error("Partial pivoting threshold must be a number from 0 to 1");var i=s(e,t,!1),r=a(t,i,n);return{L:r.L,U:r.U,p:r.pinv,q:i.q,toString:function(){return"L: "+this.L.toString()+"\nU: "+this.U.toString()+"\np: "+this.p.toString()+(this.q?"\nq: "+this.q.toString():"")+"\n"}}}});return _}var r=n(144),s=r.number,o=s.isInteger;e.name="slu",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,r,s){function o(e,n){var i=u(e,n);return t.isNode(i)?i:b(i)}function a(e,n,i){try{return w(s[e].apply(null,n),i)}catch(r){return n=n.map(function(e){return t.isFraction(e)?e.valueOf():e}),w(s[e].apply(null,n),i)}}function _(t,e){var n=e&&e.exactFractions!==!1;if(n&&isFinite(t)){var i=s.fraction(t);if(i.valueOf()===t)return i}return t}function l(t){return new x("-","unaryMinus",[t])}function h(t){var e,n=t.s*t.n;return e=n<0?new x("-","unaryMinus",[new v(-n)]):new v(n),1===t.d?e:new x("/","divide",[e,new v(t.d)])}function c(e,n,i,r){return n.reduce(function(n,s){if(t.isNode(n)||t.isNode(s))t.isNode(n)?t.isNode(s)||(s=b(s)):n=b(n);else{try{return a(e,[n,s],r)}catch(t){}n=b(n),s=b(s)}return i([n,s])})}function u(e,n){switch(e.type){case"SymbolNode":return e;case"ConstantNode":return"number"!=typeof e.value&&isNaN(e.value)?e:w(e.value,n);case"FunctionNode":if(s[e.name]&&s[e.name].rawArgs)return e;var i=["add","multiply"];if(i.indexOf(e.name)===-1){var r=e.args.map(function(t){return u(t,n)});if(!r.some(t.isNode))try{return a(e.name,r,n)}catch(t){}return r=r.map(function(e){return t.isNode(e)?e:b(e)}),new y(e.name,r)}case"OperatorNode":var o,_,l=e.fn.toString(),h=g(e);if(e.isUnary())o=[u(e.args[0],n)],_=t.isNode(o[0])?h(o):a(l,o,n);else if(f(e))if(o=m(e),o=o.map(function(t){return u(t,n)}),d(l)){for(var p=[],v=[],x=0;x1?(_=c(l,p,h,n),v.unshift(_),_=c(l,v,h,n)):_=c(l,o,h,n)}else _=c(l,o,h,n);else o=e.args.map(function(t){return u(t,n)}),_=c(l,o,h,n);return _;case"ParenthesisNode":return u(e.content,n);case"AccessorNode":case"ArrayNode":case"AssignmentNode":case"BlockNode":case"FunctionAssignmentNode":case"IndexNode":case"ObjectNode":case"RangeNode":case"UpdateNode":case"ConditionalNode":default:throw new Error("Unimplemented node type in simplifyConstant: ".concat(e.type))}}var p=i(n(661)),d=p.isCommutative,f=p.isAssociative,m=p.allChildren,g=p.createMakeNodeFunction,v=s.expression.node.ConstantNode,x=s.expression.node.OperatorNode,y=s.expression.node.FunctionNode,b=r({Fraction:h,number:function(t){return t<0?l(new v(-t)):new v(t)},BigNumber:function(t){return t<0?l(new v(-t)):new v(t)},Complex:function(t){throw new Error("Cannot convert Complex number to Node")}}),w=r({"string, Object":function(t,n){if("BigNumber"===e.number)return s.bignumber(t);if("Fraction"===e.number)return s.fraction(t);var i=parseFloat(t);return _(i,n)},"Fraction, Object":function(t,e){return t},"BigNumber, Object":function(t,e){return t},"number, Object":function(t,e){return _(t,e)},"Complex, Object":function(t,e){return 0!==t.im?t:_(t.re,e)}});return o}e.math=!0,e.name="simplifyConstant",e.path="algebra.simplify",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,r,s){function o(e){if(t.isOperatorNode(e)&&e.isUnary()){var n=o(e.args[0]);if("+"===e.op)return n;if("-"===e.op){if(t.isOperatorNode(n)){if(n.isUnary()&&"-"===n.op)return n.args[0];if(n.isBinary()&&"subtract"===n.fn)return new f("-","subtract",[n.args[1],n.args[0]])}return new f(e.op,e.fn,[n])}}else if(t.isOperatorNode(e)&&e.isBinary()){var i=o(e.args[0]),r=o(e.args[1]);if("+"===e.op){if(t.isConstantNode(i)){if(_(i.value))return r;if(t.isConstantNode(r))return new d(l(i.value,r.value))}return t.isConstantNode(r)&&_(r.value)?i:t.isOperatorNode(r)&&r.isUnary()&&"-"===r.op?new f("-","subtract",[i,r.args[0]]):new f(e.op,e.fn,r?[i,r]:[i])}if("-"===e.op){ if(t.isConstantNode(i)&&r){if(t.isConstantNode(r))return new d(h(i.value,r.value));if(_(i.value))return new f("-","unaryMinus",[r])}if("subtract"===e.fn)return t.isConstantNode(r)&&_(r.value)?i:t.isOperatorNode(r)&&r.isUnary()&&"-"===r.op?o(new f("+","add",[i,r.args[0]])):new f(e.op,e.fn,[i,r])}else{if("*"===e.op){if(t.isConstantNode(i)){if(_(i.value))return v;if(a(i.value,1))return r;if(t.isConstantNode(r))return new d(c(i.value,r.value))}if(t.isConstantNode(r)){if(_(r.value))return v;if(a(r.value,1))return i;if(t.isOperatorNode(i)&&i.isBinary()&&i.op===e.op){var s=i.args[0];if(t.isConstantNode(s)){var y=new d(c(s.value,r.value));return new f(e.op,e.fn,[y,i.args[1]],e.implicit)}}return new f(e.op,e.fn,[r,i],e.implicit)}return new f(e.op,e.fn,[i,r],e.implicit)}if("/"===e.op){if(t.isConstantNode(i)){if(_(i.value))return v;if(t.isConstantNode(r)&&(a(r.value,1)||a(r.value,2)||a(r.value,4)))return new d(u(i.value,r.value))}return new f(e.op,e.fn,[i,r])}if("^"===e.op){if(t.isConstantNode(r)){if(_(r.value))return x;if(a(r.value,1))return i;if(t.isConstantNode(i))return new d(p(i.value,r.value));if(t.isOperatorNode(i)&&i.isBinary()&&"^"===i.op){var b=i.args[1];if(t.isConstantNode(b))return new f(e.op,e.fn,[i.args[0],new d(c(b.value,r.value))])}}return new f(e.op,e.fn,[i,r])}}}else{if(t.isParenthesisNode(e)){var w=o(e.content);return t.isParenthesisNode(w)||t.isSymbolNode(w)||t.isConstantNode(w)?w:new g(w)}if(t.isFunctionNode(e)){var C=e.args.map(o).map(function(e){return t.isParenthesisNode(e)?e.content:e});return new m(o(e.fn),C)}}return e}var a=i(n(203)),_=i(n(236)),l=i(n(85)),h=i(n(86)),c=i(n(68)),u=i(n(175)),p=i(n(176)),d=s.expression.node.ConstantNode,f=s.expression.node.OperatorNode,m=s.expression.node.FunctionNode,g=s.expression.node.ParenthesisNode,v=new d(0),x=new d(1);return o}e.math=!0,e.name="simplifyCore",e.path="algebra.simplify",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i,r){function s(e,n){if(!t.isOperatorNode(e))return!0;var i=e.fn.toString();return n&&n.hasOwnProperty(i)&&n[i].hasOwnProperty("commutative")?n[i].commutative:f[i]||!1}function o(e,n){if(!t.isOperatorNode(e))return!1;var i=e.fn.toString();return n&&n.hasOwnProperty(i)&&n[i].hasOwnProperty("associative")?n[i].associative:m[i]||!1}function a(t){if(!t.args||0===t.args.length)return t;t.args=_(t);for(var e=0;e2&&o(t)){for(var r=t.args.pop();t.args.length>0;)r=e([t.args.pop(),r]);t.args=r.args}}}function h(t){if(t.args&&0!==t.args.length){for(var e=c(t),n=t.args.length,i=0;i2&&o(t)){for(var r=t.args.shift();t.args.length>0;)r=e([r,t.args.shift()]);t.args=r.args}}}function c(e){return t.isOperatorNode(e)?function(t){try{return new p(e.op,e.fn,t,e.implicit)}catch(t){return console.error(t),[]}}:function(t){return new u(new d(e.name),t)}}var u=r.expression.node.FunctionNode,p=r.expression.node.OperatorNode,d=r.expression.node.SymbolNode,f={add:!0,multiply:!0},m={add:!0,multiply:!0};return{createMakeNodeFunction:c,isCommutative:s,isAssociative:o,flatten:a,allChildren:_,unflattenr:l,unflattenl:h}}e.factory=i,e.math=!0},function(t,e,n){"use strict";function i(t,e,i,r){function s(t,e){e=u(t,e,!0);for(var n=e._data,i=t._size[0],r=t._size[1],s=[],o=t._data,a=0;ag&&(y.push(a[i]),b.push(n));if(c(x,0))throw new Error("Linear system cannot be solved since matrix is singular");var C=_(v,x);for(i=0,w=b.length;i=0;a--){var d=n[a][0]||0,f=void 0;if(c(d,0))f=0;else{var m=o[a][a];if(c(m,0))throw new Error("Linear system cannot be solved since matrix is singular");f=_(d,m);for(var g=a-1;g>=0;g--)n[g]=[h(n[g][0]||0,l(f,o[g][a]))]}s[a]=[f]}return new p({data:s,size:[i,1]})}function o(t,e){e=u(t,e,!0);for(var n,i,r=e._data,s=t._size[0],o=t._size[1],a=t._values,d=t._index,f=t._ptr,m=[],g=o-1;g>=0;g--){var v=r[g][0]||0;if(c(v,0))m[g]=[0];else{var x=0,y=[],b=[],w=f[g],C=f[g+1];for(i=C-1;i>=w;i--)n=d[i],n===g?x=a[i]:n=0;){var _=n[o+a],l=n[i+_];l===-1?(a--,s[e++]=_):(n[i+_]=n[r+l],++a,n[o+a]=l)}return e};return t}e.name="csTdfs",e.path="algebra.sparse",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,a){var _=i(n(306)),l=a("ceil",{number:function(t){return s(t,_(t),e.epsilon)?_(t):Math.ceil(t)},Complex:function(t){return t.ceil()},BigNumber:function(t){return o(t,_(t),e.epsilon)?_(t):t.ceil()},Fraction:function(t){return t.ceil()},"Array | Matrix":function(t){return r(t,l,!0)}});return l.toTex={1:"\\left\\lceil${args[0]}\\right\\rceil"},l}var r=n(12),s=n(19).nearlyEqual,o=n(142);e.name="ceil",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,r){var s=i(n(9)),o=i(n(77)),a=n(26),_=i(n(126)),l=i(n(92)),h=i(n(133)),c=i(n(93)),u=i(n(94)),p=i(n(50)),d=i(n(40)),f=r("dotDivide",{"any, any":o,"SparseMatrix, SparseMatrix":function(t,e){return h(t,e,o,!1)},"SparseMatrix, DenseMatrix":function(t,e){return _(e,t,o,!0)},"DenseMatrix, SparseMatrix":function(t,e){return l(t,e,o,!1)},"DenseMatrix, DenseMatrix":function(t,e){return p(t,e,o)},"Array, Array":function(t,e){return f(s(t),s(e)).valueOf()},"Array, Matrix":function(t,e){return f(s(t),e)},"Matrix, Array":function(t,e){return f(t,s(e))},"SparseMatrix, any":function(t,e){return c(t,e,o,!1)},"DenseMatrix, any":function(t,e){return d(t,e,o,!1)},"any, SparseMatrix":function(t,e){return u(e,t,o,!0)},"any, DenseMatrix":function(t,e){return d(e,t,o,!0)},"Array, any":function(t,e){return d(s(t),e,o,!1).valueOf()},"any, Array":function(t,e){return d(s(e),t,o,!0).valueOf()}});return f.toTex={2:"\\left(${args[0]}".concat(a.operators.dotDivide,"${args[1]}\\right)")},f}e.name="dotDivide",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,s){var o=i(n(667)),a=i(n(670)),_=s("fix",{number:function(t){return t>0?a(t):o(t)},Complex:function(e){return new t.Complex(e.re>0?Math.floor(e.re):Math.ceil(e.re),e.im>0?Math.floor(e.im):Math.ceil(e.im))},BigNumber:function(t){return t.isNegative()?o(t):a(t)},Fraction:function(t){return t.s<0?t.ceil():t.floor()},"Array | Matrix":function(t){return r(t,_,!0)}});return _.toTex={1:"\\mathrm{${name}}\\left(${args[0]}\\right)"},_}var r=n(12);e.name="fix",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,a){var _=i(n(306)),l=a("floor",{number:function(t){return s(t,_(t),e.epsilon)?_(t):Math.floor(t)},Complex:function(t){return t.floor()},BigNumber:function(t){return o(t,_(t),e.epsilon)?_(t):t.floor()},Fraction:function(t){return t.floor()},"Array | Matrix":function(t){return r(t,l,!0)}});return l.toTex={1:"\\left\\lfloor${args[0]}\\right\\rfloor"},l}var r=n(12),s=n(19).nearlyEqual,o=n(142);e.name="floor",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var o=i("sign",{number:r.sign,Complex:function(t){return t.sign()},BigNumber:function(e){return new t.BigNumber(e.cmp(0))},Fraction:function(e){return new t.Fraction(e.s,1)},"Array | Matrix":function(t){return s(t,o,!0)},Unit:function(t){return o(t.value)}});return o.toTex={1:"\\mathrm{${name}}\\left(${args[0]}\\right)"},o}var r=n(19),s=n(12);e.name="sign",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,r){var s=i(n(85)),o=i(n(86)),a=i(n(68)),_=i(n(175)),l=i(n(176)),h=i(n(313)),c=i(n(312)),u=i(n(235)),p=i(n(141)),d=i(n(140)),f=r("stirlingS2",{"number | BigNumber, number | BigNumber":function(t,e){if(!p(t)||u(t)||!p(e)||u(e))throw new TypeError("Non-negative integer value expected in function stirlingS2");if(d(e,t))throw new TypeError("k must be less than or equal to n in function stirlingS2");for(var n=h(e),i=0,r=0;r<=e;r++){var f=l(-1,o(e,r)),m=c(e,r),g=l(r,t);i=s(i,a(a(m,g),f))}return _(i,n)}});return f.toTex={2:"\\mathrm{S}\\left(${args}\\right)"},f}e.name="stirlingS2",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,s){var o=n(26),a=s("not",{number:function(t){return!t},Complex:function(t){return 0===t.re&&0===t.im},BigNumber:function(t){return t.isZero()||t.isNaN()},Unit:function(t){return null===t.value||a(t.value)},"Array | Matrix":function(t){return r(t,a)}});return a.toTex={1:o.operators.not+"\\left(${args[0]}\\right)"},a}var r=n(12);e.name="not",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,o){function a(t,e){if(2!==t.size().length)throw new Error("Only two dimensional matrix is supported");s(e,t.size()[1]);var n=h(0,t.size()[0]),i=new _(n,e);return t.subset(i)}var _=i(n(116)),l=i(n(9)),h=i(n(310)),c=o("column",{"Matrix, number":a,"Array, number":function(t,e){return a(l(r(t)),e).valueOf()}});return c.toTex=void 0,c}var r=n(32).clone,s=n(16).validateIndex;e.name="column",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,r){function a(t,e,n){if(1===e)return s.clone(t[0][0]);if(2===e)return l(h(t[0][0],t[1][1]),h(t[1][0],t[0][1]));for(var i=u(t),r=i.U[0][0],o=1;o=e)break;for(var d=_,f=0;!p[i.p[d]];)p[i.p[d]]=!0,d=i.p[d],f++;f%2===0&&a++}return a%2===0?r:c(r)}var _=i(n(9)),l=i(n(86)),h=i(n(68)),c=i(n(155)),u=i(n(398)),p=r("det",{any:function(t){return s.clone(t)},"Array | Matrix":function(e){var n;switch(t.isMatrix(e)?n=e.size():Array.isArray(e)?(e=_(e),n=e.size()):n=[],n.length){case 0:return s.clone(e);case 1:if(1===n[0])return s.clone(e.valueOf()[0]);throw new RangeError("Matrix must be square (size: "+o.format(n)+")");case 2:var i=n[0],r=n[1];if(i===r)return a(e.clone().valueOf(),i,r);throw new RangeError("Matrix must be square (size: "+o.format(n)+")");default:throw new RangeError("Matrix must be two dimensional (size: "+o.format(n)+")")}}});return p.toTex={1:"\\det\\left(${args[0]}\\right)"},p}var r=n(144),s=r.object,o=r.string;e.name="det",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("map",{"Array, function":r,"Matrix, function":function(t,e){return t.map(e)}});return s.toTex=void 0,s}function r(t,e){var n=s(e),i=function i(r,s){return Array.isArray(r)?r.map(function(t,e){return i(t,s.concat(e))}):1===n?e(r):2===n?e(r,s):e(r,s,t)};return i(t,[])}var s=n(159).maxArgumentCount;e.name="map",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,o){function a(t,e){if(2!==t.size().length)throw new Error("Only two dimensional matrix is supported");s(e,t.size()[0]);var n=h(0,t.size()[1]),i=new _(e,n);return t.subset(i)}var _=i(n(116)),l=i(n(9)),h=i(n(310)),c=o("row",{"Matrix, number":a,"Array, number":function(t,e){return a(l(r(t)),e).valueOf()}});return c.toTex=void 0,c}var r=n(32).clone,s=n(16).validateIndex;e.name="row",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,_){function l(n){if(n.isZero())return new t.BigNumber(1);for(var i=e.precision+(0|Math.log(n.toNumber())),r=t.BigNumber.clone({precision:i}),s=new r(n),o=n.toNumber()-1;o>1;)s=s.times(o),o--;return new t.BigNumber(s.toPrecision(t.BigNumber.precision))}var h=i(n(68)),c=i(n(176)),u=n(406),p=_("gamma",{number:function(t){var e,n;if(s(t))return t<=0?isFinite(t)?1/0:NaN:t>171?1/0:u(1,t-1);if(t<.5)return Math.PI/(Math.sin(Math.PI*t)*p(1-t));if(t>=171.35)return 1/0;if(t>85){var i=t*t,r=i*t,_=r*t,l=_*t;return Math.sqrt(2*Math.PI/t)*Math.pow(t/Math.E,t)*(1+1/(12*t)+1/(288*i)-139/(51840*r)-571/(2488320*_)+163879/(209018880*l)+5246819/(75246796800*l*t))}--t,n=a[0];for(var h=1;hn?1:-1}var o=i(n(9)),a=i(n(125)),_=i(n(50)),l=i(n(40)),h=r("compareText",{"any, any":s,"DenseMatrix, DenseMatrix":function(t,e){return _(t,e,s)},"Array, Array":function(t,e){return h(o(t),o(e)).valueOf()},"Array, Matrix":function(t,e){return h(o(t),e)},"Matrix, Array":function(t,e){return h(t,o(e))},"DenseMatrix, any":function(t,e){return l(t,e,s,!1)},"any, DenseMatrix":function(t,e){return l(e,t,s,!0)},"Array, any":function(t,e){return l(o(t),e,s,!1).valueOf()},"any, Array":function(t,e){return l(o(e),t,s,!0).valueOf()}});return h.toTex=void 0,h}e.name="compareText",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,o){var a=i(n(9)),_=i(n(92)),l=i(n(133)),h=i(n(94)),c=i(n(50)),u=i(n(40)),p=n(26),d=o("smallerEq",{"boolean, boolean":function(t,e){return t<=e},"number, number":function(t,n){return t<=n||r(t,n,e.epsilon)},"BigNumber, BigNumber":function(t,n){return t.lte(n)||s(t,n,e.epsilon)},"Fraction, Fraction":function(t,e){return 1!==t.compare(e)},"Complex, Complex":function(){throw new TypeError("No ordering relation is defined for complex numbers")},"Unit, Unit":function(t,e){if(!t.equalBase(e))throw new Error("Cannot compare units with different base");return d(t.value,e.value)},"SparseMatrix, SparseMatrix":function(t,e){return l(t,e,d)},"SparseMatrix, DenseMatrix":function(t,e){return _(e,t,d,!0)},"DenseMatrix, SparseMatrix":function(t,e){return _(t,e,d,!1)},"DenseMatrix, DenseMatrix":function(t,e){return c(t,e,d)},"Array, Array":function(t,e){return d(a(t),a(e)).valueOf()},"Array, Matrix":function(t,e){return d(a(t),e)},"Matrix, Array":function(t,e){return d(t,a(e))},"SparseMatrix, any":function(t,e){return h(t,e,d,!1)},"DenseMatrix, any":function(t,e){return u(t,e,d,!1)},"any, SparseMatrix":function(t,e){return h(e,t,d,!0)},"any, DenseMatrix":function(t,e){return u(e,t,d,!0)},"Array, any":function(t,e){return u(a(t),e,d,!1).valueOf()},"any, Array":function(t,e){return u(a(e),t,d,!0).valueOf()}});return d.toTex={2:"\\left(${args[0]}".concat(p.operators.smallerEq,"${args[1]}\\right)")},d}var r=n(19).nearlyEqual,s=n(142);e.name="smallerEq",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,o){var a=i(n(9)),_=i(n(92)),l=i(n(133)),h=i(n(94)),c=i(n(50)),u=i(n(40)),p=n(26),d=o("unequal",{"any, any":function(t,e){return null===t?null!==e:null===e?null!==t:void 0===t?void 0!==e:void 0===e?void 0!==t:f(t,e)},"SparseMatrix, SparseMatrix":function(t,e){return l(t,e,f)},"SparseMatrix, DenseMatrix":function(t,e){return _(e,t,f,!0)},"DenseMatrix, SparseMatrix":function(t,e){return _(t,e,f,!1)},"DenseMatrix, DenseMatrix":function(t,e){return c(t,e,f)},"Array, Array":function(t,e){return d(a(t),a(e)).valueOf()},"Array, Matrix":function(t,e){return d(a(t),e)},"Matrix, Array":function(t,e){return d(t,a(e))},"SparseMatrix, any":function(t,e){return h(t,e,f,!1)},"DenseMatrix, any":function(t,e){return u(t,e,f,!1)},"any, SparseMatrix":function(t,e){return h(e,t,f,!0)},"any, DenseMatrix":function(t,e){return u(e,t,f,!0)},"Array, any":function(t,e){return u(a(t),e,f,!1).valueOf()},"any, Array":function(t,e){return u(a(e),t,f,!0).valueOf()}}),f=o("_unequal",{"boolean, boolean":function(t,e){return t!==e},"number, number":function(t,n){return!r(t,n,e.epsilon)},"BigNumber, BigNumber":function(t,n){return!s(t,n,e.epsilon)},"Fraction, Fraction":function(t,e){return!t.equals(e)},"Complex, Complex":function(t,e){return!t.equals(e)},"Unit, Unit":function(t,e){if(!t.equalBase(e))throw new Error("Cannot compare units with different base");return d(t.value,e.value)}});return d.toTex={2:"\\left(${args[0]}".concat(p.operators.unequal,"${args[1]}\\right)")},d}var r=n(19).nearlyEqual,s=n(142);e.name="unequal",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,a){var _=i(n(116)),l=i(n(205)),h=i(n(124)),c=i(n(107)),u=i(n(132)),p=a("setDifference",{"Array | Matrix, Array | Matrix":function(t,e){var n;if(0===c(h(t),new _(0)))n=[];else{if(0===c(h(e),new _(0)))return r(t.toArray());var i=s(r(Array.isArray(t)?t:t.toArray()).sort(u)),a=s(r(Array.isArray(e)?e:e.toArray()).sort(u));n=[];for(var p,d=0;d0&&(s=t[o]);return f(s,i)}var a=c(t,(e-1)/2);return d(a)}catch(t){throw u(t,"median")}}var _=i(n(91)),l=i(n(77)),h=i(n(202)),c=i(n(404)),u=i(n(157)),p=o("median",{"Array | Matrix":a,"Array | Matrix, number | BigNumber":function(t,e){throw new Error("median(A, dim) is not yet supported")},"...":function(t){if(s(t))throw new TypeError("Scalar values expected in function median");return a(t)}}),d=o({"number | BigNumber | Complex | Unit":function(t){return t}}),f=o({"number | BigNumber | Complex | Unit, number | BigNumber | Complex | Unit":function(t,e){return l(_(t,e),2)}});return p.toTex=void 0,p}var r=n(16).flatten,s=n(237);e.name="median",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,a){function _(t,e){try{return h(t,e)?t:e}catch(t){throw c(t,"min",e)}}function l(t){var e;if(r(t,function(t){try{isNaN(t)&&"number"==typeof t?e=NaN:(void 0===e||h(t,e))&&(e=t)}catch(e){throw c(e,"min",t)}}),void 0===e)throw new Error("Cannot calculate min of an empty array");return e}var h=i(n(156)),c=i(n(157)),u=a("min",{"Array | Matrix":l,"Array | Matrix, number | BigNumber":function(t,e){return s(t,e.valueOf(),_)},"...":function(t){if(o(t))throw new TypeError("Scalar values expected in function min");return l(t)}});return u.toTex="\\min\\left(${args}\\right)",u}var r=n(180),s=n(321),o=n(237);e.name="min",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,r){function s(t,e){if(0===t.length)throw new SyntaxError("Function std requires one or more parameters (0 provided)");try{return o(a.apply(null,arguments))}catch(t){throw t instanceof TypeError&&t.message.indexOf(" var")!==-1?new TypeError(t.message.replace(" var"," std")):t}}var o=i(n(177)),a=i(n(410)),_=r("std",{"Array | Matrix":s,"Array | Matrix, string":s,"Array | Matrix, number | BigNumber":s,"Array | Matrix, number | BigNumber, string":s,"...":function(t){return s(t)}});return _.toTex=void 0,_}e.name="std",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("format",{any:r.format,"any, Object | function | number":r.format});return s.toTex=void 0,s}var r=n(64);e.name="format",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("bignumber",{"":function(){return new t.BigNumber(0)},number:function(e){return new t.BigNumber(e+"")},string:function(e){return new t.BigNumber(e)},BigNumber:function(t){return t},Fraction:function(e){return new t.BigNumber(e.n).div(e.d).times(e.s)},null:function(e){return new t.BigNumber(0)},"Array | Matrix":function(t){return r(t,s)}});return s.toTex={0:"0",1:"\\left(${args[0]}\\right)"},s}var r=n(12);e.name="bignumber",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){function s(e,n,i){if(!(this instanceof s))throw new SyntaxError("Constructor must be called with the new operator");var r=null!==e&&void 0!==e,o=null!==n&&void 0!==n,a=null!==i&&void 0!==i;if(r)if(t.isBigNumber(e))e=e.toNumber();else if("number"!=typeof e)throw new TypeError("Parameter start must be a number");if(o)if(t.isBigNumber(n))n=n.toNumber();else if("number"!=typeof n)throw new TypeError("Parameter end must be a number");if(a)if(t.isBigNumber(i))i=i.toNumber();else if("number"!=typeof i)throw new TypeError("Parameter step must be a number");this.start=r?parseFloat(e):0,this.end=o?parseFloat(n):0,this.step=a?parseFloat(i):1}return s.prototype.type="Range",s.prototype.isRange=!0,s.parse=function(t){if("string"!=typeof t)return null;var e=t.split(":"),n=e.map(function(t){return parseFloat(t)}),i=n.some(function(t){return isNaN(t)});if(i)return null;switch(n.length){case 2:return new s(n[0],n[1]);case 3:return new s(n[0],n[2],n[1]);default:return null}},s.prototype.clone=function(){return new s(this.start,this.end,this.step)},s.prototype.size=function(){var t=0,e=this.start,n=this.step,i=this.end,s=i-e;return r.sign(n)===r.sign(s)?t=Math.ceil(s/n):0===s&&(t=0),isNaN(t)&&(t=0),[t]},s.prototype.min=function(){var t=this.size()[0];return t>0?this.step>0?this.start:this.start+(t-1)*this.step:void 0},s.prototype.max=function(){var t=this.size()[0];return t>0?this.step>0?this.start+(t-1)*this.step:this.start:void 0},s.prototype.forEach=function(t){var e=this.start,n=this.step,i=this.end,r=0;if(n>0)for(;ei;)t(e,[r],this),e+=n,r++},s.prototype.map=function(t){var e=[];return this.forEach(function(n,i,r){e[i[0]]=t(n,i,r)}),e},s.prototype.toArray=function(){var t=[];return this.forEach(function(e,n){t[n[0]]=e}),t},s.prototype.valueOf=function(){return this.toArray()},s.prototype.format=function(t){var e=r.format(this.start,t);return 1!==this.step&&(e+=":"+r.format(this.step,t)),e+=":"+r.format(this.end,t)},s.prototype.toString=function(){return this.format()},s.prototype.toJSON=function(){return{mathjs:"Range",start:this.start,end:this.end,step:this.step}},s.fromJSON=function(t){return new s(t.start,t.end,t.step)},s}var r=n(19);e.name="Range",e.path="type",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,s){var o=i(n(72)),a=t.SparseMatrix,_=function(t,e,n){var i=t._values,_=t._index,l=t._ptr,h=t._size,c=t._datatype,u=e._values,p=e._index,d=e._ptr,f=e._size,m=e._datatype;if(h.length!==f.length)throw new r(h.length,f.length);if(h[0]!==f[0]||h[1]!==f[1])throw new RangeError("Dimension mismatch. Matrix A ("+h+") must match Matrix B ("+f+")");var g,v=h[0],x=h[1],y=o,b=0,w=n;"string"==typeof c&&c===m&&(g=c,y=s.find(o,[g,g]),b=s.convert(0,g),w=s.find(n,[g,g]));var C,E,T,A,I,S=i&&u?[]:void 0,O=[],k=[],N=new a({values:S,index:O,ptr:k,size:[v,x],datatype:g}),P=S?[]:void 0,R=[];for(E=0;E1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof r&&(n=t.pop()),1===t.length?t[0]:new s.ArrayObservable(t,i).lift(new o.MergeAllOperator(n))}var s=n(145),o=n(324),a=n(161);e.merge=i,e.mergeStatic=r},function(t,e,n){"use strict";function i(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"number"==typeof e&&(n=e,e=null),this.lift(new a(t,e,n))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(30),o=n(29);e.mergeMap=i;var a=function(){function t(t,e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.project=t,this.resultSelector=e,this.concurrent=n}return t.prototype.call=function(t,e){return e._subscribe(new _(t,this.project,this.resultSelector,this.concurrent))},t}();e.MergeMapOperator=a;var _=function(t){function e(e,n,i,r){void 0===r&&(r=Number.POSITIVE_INFINITY),t.call(this,e),this.project=n,this.resultSelector=i,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return r(e,t),e.prototype._next=function(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber);e.MergeMapSubscriber=_},function(t,e,n){"use strict";function i(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"number"==typeof e&&(n=e,e=null),this.lift(new a(t,e,n))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(29),o=n(30);e.mergeMapTo=i;var a=function(){function t(t,e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.ish=t,this.resultSelector=e,this.concurrent=n}return t.prototype.call=function(t,e){return e._subscribe(new _(t,this.ish,this.resultSelector,this.concurrent))},t}();e.MergeMapToOperator=a;var _=function(t){function e(e,n,i,r){void 0===r&&(r=Number.POSITIVE_INFINITY),t.call(this,e),this.ish=n,this.resultSelector=i,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return r(e,t),e.prototype._next=function(t){if(this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(s.OuterSubscriber);e.MergeMapToSubscriber=_},function(t,e,n){"use strict";function i(){for(var t=[],e=0;ee.index?1:-1:t.delay>e.delay?1:-1},e}(r.AsyncAction);e.VirtualAction=a},function(t,e,n){"use strict";var i=n(1583),r=n(1584);e.asap=new r.AsapScheduler(i.AsapAction)},function(t,e,n){"use strict";var i=n(1585),r=n(1586);e.queue=new r.QueueScheduler(i.QueueAction)},function(t,e,n){"use strict";var i=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.subscribedFrame=t,this.unsubscribedFrame=e}return t}();e.SubscriptionLog=i},function(t,e,n){"use strict";var i=n(717),r=function(){function t(){this.subscriptions=[]}return t.prototype.logSubscribedFrame=function(){return this.subscriptions.push(new i.SubscriptionLog(this.scheduler.now())),this.subscriptions.length-1},t.prototype.logUnsubscribedFrame=function(t){var e=this.subscriptions,n=e[t];e[t]=new i.SubscriptionLog(n.subscribedFrame,this.scheduler.now())},t}();e.SubscriptionLoggable=r},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=function(t){function e(e){t.call(this),this.errors=e;var n=Error.call(this,e?e.length+" errors occurred during unsubscription:\n "+e.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"");this.name=n.name="UnsubscriptionError",this.stack=n.stack,this.message=n.message}return i(e,t),e}(Error);e.UnsubscriptionError=r},function(t,e,n){"use strict";function i(t,e){for(var n=0,i=e.length;n=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(1601),e.setImmediate="undefined"!=typeof self&&self.setImmediate||"undefined"!=typeof t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||"undefined"!=typeof t&&t.clearImmediate||this&&this.clearImmediate}).call(e,n(135))},function(t,e){(function(e){t.exports=e}).call(e,{})},function(t,e,n){"use strict";var i=n(337),r=n(793),s=n(470),o=n(430),a=n(439),_=n(350),l=n(461),h=n(453),c=n(456),u=n(528),p=n(475),d=n(492),f=n(76),m=n(484),g=n(376),v=n(483),x=n(364),y=n(360),b=n(362),w=n(477),C=n(476),E=n(485),T=n(480),A=n(478),I=n(489),S=n(488),O=n(481),k=n(487),N=n(482),P=n(479),R=n(491),D=(n.n(R),n(59)),j=n(43),M=n(31),L=n(22),B=n(172),F=n(38),q=n(28),V=n(66),H=n(120),U=n(83),z=n(82),G=n(110),W=n(224),Y=n(208),$=n(248),X=n(258),J=n(249),Q=n(182),Z=n(525),K=n(166),tt=n(271),et=n(269),nt=n(272),it=n(11),rt=n(351),st=n(263),ot=n(218),at=n(347),_t=n(264),lt=n(213),ht=n(346),ct=n(289),ut=n(103),pt=n(104),dt=n(39),ft=n(123),mt=n(48),gt=n(49),vt=n(246),xt=n(113),yt=n(121),bt=n(299),wt=n(47),Ct=n(391),Et=n(303),Tt=n(153),At=n(99),It=n(169),St=n(170),Ot=n(779),kt=n(780),Nt=n(781),Pt=n(785),Rt=n(787),Dt=n(789),jt=n(790),Mt=n(791),Lt=n(282),Bt=n(798),Ft=n(98),qt=n(279),Vt=n(806),Ht=n(805),Ut=n(797),zt=n(795),Gt=n(802),Wt=n(824),Yt=n(818),$t=n(822),Xt=n(363),Jt=n(359),Qt=n(361),Zt=n(813),Kt=n(812),te=n(825),ee=n(819),ne=n(815),ie=n(823),re=n(801),se=n(796),oe=n(814),ae=n(828),_e=n(827),le=n(820),he=n(826),ce=n(821),ue=n(807),pe=n(817),de=n(816),fe=n(792),me=n(529),ge=n(395),ve=n(23),xe=n(56),ye=n(2),be=n(210),we=n(352),Ce=n(353),Ee=n(270),Te=n(268),Ae=n(356),Ie=n(247),Se=n(209),Oe=n(394),ke=n(114),Ne=n(523),Pe=n(396),Re=n(252),De=n(255),je=n(335),Me=n(220),Le=n(267),Be=n(257),Fe=n(73),qe=n(37),Ve=n(52),He=n(185),Ue=n(348),ze=n(138);n.d(e,"a",function(){return Ye});var Ge=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},We=function(t){function e(e){t.call(this,e,[Ot.a,kt.a,Nt.a,Pt.a,Rt.a,Dt.a,jt.a,Mt.a,Lt.a,Bt.a,Ft.a,qt.a,Vt.a,Ht.a,Ut.a,zt.a,Gt.a,Wt.a,Yt.a,$t.a,Xt.a,Jt.a,Qt.a,Zt.a,Kt.a,te.a,ee.a,ne.a,ie.a,re.a,se.a,oe.a,ae.a,_e.a,le.a,he.a,ce.a,ue.a,pe.a,de.a,fe.a,fe.a,Nt.a],[Nt.a])}return Ge(e,t),Object.defineProperty(e.prototype,"_Storage_30",{get:function(){return null==this.__Storage_30&&(this.__Storage_30=new R.Storage),this.__Storage_30},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_StorageService_31",{get:function(){return null==this.__StorageService_31&&(this.__StorageService_31=new D.a(this._Storage_30)),this.__StorageService_31},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_DeviceManagerService_32",{get:function(){return null==this.__DeviceManagerService_32&&(this.__DeviceManagerService_32=new j.DeviceManagerService),this.__DeviceManagerService_32},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_PlatformConfigToken_33",{get:function(){return null==this.__PlatformConfigToken_33&&(this.__PlatformConfigToken_33=me.a()),this.__PlatformConfigToken_33},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_UrlToken_34",{get:function(){return null==this.__UrlToken_34&&(this.__UrlToken_34=u.a()),this.__UrlToken_34},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_QueryParams_35",{get:function(){return null==this.__QueryParams_35&&(this.__QueryParams_35=ge.a(this._UrlToken_34)),this.__QueryParams_35},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_UserAgentToken_36",{get:function(){return null==this.__UserAgentToken_36&&(this.__UserAgentToken_36=u.b()),this.__UserAgentToken_36},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_NavigatorPlatformToken_37",{get:function(){return null==this.__NavigatorPlatformToken_37&&(this.__NavigatorPlatformToken_37=u.c()),this.__NavigatorPlatformToken_37},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_DocumentDirToken_38",{get:function(){return null==this.__DocumentDirToken_38&&(this.__DocumentDirToken_38=u.d()),this.__DocumentDirToken_38},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_DocLangToken_39",{get:function(){return null==this.__DocLangToken_39&&(this.__DocLangToken_39=u.e()),this.__DocLangToken_39},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_Platform_40",{get:function(){return null==this.__Platform_40&&(this.__Platform_40=ve.a(this._PlatformConfigToken_33,this._QueryParams_35,this._UserAgentToken_36,this._NavigatorPlatformToken_37,this._DocumentDirToken_38,this._DocLangToken_39,this.parent.get(xe.a))),this.__Platform_40},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_SettingsService_41",{get:function(){return null==this.__SettingsService_41&&(this.__SettingsService_41=new M.a(this._StorageService_31,this._DeviceManagerService_32,this._Platform_40)),this.__SettingsService_41},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_ConfigToken_42",{get:function(){return null==this.__ConfigToken_42&&(this.__ConfigToken_42=null),this.__ConfigToken_42},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_Config_43",{get:function(){return null==this.__Config_43&&(this.__Config_43=ye.a(this._ConfigToken_42,this._QueryParams_35,this._Platform_40)),this.__Config_43},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_App_44",{get:function(){return null==this.__App_44&&(this.__App_44=new L.a(this._Config_43,this._Platform_40)),this.__App_44},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_ToastController_45",{get:function(){return null==this.__ToastController_45&&(this.__ToastController_45=new B.a(this._App_44)),this.__ToastController_45},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_ToastService_46",{get:function(){return null==this.__ToastService_46&&(this.__ToastService_46=new F.a(this._ToastController_45)),this.__ToastService_46},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_TooltipService_47",{get:function(){return null==this.__TooltipService_47&&(this.__TooltipService_47=new q.a),this.__TooltipService_47},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_UtilityService_48",{get:function(){return null==this.__UtilityService_48&&(this.__UtilityService_48=new V.a),this.__UtilityService_48},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_LoadingController_49",{get:function(){return null==this.__LoadingController_49&&(this.__LoadingController_49=new H.a(this._App_44)),this.__LoadingController_49},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_LoadingService_50",{get:function(){return null==this.__LoadingService_50&&(this.__LoadingService_50=new U.a(this._LoadingController_49)),this.__LoadingService_50},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_ExportService_51",{get:function(){return null==this.__ExportService_51&&(this.__ExportService_51=new z.a(this._Platform_40)),this.__ExportService_51},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_DeviceDataTransferService_52",{get:function(){return null==this.__DeviceDataTransferService_52&&(this.__DeviceDataTransferService_52=new G.a),this.__DeviceDataTransferService_52},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_UiHelperService_53",{get:function(){return null==this.__UiHelperService_53&&(this.__UiHelperService_53=new W.a),this.__UiHelperService_53},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_LOCALE_ID_54",{get:function(){return null==this.__LOCALE_ID_54&&(this.__LOCALE_ID_54=null),this.__LOCALE_ID_54},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_NgLocalization_55",{get:function(){return null==this.__NgLocalization_55&&(this.__NgLocalization_55=new Y.a(this._LOCALE_ID_54)),this.__NgLocalization_55},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_ApplicationRef_61",{get:function(){return null==this.__ApplicationRef_61&&(this.__ApplicationRef_61=this._ApplicationRef__60),this.__ApplicationRef_61},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_Compiler_62",{get:function(){return null==this.__Compiler_62&&(this.__Compiler_62=new Q.a),this.__Compiler_62},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_APP_ID_63",{get:function(){return null==this.__APP_ID_63&&(this.__APP_ID_63=be.a()),this.__APP_ID_63},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_DOCUMENT_64",{get:function(){return null==this.__DOCUMENT_64&&(this.__DOCUMENT_64=_.a()),this.__DOCUMENT_64},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_HAMMER_GESTURE_CONFIG_65",{get:function(){return null==this.__HAMMER_GESTURE_CONFIG_65&&(this.__HAMMER_GESTURE_CONFIG_65=new Z.a),this.__HAMMER_GESTURE_CONFIG_65},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_EVENT_MANAGER_PLUGINS_66",{get:function(){return null==this.__EVENT_MANAGER_PLUGINS_66&&(this.__EVENT_MANAGER_PLUGINS_66=[new we.a,new Ce.a,new Ee.a(this._HAMMER_GESTURE_CONFIG_65)]),this.__EVENT_MANAGER_PLUGINS_66},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_EventManager_67",{get:function(){return null==this.__EventManager_67&&(this.__EventManager_67=new K.a(this._EVENT_MANAGER_PLUGINS_66,this.parent.get(xe.a))),this.__EventManager_67},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_DomSharedStylesHost_68",{get:function(){return null==this.__DomSharedStylesHost_68&&(this.__DomSharedStylesHost_68=new tt.a(this._DOCUMENT_64)),this.__DomSharedStylesHost_68; },enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_AnimationDriver_69",{get:function(){return null==this.__AnimationDriver_69&&(this.__AnimationDriver_69=_.b()),this.__AnimationDriver_69},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_DomRootRenderer_70",{get:function(){return null==this.__DomRootRenderer_70&&(this.__DomRootRenderer_70=new et.a(this._DOCUMENT_64,this._EventManager_67,this._DomSharedStylesHost_68,this._AnimationDriver_69)),this.__DomRootRenderer_70},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_RootRenderer_71",{get:function(){return null==this.__RootRenderer_71&&(this.__RootRenderer_71=Te.a(this._DomRootRenderer_70,this.parent.get(Te.b,null))),this.__RootRenderer_71},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_DomSanitizer_72",{get:function(){return null==this.__DomSanitizer_72&&(this.__DomSanitizer_72=new nt.a),this.__DomSanitizer_72},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_Sanitizer_73",{get:function(){return null==this.__Sanitizer_73&&(this.__Sanitizer_73=this._DomSanitizer_72),this.__Sanitizer_73},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_ViewUtils_74",{get:function(){return null==this.__ViewUtils_74&&(this.__ViewUtils_74=new it.a(this._RootRenderer_71,this._APP_ID_63,this._Sanitizer_73)),this.__ViewUtils_74},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_IterableDiffers_75",{get:function(){return null==this.__IterableDiffers_75&&(this.__IterableDiffers_75=a.a()),this.__IterableDiffers_75},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_KeyValueDiffers_76",{get:function(){return null==this.__KeyValueDiffers_76&&(this.__KeyValueDiffers_76=a.b()),this.__KeyValueDiffers_76},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_SharedStylesHost_77",{get:function(){return null==this.__SharedStylesHost_77&&(this.__SharedStylesHost_77=this._DomSharedStylesHost_68),this.__SharedStylesHost_77},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_Title_78",{get:function(){return null==this.__Title_78&&(this.__Title_78=new rt.a),this.__Title_78},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_BrowserXhr_79",{get:function(){return null==this.__BrowserXhr_79&&(this.__BrowserXhr_79=new st.a),this.__BrowserXhr_79},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_ResponseOptions_80",{get:function(){return null==this.__ResponseOptions_80&&(this.__ResponseOptions_80=new ot.a),this.__ResponseOptions_80},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_XSRFStrategy_81",{get:function(){return null==this.__XSRFStrategy_81&&(this.__XSRFStrategy_81=l.a()),this.__XSRFStrategy_81},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_XHRBackend_82",{get:function(){return null==this.__XHRBackend_82&&(this.__XHRBackend_82=new at.a(this._BrowserXhr_79,this._ResponseOptions_80,this._XSRFStrategy_81)),this.__XHRBackend_82},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_RequestOptions_83",{get:function(){return null==this.__RequestOptions_83&&(this.__RequestOptions_83=new _t.a),this.__RequestOptions_83},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_Http_84",{get:function(){return null==this.__Http_84&&(this.__Http_84=l.b(this._XHRBackend_82,this._RequestOptions_83)),this.__Http_84},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_RadioControlRegistry_85",{get:function(){return null==this.__RadioControlRegistry_85&&(this.__RadioControlRegistry_85=new lt.a),this.__RadioControlRegistry_85},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_FormBuilder_86",{get:function(){return null==this.__FormBuilder_86&&(this.__FormBuilder_86=new ht.a),this.__FormBuilder_86},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_AppRootToken_87",{get:function(){return null==this.__AppRootToken_87&&(this.__AppRootToken_87=Ae.a),this.__AppRootToken_87},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_DeepLinkConfigToken_88",{get:function(){return null==this.__DeepLinkConfigToken_88&&(this.__DeepLinkConfigToken_88=null),this.__DeepLinkConfigToken_88},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_ActionSheetController_89",{get:function(){return null==this.__ActionSheetController_89&&(this.__ActionSheetController_89=new ct.a(this._App_44)),this.__ActionSheetController_89},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_AlertController_90",{get:function(){return null==this.__AlertController_90&&(this.__AlertController_90=new ut.a(this._App_44)),this.__AlertController_90},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_Events_91",{get:function(){return null==this.__Events_91&&(this.__Events_91=new pt.a),this.__Events_91},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_Form_92",{get:function(){return null==this.__Form_92&&(this.__Form_92=new dt.a),this.__Form_92},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_Haptic_93",{get:function(){return null==this.__Haptic_93&&(this.__Haptic_93=new ft.a(this._Platform_40)),this.__Haptic_93},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_GestureController_94",{get:function(){return null==this.__GestureController_94&&(this.__GestureController_94=new mt.a(this._App_44)),this.__GestureController_94},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_Keyboard_95",{get:function(){return null==this.__Keyboard_95&&(this.__Keyboard_95=new gt.a(this._Config_43,this._Form_92,this.parent.get(xe.a))),this.__Keyboard_95},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_LocationStrategy_96",{get:function(){return null==this.__LocationStrategy_96&&(this.__LocationStrategy_96=u.f(this.parent.get(Ie.a),this.parent.get(Se.a,null),this._Config_43)),this.__LocationStrategy_96},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_Location_97",{get:function(){return null==this.__Location_97&&(this.__Location_97=new vt.a(this._LocationStrategy_96)),this.__Location_97},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_MenuController_98",{get:function(){return null==this.__MenuController_98&&(this.__MenuController_98=new xt.a),this.__MenuController_98},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_ModalController_99",{get:function(){return null==this.__ModalController_99&&(this.__ModalController_99=new yt.a(this._App_44)),this.__ModalController_99},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_PickerController_100",{get:function(){return null==this.__PickerController_100&&(this.__PickerController_100=new bt.a(this._App_44)),this.__PickerController_100},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_PopoverController_101",{get:function(){return null==this.__PopoverController_101&&(this.__PopoverController_101=new wt.a(this._App_44)),this.__PopoverController_101},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_TapClick_102",{get:function(){return null==this.__TapClick_102&&(this.__TapClick_102=new Ct.a(this._Config_43,this._App_44,this.parent.get(xe.a))),this.__TapClick_102},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_Translate_103",{get:function(){return null==this.__Translate_103&&(this.__Translate_103=new Et.a),this.__Translate_103},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_TransitionController_104",{get:function(){return null==this.__TransitionController_104&&(this.__TransitionController_104=new Tt.a(this._Config_43)),this.__TransitionController_104},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_UrlSerializer_105",{get:function(){return null==this.__UrlSerializer_105&&(this.__UrlSerializer_105=Oe.a(this._DeepLinkConfigToken_88)),this.__UrlSerializer_105},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_DeepLinker_106",{get:function(){return null==this.__DeepLinker_106&&(this.__DeepLinker_106=ke.a(this._App_44,this._UrlSerializer_105,this._Location_97)),this.__DeepLinker_106},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_LoggerPlotService_107",{get:function(){return null==this.__LoggerPlotService_107&&(this.__LoggerPlotService_107=new At.a),this.__LoggerPlotService_107},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_CommandUtilityService_108",{get:function(){return null==this.__CommandUtilityService_108&&(this.__CommandUtilityService_108=new It.a),this.__CommandUtilityService_108},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_ScalingService_109",{get:function(){return null==this.__ScalingService_109&&(this.__ScalingService_109=new St.a(this._StorageService_31)),this.__ScalingService_109},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_TRANSLATIONS_FORMAT_110",{get:function(){return null==this.__TRANSLATIONS_FORMAT_110&&(this.__TRANSLATIONS_FORMAT_110=null),this.__TRANSLATIONS_FORMAT_110},enumerable:!0,configurable:!0}),e.prototype.createInternal=function(){return this._CoreModule_0=new s.a(this.parent.get(s.a,null)),this._CommonModule_1=new o.a,this._ApplicationModule_2=new a.c,this._BrowserModule_3=new _.c(this.parent.get(_.c,null)),this._HttpModule_4=new l.c,this._InternalFormsSharedModule_5=new h.a,this._FormsModule_6=new c.a,this._ReactiveFormsModule_7=new c.b,this._IonicModule_8=new u.g,this._TooltipModule_9=new p.a,this._DigilentChartModule_10=new d.DigilentChartModule,this._SharedModule_11=new f.a,this._SettingsModule_12=new m.a,this._LoggerModule_13=new g.a,this._OpenScopeLoggerModule_14=new v.a,this._FGenModule_15=new x.a,this._DcSupplyModule_16=new y.a,this._DigitalIoModule_17=new b.a,this._BodePageModule_18=new w.a,this._BodeModalPageModule_19=new C.a,this._SlowUSBModalPageModule_20=new E.a,this._InstrumentPanelModule_21=new T.a,this._CalibrateModule_22=new A.a,this._WifiSetupModule_23=new I.a,this._WifiSetupModule_24=new S.a,this._LoadFirmwareModule_25=new O.a,this._UpdateFirmwareModule_26=new k.a,this._OpenLoggerLoggerModule_27=new N.a,this._DeviceManagerPageModule_28=new P.a,this._AppModule_29=new r.a,this._ErrorHandler_56=_.d(),this._APP_INITIALIZER_57=[Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a)),Ne.a(this._Config_43),Pe.a(this._Config_43),pt.b(this._Platform_40),Ct.b(this._Config_43,this._App_44,this.parent.get(xe.a))],this._ApplicationInitStatus_58=new $.a(this._APP_INITIALIZER_57),this._Testability_59=new X.a(this.parent.get(xe.a)),this._ApplicationRef__60=new J.a(this.parent.get(xe.a),this.parent.get(Re.a),this,this._ErrorHandler_56,this,this._ApplicationInitStatus_58,this.parent.get(X.b,null),this._Testability_59),this._AppModule_29},e.prototype.getInternal=function(t,e){return t===s.a?this._CoreModule_0:t===o.a?this._CommonModule_1:t===a.c?this._ApplicationModule_2:t===_.c?this._BrowserModule_3:t===l.c?this._HttpModule_4:t===h.a?this._InternalFormsSharedModule_5:t===c.a?this._FormsModule_6:t===c.b?this._ReactiveFormsModule_7:t===u.g?this._IonicModule_8:t===p.a?this._TooltipModule_9:t===d.DigilentChartModule?this._DigilentChartModule_10:t===f.a?this._SharedModule_11:t===m.a?this._SettingsModule_12:t===g.a?this._LoggerModule_13:t===v.a?this._OpenScopeLoggerModule_14:t===x.a?this._FGenModule_15:t===y.a?this._DcSupplyModule_16:t===b.a?this._DigitalIoModule_17:t===w.a?this._BodePageModule_18:t===C.a?this._BodeModalPageModule_19:t===E.a?this._SlowUSBModalPageModule_20:t===T.a?this._InstrumentPanelModule_21:t===A.a?this._CalibrateModule_22:t===I.a?this._WifiSetupModule_23:t===S.a?this._WifiSetupModule_24:t===O.a?this._LoadFirmwareModule_25:t===k.a?this._UpdateFirmwareModule_26:t===N.a?this._OpenLoggerLoggerModule_27:t===P.a?this._DeviceManagerPageModule_28:t===r.a?this._AppModule_29:t===R.Storage?this._Storage_30:t===D.a?this._StorageService_31:t===j.DeviceManagerService?this._DeviceManagerService_32:t===me.b?this._PlatformConfigToken_33:t===ge.b?this._UrlToken_34:t===ge.c?this._QueryParams_35:t===ve.b?this._UserAgentToken_36:t===ve.c?this._NavigatorPlatformToken_37:t===ve.d?this._DocumentDirToken_38:t===ve.e?this._DocLangToken_39:t===ve.f?this._Platform_40:t===M.a?this._SettingsService_41:t===ye.b?this._ConfigToken_42:t===ye.c?this._Config_43:t===L.a?this._App_44:t===B.a?this._ToastController_45:t===F.a?this._ToastService_46:t===q.a?this._TooltipService_47:t===V.a?this._UtilityService_48:t===H.a?this._LoadingController_49:t===U.a?this._LoadingService_50:t===z.a?this._ExportService_51:t===G.a?this._DeviceDataTransferService_52:t===W.a?this._UiHelperService_53:t===De.a?this._LOCALE_ID_54:t===Y.b?this._NgLocalization_55:t===je.a?this._ErrorHandler_56:t===$.b?this._APP_INITIALIZER_57:t===$.a?this._ApplicationInitStatus_58:t===X.a?this._Testability_59:t===J.a?this._ApplicationRef__60:t===J.b?this._ApplicationRef_61:t===Q.a?this._Compiler_62:t===be.b?this._APP_ID_63:t===Me.a?this._DOCUMENT_64:t===Ee.b?this._HAMMER_GESTURE_CONFIG_65:t===K.b?this._EVENT_MANAGER_PLUGINS_66:t===K.a?this._EventManager_67:t===tt.a?this._DomSharedStylesHost_68:t===Le.a?this._AnimationDriver_69:t===et.b?this._DomRootRenderer_70:t===Be.a?this._RootRenderer_71:t===nt.b?this._DomSanitizer_72:t===Fe.a?this._Sanitizer_73:t===it.a?this._ViewUtils_74:t===qe.a?this._IterableDiffers_75:t===Ve.a?this._KeyValueDiffers_76:t===tt.b?this._SharedStylesHost_77:t===rt.a?this._Title_78:t===st.a?this._BrowserXhr_79:t===ot.b?this._ResponseOptions_80:t===He.a?this._XSRFStrategy_81:t===at.a?this._XHRBackend_82:t===_t.b?this._RequestOptions_83:t===Ue.a?this._Http_84:t===lt.a?this._RadioControlRegistry_85:t===ht.a?this._FormBuilder_86:t===ze.a?this._AppRootToken_87:t===Oe.b?this._DeepLinkConfigToken_88:t===ct.a?this._ActionSheetController_89:t===ut.a?this._AlertController_90:t===pt.a?this._Events_91:t===dt.a?this._Form_92:t===ft.a?this._Haptic_93:t===mt.a?this._GestureController_94:t===gt.a?this._Keyboard_95:t===Se.b?this._LocationStrategy_96:t===vt.a?this._Location_97:t===xt.a?this._MenuController_98:t===yt.a?this._ModalController_99:t===bt.a?this._PickerController_100:t===wt.a?this._PopoverController_101:t===Ct.a?this._TapClick_102:t===Et.a?this._Translate_103:t===Tt.a?this._TransitionController_104:t===Oe.c?this._UrlSerializer_105:t===ke.b?this._DeepLinker_106:t===At.a?this._LoggerPlotService_107:t===It.a?this._CommandUtilityService_108:t===St.a?this._ScalingService_109:t===De.b?this._TRANSLATIONS_FORMAT_110:e},e.prototype.destroyInternal=function(){this._ApplicationRef__60.ngOnDestroy()},e}(i.a),Ye=new i.b(We,r.a)},function(t,e,n){"use strict";var i=n(0),r=n(208),s=n(244);n.d(e,"a",function(){return o}),n.d(e,"b",function(){return a});var o=function(){function t(t){this._localization=t,this._caseViews={}}return Object.defineProperty(t.prototype,"ngPlural",{set:function(t){this._switchValue=t,this._updateView()},enumerable:!0,configurable:!0}),t.prototype.addCase=function(t,e){this._caseViews[t]=e},t.prototype._updateView=function(){this._clearViews();var t=Object.keys(this._caseViews),e=n.i(r.c)(this._switchValue,t,this._localization);this._activateView(this._caseViews[e])},t.prototype._clearViews=function(){this._activeView&&this._activeView.destroy()},t.prototype._activateView=function(t){t&&(this._activeView=t,this._activeView.create())},t.decorators=[{type:i.Directive,args:[{selector:"[ngPlural]"}]}],t.ctorParameters=[{type:r.b}],t.propDecorators={ngPlural:[{type:i.Input}]},t}(),a=function(){function t(t,e,n,i){this.value=t,i.addCase(t,new s.d(n,e))}return t.decorators=[{type:i.Directive,args:[{selector:"[ngPluralCase]"}]}],t.ctorParameters=[{type:void 0,decorators:[{type:i.Attribute,args:["ngPluralCase"]}]},{type:i.TemplateRef},{type:i.ViewContainerRef},{type:o,decorators:[{type:i.Host}]}],t}()},function(t,e,n){"use strict";var i=n(0);n.d(e,"a",function(){return r});var r=function(){function t(t){this._viewContainerRef=t}return Object.defineProperty(t.prototype,"ngOutletContext",{set:function(t){this._context=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngTemplateOutlet",{set:function(t){this._templateRef=t},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(){this._viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef)),this._templateRef&&(this._viewRef=this._viewContainerRef.createEmbeddedView(this._templateRef,this._context))},t.decorators=[{type:i.Directive,args:[{selector:"[ngTemplateOutlet]"}]}],t.ctorParameters=[{type:i.ViewContainerRef}],t.propDecorators={ngOutletContext:[{type:i.Input}],ngTemplateOutlet:[{type:i.Input}]},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=function(t){function e(e){var n=t.call(this,e);this._nativeError=n}return i(e,t),Object.defineProperty(e.prototype,"message",{get:function(){return this._nativeError.message},set:function(t){this._nativeError.message=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._nativeError.name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stack",{get:function(){return this._nativeError.stack},set:function(t){this._nativeError.stack=t},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this._nativeError.toString()},e}(Error);(function(t){function e(e,n){t.call(this,e+" caused by: "+(n instanceof Error?n.message:n)),this.originalError=n}return i(e,t),Object.defineProperty(e.prototype,"stack",{get:function(){return(this.originalError instanceof Error?this.originalError:this._nativeError).stack},enumerable:!0,configurable:!0}),e})(r)},function(t,e,n){"use strict";var i=n(247);n.d(e,"a",function(){return i.a});var r=n(209);n.d(e,"c",function(){return r.b}),n.d(e,"d",function(){return r.a});var s=n(730);n.d(e,"f",function(){return s.a});var o=n(731);n.d(e,"e",function(){return o.a});var a=n(246);n.d(e,"b",function(){return a.a})},function(t,e,n){"use strict";var i=n(0),r=n(88),s=n(246),o=n(209),a=n(247);n.d(e,"a",function(){return l});var _=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=function(t){function e(e,i){t.call(this),this._platformLocation=e,this._baseHref="",n.i(r.j)(i)&&(this._baseHref=i)}return _(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return n.i(r.j)(e)||(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=s.a.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,i){var r=this.prepareExternalUrl(n+s.a.normalizeQueryParams(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)},e.prototype.replaceState=function(t,e,n,i){var r=this.prepareExternalUrl(n+s.a.normalizeQueryParams(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e.decorators=[{type:i.Injectable}],e.ctorParameters=[{type:a.a},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[o.a]}]}],e}(o.b)},function(t,e,n){"use strict";var i=n(0),r=n(88),s=n(246),o=n(209),a=n(247);n.d(e,"a",function(){return l});var _=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=function(t){function e(e,i){if(t.call(this),this._platformLocation=e,n.i(r.a)(i)&&(i=this._platformLocation.getBaseHrefFromDOM()),n.i(r.a)(i))throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=i}return _(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return s.a.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+s.a.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,i){var r=this.prepareExternalUrl(n+s.a.normalizeQueryParams(i));this._platformLocation.pushState(t,e,r)},e.prototype.replaceState=function(t,e,n,i){var r=this.prepareExternalUrl(n+s.a.normalizeQueryParams(i));this._platformLocation.replaceState(t,e,r)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e.decorators=[{type:i.Injectable}],e.ctorParameters=[{type:a.a},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[o.a]}]}],e}(o.b)},function(t,e,n){"use strict";var i=n(0),r=n(88),s=n(146);n.d(e,"a",function(){return h});var o=function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.subscribe({next:e,error:function(t){throw t}})},t.prototype.dispose=function(t){t.unsubscribe()},t.prototype.onDestroy=function(t){t.unsubscribe()},t}(),a=function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.then(e,function(t){throw t})},t.prototype.dispose=function(t){},t.prototype.onDestroy=function(t){},t}(),_=new a,l=new o,h=function(){function t(t){this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=t}return t.prototype.ngOnDestroy=function(){n.i(r.j)(this._subscription)&&this._dispose()},t.prototype.transform=function(t){return n.i(r.a)(this._obj)?(n.i(r.j)(t)&&this._subscribe(t),this._latestReturnedValue=this._latestValue,this._latestValue):t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,i.WrappedValue.wrap(this._latestValue))},t.prototype._subscribe=function(t){var e=this;this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,function(n){return e._updateLatestValue(t,n)})},t.prototype._selectStrategy=function(e){if(n.i(r.p)(e))return _;if(e.subscribe)return l;throw new s.a(t,e)},t.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},t.prototype._updateLatestValue=function(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())},t.decorators=[{type:i.Pipe,args:[{name:"async",pure:!1}]}],t.ctorParameters=[{type:i.ChangeDetectorRef}],t}()},function(t,e,n){"use strict";var i=n(0),r=n(245),s=n(432),o=n(88),a=n(146);n.d(e,"a",function(){return _});var _=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,i){if(void 0===i&&(i="mediumDate"),n.i(o.a)(e))return null;if(!this.supports(e))throw new a.a(t,e);return o.e.isNumeric(e)?e=o.f.fromMillis(parseFloat(e)):n.i(o.g)(e)&&(e=o.f.fromISOString(e)),r.a.contains(t._ALIASES,i)&&(i=r.a.get(t._ALIASES,i)),s.a.format(e,this._locale,i)},t.prototype.supports=function(t){return!(!n.i(o.h)(t)&&!o.e.isNumeric(t))||!(!n.i(o.g)(t)||!n.i(o.h)(o.f.fromISOString(t)))},t._ALIASES={medium:"yMMMdjms",short:"yMdjm",fullDate:"yMMMMEEEEd",longDate:"yMMMMd",mediumDate:"yMMMd",shortDate:"yMd",mediumTime:"jms",shortTime:"jm"},t.decorators=[{type:i.Pipe,args:[{name:"date",pure:!0}]}],t.ctorParameters=[{type:void 0,decorators:[{type:i.Inject,args:[i.LOCALE_ID]}]}],t}()},function(t,e,n){"use strict";var i=n(0),r=n(88),s=n(208),o=n(146);n.d(e,"a",function(){return _});var a=/#/g,_=function(){function t(t){this._localization=t}return t.prototype.transform=function(e,i){if(n.i(r.a)(e))return"";if(!n.i(r.b)(i))throw new o.a(t,i);var _=n.i(s.c)(e,Object.keys(i),this._localization);return r.d.replaceAll(i[_],a,e.toString())},t.decorators=[{type:i.Pipe,args:[{name:"i18nPlural",pure:!0}]}],t.ctorParameters=[{type:s.b}],t}()},function(t,e,n){"use strict";var i=n(0),r=n(88),s=n(146);n.d(e,"a",function(){return o});var o=function(){function t(){}return t.prototype.transform=function(e,i){if(n.i(r.a)(e))return"";if(!n.i(r.b)(i))throw new s.a(t,i);return i.hasOwnProperty(e)?i[e]:""},t.decorators=[{type:i.Pipe,args:[{name:"i18nSelect",pure:!0}]}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";var i=n(0),r=n(88);n.d(e,"a",function(){return s});var s=function(){function t(){}return t.prototype.transform=function(t){return r.o.stringify(t)},t.decorators=[{type:i.Pipe,args:[{name:"json",pure:!1}]}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";var i=n(0),r=n(88),s=n(146);n.d(e,"a",function(){return o});var o=function(){function t(){}return t.prototype.transform=function(e){if(n.i(r.a)(e))return e;if(!n.i(r.g)(e))throw new s.a(t,e);return e.toLowerCase()},t.decorators=[{type:i.Pipe,args:[{name:"lowercase"}]}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";function i(t,e,i,r,l,h,c){if(void 0===h&&(h=null),void 0===c&&(c=!1),n.i(o.a)(i))return null;if(i=n.i(o.g)(i)&&o.e.isNumeric(i)?+i:i,!n.i(o.n)(i))throw new a.a(t,i);var u,p,d;if(r!==s.b.Currency&&(u=1,p=0,d=3),n.i(o.j)(l)){var f=l.match(_);if(null===f)throw new Error(l+" is not a valid digit info for number pipes");n.i(o.j)(f[1])&&(u=o.e.parseIntAutoRadix(f[1])),n.i(o.j)(f[3])&&(p=o.e.parseIntAutoRadix(f[3])),n.i(o.j)(f[5])&&(d=o.e.parseIntAutoRadix(f[5]))}return s.c.format(i,e,r,{minimumIntegerDigits:u,minimumFractionDigits:p,maximumFractionDigits:d,currency:h,currencyAsSymbol:c})}var r=n(0),s=n(432),o=n(88),a=n(146);n.d(e,"a",function(){return l}),n.d(e,"b",function(){return h}),n.d(e,"c",function(){return c});var _=/^(\d+)?\.((\d+)(\-(\d+))?)?$/,l=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n){return void 0===n&&(n=null),i(t,this._locale,e,s.b.Decimal,n)},t.decorators=[{type:r.Pipe,args:[{name:"number"}]}],t.ctorParameters=[{type:void 0,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}],t}(),h=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n){return void 0===n&&(n=null),i(t,this._locale,e,s.b.Percent,n)},t.decorators=[{type:r.Pipe,args:[{name:"percent"}]}],t.ctorParameters=[{type:void 0,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}],t}(),c=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n,r,o){return void 0===n&&(n="USD"),void 0===r&&(r=!1),void 0===o&&(o=null),i(t,this._locale,e,s.b.Currency,o,n,r)},t.decorators=[{type:r.Pipe,args:[{name:"currency"}]}],t.ctorParameters=[{type:void 0,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}],t}()},function(t,e,n){"use strict";var i=n(0),r=n(245),s=n(88),o=n(146);n.d(e,"a",function(){return a});var a=function(){function t(){}return t.prototype.transform=function(e,i,a){if(void 0===a&&(a=null),n.i(s.a)(e))return e;if(!this.supports(e))throw new o.a(t,e);return n.i(s.g)(e)?s.d.slice(e,i,a):r.b.slice(e,i,a)},t.prototype.supports=function(t){return n.i(s.g)(t)||n.i(s.k)(t)},t.decorators=[{type:i.Pipe,args:[{name:"slice",pure:!1}]}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";var i=n(0),r=n(88),s=n(146);n.d(e,"a",function(){return o});var o=function(){function t(){}return t.prototype.transform=function(e){if(n.i(r.a)(e))return e;if(!n.i(r.g)(e))throw new s.a(t,e);return e.toUpperCase()},t.decorators=[{type:i.Pipe,args:[{name:"uppercase"}]}],t.ctorParameters=[],t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t,e,n){this.name=t,this.phase=e,this.fullPropertyName=n}return t}()},function(t,e,n){"use strict";var i=n(69),r=n(24);n.d(e,"a",function(){return s});var s=function(){ function t(){this._map=new i.d,this._allPlayers=[]}return Object.defineProperty(t.prototype,"length",{get:function(){return this.getAllPlayers().length},enumerable:!0,configurable:!0}),t.prototype.find=function(t,e){var i=this._map.get(t);if(n.i(r.e)(i))return i[e]},t.prototype.findAllPlayersByElement=function(t){var e=this._map.get(t);return e?i.c.values(e):[]},t.prototype.set=function(t,e,i){var s=this._map.get(t);n.i(r.e)(s)||(s={});var o=s[e];n.i(r.e)(o)&&this.remove(t,e),s[e]=i,this._allPlayers.push(i),this._map.set(t,s)},t.prototype.getAllPlayers=function(){return this._allPlayers},t.prototype.remove=function(t,e){var s=this._map.get(t);if(n.i(r.e)(s)){var o=s[e];delete s[e];var a=this._allPlayers.indexOf(o);i.a.removeAt(this._allPlayers,a),i.c.isEmpty(s)&&this._map.delete(t)}},t}()},function(t,e,n){"use strict";n.d(e,"f",function(){return i.j});var i=n(4);n.d(e,"a",function(){return i.c}),n.d(e,"c",function(){return i.d}),n.d(e,"g",function(){return i.k}),n.d(e,"e",function(){return i.g}),n.d(e,"h",function(){return i.l}),n.d(e,"d",function(){return i.f}),n.d(e,"i",function(){return i.m}),n.d(e,"b",function(){return i.e})},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(){}return t}()},function(t,e,n){"use strict";var i=n(449);n.d(e,"c",function(){return i.a}),n.d(e,"e",function(){return i.b}),n.d(e,"j",function(){return i.c}),n.d(e,"l",function(){return i.d}),n.d(e,"t",function(){return i.e}),n.d(e,"x",function(){return i.f}),n.d(e,"D",function(){return i.g}),n.d(e,"I",function(){return i.h}),n.d(e,"L",function(){return i.i}),n.d(e,"U",function(){return i.j}),n.d(e,"V",function(){return i.k}),n.d(e,"Y",function(){return i.l}),n.d(e,"Z",function(){return i.m}),n.d(e,"_0",function(){return i.n}),n.d(e,"_2",function(){return i.o}),n.d(e,"_9",function(){return i.p}),n.d(e,"_10",function(){return i.q}),n.d(e,"_11",function(){return i.r}),n.d(e,"_12",function(){return i.s}),n.d(e,"_13",function(){return i.t}),n.d(e,"_14",function(){return i.u}),n.d(e,"_15",function(){return i.v}),n.d(e,"_16",function(){return i.w}),n.d(e,"_17",function(){return i.x}),n.d(e,"_18",function(){return i.y}),n.d(e,"_19",function(){return i.z}),n.d(e,"_45",function(){return r.a});var r=n(759),s=n(117);n.d(e,"d",function(){return s.a}),n.d(e,"f",function(){return s.c}),n.d(e,"m",function(){return s.g}),n.d(e,"o",function(){return s.f}),n.d(e,"p",function(){return s.d}),n.d(e,"q",function(){return s.b}),n.d(e,"H",function(){return s.h}),n.d(e,"N",function(){return s.i}),n.d(e,"W",function(){return s.e}),n.d(e,"X",function(){return s.j}),n.d(e,"_20",function(){return s.k}),n.d(e,"_21",function(){return s.l}),n.d(e,"_22",function(){return s.m}),n.d(e,"_23",function(){return o.h}),n.d(e,"_24",function(){return o.i}),n.d(e,"_25",function(){return o.j}),n.d(e,"_26",function(){return o.k}),n.d(e,"Q",function(){return o.b}),n.d(e,"a",function(){return o.c}),n.d(e,"s",function(){return o.g}),n.d(e,"A",function(){return o.f});var o=n(249);n.d(e,"_27",function(){return o.e}),n.d(e,"_28",function(){return a.b}),n.d(e,"_29",function(){return a.f});var a=n(210);n.d(e,"_30",function(){return a.d}),n.d(e,"y",function(){return a.c});var _=n(248);n.d(e,"_31",function(){return _.a}),n.d(e,"_1",function(){return _.b}),n.d(e,"n",function(){return l.a});var l=n(760);n.d(e,"i",function(){return h.a}),n.d(e,"E",function(){return h.b}),n.d(e,"_46",function(){return h.c});var h=n(758);n.d(e,"g",function(){return c.a}),n.d(e,"h",function(){return c.b}),n.d(e,"k",function(){return c.c}),n.d(e,"M",function(){return c.d}),n.d(e,"_8",function(){return c.e}),n.d(e,"_47",function(){return c.f}),n.d(e,"_48",function(){return c.g}),n.d(e,"_49",function(){return c.h}),n.d(e,"_50",function(){return c.i}),n.d(e,"_51",function(){return c.j}),n.d(e,"_52",function(){return c.k}),n.d(e,"_53",function(){return c.l}),n.d(e,"_54",function(){return c.m}),n.d(e,"_55",function(){return c.n}),n.d(e,"_56",function(){return c.o}),n.d(e,"_57",function(){return c.p}),n.d(e,"_58",function(){return c.q}),n.d(e,"_59",function(){return c.r}),n.d(e,"_60",function(){return c.s});var c=n(750);n.d(e,"_32",function(){return u.a}),n.d(e,"_33",function(){return u.d}),n.d(e,"_34",function(){return u.g}),n.d(e,"R",function(){return u.c});var u=n(441),p=n(258);n.d(e,"F",function(){return p.a}),n.d(e,"_35",function(){return p.b}),n.d(e,"T",function(){return p.c});var d=n(743);n.d(e,"w",function(){return d.a}),n.d(e,"J",function(){return d.b}),n.d(e,"K",function(){return d.c}),n.d(e,"O",function(){return d.d}),n.d(e,"P",function(){return d.e}),n.d(e,"_61",function(){return d.f}),n.d(e,"_62",function(){return d.g}),n.d(e,"_63",function(){return d.h}),n.d(e,"_64",function(){return d.i}),n.d(e,"B",function(){return f.a});var f=n(756);n.d(e,"_36",function(){return m.c}),n.d(e,"_37",function(){return m.b}),n.d(e,"v",function(){return m.a});var m=n(255),g=n(439);n.d(e,"G",function(){return g.c});var v=n(256);n.d(e,"_38",function(){return v.a}),n.d(e,"_39",function(){return v.b}),n.d(e,"_40",function(){return v.c}),n.d(e,"_41",function(){return v.d});var x=n(340);n.d(e,"_42",function(){return x.a});var y=n(336);n.d(e,"b",function(){return y.a});var b=n(335);n.d(e,"C",function(){return b.a});var w=n(746);n.d(e,"u",function(){return w.a});var C=n(438);n.d(e,"S",function(){return C.a}),n.d(e,"_3",function(){return C.b}),n.d(e,"_4",function(){return C.c}),n.d(e,"_5",function(){return C.d}),n.d(e,"_6",function(){return C.e}),n.d(e,"_7",function(){return C.f}),n.d(e,"_65",function(){return C.g}),n.d(e,"_66",function(){return C.h}),n.d(e,"_67",function(){return C.i}),n.d(e,"_68",function(){return C.j}),n.d(e,"_69",function(){return C.k}),n.d(e,"_70",function(){return C.l}),n.d(e,"_71",function(){return C.m}),n.d(e,"_72",function(){return C.n}),n.d(e,"_73",function(){return C.o}),n.d(e,"_74",function(){return C.p}),n.d(e,"_75",function(){return C.q}),n.d(e,"_76",function(){return C.r}),n.d(e,"_77",function(){return C.s}),n.d(e,"_78",function(){return C.t});var E=n(437);n.d(e,"_43",function(){return E.a});var T=n(136);n.d(e,"_44",function(){return T.b});var A=n(73);n.d(e,"z",function(){return A.a}),n.d(e,"r",function(){return A.b})},function(t,e,n){"use strict";var i=n(434),r=n(435),s=n(162),o=n(741),a=n(136),_=n(163),l=n(164),h=n(165),c=n(250),u=n(251),p=n(252),d=n(747),f=n(334),m=n(182),g=n(51),v=n(444),x=n(6),y=n(337),b=n(446),w=n(21),C=n(10),E=n(5),T=n(11),A=n(450),I=n(8),S=n(338),O=n(451),k=n(339),N=n(257),P=n(183);n.d(e,"a",function(){return R});var R={isDefaultChangeDetectionStrategy:u.a,ChangeDetectorStatus:u.b,CHANGE_DETECTION_STRATEGY_VALUES:u.c,constructDependencies:f.a,LifecycleHooks:A.a,LIFECYCLE_HOOKS_VALUES:A.b,ReflectorReader:k.a,CodegenComponentFactoryResolver:g.b,AppElement:x.a,AppView:C.a,DebugAppView:C.b,NgModuleInjector:y.a,registerModuleFactory:b.a,ViewType:E.a,MAX_INTERPOLATION_VALUES:T.b,checkBinding:T.c,flattenNestedViewRenderNodes:T.d,interpolate:T.e,ViewUtils:T.a,VIEW_ENCAPSULATION_VALUES:I.a,ViewMetadata:I.b,DebugContext:v.a,StaticNodeDebugInfo:v.b,devModeEqual:c.a,UNINITIALIZED:c.b,ValueUnwrapper:c.c,RenderDebugInfo:N.b,TemplateRef_:w.a,ReflectionCapabilities:O.a,makeDecorator:P.b,DebugDomRootRenderer:d.a,EMPTY_ARRAY:T.f,EMPTY_MAP:T.g,pureProxy1:T.h,pureProxy2:T.i,pureProxy3:T.j,pureProxy4:T.k,pureProxy5:T.l,pureProxy6:T.m,pureProxy7:T.n,pureProxy8:T.o,pureProxy9:T.p,pureProxy10:T.q,castByValue:T.r,Console:p.a,reflector:S.a,Reflector:S.b,NoOpAnimationPlayer:a.a,AnimationPlayer:a.b,AnimationSequencePlayer:_.a,AnimationGroupPlayer:r.a,AnimationKeyframe:s.a,prepareFinalAnimationStyles:l.a,balanceAnimationKeyframes:l.b,flattenStyles:l.c,clearStyles:l.d,renderStyles:l.e,collectAndResolveStyles:l.f,AnimationStyles:h.a,AnimationOutput:o.a,ANY_STATE:i.a,DEFAULT_STATE:i.b,EMPTY_STATE:i.c,FILL_STYLE_FLAG:i.d,ComponentStillLoadingError:m.b}},function(t,e,n){"use strict";var i=n(24),r=n(441);n.d(e,"a",function(){return s});var s=function(){function t(t){this._delegate=t}return t.prototype.renderComponent=function(t){return new o(this._delegate.renderComponent(t))},t}(),o=function(){function t(t){this._delegate=t}return t.prototype.selectRootElement=function(t,e){var i=this._delegate.selectRootElement(t,e),s=new r.a(i,null,e);return n.i(r.b)(s),i},t.prototype.createElement=function(t,e,i){var s=this._delegate.createElement(t,e,i),o=new r.a(s,n.i(r.c)(t),i);return o.name=e,n.i(r.b)(o),s},t.prototype.createViewRoot=function(t){return this._delegate.createViewRoot(t)},t.prototype.createTemplateAnchor=function(t,e){var i=this._delegate.createTemplateAnchor(t,e),s=new r.d(i,n.i(r.c)(t),e);return n.i(r.b)(s),i},t.prototype.createText=function(t,e,i){var s=this._delegate.createText(t,e,i),o=new r.d(s,n.i(r.c)(t),i);return n.i(r.b)(o),s},t.prototype.projectNodes=function(t,e){var s=n.i(r.c)(t);if(n.i(i.e)(s)&&s instanceof r.a){var o=s;e.forEach(function(t){o.addChild(n.i(r.c)(t))})}this._delegate.projectNodes(t,e)},t.prototype.attachViewAfter=function(t,e){var s=n.i(r.c)(t);if(n.i(i.e)(s)){var o=s.parent;if(e.length>0&&n.i(i.e)(o)){var a=[];e.forEach(function(t){return a.push(n.i(r.c)(t))}),o.insertChildrenAfter(s,a)}}this._delegate.attachViewAfter(t,e)},t.prototype.detachView=function(t){t.forEach(function(t){var e=n.i(r.c)(t);n.i(i.e)(e)&&n.i(i.e)(e.parent)&&e.parent.removeChild(e)}),this._delegate.detachView(t)},t.prototype.destroyView=function(t,e){e.forEach(function(t){n.i(r.e)(n.i(r.c)(t))}),this._delegate.destroyView(t,e)},t.prototype.listen=function(t,e,s){var o=n.i(r.c)(t);return n.i(i.e)(o)&&o.listeners.push(new r.f(e,s)),this._delegate.listen(t,e,s)},t.prototype.listenGlobal=function(t,e,n){return this._delegate.listenGlobal(t,e,n)},t.prototype.setElementProperty=function(t,e,s){var o=n.i(r.c)(t);n.i(i.e)(o)&&o instanceof r.a&&(o.properties[e]=s),this._delegate.setElementProperty(t,e,s)},t.prototype.setElementAttribute=function(t,e,s){var o=n.i(r.c)(t);n.i(i.e)(o)&&o instanceof r.a&&(o.attributes[e]=s),this._delegate.setElementAttribute(t,e,s)},t.prototype.setBindingDebugInfo=function(t,e,n){this._delegate.setBindingDebugInfo(t,e,n)},t.prototype.setElementClass=function(t,e,s){var o=n.i(r.c)(t);n.i(i.e)(o)&&o instanceof r.a&&(o.classes[e]=s),this._delegate.setElementClass(t,e,s)},t.prototype.setElementStyle=function(t,e,s){var o=n.i(r.c)(t);n.i(i.e)(o)&&o instanceof r.a&&(o.styles[e]=s),this._delegate.setElementStyle(t,e,s)},t.prototype.invokeElementMethod=function(t,e,n){this._delegate.invokeElementMethod(t,e,n)},t.prototype.setText=function(t,e){this._delegate.setText(t,e)},t.prototype.animate=function(t,e,n,i,r,s){return this._delegate.animate(t,e,n,i,r,s)},t}()},function(t,e,n){"use strict";function i(t,e){for(var n=new Array(t._proto.numberOfProviders),i=0;i0&&(this.provider0=e[0],this.keyId0=e[0].key.id),n>1&&(this.provider1=e[1],this.keyId1=e[1].key.id),n>2&&(this.provider2=e[2],this.keyId2=e[2].key.id),n>3&&(this.provider3=e[3],this.keyId3=e[3].key.id),n>4&&(this.provider4=e[4],this.keyId4=e[4].key.id),n>5&&(this.provider5=e[5],this.keyId5=e[5].key.id),n>6&&(this.provider6=e[6],this.keyId6=e[6].key.id),n>7&&(this.provider7=e[7],this.keyId7=e[7].key.id),n>8&&(this.provider8=e[8],this.keyId8=e[8].key.id),n>9&&(this.provider9=e[9],this.keyId9=e[9].key.id)}return t.prototype.getProviderAtIndex=function(t){if(0==t)return this.provider0;if(1==t)return this.provider1;if(2==t)return this.provider2;if(3==t)return this.provider3;if(4==t)return this.provider4;if(5==t)return this.provider5;if(6==t)return this.provider6;if(7==t)return this.provider7;if(8==t)return this.provider8;if(9==t)return this.provider9;throw new _.a(t)},t.prototype.createInjectorStrategy=function(t){return new m(t,this)},t}(),d=function(){function t(t,e){this.providers=e;var n=e.length;this.keyIds=r.a.createFixedSize(n);for(var i=0;i=this.providers.length)throw new _.a(t);return this.providers[t]},t.prototype.createInjectorStrategy=function(t){return new g(this,t)},t}(),f=function(){function t(t){this.numberOfProviders=t.length,this._strategy=t.length>c?new d(this,t):new p(this,t)}return t.fromResolvedProviders=function(e){return new t(e)},t.prototype.getProviderAtIndex=function(t){return this._strategy.getProviderAtIndex(t)},t}(),m=function(){function t(t,e){this.injector=t,this.protoStrategy=e,this.obj0=u,this.obj1=u,this.obj2=u,this.obj3=u,this.obj4=u,this.obj5=u,this.obj6=u,this.obj7=u,this.obj8=u,this.obj9=u}return t.prototype.resetConstructionCounter=function(){this.injector._constructionCounter=0},t.prototype.instantiateProvider=function(t){return this.injector._new(t)},t.prototype.getObjByKeyId=function(t){var e=this.protoStrategy,n=this.injector;return e.keyId0===t?(this.obj0===u&&(this.obj0=n._new(e.provider0)),this.obj0):e.keyId1===t?(this.obj1===u&&(this.obj1=n._new(e.provider1)),this.obj1):e.keyId2===t?(this.obj2===u&&(this.obj2=n._new(e.provider2)),this.obj2):e.keyId3===t?(this.obj3===u&&(this.obj3=n._new(e.provider3)),this.obj3):e.keyId4===t?(this.obj4===u&&(this.obj4=n._new(e.provider4)),this.obj4):e.keyId5===t?(this.obj5===u&&(this.obj5=n._new(e.provider5)),this.obj5):e.keyId6===t?(this.obj6===u&&(this.obj6=n._new(e.provider6)),this.obj6):e.keyId7===t?(this.obj7===u&&(this.obj7=n._new(e.provider7)),this.obj7):e.keyId8===t?(this.obj8===u&&(this.obj8=n._new(e.provider8)),this.obj8):e.keyId9===t?(this.obj9===u&&(this.obj9=n._new(e.provider9)),this.obj9):u},t.prototype.getObjAtIndex=function(t){if(0==t)return this.obj0;if(1==t)return this.obj1;if(2==t)return this.obj2;if(3==t)return this.obj3;if(4==t)return this.obj4;if(5==t)return this.obj5;if(6==t)return this.obj6;if(7==t)return this.obj7;if(8==t)return this.obj8;if(9==t)return this.obj9;throw new _.a(t)},t.prototype.getMaxNumberOfObjects=function(){return c},t}(),g=function(){function t(t,e){this.protoStrategy=t,this.injector=e,this.objs=r.a.createFixedSize(t.providers.length),r.a.fill(this.objs,u)}return t.prototype.resetConstructionCounter=function(){this.injector._constructionCounter=0},t.prototype.instantiateProvider=function(t){return this.injector._new(t)},t.prototype.getObjByKeyId=function(t){for(var e=this.protoStrategy,n=0;n=this.objs.length)throw new _.a(t);return this.objs[t]},t.prototype.getMaxNumberOfObjects=function(){return this.objs.length},t}(),v=function(){function t(){}return t.resolve=function(t){return n.i(h.b)(t)},t.resolveAndCreate=function(e,n){void 0===n&&(n=null);var i=t.resolve(e);return t.fromResolvedProviders(i,n)},t.fromResolvedProviders=function(t,e){return void 0===e&&(e=null),new x(f.fromResolvedProviders(t),e)},Object.defineProperty(t.prototype,"parent",{get:function(){return n.i(s.a)()},enumerable:!0,configurable:!0}),t.prototype.resolveAndCreateChild=function(t){return n.i(s.a)()},t.prototype.createChildFromResolved=function(t){return n.i(s.a)()},t.prototype.resolveAndInstantiate=function(t){return n.i(s.a)()},t.prototype.instantiateResolved=function(t){return n.i(s.a)()},t}(),x=function(){function t(t,e){void 0===e&&(e=null),this._constructionCounter=0,this._proto=t,this._parent=e,this._strategy=t._strategy.createInjectorStrategy(this)}return t.prototype.get=function(t,e){return void 0===e&&(e=o.b),this._getByKey(l.a.get(t),null,null,e)},t.prototype.getAt=function(t){return this._strategy.getObjAtIndex(t)},Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"internalStrategy",{get:function(){return this._strategy},enumerable:!0,configurable:!0}),t.prototype.resolveAndCreateChild=function(t){var e=v.resolve(t);return this.createChildFromResolved(e)},t.prototype.createChildFromResolved=function(e){var n=new f(e),i=new t(n);return i._parent=this,i},t.prototype.resolveAndInstantiate=function(t){return this.instantiateResolved(v.resolve([t])[0])},t.prototype.instantiateResolved=function(t){return this._instantiateProvider(t)},t.prototype._new=function(t){if(this._constructionCounter++>this._strategy.getMaxNumberOfObjects())throw new _.b(this,t.key);return this._instantiateProvider(t)},t.prototype._instantiateProvider=function(t){if(t.multiProvider){for(var e=r.a.createFixedSize(t.resolvedFactories.length),n=0;n0?this._getByReflectiveDependency(t,E[0]):null,i=T>1?this._getByReflectiveDependency(t,E[1]):null,r=T>2?this._getByReflectiveDependency(t,E[2]):null,s=T>3?this._getByReflectiveDependency(t,E[3]):null,o=T>4?this._getByReflectiveDependency(t,E[4]):null,a=T>5?this._getByReflectiveDependency(t,E[5]):null,l=T>6?this._getByReflectiveDependency(t,E[6]):null,h=T>7?this._getByReflectiveDependency(t,E[7]):null,c=T>8?this._getByReflectiveDependency(t,E[8]):null,u=T>9?this._getByReflectiveDependency(t,E[9]):null,p=T>10?this._getByReflectiveDependency(t,E[10]):null,d=T>11?this._getByReflectiveDependency(t,E[11]):null,f=T>12?this._getByReflectiveDependency(t,E[12]):null,m=T>13?this._getByReflectiveDependency(t,E[13]):null,g=T>14?this._getByReflectiveDependency(t,E[14]):null,v=T>15?this._getByReflectiveDependency(t,E[15]):null,x=T>16?this._getByReflectiveDependency(t,E[16]):null,y=T>17?this._getByReflectiveDependency(t,E[17]):null,b=T>18?this._getByReflectiveDependency(t,E[18]):null,w=T>19?this._getByReflectiveDependency(t,E[19]):null}catch(e){throw(e instanceof _.c||e instanceof _.d)&&e.addKey(this,t.key),e}var A;try{switch(T){case 0:A=C();break;case 1:A=C(n);break;case 2:A=C(n,i);break;case 3:A=C(n,i,r);break;case 4:A=C(n,i,r,s);break;case 5:A=C(n,i,r,s,o);break;case 6:A=C(n,i,r,s,o,a);break;case 7:A=C(n,i,r,s,o,a,l);break;case 8:A=C(n,i,r,s,o,a,l,h);break;case 9:A=C(n,i,r,s,o,a,l,h,c);break;case 10:A=C(n,i,r,s,o,a,l,h,c,u);break;case 11:A=C(n,i,r,s,o,a,l,h,c,u,p);break;case 12:A=C(n,i,r,s,o,a,l,h,c,u,p,d);break;case 13:A=C(n,i,r,s,o,a,l,h,c,u,p,d,f);break;case 14:A=C(n,i,r,s,o,a,l,h,c,u,p,d,f,m);break;case 15:A=C(n,i,r,s,o,a,l,h,c,u,p,d,f,m,g);break;case 16:A=C(n,i,r,s,o,a,l,h,c,u,p,d,f,m,g,v);break;case 17:A=C(n,i,r,s,o,a,l,h,c,u,p,d,f,m,g,v,x);break;case 18:A=C(n,i,r,s,o,a,l,h,c,u,p,d,f,m,g,v,x,y);break;case 19:A=C(n,i,r,s,o,a,l,h,c,u,p,d,f,m,g,v,x,y,b);break;case 20:A=C(n,i,r,s,o,a,l,h,c,u,p,d,f,m,g,v,x,y,b,w);break;default:throw new Error("Cannot instantiate '"+t.key.displayName+"' because it has more than 20 dependencies")}}catch(e){throw new _.d(this,e,e.stack,t.key)}return A},t.prototype._getByReflectiveDependency=function(t,e){return this._getByKey(e.key,e.lowerBoundVisibility,e.upperBoundVisibility,e.optional?null:o.b)},t.prototype._getByKey=function(t,e,n,i){return t===y?this:n instanceof a.b?this._getByKeySelf(t,i):this._getByKeyDefault(t,i,e)},t.prototype._throwOrNull=function(t,e){if(e!==o.b)return e;throw new _.e(this,t)},t.prototype._getByKeySelf=function(t,e){var n=this._strategy.getObjByKeyId(t.id);return n!==u?n:this._throwOrNull(t,e)},t.prototype._getByKeyDefault=function(e,n,i){var r;for(r=i instanceof a.c?this._parent:this;r instanceof t;){var s=r,o=s._strategy.getObjByKeyId(e.id);if(o!==u)return o;r=s._parent}return null!==r?r.get(e.token,n):this._throwOrNull(e,n)},Object.defineProperty(t.prototype,"displayName",{get:function(){var t=i(this,function(t){return' "'+t.key.displayName+'" '}).join(", ");return"ReflectiveInjector(providers: ["+t+"])"},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.displayName},t}(),y=l.a.get(o.a)},function(t,e,n){"use strict";var i=n(24);n.d(e,"a",function(){return r});var r=i.c.Math},function(t,e,n){"use strict";var i=n(182);n.d(e,"f",function(){return i.a}),n.d(e,"g",function(){return i.c}),n.d(e,"h",function(){return i.d}),n.d(e,"i",function(){return i.e});var r=n(7);n.d(e,"j",function(){return r.b}),n.d(e,"k",function(){return r.a});var s=n(51);n.d(e,"a",function(){return s.a});var o=n(14);n.d(e,"b",function(){return o.a});var a=n(337);n.d(e,"l",function(){return a.b}),n.d(e,"m",function(){return a.c});var _=n(446);n.d(e,"n",function(){return _.b}),n.d(e,"o",function(){return _.c});var l=n(34);n.d(e,"e",function(){return l.a});var h=n(752);n.d(e,"p",function(){return h.a}),n.d(e,"q",function(){return h.b});var c=n(21);n.d(e,"d",function(){return c.b});var u=n(447);n.d(e,"c",function(){return u.b});var p=n(448);n.d(e,"r",function(){return p.b}),n.d(e,"s",function(){return p.c})},function(t,e,n){"use strict";var i=n(253);n.d(e,"a",function(){return o});var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=new Object,o=function(t){function e(e,n){t.call(this),this._view=e,this._nodeIndex=n}return r(e,t),e.prototype.get=function(t,e){void 0===e&&(e=i.b);var n=s;return n===s&&(n=this._view.injectorGet(t,this._nodeIndex,s)),n===s&&(n=this._view.parentInjector.get(t,e)),n},e}(i.a)},function(t,e,n){"use strict";function i(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var r=n(117),s=n(182);n.d(e,"b",function(){return _}),n.d(e,"a",function(){return h});var o="#",a="NgFactory",_=function(){function t(){}return t}(),l={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},h=function(){function t(t,e){this._compiler=t,this._config=e||l}return t.prototype.load=function(t){var e=this._compiler instanceof s.a;return e?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=t.split(o),s=r[0],a=r[1];return void 0===a&&(a="default"),n(443)(s).then(function(t){return t[a]}).then(function(t){return i(t,s,a)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=t.split(o),r=e[0],s=e[1],_=a;return void 0===s&&(s="default",_=""),n(443)(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(t){return t[s+_]}).then(function(t){return i(t,r,s)})},t.decorators=[{type:r.b}],t.ctorParameters=[{type:s.a},{type:_,decorators:[{type:r.f}]}],t}()},function(t,e,n){"use strict";var i=n(332),r=n(183);n.d(e,"f",function(){return s}),n.d(e,"b",function(){return o}),n.d(e,"g",function(){return a}),n.d(e,"d",function(){return _}),n.d(e,"c",function(){return l}),n.d(e,"e",function(){return h}),n.d(e,"a",function(){return c});var s=new i.a("AnalyzeForEntryComponents"),o=n.i(r.a)("Attribute",[["attributeName",void 0]]),a=function(){function t(){}return t}(),_=n.i(r.c)("ContentChildren",[["selector",void 0],{first:!1,isViewQuery:!1,descendants:!1,read:void 0}],a),l=n.i(r.c)("ContentChild",[["selector",void 0],{first:!0,isViewQuery:!1,descendants:!1,read:void 0}],a),h=n.i(r.c)("ViewChildren",[["selector",void 0],{first:!1,isViewQuery:!0,descendants:!0,read:void 0}],a),c=n.i(r.c)("ViewChild",[["selector",void 0],{first:!0,isViewQuery:!0,descendants:!0,read:void 0}],a)},function(t,e,n){"use strict";var i=n(251),r=n(183);n.d(e,"c",function(){return s}),n.d(e,"b",function(){return o}),n.d(e,"e",function(){return a}),n.d(e,"d",function(){return _}),n.d(e,"a",function(){return l}),n.d(e,"g",function(){return h}),n.d(e,"f",function(){return c});var s=n.i(r.b)("Directive",{selector:void 0,inputs:void 0,outputs:void 0,host:void 0,providers:void 0,exportAs:void 0,queries:void 0}),o=n.i(r.b)("Component",{selector:void 0,inputs:void 0,outputs:void 0,host:void 0,exportAs:void 0,moduleId:void 0,providers:void 0,viewProviders:void 0,changeDetection:i.d.Default,queries:void 0,templateUrl:void 0,template:void 0,styleUrls:void 0,styles:void 0,animations:void 0,encapsulation:void 0,interpolation:void 0,entryComponents:void 0},s),a=n.i(r.b)("Pipe",{name:void 0,pure:!0}),_=n.i(r.c)("Input",[["bindingPropertyName",void 0]]),l=n.i(r.c)("Output",[["bindingPropertyName",void 0]]),h=n.i(r.c)("HostBinding",[["hostPropertyName",void 0]]),c=n.i(r.c)("HostListener",[["eventName",void 0],["args",[]]])},function(t,e,n){"use strict";var i=n(183);n.d(e,"b",function(){return r}),n.d(e,"c",function(){return s}),n.d(e,"a",function(){return o});var r={name:"custom-elements"},s={name:"no-errors-schema"},o=n.i(i.b)("NgModule",{providers:void 0,declarations:void 0,imports:void 0,exports:void 0,entryComponents:void 0,bootstrap:void 0,schemas:void 0,id:void 0})},function(t,e,n){"use strict";function i(){return o.a}var r=n(249),s=n(252),o=n(338),a=n(339),_=n(258);n.d(e,"a",function(){return h});var l=[r.d,{provide:r.e,useExisting:r.d},{provide:o.b,useFactory:i,deps:[]},{provide:a.a,useExisting:o.b},_.b,s.a],h=n.i(r.f)(null,"core",l)},function(t,e,n){"use strict";function i(){var t=_.c.wtf;return!(!t||!(l=t.trace))&&(h=l.events,!0)}function r(t,e){return void 0===e&&(e=null),h.createScope(t,e)}function s(t,e){return l.leaveScope(t,e),e}function o(t,e){return l.beginTimeRange(t,e)}function a(t){l.endTimeRange(t)}var _=n(24);e.a=i,e.b=r,e.c=s,e.d=o,e.e=a;var l,h},function(t,e,n){"use strict";var i=n(257);n.d(e,"c",function(){return i.c}),n.d(e,"a",function(){return i.d}),n.d(e,"b",function(){return i.a})},function(t,e,n){"use strict";var i=n(183);n.d(e,"a",function(){return i.d})},function(t,e,n){"use strict";var i=n(56);n.d(e,"a",function(){return i.a})},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t){var e=this,n=t.trace,i=t.onEnter,r=t.onLeave,s=t.setMicrotask,o=t.setMacrotask,a=t.onError;if(this.onEnter=i,this.onLeave=r,this.setMicrotask=s,this.setMacrotask=o,this.onError=a,"undefined"==typeof Zone)throw new Error("Angular requires Zone.js prolyfill.");Zone.assertZonePatched(),this.outer=this.inner=Zone.current,Zone.wtfZoneSpec&&(this.inner=this.inner.fork(Zone.wtfZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(this.inner=this.inner.fork(Zone.longStackTraceZoneSpec)),this.inner=this.inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(t,n,i,r,s,o){try{return e.onEnter(),t.invokeTask(i,r,s,o)}finally{e.onLeave()}},onInvoke:function(t,n,i,r,s,o,a){try{return e.onEnter(),t.invoke(i,r,s,o,a)}finally{e.onLeave()}},onHasTask:function(t,n,i,r){t.hasTask(i,r),n===i&&("microTask"==r.change?e.setMicrotask(r.microTask):"macroTask"==r.change&&e.setMacrotask(r.macroTask))},onHandleError:function(t,n,i,r){return t.handleError(i,r),e.onError(r),!1}})}return t.isInAngularZone=function(){return Zone.current.get("isAngularZone")===!0},t.prototype.runInner=function(t){return this.inner.run(t)},t.prototype.runInnerGuarded=function(t){return this.inner.runGuarded(t)},t.prototype.runOuter=function(t){return this.outer.run(t)},t}()},function(t,e,n){"use strict";function i(t){return void 0!==t.validate?function(e){return t.validate(e)}:t}function r(t){return void 0!==t.validate?function(e){return t.validate(e)}:t}e.a=i,e.b=r},function(t,e,n){"use strict";var i=(n(341),n(211),n(259),n(137),n(41));n.d(e,"a",function(){return i.a});var r=(n(60),n(53));n.d(e,"b",function(){return r.a});var s=(n(61),n(212),n(62),n(260),n(343),n(344),n(214),n(215),n(216),n(217),n(345),n(346),n(262),n(128),n(456));n.d(e,"c",function(){return s.a}),n.d(e,"d",function(){return s.b})},function(t,e,n){"use strict";var i=n(765);n.d(e,"a",function(){return i.a})},function(t,e,n){"use strict";var i=(n(263),n(458),n(347),n(264),n(218),n(148),n(219),n(348),n(461));n.d(e,"a",function(){return i.c});n(185),n(462),n(349),n(266)},function(t,e,n){"use strict";var i=n(74),r=n(149),s=n(97);n.d(e,"a",function(){return a});var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=function(t){function e(){var e=this;t.call(this),this._animationPrefix=null,this._transitionEnd=null;try{var i=this.createElement("div",this.defaultDoc());if(n.i(s.c)(this.getStyle(i,"animationName")))this._animationPrefix="";else for(var o=["Webkit","Moz","O","ms"],a=0;a=p&&n<=d||n==f))return t.substring(e,t.length)}return""}function o(t){switch(t){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}var a=n(0),_=n(149),l=n(97),h=n(466),c=n(773);n.d(e,"a",function(){return u});var u=function(){function t(){}return t.prototype.animate=function(t,e,r,s,o,a){var _=[],h={};if(n.i(l.c)(e)&&e.styles.length>0&&(h=i(t,e,{}),h.offset=0,_.push(h)),r.forEach(function(e){var n=i(t,e.styles,h);n.offset=e.offset,_.push(n)}),1==_.length){var u=_[0];u.offset=null,_=[u,u]}var p={duration:s,delay:o,fill:"both"};return a&&(p.easing=a),new c.a(t,_,p)},t}(),p=48,d=57,f=46},function(t,e,n){"use strict";function i(t,e){return n.i(a.a)().getComputedStyle(t)[e]}var r=n(0),s=n(149),o=n(97),a=n(74);n.d(e,"a",function(){return _});var _=function(){function t(t,e,n){this.element=t,this.keyframes=e,this.options=n,this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._initialized=!1,this._started=!1,this.parentPlayer=null,this._duration=n.duration}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,n.i(o.c)(this.parentPlayer)||this.destroy(),this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes.map(function(e){var n={};return s.a.forEach(e,function(e,s){n[s]=e==r.AUTO_STYLE?i(t.element,s):e}),n});this._player=this._triggerWebAnimation(this.element,e,this.options),this.reset(),this._player.onfinish=function(){return t._onFinish()}}},t.prototype._triggerWebAnimation=function(t,e,n){return t.animate(e,n)},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.play=function(){this.init(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0),this._player.play()},t.prototype.pause=function(){this.init(),this._player.pause()},t.prototype.finish=function(){this.init(),this._onFinish(),this._player.finish()},t.prototype.reset=function(){this._player.cancel()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.hasStarted=function(){return this._started},t.prototype.destroy=function(){this.reset(),this._onFinish()},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._duration},enumerable:!0,configurable:!0}),t.prototype.setPosition=function(t){this._player.currentTime=t*this.totalTime},t.prototype.getPosition=function(){return this._player.currentTime/this.totalTime},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i="undefined"!=typeof window&&window||{};i.document,i.location,i.gc?function(){return i.gc()}:function(){return null},i.performance?i.performance:null,i.Event,i.MouseEvent,i.KeyboardEvent,i.EventTarget,i.History,i.Location,i.EventListener},function(t,e,n){"use strict";var i=n(350);n.d(e,"a",function(){return i.e}),n.d(e,"d",function(){return i.c}),n.d(e,"g",function(){return r.a});var r=n(351),s=(n(769),n(267),n(770),n(268),n(220),n(166),n(270));n.d(e,"c",function(){return s.b}),n.d(e,"f",function(){return s.c});var o=n(272);n.d(e,"b",function(){return o.b});var a=n(776);n.d(e,"e",function(){return a.a})},function(t,e,n){"use strict";var i=n(350),r=n(463),s=n(464),o=n(465),a=n(268),_=n(74),l=n(269),h=n(352),c=n(270),u=n(353),p=n(271);n.d(e,"a",function(){return d});var d={BrowserPlatformLocation:s.a,DomAdapter:_.c,BrowserDomAdapter:r.a,BrowserGetTestability:o.a,getDOM:_.a,setRootDomAdapter:_.b,DomRootRenderer_:l.a,DomRootRenderer:l.b,DomSharedStylesHost:p.a,SharedStylesHost:p.b,ELEMENT_PROBE_PROVIDERS:a.c,DomEventsPlugin:h.a,KeyEventsPlugin:u.a,HammerGesturesPlugin:c.a,initDomAdapter:i.f,INTERNAL_BROWSER_PLATFORM_PROVIDERS:i.g,BROWSER_SANITIZATION_PROVIDERS:i.h}},function(t,e,n){"use strict";function i(){if(u)return u;p=n.i(h.a)();var t=p.createElement("template");if("content"in t)return t;var e=p.createHtmlDocument();if(u=p.querySelector(e,"body"),null==u){var i=p.createElement("html",e);u=p.createElement("body",e),p.appendChild(i,u),p.appendChild(e,i)}return u}function r(t){for(var e={},n=0,i=t.split(",");n/g,">")}function a(t){p.attributeMap(t).forEach(function(e,n){"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||p.removeAttribute(t,n)});for(var e=0,n=p.childNodesAsList(t);e")):void(this.sanitizedSomething=!0)},t.prototype.endElement=function(t){var e=p.nodeName(t).toLowerCase();y.hasOwnProperty(e)&&!d.hasOwnProperty(e)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(o(t))},t}(),A=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,I=/([^\#-~ |!])/g},function(t,e,n){"use strict";function i(t){for(var e=!0,n=!0,i=0;i2);v.c(t,this._expr_7,o)&&(this._NgClass_7_3.ngClass=o,this._expr_7=o),t||this._NgClass_7_3.ngDoCheck(),e=null;var a=this.context.d.buttons;v.c(t,this._expr_8,a)&&(this._NgFor_8_6.ngForOf=a,null===e&&(e={}),e.ngForOf=new y.m(this._expr_8,a),this._expr_8=a),null!==e&&this._NgFor_8_6.ngOnChanges(e),t||this._NgFor_8_6.ngDoCheck(),this.detectContentChildrenChanges(t);var _=v.e(1,"",this.context.msgId,"");v.c(t,this._expr_3,_)&&(this.renderer.setElementProperty(this._el_5,"id",_),this._expr_3=_);var l=this.context.d.message;v.c(t,this._expr_4,l)&&(this.renderer.setElementProperty(this._el_5,"innerHTML",this.viewUtils.sanitizer.sanitize(j.b.HTML,l)),this._expr_4=l),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Backdrop_0_3.ngOnDestroy()},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.bdClick()!==!1;return e},e}(f.a),Q=function(t){function e(n,i,r){t.call(this,e,X,x.a.EMBEDDED,n,i,r,y.b.CheckAlways)}return z(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"h2",null),this.renderer.setElementAttribute(this._el_0,"class","alert-title"),this._expr_0=y.n,this._expr_1=y.n,this.init([].concat([this._el_0]),[this._el_0],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t); var e=v.e(1,"",this.parent.context.hdrId,"");v.c(t,this._expr_0,e)&&(this.renderer.setElementProperty(this._el_0,"id",e),this._expr_0=e);var n=this.parent.context.d.title;v.c(t,this._expr_1,n)&&(this.renderer.setElementProperty(this._el_0,"innerHTML",this.viewUtils.sanitizer.sanitize(j.b.HTML,n)),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(f.a),Z=function(t){function e(n,i,r){t.call(this,e,X,x.a.EMBEDDED,n,i,r,y.b.CheckAlways)}return z(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"h3",null),this.renderer.setElementAttribute(this._el_0,"class","alert-sub-title"),this._expr_0=y.n,this._expr_1=y.n,this.init([].concat([this._el_0]),[this._el_0],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=v.e(1,"",this.parent.context.subHdrId,"");v.c(t,this._expr_0,e)&&(this.renderer.setElementProperty(this._el_0,"id",e),this._expr_0=e);var n=this.parent.context.d.subTitle;v.c(t,this._expr_1,n)&&(this.renderer.setElementProperty(this._el_0,"innerHTML",this.viewUtils.sanitizer.sanitize(j.b.HTML,n)),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(f.a),K=function(t){function e(n,i,r){t.call(this,e,X,x.a.EMBEDDED,n,i,r,y.b.CheckAlways)}return z(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this._NgSwitch_0_3=new M.a,this._anchor_1=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_1=new m.a(1,0,this,this._anchor_1),this._TemplateRef_1_5=new P.a(this._appEl_1,_),this._NgSwitchCase_1_6=new M.b(this._appEl_1.vcRef,this._TemplateRef_1_5,this._NgSwitch_0_3),this._anchor_2=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_2=new m.a(2,0,this,this._anchor_2),this._TemplateRef_2_5=new P.a(this._appEl_2,h),this._NgSwitchCase_2_6=new M.b(this._appEl_2.vcRef,this._TemplateRef_2_5,this._NgSwitch_0_3),this._anchor_3=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_3=new m.a(3,0,this,this._anchor_3),this._TemplateRef_3_5=new P.a(this._appEl_3,u),this._NgSwitchDefault_3_6=new M.c(this._appEl_3.vcRef,this._TemplateRef_3_5,this._NgSwitch_0_3),this._expr_0=y.n,this._expr_1=y.n,this._expr_2=y.n,this.init([].concat([this._el_0]),[this._el_0,this._anchor_1,this._anchor_2,this._anchor_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===P.b&&1===e?this._TemplateRef_1_5:t===M.b&&1===e?this._NgSwitchCase_1_6:t===P.b&&2===e?this._TemplateRef_2_5:t===M.b&&2===e?this._NgSwitchCase_2_6:t===P.b&&3===e?this._TemplateRef_3_5:t===M.c&&3===e?this._NgSwitchDefault_3_6:t===M.a&&0<=e&&e<=3?this._NgSwitch_0_3:n},e.prototype.detectChangesInternal=function(t){var e=this.parent.context.inputType;v.c(t,this._expr_0,e)&&(this._NgSwitch_0_3.ngSwitch=e,this._expr_0=e);var n="radio";v.c(t,this._expr_1,n)&&(this._NgSwitchCase_1_6.ngSwitchCase=n,this._expr_1=n);var i="checkbox";v.c(t,this._expr_2,i)&&(this._NgSwitchCase_2_6.ngSwitchCase=i,this._expr_2=i),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(f.a),tt=function(t){function e(n,i,r){t.call(this,e,X,x.a.EMBEDDED,n,i,r,y.b.CheckAlways)}return z(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","alert-radio-group"),this.renderer.setElementAttribute(this._el_0,"role","radiogroup"),this._anchor_1=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_1=new m.a(1,0,this,this._anchor_1),this._TemplateRef_1_5=new P.a(this._appEl_1,l),this._NgFor_1_6=new k.a(this._appEl_1.vcRef,this._TemplateRef_1_5,this.parent.parent.parentInjector.get(R.a),this.parent.parent.ref),this._expr_0=y.n,this._expr_1=y.n,this._expr_2=y.n,this.init([].concat([this._el_0]),[this._el_0,this._anchor_1],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===P.b&&1===e?this._TemplateRef_1_5:t===k.a&&1===e?this._NgFor_1_6:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.context.d.inputs;v.c(t,this._expr_2,n)&&(this._NgFor_1_6.ngForOf=n,null===e&&(e={}),e.ngForOf=new y.m(this._expr_2,n),this._expr_2=n),null!==e&&this._NgFor_1_6.ngOnChanges(e),t||this._NgFor_1_6.ngDoCheck(),this.detectContentChildrenChanges(t);var i=this.parent.parent.context.hdrId;v.c(t,this._expr_0,i)&&(this.renderer.setElementAttribute(this._el_0,"aria-labelledby",null==i?null:i.toString()),this._expr_0=i);var r=this.parent.parent.context.activeId;v.c(t,this._expr_1,r)&&(this.renderer.setElementAttribute(this._el_0,"aria-activedescendant",null==r?null:r.toString()),this._expr_1=r),this.detectViewChildrenChanges(t)},e}(f.a),et=function(t){function e(n,i,r){t.call(this,e,X,x.a.EMBEDDED,n,i,r,y.b.CheckAlways)}return z(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","alert-tappable alert-radio"),this.renderer.setElementAttribute(this._el_0,"ion-button","alert-radio-button"),this.renderer.setElementAttribute(this._el_0,"role","radio"),this._appEl_0=new m.a(0,null,this,this._el_0);var e=B.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new L.a(null,"alert-radio-button",this.parent.parent.parent.parentInjector.get(C.c),new w.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._el_1=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_1,"class","alert-radio-icon"),this._el_2=this.renderer.createElement(this._el_1,"div",null),this.renderer.setElementAttribute(this._el_2,"class","alert-radio-inner"),this._el_3=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_3,"class","alert-radio-label"),this._text_4=this.renderer.createText(this._el_3,"",null),e.create(this._Button_0_4,[[].concat([this._el_1,this._el_3])],null),this._expr_1=y.n,this._expr_2=y.n,this._expr_3=y.n;var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this._expr_4=y.n,this.init([].concat([this._el_0]),[this._el_0,this._el_1,this._el_2,this._el_3,this._text_4],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===L.a&&0<=e&&e<=4?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit();var e=this.context.$implicit.checked;v.c(t,this._expr_1,e)&&(this.renderer.setElementAttribute(this._el_0,"aria-checked",null==e?null:e.toString()),this._expr_1=e);var n=this.context.$implicit.disabled;v.c(t,this._expr_2,n)&&(this.renderer.setElementProperty(this._el_0,"disabled",n),this._expr_2=n);var i=this.context.$implicit.id;v.c(t,this._expr_3,i)&&(this.renderer.setElementAttribute(this._el_0,"id",null==i?null:i.toString()),this._expr_3=i);var r=v.e(1,"",this.context.$implicit.label,"");v.c(t,this._expr_4,r)&&(this.renderer.setText(this._text_4,r),this._expr_4=r),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.rbClick(this.context.$implicit)!==!1;return e},e}(f.a),nt=function(t){function e(n,i,r){t.call(this,e,X,x.a.EMBEDDED,n,i,r,y.b.CheckAlways)}return z(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","alert-checkbox-group"),this._anchor_1=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_1=new m.a(1,0,this,this._anchor_1),this._TemplateRef_1_5=new P.a(this._appEl_1,c),this._NgFor_1_6=new k.a(this._appEl_1.vcRef,this._TemplateRef_1_5,this.parent.parent.parentInjector.get(R.a),this.parent.parent.ref),this._expr_0=y.n,this.init([].concat([this._el_0]),[this._el_0,this._anchor_1],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===P.b&&1===e?this._TemplateRef_1_5:t===k.a&&1===e?this._NgFor_1_6:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.context.d.inputs;v.c(t,this._expr_0,n)&&(this._NgFor_1_6.ngForOf=n,null===e&&(e={}),e.ngForOf=new y.m(this._expr_0,n),this._expr_0=n),null!==e&&this._NgFor_1_6.ngOnChanges(e),t||this._NgFor_1_6.ngDoCheck(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(f.a),it=function(t){function e(n,i,r){t.call(this,e,X,x.a.EMBEDDED,n,i,r,y.b.CheckAlways)}return z(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","alert-tappable alert-checkbox"),this.renderer.setElementAttribute(this._el_0,"ion-button","alert-checkbox-button"),this.renderer.setElementAttribute(this._el_0,"role","checkbox"),this._appEl_0=new m.a(0,null,this,this._el_0);var e=B.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new L.a(null,"alert-checkbox-button",this.parent.parent.parent.parentInjector.get(C.c),new w.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._el_1=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_1,"class","alert-checkbox-icon"),this._el_2=this.renderer.createElement(this._el_1,"div",null),this.renderer.setElementAttribute(this._el_2,"class","alert-checkbox-inner"),this._el_3=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_3,"class","alert-checkbox-label"),this._text_4=this.renderer.createText(this._el_3,"",null),e.create(this._Button_0_4,[[].concat([this._el_1,this._el_3])],null),this._expr_1=y.n,this._expr_2=y.n;var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this._expr_3=y.n,this.init([].concat([this._el_0]),[this._el_0,this._el_1,this._el_2,this._el_3,this._text_4],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===L.a&&0<=e&&e<=4?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit();var e=this.context.$implicit.checked;v.c(t,this._expr_1,e)&&(this.renderer.setElementAttribute(this._el_0,"aria-checked",null==e?null:e.toString()),this._expr_1=e);var n=this.context.$implicit.disabled;v.c(t,this._expr_2,n)&&(this.renderer.setElementProperty(this._el_0,"disabled",n),this._expr_2=n);var i=v.e(1,"",this.context.$implicit.label,"");v.c(t,this._expr_3,i)&&(this.renderer.setText(this._text_4,i),this._expr_3=i),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.cbClick(this.context.$implicit)!==!1;return e},e}(f.a),rt=function(t){function e(n,i,r){t.call(this,e,X,x.a.EMBEDDED,n,i,r,y.b.CheckAlways)}return z(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","alert-input-group"),this._anchor_1=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_1=new m.a(1,0,this,this._anchor_1),this._TemplateRef_1_5=new P.a(this._appEl_1,p),this._NgFor_1_6=new k.a(this._appEl_1.vcRef,this._TemplateRef_1_5,this.parent.parent.parentInjector.get(R.a),this.parent.parent.ref),this._expr_0=y.n,this.init([].concat([this._el_0]),[this._el_0,this._anchor_1],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===P.b&&1===e?this._TemplateRef_1_5:t===k.a&&1===e?this._NgFor_1_6:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.context.d.inputs;v.c(t,this._expr_0,n)&&(this._NgFor_1_6.ngForOf=n,null===e&&(e={}),e.ngForOf=new y.m(this._expr_0,n),this._expr_0=n),null!==e&&this._NgFor_1_6.ngOnChanges(e),t||this._NgFor_1_6.ngDoCheck(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(f.a),st=function(t){function e(n,i,r){t.call(this,e,X,x.a.EMBEDDED,n,i,r,y.b.CheckAlways)}return z(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","alert-input-wrapper"),this._el_1=this.renderer.createElement(this._el_0,"input",null),this.renderer.setElementAttribute(this._el_1,"class","alert-input"),this._DefaultValueAccessor_1_3=new F.a(this.renderer,new w.a(this._el_1)),this._NG_VALUE_ACCESSOR_1_4=[this._DefaultValueAccessor_1_3],this._NgModel_1_5=new q.a(null,null,null,this._NG_VALUE_ACCESSOR_1_4),this._NgControl_1_6=this._NgModel_1_5,this._NgControlStatus_1_7=new V.a(this._NgControl_1_6),this._expr_3=y.n,this._expr_4=y.n;var e=this.renderer.listen(this._el_1,"ngModelChange",this.eventHandler(this._handle_ngModelChange_1_0.bind(this))),n=this.renderer.listen(this._el_1,"input",this.eventHandler(this._handle_input_1_1.bind(this))),i=this.renderer.listen(this._el_1,"blur",this.eventHandler(this._handle_blur_1_2.bind(this)));this._expr_5=y.n;var r=this._NgModel_1_5.update.subscribe(this.eventHandler(this._handle_ngModelChange_1_0.bind(this)));return this._expr_6=y.n,this._expr_7=y.n,this._expr_8=y.n,this._expr_9=y.n,this._expr_10=y.n,this._expr_11=y.n,this.init([].concat([this._el_0]),[this._el_0,this._el_1],[e,n,i],[r]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===F.a&&1===e?this._DefaultValueAccessor_1_3:t===H.a&&1===e?this._NG_VALUE_ACCESSOR_1_4:t===q.a&&1===e?this._NgModel_1_5:t===U.a&&1===e?this._NgControl_1_6:t===V.a&&1===e?this._NgControlStatus_1_7:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.context.$implicit.value;v.c(t,this._expr_5,n)&&(this._NgModel_1_5.model=n,null===e&&(e={}),e.model=new y.m(this._expr_5,n),this._expr_5=n),null!==e&&this._NgModel_1_5.ngOnChanges(e),this.detectContentChildrenChanges(t);var i=this.context.$implicit.placeholder;v.c(t,this._expr_3,i)&&(this.renderer.setElementProperty(this._el_1,"placeholder",i),this._expr_3=i);var r=this.context.$implicit.type;v.c(t,this._expr_4,r)&&(this.renderer.setElementProperty(this._el_1,"type",r),this._expr_4=r);var s=this._NgControlStatus_1_7.ngClassUntouched;v.c(t,this._expr_6,s)&&(this.renderer.setElementClass(this._el_1,"ng-untouched",s),this._expr_6=s);var o=this._NgControlStatus_1_7.ngClassTouched;v.c(t,this._expr_7,o)&&(this.renderer.setElementClass(this._el_1,"ng-touched",o),this._expr_7=o);var a=this._NgControlStatus_1_7.ngClassPristine;v.c(t,this._expr_8,a)&&(this.renderer.setElementClass(this._el_1,"ng-pristine",a),this._expr_8=a);var _=this._NgControlStatus_1_7.ngClassDirty;v.c(t,this._expr_9,_)&&(this.renderer.setElementClass(this._el_1,"ng-dirty",_),this._expr_9=_);var l=this._NgControlStatus_1_7.ngClassValid;v.c(t,this._expr_10,l)&&(this.renderer.setElementClass(this._el_1,"ng-valid",l),this._expr_10=l);var h=this._NgControlStatus_1_7.ngClassInvalid;v.c(t,this._expr_11,h)&&(this.renderer.setElementClass(this._el_1,"ng-invalid",h),this._expr_11=h),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_1_5.ngOnDestroy()},e.prototype._handle_ngModelChange_1_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.context.$implicit.value=t)!==!1;return e},e.prototype._handle_input_1_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_1_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_1_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_1_3.onTouched()!==!1;return e},e}(f.a),ot=function(t){function e(n,i,r){t.call(this,e,X,x.a.EMBEDDED,n,i,r,y.b.CheckAlways)}return z(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"ion-button","alert-button"),this._appEl_0=new m.a(0,null,this,this._el_0);var e=B.a(this.viewUtils,this.injector(0),this._appEl_0);this._NgClass_0_4=new O.a(this.parent.parentInjector.get(R.a),this.parent.parentInjector.get(D.a),new w.a(this._el_0),this.renderer),this._Button_0_5=new L.a(null,"alert-button",this.parent.parentInjector.get(C.c),new w.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_5,[],e),this._text_1=this.renderer.createText(null,"",null),e.create(this._Button_0_5,[[].concat([this._text_1])],null);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this._expr_1=y.n,this._expr_2=y.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===O.a&&0<=e&&e<=1?this._NgClass_0_4:t===L.a&&0<=e&&e<=1?this._Button_0_5:n},e.prototype.detectChangesInternal=function(t){var e=this.context.$implicit.cssClass;v.c(t,this._expr_1,e)&&(this._NgClass_0_4.ngClass=e,this._expr_1=e),t||this._NgClass_0_4.ngDoCheck(),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_5.ngAfterContentInit();var n=v.e(1,"",this.context.$implicit.text,"");v.c(t,this._expr_2,n)&&(this.renderer.setText(this._text_1,n),this._expr_2=n),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.btnClick(this.context.$implicit)!==!1;return e},e}(f.a)},function(t,e,n){"use strict";function i(t,e,n){return null===T&&(T=t.createRenderComponentType("",0,f.c.None,[],{})),new A(t,e,n)}function r(t,e,n){return null===O&&(O=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/node_modules/ionic-angular/components/app/app-root.d.ts class IonicApp - inline template",0,f.c.None,S,{})),new k(t,e,n)}var s=n(10),o=n(6),a=n(138),_=n(5),l=n(4),h=n(51),c=n(14),u=n(2),p=n(23),d=n(22),f=n(8),m=n(7),g=n(34),v=n(298),x=n(49),y=n(56),b=n(48),w=n(153),C=n(114);n.d(e,"a",function(){return I});var E=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},T=null,A=function(t){function e(n,i,r){t.call(this,e,T,_.a.HOST,n,i,r,l.b.CheckAlways)}return E(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-app",t,null),this._appEl_0=new o.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._IonicApp_0_4=new a.b(this.parentInjector.get(a.a),this.parentInjector.get(h.a),new c.a(this._el_0),this.renderer,this.parentInjector.get(u.c),this.parentInjector.get(p.f),this.parentInjector.get(d.a)),this._appEl_0.initComponent(this._IonicApp_0_4,[],e),e.create(this._IonicApp_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===a.b&&0===e?this._IonicApp_0_4:n},e.prototype.detectChangesInternal=function(t){0!==this.numberOfChecks||t||this._IonicApp_0_4.ngOnInit(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(s.a),I=new m.a("ion-app",i,a.b),S=[],O=null,k=function(t){function e(n,i,r){t.call(this,e,O,_.a.COMPONENT,n,i,r,l.b.CheckAlways)}return E(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._viewQuery_viewport_0=new g.a,this._viewQuery_modalPortal_1=new g.a,this._viewQuery_overlayPortal_2=new g.a,this._viewQuery_loadingPortal_3=new g.a,this._viewQuery_toastPortal_4=new g.a,this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"app-viewport",""),this._appEl_0=new o.a(0,null,this,this._el_0),this._el_1=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_1,"overlay-portal",""),this._appEl_1=new o.a(1,null,this,this._el_1),this._OverlayPortal_1_5=new v.a(this.parentInjector.get(d.a),this.parentInjector.get(u.c),this.parentInjector.get(x.a),new c.a(this._el_1),this.parentInjector.get(y.a),this.renderer,this.parentInjector.get(h.a),this.parentInjector.get(b.a),this.parentInjector.get(w.a),this.parentInjector.get(C.b,null),this._appEl_1.vcRef),this._el_2=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_2,"overlay-portal",""),this._appEl_2=new o.a(2,null,this,this._el_2),this._OverlayPortal_2_5=new v.a(this.parentInjector.get(d.a),this.parentInjector.get(u.c),this.parentInjector.get(x.a),new c.a(this._el_2),this.parentInjector.get(y.a),this.renderer,this.parentInjector.get(h.a),this.parentInjector.get(b.a),this.parentInjector.get(w.a),this.parentInjector.get(C.b,null),this._appEl_2.vcRef),this._el_3=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_3,"class","loading-portal"),this.renderer.setElementAttribute(this._el_3,"overlay-portal",""),this._appEl_3=new o.a(3,null,this,this._el_3),this._OverlayPortal_3_5=new v.a(this.parentInjector.get(d.a),this.parentInjector.get(u.c),this.parentInjector.get(x.a),new c.a(this._el_3),this.parentInjector.get(y.a),this.renderer,this.parentInjector.get(h.a),this.parentInjector.get(b.a),this.parentInjector.get(w.a),this.parentInjector.get(C.b,null),this._appEl_3.vcRef),this._el_4=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_4,"class","toast-portal"),this.renderer.setElementAttribute(this._el_4,"overlay-portal",""),this._appEl_4=new o.a(4,null,this,this._el_4),this._OverlayPortal_4_5=new v.a(this.parentInjector.get(d.a),this.parentInjector.get(u.c),this.parentInjector.get(x.a),new c.a(this._el_4),this.parentInjector.get(y.a),this.renderer,this.parentInjector.get(h.a),this.parentInjector.get(b.a),this.parentInjector.get(w.a),this.parentInjector.get(C.b,null),this._appEl_4.vcRef),this._el_5=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_5,"class","click-block"),this._viewQuery_viewport_0.reset([this._appEl_0.vcRef]),this.context._viewport=this._viewQuery_viewport_0.first,this._viewQuery_modalPortal_1.reset([this._OverlayPortal_1_5]),this.context._modalPortal=this._viewQuery_modalPortal_1.first,this._viewQuery_overlayPortal_2.reset([this._OverlayPortal_2_5]),this.context._overlayPortal=this._viewQuery_overlayPortal_2.first,this._viewQuery_loadingPortal_3.reset([this._OverlayPortal_3_5]),this.context._loadingPortal=this._viewQuery_loadingPortal_3.first,this._viewQuery_toastPortal_4.reset([this._OverlayPortal_4_5]),this.context._toastPortal=this._viewQuery_toastPortal_4.first,this.init([],[this._el_0,this._el_1,this._el_2,this._el_3,this._el_4,this._el_5],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===v.a&&1===e?this._OverlayPortal_1_5:t===v.a&&2===e?this._OverlayPortal_2_5:t===v.a&&3===e?this._OverlayPortal_3_5:t===v.a&&4===e?this._OverlayPortal_4_5:n},e}(s.a)},function(t,e,n){"use strict";function i(t,e,n){return null===y&&(y=t.createRenderComponentType("",0,f.c.None,[],{})),new b(t,e,n)}function r(t,e,n){return null===C&&(C=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/node_modules/ionic-angular/components/fab/fab.d.ts class FabButton - inline template",1,f.c.None,w,{})),new E(t,e,n)}function s(t,e,n){return null===T&&(T=t.createRenderComponentType("",0,f.c.None,[],{})),new A(t,e,n)}function o(t,e,n){return null===S&&(S=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/node_modules/ionic-angular/components/fab/fab.d.ts class FabContainer - inline template",1,f.c.None,I,{})),new O(t,e,n)}var a=n(10),_=n(6),l=n(291),h=n(11),c=n(5),u=n(4),p=n(2),d=n(14),f=n(8),m=n(7),g=n(193),v=n(34);e.b=r,e.a=o;var x=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},y=null,b=function(t){function e(n,i,r){t.call(this,e,y,c.a.HOST,n,i,r,u.b.CheckAlways)}return x(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("div",t,null),this.renderer.setElementAttribute(this._el_0,"ion-fab",""),this._appEl_0=new _.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._FabButton_0_4=new l.b(this.parentInjector.get(p.c),new d.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._FabButton_0_4,[],e),e.create(this._FabButton_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===l.b&&0===e?this._FabButton_0_4:n},e}(a.a),w=(new m.a("[ion-fab]",i,l.b),[]),C=null,E=function(t){function e(n,i,r){t.call(this,e,C,c.a.COMPONENT,n,i,r,u.b.CheckOnce)}return x(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._el_0=this.renderer.createElement(e,"ion-icon",null),this.renderer.setElementAttribute(this._el_0,"class","fab-close-icon"),this.renderer.setElementAttribute(this._el_0,"name","close"),this.renderer.setElementAttribute(this._el_0,"role","img"),this._Icon_0_3=new g.a(this.parentInjector.get(p.c),new d.a(this._el_0),this.renderer),this._el_1=this.renderer.createElement(e,"span",null),this.renderer.setElementAttribute(this._el_1,"class","button-inner"),this.renderer.projectNodes(this._el_1,h.d(this.projectableNodes[0])),this._el_2=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_2,"class","button-effect"),this._expr_0=u.n,this._expr_1=u.n,this.init([],[this._el_0,this._el_1,this._el_2],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===g.a&&0===e?this._Icon_0_3:n},e.prototype.detectChangesInternal=function(t){var e="close";h.c(t,this._expr_0,e)&&(this._Icon_0_3.name=e,this._expr_0=e),this.detectContentChildrenChanges(t);var n=this._Icon_0_3._hidden;h.c(t,this._expr_1,n)&&(this.renderer.setElementClass(this._el_0,"hide",n),this._expr_1=n),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Icon_0_3.ngOnDestroy()},e}(a.a),T=null,A=function(t){function e(n,i,r){t.call(this,e,T,c.a.HOST,n,i,r,u.b.CheckAlways)}return x(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-fab",t,null),this._appEl_0=new _.a(0,null,this,this._el_0);var e=o(this.viewUtils,this.injector(0),this._appEl_0);return this._FabContainer_0_4=new l.a(new d.a(this._el_0)),this._query_FabButton_0_0=new v.a,this._query_FabList_0_1=new v.a,this._appEl_0.initComponent(this._FabContainer_0_4,[],e),this._query_FabButton_0_0.reset([]),this._FabContainer_0_4._mainButton=this._query_FabButton_0_0.first,e.create(this._FabContainer_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===l.a&&0===e?this._FabContainer_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||(this._query_FabList_0_1.dirty&&(this._query_FabList_0_1.reset([]),this._FabContainer_0_4._fabLists=this._query_FabList_0_1,this._query_FabList_0_1.notifyOnChanges()),0===this.numberOfChecks&&this._FabContainer_0_4.ngAfterContentInit()),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._FabContainer_0_4.ngOnDestroy()},e}(a.a),I=(new m.a("ion-fab",s,l.a),[]),S=null,O=function(t){function e(n,i,r){t.call(this,e,S,c.a.COMPONENT,n,i,r,u.b.CheckAlways)}return x(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this.renderer.projectNodes(e,h.d(this.projectableNodes[0])),this.init([],[],[],[]),null},e}(a.a)},function(t,e,n){"use strict";function i(t,e,n){return null===H&&(H=t.createRenderComponentType("",0,A.c.None,[],{})),new U(t,e,n)}function r(t,e,n){return null===G&&(G=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/node_modules/ionic-angular/components/input/input.d.ts class TextInput - inline template",0,A.c.None,z,{})),new W(t,e,n)}function s(t,e,n){return new Y(t,e,n)}function o(t,e,n){return new $(t,e,n)}function a(t,e,n){return null===X&&(X=t.createRenderComponentType("",0,A.c.None,[],{})),new J(t,e,n)}function _(t,e,n){return null===Z&&(Z=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/node_modules/ionic-angular/components/input/input.d.ts class TextArea - inline template",0,A.c.None,Q,{})),new K(t,e,n)}function l(t,e,n){return new tt(t,e,n)}function h(t,e,n){return new et(t,e,n)}var c=n(10),u=n(6),p=n(292),d=n(11),f=n(5),m=n(4),g=n(2),v=n(39),x=n(44),y=n(22),b=n(23),w=n(14),C=n(46),E=n(71),T=n(53),A=n(8),I=n(7),S=n(34),O=n(58),k=n(60),N=n(62),P=n(61),R=n(293),D=n(33),j=n(20),M=n(37),L=n(52),B=n(21),F=n(25),q=n(41);e.a=r;var V=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},H=null,U=function(t){function e(n,i,r){t.call(this,e,H,f.a.HOST,n,i,r,m.b.CheckAlways)}return V(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-input",t,null),this._appEl_0=new u.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._TextInput_0_4=new p.b(this.parentInjector.get(g.c),this.parentInjector.get(v.a),this.parentInjector.get(x.a,null),this.parentInjector.get(y.a),this.parentInjector.get(b.f),new w.a(this._el_0),this.renderer,this.parentInjector.get(C.a,null),this.parentInjector.get(E.a,null),this.parentInjector.get(T.a,null)),this._appEl_0.initComponent(this._TextInput_0_4,[],e),e.create(this._TextInput_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===p.b&&0===e?this._TextInput_0_4:n},e.prototype.detectChangesInternal=function(t){0!==this.numberOfChecks||t||this._TextInput_0_4.ngOnInit(),this.detectContentChildrenChanges(t),t||this._TextInput_0_4.ngAfterContentChecked(),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._TextInput_0_4.ngOnDestroy()},e}(c.a),z=(new I.a("ion-input",i,p.b),[]),G=null,W=function(t){function e(n,i,r){t.call(this,e,G,f.a.COMPONENT,n,i,r,m.b.CheckAlways)}return V(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_NativeInput_0=new S.a,this._viewQuery_NextInput_1=new S.a,this._el_0=this.renderer.createElement(e,"input",null),this.renderer.setElementAttribute(this._el_0,"class","text-input"),this._NgClass_0_3=new O.a(this.parentInjector.get(M.a),this.parentInjector.get(L.a),new w.a(this._el_0),this.renderer),this._DefaultValueAccessor_0_4=new k.a(this.renderer,new w.a(this._el_0)),this._NG_VALUE_ACCESSOR_0_5=[this._DefaultValueAccessor_0_4],this._NgModel_0_6=new N.a(null,null,null,this._NG_VALUE_ACCESSOR_0_5),this._NgControl_0_7=this._NgModel_0_6,this._NgControlStatus_0_8=new P.a(this._NgControl_0_7),this._NativeInput_0_9=new R.a(new w.a(this._el_0),this.renderer,this.parentInjector.get(g.c),this._NgControl_0_7),this._anchor_1=this.renderer.createTemplateAnchor(e,null),this._appEl_1=new u.a(1,null,this,this._anchor_1),this._TemplateRef_1_5=new B.a(this._appEl_1,s),this._NgIf_1_6=new D.a(this._appEl_1.vcRef,this._TemplateRef_1_5),this._el_2=this.renderer.createElement(e,"button",null),this.renderer.setElementAttribute(this._el_2,"class","text-input-clear-icon"),this.renderer.setElementAttribute(this._el_2,"clear",""),this.renderer.setElementAttribute(this._el_2,"ion-button",""),this.renderer.setElementAttribute(this._el_2,"type","button"),this._appEl_2=new u.a(2,null,this,this._el_2);var n=F.a(this.viewUtils,this.injector(2),this._appEl_2);this._Button_2_4=new j.a(null,"",this.parentInjector.get(g.c),new w.a(this._el_2),this.renderer),this._appEl_2.initComponent(this._Button_2_4,[],n),n.create(this._Button_2_4,[[]],null),this._anchor_3=this.renderer.createTemplateAnchor(e,null),this._appEl_3=new u.a(3,null,this,this._anchor_3), this._TemplateRef_3_5=new B.a(this._appEl_3,o),this._NgIf_3_6=new D.a(this._appEl_3.vcRef,this._TemplateRef_3_5),this._expr_8=m.n,this._expr_9=m.n;var i=this.renderer.listen(this._el_0,"ngModelChange",this.eventHandler(this._handle_ngModelChange_0_0.bind(this))),r=this.renderer.listen(this._el_0,"blur",this.eventHandler(this._handle_blur_0_1.bind(this))),a=this.renderer.listen(this._el_0,"focus",this.eventHandler(this._handle_focus_0_2.bind(this))),_=this.renderer.listen(this._el_0,"input",this.eventHandler(this._handle_input_0_3.bind(this)));this._expr_10=m.n,this._expr_11=m.n,this._expr_12=m.n;var l=this._NgModel_0_6.update.subscribe(this.eventHandler(this._handle_ngModelChange_0_0.bind(this)));this._expr_13=m.n,this._expr_14=m.n,this._expr_15=m.n,this._expr_16=m.n,this._expr_17=m.n,this._expr_18=m.n,this._expr_19=m.n,this._expr_22=m.n;var h=this.renderer.listen(this._el_2,"click",this.eventHandler(this._handle_click_2_0.bind(this))),c=this.renderer.listen(this._el_2,"mousedown",this.eventHandler(this._handle_mousedown_2_1.bind(this)));return this._expr_23=m.n,this._expr_24=m.n,this._viewQuery_NativeInput_0.reset([this._NativeInput_0_9]),this.context._nativeInput=this._viewQuery_NativeInput_0.first,this.init([],[this._el_0,this._anchor_1,this._el_2,this._anchor_3],[i,r,a,_,h,c],[l]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===O.a&&0===e?this._NgClass_0_3:t===k.a&&0===e?this._DefaultValueAccessor_0_4:t===q.a&&0===e?this._NG_VALUE_ACCESSOR_0_5:t===N.a&&0===e?this._NgModel_0_6:t===T.a&&0===e?this._NgControl_0_7:t===P.a&&0===e?this._NgControlStatus_0_8:t===R.a&&0===e?this._NativeInput_0_9:t===B.b&&1===e?this._TemplateRef_1_5:t===D.a&&1===e?this._NgIf_1_6:t===j.a&&2===e?this._Button_2_4:t===B.b&&3===e?this._TemplateRef_3_5:t===D.a&&3===e?this._NgIf_3_6:n},e.prototype.detectChangesInternal=function(t){var e=!0,n=null,i="text-input";d.c(t,this._expr_10,i)&&(this._NgClass_0_3.klass=i,this._expr_10=i);var r="text-input-"+this.context._mode;d.c(t,this._expr_11,r)&&(this._NgClass_0_3.ngClass=r,this._expr_11=r),t||this._NgClass_0_3.ngDoCheck(),n=null;var s=this.context._value;d.c(t,this._expr_12,s)&&(this._NgModel_0_6.model=s,null===n&&(n={}),n.model=new m.m(this._expr_12,s),this._expr_12=s),null!==n&&this._NgModel_0_6.ngOnChanges(n);var o=this.context._useAssist;d.c(t,this._expr_19,o)&&(this._NgIf_1_6.ngIf=o,this._expr_19=o),e=!1;var a="";d.c(t,this._expr_23,a)&&(this._Button_2_4.clear=a,e=!0,this._expr_23=a),e&&this._appEl_2.componentView.markAsCheckOnce();var _=this.context._useAssist;d.c(t,this._expr_24,_)&&(this._NgIf_3_6.ngIf=_,this._expr_24=_),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_2_4.ngAfterContentInit();var l=this.context.type;d.c(t,this._expr_8,l)&&(this.renderer.setElementProperty(this._el_0,"type",l),this._expr_8=l);var h=this.context.placeholder;d.c(t,this._expr_9,h)&&(this.renderer.setElementProperty(this._el_0,"placeholder",h),this._expr_9=h);var c=this._NgControlStatus_0_8.ngClassUntouched;d.c(t,this._expr_13,c)&&(this.renderer.setElementClass(this._el_0,"ng-untouched",c),this._expr_13=c);var u=this._NgControlStatus_0_8.ngClassTouched;d.c(t,this._expr_14,u)&&(this.renderer.setElementClass(this._el_0,"ng-touched",u),this._expr_14=u);var p=this._NgControlStatus_0_8.ngClassPristine;d.c(t,this._expr_15,p)&&(this.renderer.setElementClass(this._el_0,"ng-pristine",p),this._expr_15=p);var f=this._NgControlStatus_0_8.ngClassDirty;d.c(t,this._expr_16,f)&&(this.renderer.setElementClass(this._el_0,"ng-dirty",f),this._expr_16=f);var g=this._NgControlStatus_0_8.ngClassValid;d.c(t,this._expr_17,g)&&(this.renderer.setElementClass(this._el_0,"ng-valid",g),this._expr_17=g);var v=this._NgControlStatus_0_8.ngClassInvalid;d.c(t,this._expr_18,v)&&(this.renderer.setElementClass(this._el_0,"ng-invalid",v),this._expr_18=v);var x=!this.context.clearInput;d.c(t,this._expr_22,x)&&(this.renderer.setElementProperty(this._el_2,"hidden",x),this._expr_22=x),this.detectViewChildrenChanges(t),t||this._viewQuery_NextInput_1.dirty&&(this._viewQuery_NextInput_1.reset([this._appEl_1.mapNestedViews(Y,function(t){return[t._NextInput_0_3]})]),this.context._nextInput=this._viewQuery_NextInput_1.first)},e.prototype.destroyInternal=function(){this._NgModel_0_6.ngOnDestroy(),this._NativeInput_0_9.ngOnDestroy()},e.prototype._handle_ngModelChange_0_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.context._value=t)!==!1;return e},e.prototype._handle_blur_0_1=function(t){this.markPathToRootAsCheckOnce();var e=this.context.inputBlurred(t)!==!1,n=this._DefaultValueAccessor_0_4.onTouched()!==!1,i=this._NativeInput_0_9._blur()!==!1;return e&&n&&i},e.prototype._handle_focus_0_2=function(t){this.markPathToRootAsCheckOnce();var e=this.context.inputFocused(t)!==!1,n=this._NativeInput_0_9._focus()!==!1;return e&&n},e.prototype._handle_input_0_3=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_0_4.onChange(t.target.value)!==!1,n=this._NativeInput_0_9._change(t)!==!1;return e&&n},e.prototype._handle_click_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.clearTextInput()!==!1;return e},e.prototype._handle_mousedown_2_1=function(t){this.markPathToRootAsCheckOnce();var e=this.context.clearTextInput()!==!1;return e},e}(c.a),Y=function(t){function e(n,i,r){t.call(this,e,G,f.a.EMBEDDED,n,i,r,m.b.CheckAlways)}return V(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"input",null),this.renderer.setElementAttribute(this._el_0,"aria-hidden","true"),this.renderer.setElementAttribute(this._el_0,"next-input",""),this._NextInput_0_3=new R.b,this._expr_1=m.n;var e=this.renderer.listen(this._el_0,"focus",this.eventHandler(this._handle_focus_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0],[e],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===R.b&&0===e?this._NextInput_0_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this.parent.context.type;d.c(t,this._expr_1,e)&&(this.renderer.setElementProperty(this._el_0,"type",e),this._expr_1=e),this.detectViewChildrenChanges(t)},e.prototype.dirtyParentQueriesInternal=function(){this.parent._viewQuery_NextInput_1.setDirty()},e.prototype._handle_focus_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this._NextInput_0_3.receivedFocus()!==!1;return e},e}(c.a),$=function(t){function e(n,i,r){t.call(this,e,G,f.a.EMBEDDED,n,i,r,m.b.CheckAlways)}return V(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","input-cover"),this.renderer.setElementAttribute(this._el_0,"tappable","");var e=this.renderer.listen(this._el_0,"touchstart",this.eventHandler(this._handle_touchstart_0_0.bind(this))),n=this.renderer.listen(this._el_0,"touchend",this.eventHandler(this._handle_touchend_0_1.bind(this))),i=this.renderer.listen(this._el_0,"mousedown",this.eventHandler(this._handle_mousedown_0_2.bind(this))),r=this.renderer.listen(this._el_0,"mouseup",this.eventHandler(this._handle_mouseup_0_3.bind(this)));return this.init([].concat([this._el_0]),[this._el_0],[e,n,i,r],[]),null},e.prototype._handle_touchstart_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.pointerStart(t)!==!1;return e},e.prototype._handle_touchend_0_1=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.pointerEnd(t)!==!1;return e},e.prototype._handle_mousedown_0_2=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.pointerStart(t)!==!1;return e},e.prototype._handle_mouseup_0_3=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.pointerEnd(t)!==!1;return e},e}(c.a),X=null,J=function(t){function e(n,i,r){t.call(this,e,X,f.a.HOST,n,i,r,m.b.CheckAlways)}return V(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-textarea",t,null),this._appEl_0=new u.a(0,null,this,this._el_0);var e=_(this.viewUtils,this.injector(0),this._appEl_0);return this._TextArea_0_4=new p.a(this.parentInjector.get(g.c),this.parentInjector.get(v.a),this.parentInjector.get(x.a,null),this.parentInjector.get(y.a),this.parentInjector.get(b.f),new w.a(this._el_0),this.renderer,this.parentInjector.get(C.a,null),this.parentInjector.get(E.a,null),this.parentInjector.get(T.a,null)),this._appEl_0.initComponent(this._TextArea_0_4,[],e),e.create(this._TextArea_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===p.a&&0===e?this._TextArea_0_4:n},e.prototype.detectChangesInternal=function(t){0!==this.numberOfChecks||t||this._TextArea_0_4.ngOnInit(),this.detectContentChildrenChanges(t),t||this._TextArea_0_4.ngAfterContentChecked(),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._TextArea_0_4.ngOnDestroy()},e}(c.a),Q=(new I.a("ion-textarea",a,p.a),[]),Z=null,K=function(t){function e(n,i,r){t.call(this,e,Z,f.a.COMPONENT,n,i,r,m.b.CheckAlways)}return V(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_NativeInput_0=new S.a,this._viewQuery_NextInput_1=new S.a,this._el_0=this.renderer.createElement(e,"textarea",null),this.renderer.setElementAttribute(this._el_0,"class","text-input"),this._NgClass_0_3=new O.a(this.parentInjector.get(M.a),this.parentInjector.get(L.a),new w.a(this._el_0),this.renderer),this._DefaultValueAccessor_0_4=new k.a(this.renderer,new w.a(this._el_0)),this._NG_VALUE_ACCESSOR_0_5=[this._DefaultValueAccessor_0_4],this._NgModel_0_6=new N.a(null,null,null,this._NG_VALUE_ACCESSOR_0_5),this._NgControl_0_7=this._NgModel_0_6,this._NgControlStatus_0_8=new P.a(this._NgControl_0_7),this._NativeInput_0_9=new R.a(new w.a(this._el_0),this.renderer,this.parentInjector.get(g.c),this._NgControl_0_7),this._anchor_1=this.renderer.createTemplateAnchor(e,null),this._appEl_1=new u.a(1,null,this,this._anchor_1),this._TemplateRef_1_5=new B.a(this._appEl_1,l),this._NgIf_1_6=new D.a(this._appEl_1.vcRef,this._TemplateRef_1_5),this._anchor_2=this.renderer.createTemplateAnchor(e,null),this._appEl_2=new u.a(2,null,this,this._anchor_2),this._TemplateRef_2_5=new B.a(this._appEl_2,h),this._NgIf_2_6=new D.a(this._appEl_2.vcRef,this._TemplateRef_2_5),this._expr_8=m.n;var n=this.renderer.listen(this._el_0,"ngModelChange",this.eventHandler(this._handle_ngModelChange_0_0.bind(this))),i=this.renderer.listen(this._el_0,"blur",this.eventHandler(this._handle_blur_0_1.bind(this))),r=this.renderer.listen(this._el_0,"focus",this.eventHandler(this._handle_focus_0_2.bind(this))),s=this.renderer.listen(this._el_0,"input",this.eventHandler(this._handle_input_0_3.bind(this)));this._expr_9=m.n,this._expr_10=m.n,this._expr_11=m.n;var o=this._NgModel_0_6.update.subscribe(this.eventHandler(this._handle_ngModelChange_0_0.bind(this)));return this._expr_12=m.n,this._expr_13=m.n,this._expr_14=m.n,this._expr_15=m.n,this._expr_16=m.n,this._expr_17=m.n,this._expr_18=m.n,this._expr_19=m.n,this._viewQuery_NativeInput_0.reset([this._NativeInput_0_9]),this.context._nativeInput=this._viewQuery_NativeInput_0.first,this.init([],[this._el_0,this._anchor_1,this._anchor_2],[n,i,r,s],[o]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===O.a&&0===e?this._NgClass_0_3:t===k.a&&0===e?this._DefaultValueAccessor_0_4:t===q.a&&0===e?this._NG_VALUE_ACCESSOR_0_5:t===N.a&&0===e?this._NgModel_0_6:t===T.a&&0===e?this._NgControl_0_7:t===P.a&&0===e?this._NgControlStatus_0_8:t===R.a&&0===e?this._NativeInput_0_9:t===B.b&&1===e?this._TemplateRef_1_5:t===D.a&&1===e?this._NgIf_1_6:t===B.b&&2===e?this._TemplateRef_2_5:t===D.a&&2===e?this._NgIf_2_6:n},e.prototype.detectChangesInternal=function(t){var e=null,n="text-input";d.c(t,this._expr_9,n)&&(this._NgClass_0_3.klass=n,this._expr_9=n);var i="text-input-"+this.context._mode;d.c(t,this._expr_10,i)&&(this._NgClass_0_3.ngClass=i,this._expr_10=i),t||this._NgClass_0_3.ngDoCheck(),e=null;var r=this.context._value;d.c(t,this._expr_11,r)&&(this._NgModel_0_6.model=r,null===e&&(e={}),e.model=new m.m(this._expr_11,r),this._expr_11=r),null!==e&&this._NgModel_0_6.ngOnChanges(e);var s=this.context._useAssist;d.c(t,this._expr_18,s)&&(this._NgIf_1_6.ngIf=s,this._expr_18=s);var o=this.context._useAssist;d.c(t,this._expr_19,o)&&(this._NgIf_2_6.ngIf=o,this._expr_19=o),this.detectContentChildrenChanges(t);var a=this.context.placeholder;d.c(t,this._expr_8,a)&&(this.renderer.setElementProperty(this._el_0,"placeholder",a),this._expr_8=a);var _=this._NgControlStatus_0_8.ngClassUntouched;d.c(t,this._expr_12,_)&&(this.renderer.setElementClass(this._el_0,"ng-untouched",_),this._expr_12=_);var l=this._NgControlStatus_0_8.ngClassTouched;d.c(t,this._expr_13,l)&&(this.renderer.setElementClass(this._el_0,"ng-touched",l),this._expr_13=l);var h=this._NgControlStatus_0_8.ngClassPristine;d.c(t,this._expr_14,h)&&(this.renderer.setElementClass(this._el_0,"ng-pristine",h),this._expr_14=h);var c=this._NgControlStatus_0_8.ngClassDirty;d.c(t,this._expr_15,c)&&(this.renderer.setElementClass(this._el_0,"ng-dirty",c),this._expr_15=c);var u=this._NgControlStatus_0_8.ngClassValid;d.c(t,this._expr_16,u)&&(this.renderer.setElementClass(this._el_0,"ng-valid",u),this._expr_16=u);var p=this._NgControlStatus_0_8.ngClassInvalid;d.c(t,this._expr_17,p)&&(this.renderer.setElementClass(this._el_0,"ng-invalid",p),this._expr_17=p),this.detectViewChildrenChanges(t),t||this._viewQuery_NextInput_1.dirty&&(this._viewQuery_NextInput_1.reset([this._appEl_1.mapNestedViews(tt,function(t){return[t._NextInput_0_3]})]),this.context._nextInput=this._viewQuery_NextInput_1.first)},e.prototype.destroyInternal=function(){this._NgModel_0_6.ngOnDestroy(),this._NativeInput_0_9.ngOnDestroy()},e.prototype._handle_ngModelChange_0_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.context._value=t)!==!1;return e},e.prototype._handle_blur_0_1=function(t){this.markPathToRootAsCheckOnce();var e=this.context.inputBlurred(t)!==!1,n=this._DefaultValueAccessor_0_4.onTouched()!==!1,i=this._NativeInput_0_9._blur()!==!1;return e&&n&&i},e.prototype._handle_focus_0_2=function(t){this.markPathToRootAsCheckOnce();var e=this.context.inputFocused(t)!==!1,n=this._NativeInput_0_9._focus()!==!1;return e&&n},e.prototype._handle_input_0_3=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_0_4.onChange(t.target.value)!==!1,n=this._NativeInput_0_9._change(t)!==!1;return e&&n},e}(c.a),tt=function(t){function e(n,i,r){t.call(this,e,Z,f.a.EMBEDDED,n,i,r,m.b.CheckAlways)}return V(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"input",null),this.renderer.setElementAttribute(this._el_0,"aria-hidden","true"),this.renderer.setElementAttribute(this._el_0,"next-input",""),this.renderer.setElementAttribute(this._el_0,"type","text"),this._NextInput_0_3=new R.b;var e=this.renderer.listen(this._el_0,"focus",this.eventHandler(this._handle_focus_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0],[e],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===R.b&&0===e?this._NextInput_0_3:n},e.prototype.dirtyParentQueriesInternal=function(){this.parent._viewQuery_NextInput_1.setDirty()},e.prototype._handle_focus_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this._NextInput_0_3.receivedFocus()!==!1;return e},e}(c.a),et=function(t){function e(n,i,r){t.call(this,e,Z,f.a.EMBEDDED,n,i,r,m.b.CheckAlways)}return V(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","input-cover"),this.renderer.setElementAttribute(this._el_0,"tappable","");var e=this.renderer.listen(this._el_0,"touchstart",this.eventHandler(this._handle_touchstart_0_0.bind(this))),n=this.renderer.listen(this._el_0,"touchend",this.eventHandler(this._handle_touchend_0_1.bind(this))),i=this.renderer.listen(this._el_0,"mousedown",this.eventHandler(this._handle_mousedown_0_2.bind(this))),r=this.renderer.listen(this._el_0,"mouseup",this.eventHandler(this._handle_mouseup_0_3.bind(this)));return this.init([].concat([this._el_0]),[this._el_0],[e,n,i,r],[]),null},e.prototype._handle_touchstart_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.pointerStart(t)!==!1;return e},e.prototype._handle_touchend_0_1=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.pointerEnd(t)!==!1;return e},e.prototype._handle_mousedown_0_2=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.pointerStart(t)!==!1;return e},e.prototype._handle_mouseup_0_3=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.pointerEnd(t)!==!1;return e},e}(c.a)},function(t,e,n){"use strict";function i(t,e,n){return null===v&&(v=t.createRenderComponentType("",0,p.c.None,[],{})),new x(t,e,n)}function r(t,e,n){return null===b&&(b=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/node_modules/ionic-angular/components/item/item-reorder.d.ts class Reorder - inline template",0,p.c.None,y,{})),new w(t,e,n)}var s=n(10),o=n(6),a=n(227),_=n(11),l=n(5),h=n(4),c=n(44),u=n(14),p=n(8),d=n(7),f=n(193),m=n(2);e.a=r;var g=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},v=null,x=function(t){function e(n,i,r){t.call(this,e,v,l.a.HOST,n,i,r,h.b.CheckAlways)}return g(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-reorder",t,null),this._appEl_0=new o.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);this._Reorder_0_4=new a.b(this.parentInjector.get(c.a),new u.a(this._el_0)),this._appEl_0.initComponent(this._Reorder_0_4,[],e),e.create(this._Reorder_0_4,this.projectableNodes,null);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0],[n],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===a.b&&0===e?this._Reorder_0_4:n},e.prototype._handle_click_0_0=function(t){this._appEl_0.componentView.markPathToRootAsCheckOnce();var e=this._Reorder_0_4.onClick(t)!==!1;return e},e}(s.a),y=(new d.a("ion-reorder",i,a.b),[]),b=null,w=function(t){function e(n,i,r){t.call(this,e,b,l.a.COMPONENT,n,i,r,h.b.CheckAlways)}return g(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._el_0=this.renderer.createElement(e,"ion-icon",null),this.renderer.setElementAttribute(this._el_0,"name","reorder"),this.renderer.setElementAttribute(this._el_0,"role","img"),this._Icon_0_3=new f.a(this.parentInjector.get(m.c),new u.a(this._el_0),this.renderer),this._expr_0=h.n,this._expr_1=h.n,this.init([],[this._el_0],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===f.a&&0===e?this._Icon_0_3:n},e.prototype.detectChangesInternal=function(t){var e="reorder";_.c(t,this._expr_0,e)&&(this._Icon_0_3.name=e,this._expr_0=e),this.detectContentChildrenChanges(t);var n=this._Icon_0_3._hidden;_.c(t,this._expr_1,n)&&(this.renderer.setElementClass(this._el_0,"hide",n),this._expr_1=n),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Icon_0_3.ngOnDestroy()},e}(s.a)},function(t,e,n){"use strict";function i(t,e,n){return null===I&&(I=t.createRenderComponentType("",0,g.c.None,[],{})),new S(t,e,n)}function r(t,e,n){return null===N&&(N=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/node_modules/ionic-angular/components/loading/loading-component.d.ts class LoadingCmp - inline template",0,g.c.None,k,{})),new P(t,e,n)}function s(t,e,n){return new R(t,e,n)}function o(t,e,n){return new D(t,e,n)}var a=n(10),_=n(6),l=n(294),h=n(11),c=n(5),u=n(4),p=n(13),d=n(2),f=n(14),m=n(27),g=n(8),v=n(7),x=n(131),y=n(33),b=n(48),w=n(21),C=n(194),E=n(355),T=n(73);n.d(e,"a",function(){return O});var A=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},I=null,S=function(t){function e(n,i,r){t.call(this,e,I,c.a.HOST,n,i,r,u.b.CheckAlways)}return A(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-loading",t,null),this.renderer.setElementAttribute(this._el_0,"role","dialog"),this._appEl_0=new _.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._LoadingCmp_0_4=new l.a(this.parentInjector.get(p.a),this.parentInjector.get(d.c),new f.a(this._el_0),this.parentInjector.get(m.a),this.renderer),this._appEl_0.initComponent(this._LoadingCmp_0_4,[],e),e.create(this._LoadingCmp_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===l.a&&0===e?this._LoadingCmp_0_4:n},e.prototype.detectChangesInternal=function(t){0!==this.numberOfChecks||t||this._LoadingCmp_0_4.ngOnInit(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(a.a),O=new v.a("ion-loading",i,l.a),k=[],N=null,P=function(t){function e(n,i,r){t.call(this,e,N,c.a.COMPONENT,n,i,r,u.b.CheckAlways)}return A(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._el_0=this.renderer.createElement(e,"ion-backdrop",null),this.renderer.setElementAttribute(this._el_0,"disable-activated",""),this.renderer.setElementAttribute(this._el_0,"role","presentation"),this.renderer.setElementAttribute(this._el_0,"tappable",""),this._Backdrop_0_3=new x.a(this.parentInjector.get(b.a),new f.a(this._el_0),this.renderer),this._el_1=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_1,"class","loading-wrapper"),this._anchor_2=this.renderer.createTemplateAnchor(this._el_1,null),this._appEl_2=new _.a(2,1,this,this._anchor_2),this._TemplateRef_2_5=new w.a(this._appEl_2,s),this._NgIf_2_6=new y.a(this._appEl_2.vcRef,this._TemplateRef_2_5),this._anchor_3=this.renderer.createTemplateAnchor(this._el_1,null),this._appEl_3=new _.a(3,1,this,this._anchor_3),this._TemplateRef_3_5=new w.a(this._appEl_3,o),this._NgIf_3_6=new y.a(this._appEl_3.vcRef,this._TemplateRef_3_5),this._expr_0=u.n,this._expr_1=u.n,this._expr_2=u.n,this.init([],[this._el_0,this._el_1,this._anchor_2,this._anchor_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===x.a&&0===e?this._Backdrop_0_3:t===w.b&&2===e?this._TemplateRef_2_5:t===y.a&&2===e?this._NgIf_2_6:t===w.b&&3===e?this._TemplateRef_3_5:t===y.a&&3===e?this._NgIf_3_6:n},e.prototype.detectChangesInternal=function(t){0!==this.numberOfChecks||t||this._Backdrop_0_3.ngOnInit();var e=this.context.showSpinner;h.c(t,this._expr_1,e)&&(this._NgIf_2_6.ngIf=e,this._expr_1=e);var n=this.context.d.content;h.c(t,this._expr_2,n)&&(this._NgIf_3_6.ngIf=n,this._expr_2=n),this.detectContentChildrenChanges(t);var i=!this.context.d.showBackdrop;h.c(t,this._expr_0,i)&&(this.renderer.setElementClass(this._el_0,"hide-backdrop",i),this._expr_0=i),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Backdrop_0_3.ngOnDestroy()},e}(a.a),R=function(t){function e(n,i,r){t.call(this,e,N,c.a.EMBEDDED,n,i,r,u.b.CheckAlways)}return A(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","loading-spinner"),this._el_1=this.renderer.createElement(this._el_0,"ion-spinner",null),this._appEl_1=new _.a(1,0,this,this._el_1);var e=E.a(this.viewUtils,this.injector(1),this._appEl_1);return this._Spinner_1_4=new C.a(this.parent.parentInjector.get(d.c),new f.a(this._el_1),this.renderer),this._appEl_1.initComponent(this._Spinner_1_4,[],e),e.create(this._Spinner_1_4,[],null),this._expr_0=u.n,this._expr_1=u.n,this.init([].concat([this._el_0]),[this._el_0,this._el_1],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===C.a&&1===e?this._Spinner_1_4:n},e.prototype.detectChangesInternal=function(t){var e=!0;e=!1;var n=this.parent.context.d.spinner;h.c(t,this._expr_0,n)&&(this._Spinner_1_4.name=n,e=!0,this._expr_0=n),e&&this._appEl_1.componentView.markAsCheckOnce(),0!==this.numberOfChecks||t||this._Spinner_1_4.ngOnInit(),this.detectContentChildrenChanges(t);var i=this._Spinner_1_4.paused;h.c(t,this._expr_1,i)&&(this.renderer.setElementClass(this._el_1,"spinner-paused",i),this._expr_1=i),this.detectViewChildrenChanges(t)},e}(a.a),D=function(t){function e(n,i,r){t.call(this,e,N,c.a.EMBEDDED,n,i,r,u.b.CheckAlways)}return A(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","loading-content"),this._expr_0=u.n,this.init([].concat([this._el_0]),[this._el_0],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this.parent.context.d.content;h.c(t,this._expr_0,e)&&(this.renderer.setElementProperty(this._el_0,"innerHTML",this.viewUtils.sanitizer.sanitize(T.b.HTML,e)),this._expr_0=e),this.detectViewChildrenChanges(t)},e}(a.a)},function(t,e,n){"use strict";function i(t,e,n){return null===C&&(C=t.createRenderComponentType("",0,x.c.None,[],{})),new E(t,e,n)}function r(t,e,n){return null===A&&(A=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/node_modules/ionic-angular/components/menu/menu.d.ts class Menu - inline template",1,x.c.None,T,{})),new I(t,e,n)}var s=n(10),o=n(6),a=n(295),_=n(34),l=n(11),h=n(5),c=n(4),u=n(113),p=n(14),d=n(2),f=n(23),m=n(49),g=n(56),v=n(48),x=n(8),y=n(7),b=n(131);e.a=r;var w=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},C=null,E=function(t){function e(n,i,r){t.call(this,e,C,h.a.HOST,n,i,r,c.b.CheckAlways)}return w(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-menu",t,null),this.renderer.setElementAttribute(this._el_0,"role","navigation"),this._appEl_0=new o.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._Menu_0_4=new a.a(this.parentInjector.get(u.a),new p.a(this._el_0),this.parentInjector.get(d.c),this.parentInjector.get(f.f),this.renderer,this.parentInjector.get(m.a),this.parentInjector.get(g.a),this.parentInjector.get(v.a)),this._query_Content_0_0=new _.a,this._appEl_0.initComponent(this._Menu_0_4,[],e),this._query_Content_0_0.reset([]),this._Menu_0_4.menuContent=this._query_Content_0_0.first,e.create(this._Menu_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===a.a&&0===e?this._Menu_0_4:n},e.prototype.detectChangesInternal=function(t){0!==this.numberOfChecks||t||this._Menu_0_4.ngOnInit(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Menu_0_4.ngOnDestroy()},e}(s.a),T=(new y.a("ion-menu",i,a.a),[]),A=null,I=function(t){function e(n,i,r){t.call(this,e,A,h.a.COMPONENT,n,i,r,c.b.CheckOnce)}return w(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._viewQuery_Backdrop_0=new _.a,this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","menu-inner"),this.renderer.projectNodes(this._el_0,l.d(this.projectableNodes[0])),this._el_1=this.renderer.createElement(e,"ion-backdrop",null),this.renderer.setElementAttribute(this._el_1,"disable-activated",""),this.renderer.setElementAttribute(this._el_1,"disableScroll","false"),this.renderer.setElementAttribute(this._el_1,"role","presentation"),this.renderer.setElementAttribute(this._el_1,"tappable",""),this._Backdrop_1_3=new b.a(this.parentInjector.get(v.a),new p.a(this._el_1),this.renderer),this._expr_0=c.n,this._viewQuery_Backdrop_0.reset([this._Backdrop_1_3]),this.context.backdrop=this._viewQuery_Backdrop_0.first,this.init([],[this._el_0,this._el_1],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===b.a&&1===e?this._Backdrop_1_3:n},e.prototype.detectChangesInternal=function(t){var e="false";l.c(t,this._expr_0,e)&&(this._Backdrop_1_3.disableScroll=e,this._expr_0=e),0!==this.numberOfChecks||t||this._Backdrop_1_3.ngOnInit(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Backdrop_1_3.ngOnDestroy()},e}(s.a)},function(t,e,n){"use strict";function i(t,e,n){return null===b&&(b=t.createRenderComponentType("",0,d.c.None,[],{})),new w(t,e,n)}function r(t,e,n){return null===T&&(T=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/node_modules/ionic-angular/components/modal/modal-component.d.ts class ModalCmp - inline template",0,d.c.None,E,{})),new A(t,e,n)}var s=n(10),o=n(6),a=n(296),_=n(11),l=n(5),h=n(4),c=n(51),u=n(27),p=n(13),d=n(8),f=n(7),m=n(34),g=n(131),v=n(48),x=n(14);n.d(e,"a",function(){return C});var y=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},b=null,w=function(t){function e(n,i,r){t.call(this,e,b,l.a.HOST,n,i,r,h.b.CheckAlways)}return y(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-modal",t,null),this._appEl_0=new o.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);this._ModalCmp_0_4=new a.a(this.parentInjector.get(c.a),this.renderer,this.parentInjector.get(u.a),this.parentInjector.get(p.a)),this._appEl_0.initComponent(this._ModalCmp_0_4,[],e),e.create(this._ModalCmp_0_4,this.projectableNodes,null);var n=this.renderer.listenGlobal("body","keyup",this.eventHandler(this._handle_keyup_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0],[n],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===a.a&&0===e?this._ModalCmp_0_4:n},e.prototype._handle_keyup_0_0=function(t){this._appEl_0.componentView.markPathToRootAsCheckOnce();var e=this._ModalCmp_0_4._keyUp(t)!==!1;return e},e}(s.a),C=new f.a("ion-modal",i,a.a),E=[],T=null,A=function(t){function e(n,i,r){t.call(this,e,T,l.a.COMPONENT,n,i,r,h.b.CheckAlways)}return y(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_viewport_0=new m.a,this._el_0=this.renderer.createElement(e,"ion-backdrop",null),this.renderer.setElementAttribute(this._el_0,"disable-activated",""),this.renderer.setElementAttribute(this._el_0,"disableScroll","false"),this.renderer.setElementAttribute(this._el_0,"role","presentation"),this.renderer.setElementAttribute(this._el_0,"tappable",""),this._Backdrop_0_3=new g.a(this.parentInjector.get(v.a),new x.a(this._el_0),this.renderer),this._el_1=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_1,"class","modal-wrapper"),this._el_2=this.renderer.createElement(this._el_1,"div",null),this.renderer.setElementAttribute(this._el_2,"nav-viewport",""),this._appEl_2=new o.a(2,1,this,this._el_2);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this._expr_1=h.n,this._viewQuery_viewport_0.reset([this._appEl_2.vcRef]),this.context._viewport=this._viewQuery_viewport_0.first,this.init([],[this._el_0,this._el_1,this._el_2],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===g.a&&0===e?this._Backdrop_0_3:n},e.prototype.detectChangesInternal=function(t){var e="false";_.c(t,this._expr_1,e)&&(this._Backdrop_0_3.disableScroll=e, this._expr_1=e),0!==this.numberOfChecks||t||this._Backdrop_0_3.ngOnInit(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Backdrop_0_3.ngOnDestroy()},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context._bdClick()!==!1;return e},e}(s.a)},function(t,e,n){"use strict";function i(t,e,n){return null===T&&(T=t.createRenderComponentType("",0,b.c.None,[],{})),new A(t,e,n)}function r(t,e,n){return null===S&&(S=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/node_modules/ionic-angular/components/nav/nav.d.ts class Nav - inline template",0,b.c.None,I,{})),new O(t,e,n)}var s=n(10),o=n(6),a=n(297),_=n(5),l=n(4),h=n(13),c=n(231),u=n(22),p=n(2),d=n(49),f=n(14),m=n(56),g=n(51),v=n(48),x=n(153),y=n(114),b=n(8),w=n(7),C=n(34);e.a=r;var E=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},T=null,A=function(t){function e(n,i,r){t.call(this,e,T,_.a.HOST,n,i,r,l.b.CheckAlways)}return E(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-nav",t,null),this._appEl_0=new o.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._Nav_0_4=new a.a(this.parentInjector.get(h.a,null),this.parentInjector.get(c.a,null),this.parentInjector.get(u.a),this.parentInjector.get(p.c),this.parentInjector.get(d.a),new f.a(this._el_0),this.parentInjector.get(m.a),this.renderer,this.parentInjector.get(g.a),this.parentInjector.get(v.a),this.parentInjector.get(x.a),this.parentInjector.get(y.b,null)),this._appEl_0.initComponent(this._Nav_0_4,[],e),e.create(this._Nav_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===a.a&&0===e?this._Nav_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._Nav_0_4.ngAfterViewInit()},e}(s.a),I=(new w.a("ion-nav",i,a.a),[]),S=null,O=function(t){function e(n,i,r){t.call(this,e,S,_.a.COMPONENT,n,i,r,l.b.CheckAlways)}return E(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._viewQuery_viewport_0=new C.a,this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"nav-viewport",""),this._appEl_0=new o.a(0,null,this,this._el_0),this._el_1=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_1,"class","nav-decor"),this._viewQuery_viewport_0.reset([this._appEl_0.vcRef]),this.context._vp=this._viewQuery_viewport_0.first,this.init([],[this._el_0,this._el_1],[],[]),null},e}(s.a)},function(t,e,n){"use strict";function i(t,e,n){return null===F&&(F=t.createRenderComponentType("",0,C.c.None,[],{})),new q(t,e,n)}function r(t,e,n){return null===H&&(H=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/node_modules/ionic-angular/components/picker/picker-component.d.ts class PickerColumnCmp - inline template",0,C.c.None,V,{})),new U(t,e,n)}function s(t,e,n){return new z(t,e,n)}function o(t,e,n){return new G(t,e,n)}function a(t,e,n){return new W(t,e,n)}function _(t,e,n){return null===Y&&(Y=t.createRenderComponentType("",0,C.c.None,[],{})),new $(t,e,n)}function l(t,e,n){return null===Q&&(Q=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/node_modules/ionic-angular/components/picker/picker-component.d.ts class PickerCmp - inline template",0,C.c.None,J,{})),new Z(t,e,n)}function h(t,e,n){return new K(t,e,n)}function c(t,e,n){return new tt(t,e,n)}var u=n(10),p=n(6),d=n(229),f=n(11),m=n(5),g=n(4),v=n(2),x=n(14),y=n(272),b=n(123),w=n(73),C=n(8),E=n(7),T=n(34),A=n(33),I=n(55),S=n(21),O=n(37),k=n(20),N=n(25),P=n(13),R=n(27),D=n(131),j=n(48),M=n(58),L=n(52);n.d(e,"a",function(){return X});var B=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},F=null,q=function(t){function e(n,i,r){t.call(this,e,F,m.a.HOST,n,i,r,g.b.CheckAlways)}return B(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("div",t,null),this.renderer.setElementAttribute(this._el_0,"class","picker-col"),this._appEl_0=new p.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._PickerColumnCmp_0_4=new d.a(this.parentInjector.get(v.c),new x.a(this._el_0),this.parentInjector.get(y.b),this.parentInjector.get(b.a)),this._appEl_0.initComponent(this._PickerColumnCmp_0_4,[],e),e.create(this._PickerColumnCmp_0_4,this.projectableNodes,null),this._expr_0=g.n,this._expr_1=g.n,this._expr_2=g.n,this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===d.a&&0===e?this._PickerColumnCmp_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this._PickerColumnCmp_0_4.col.columnWidth;f.c(t,this._expr_0,e)&&(this.renderer.setElementStyle(this._el_0,"min-width",null==this.viewUtils.sanitizer.sanitize(w.b.STYLE,e)?null:this.viewUtils.sanitizer.sanitize(w.b.STYLE,e).toString()),this._expr_0=e);var n="left"==this._PickerColumnCmp_0_4.col.align;f.c(t,this._expr_1,n)&&(this.renderer.setElementClass(this._el_0,"picker-opts-left",n),this._expr_1=n);var i="right"==this._PickerColumnCmp_0_4.col.align;f.c(t,this._expr_2,i)&&(this.renderer.setElementClass(this._el_0,"picker-opts-right",i),this._expr_2=i),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._PickerColumnCmp_0_4.ngAfterViewInit()},e.prototype.destroyInternal=function(){this._PickerColumnCmp_0_4.ngOnDestroy()},e}(u.a),V=(new E.a(".picker-col",i,d.a),[]),H=null,U=function(t){function e(n,i,r){t.call(this,e,H,m.a.COMPONENT,n,i,r,g.b.CheckAlways)}return B(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._viewQuery_colEle_0=new T.a,this._anchor_0=this.renderer.createTemplateAnchor(e,null),this._appEl_0=new p.a(0,null,this,this._anchor_0),this._TemplateRef_0_5=new S.a(this._appEl_0,s),this._NgIf_0_6=new A.a(this._appEl_0.vcRef,this._TemplateRef_0_5),this._el_1=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_1,"class","picker-opts"),this._anchor_2=this.renderer.createTemplateAnchor(this._el_1,null),this._appEl_2=new p.a(2,1,this,this._anchor_2),this._TemplateRef_2_5=new S.a(this._appEl_2,o),this._NgFor_2_6=new I.a(this._appEl_2.vcRef,this._TemplateRef_2_5,this.parentInjector.get(O.a),this.ref),this._anchor_3=this.renderer.createTemplateAnchor(e,null),this._appEl_3=new p.a(3,null,this,this._anchor_3),this._TemplateRef_3_5=new S.a(this._appEl_3,a),this._NgIf_3_6=new A.a(this._appEl_3.vcRef,this._TemplateRef_3_5),this._expr_0=g.n,this._expr_1=g.n,this._expr_2=g.n,this._expr_3=g.n,this._viewQuery_colEle_0.reset([new x.a(this._el_1)]),this.context.colEle=this._viewQuery_colEle_0.first,this.init([],[this._anchor_0,this._el_1,this._anchor_2,this._anchor_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===S.b&&0===e?this._TemplateRef_0_5:t===A.a&&0===e?this._NgIf_0_6:t===S.b&&2===e?this._TemplateRef_2_5:t===I.a&&2===e?this._NgFor_2_6:t===S.b&&3===e?this._TemplateRef_3_5:t===A.a&&3===e?this._NgIf_3_6:n},e.prototype.detectChangesInternal=function(t){var e=null,n=this.context.col.prefix;f.c(t,this._expr_0,n)&&(this._NgIf_0_6.ngIf=n,this._expr_0=n),e=null;var i=this.context.col.options;f.c(t,this._expr_2,i)&&(this._NgFor_2_6.ngForOf=i,null===e&&(e={}),e.ngForOf=new g.m(this._expr_2,i),this._expr_2=i),null!==e&&this._NgFor_2_6.ngOnChanges(e),t||this._NgFor_2_6.ngDoCheck();var r=this.context.col.suffix;f.c(t,this._expr_3,r)&&(this._NgIf_3_6.ngIf=r,this._expr_3=r),this.detectContentChildrenChanges(t);var s=this.context.col.optionsWidth;f.c(t,this._expr_1,s)&&(this.renderer.setElementStyle(this._el_1,"width",null==this.viewUtils.sanitizer.sanitize(w.b.STYLE,s)?null:this.viewUtils.sanitizer.sanitize(w.b.STYLE,s).toString()),this._expr_1=s),this.detectViewChildrenChanges(t)},e}(u.a),z=function(t){function e(n,i,r){t.call(this,e,H,m.a.EMBEDDED,n,i,r,g.b.CheckAlways)}return B(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","picker-prefix"),this._text_1=this.renderer.createText(this._el_0,"",null),this._expr_0=g.n,this._expr_1=g.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this.parent.context.col.prefixWidth;f.c(t,this._expr_0,e)&&(this.renderer.setElementStyle(this._el_0,"width",null==this.viewUtils.sanitizer.sanitize(w.b.STYLE,e)?null:this.viewUtils.sanitizer.sanitize(w.b.STYLE,e).toString()),this._expr_0=e);var n=f.e(1,"",this.parent.context.col.prefix,"");f.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_1,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(u.a),G=function(t){function e(n,i,r){t.call(this,e,H,m.a.EMBEDDED,n,i,r,g.b.CheckAlways)}return B(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"ion-button","picker-opt"),this.renderer.setElementAttribute(this._el_0,"type","button"),this._appEl_0=new p.a(0,null,this,this._el_0);var e=N.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new k.a(null,"picker-opt",this.parent.parentInjector.get(v.c),new x.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"",null),e.create(this._Button_0_4,[[].concat([this._text_1])],null),this._expr_1=g.n,this._expr_2=g.n,this._expr_3=g.n,this._expr_4=g.n,this._expr_5=g.n,this._expr_6=g.n;var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this._expr_7=g.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===k.a&&0<=e&&e<=1?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit();var e=this.context.$implicit._trans;f.c(t,this._expr_1,e)&&(this.renderer.setElementStyle(this._el_0,"transform",null==this.viewUtils.sanitizer.sanitize(w.b.STYLE,e)?null:this.viewUtils.sanitizer.sanitize(w.b.STYLE,e).toString()),this._expr_1=e);var n=this.context.$implicit._dur;f.c(t,this._expr_2,n)&&(this.renderer.setElementStyle(this._el_0,"transitionDuration",null==this.viewUtils.sanitizer.sanitize(w.b.STYLE,n)?null:this.viewUtils.sanitizer.sanitize(w.b.STYLE,n).toString()),this._expr_2=n);var i=this.context.$implicit._trans;f.c(t,this._expr_3,i)&&(this.renderer.setElementStyle(this._el_0,"webkitTransform",null==this.viewUtils.sanitizer.sanitize(w.b.STYLE,i)?null:this.viewUtils.sanitizer.sanitize(w.b.STYLE,i).toString()),this._expr_3=i);var r=this.context.$implicit._dur;f.c(t,this._expr_4,r)&&(this.renderer.setElementStyle(this._el_0,"webkitTransitionDuration",null==this.viewUtils.sanitizer.sanitize(w.b.STYLE,r)?null:this.viewUtils.sanitizer.sanitize(w.b.STYLE,r).toString()),this._expr_4=r);var s=this.parent.context.col.selectedIndex===this.context.index;f.c(t,this._expr_5,s)&&(this.renderer.setElementClass(this._el_0,"picker-opt-selected",s),this._expr_5=s);var o=this.context.$implicit.disabled;f.c(t,this._expr_6,o)&&(this.renderer.setElementClass(this._el_0,"picker-opt-disabled",o),this._expr_6=o);var a=f.e(1,"",this.context.$implicit.text,"");f.c(t,this._expr_7,a)&&(this.renderer.setText(this._text_1,a),this._expr_7=a),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.optClick(t,this.context.index)!==!1;return e},e}(u.a),W=function(t){function e(n,i,r){t.call(this,e,H,m.a.EMBEDDED,n,i,r,g.b.CheckAlways)}return B(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","picker-suffix"),this._text_1=this.renderer.createText(this._el_0,"",null),this._expr_0=g.n,this._expr_1=g.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this.parent.context.col.suffixWidth;f.c(t,this._expr_0,e)&&(this.renderer.setElementStyle(this._el_0,"width",null==this.viewUtils.sanitizer.sanitize(w.b.STYLE,e)?null:this.viewUtils.sanitizer.sanitize(w.b.STYLE,e).toString()),this._expr_0=e);var n=f.e(1,"",this.parent.context.col.suffix,"");f.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_1,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(u.a),Y=null,$=function(t){function e(n,i,r){t.call(this,e,Y,m.a.HOST,n,i,r,g.b.CheckAlways)}return B(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-picker-cmp",t,null),this.renderer.setElementAttribute(this._el_0,"role","dialog"),this._appEl_0=new p.a(0,null,this,this._el_0);var e=l(this.viewUtils,this.injector(0),this._appEl_0);this._PickerCmp_0_4=new d.b(this.parentInjector.get(P.a),new x.a(this._el_0),this.parentInjector.get(v.c),this.parentInjector.get(R.a),this.renderer),this._appEl_0.initComponent(this._PickerCmp_0_4,[],e),e.create(this._PickerCmp_0_4,this.projectableNodes,null);var n=this.renderer.listenGlobal("body","keyup",this.eventHandler(this._handle_keyup_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0],[n],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===d.b&&0===e?this._PickerCmp_0_4:n},e.prototype._handle_keyup_0_0=function(t){this._appEl_0.componentView.markPathToRootAsCheckOnce();var e=this._PickerCmp_0_4._keyUp(t)!==!1;return e},e}(u.a),X=new E.a("ion-picker-cmp",_,d.b),J=[],Q=null,Z=function(t){function e(n,i,r){t.call(this,e,Q,m.a.COMPONENT,n,i,r,g.b.CheckAlways)}return B(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_PickerColumnCmp_0=new T.a,this._text_0=this.renderer.createText(e,"\n ",null),this._el_1=this.renderer.createElement(e,"ion-backdrop",null),this.renderer.setElementAttribute(this._el_1,"disable-activated",""),this.renderer.setElementAttribute(this._el_1,"role","presentation"),this.renderer.setElementAttribute(this._el_1,"tappable",""),this._Backdrop_1_3=new D.a(this.parentInjector.get(j.a),new x.a(this._el_1),this.renderer),this._text_2=this.renderer.createText(e,"\n ",null),this._el_3=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_3,"class","picker-wrapper"),this._text_4=this.renderer.createText(this._el_3,"\n ",null),this._el_5=this.renderer.createElement(this._el_3,"div",null),this.renderer.setElementAttribute(this._el_5,"class","picker-toolbar"),this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._anchor_7=this.renderer.createTemplateAnchor(this._el_5,null),this._appEl_7=new p.a(7,5,this,this._anchor_7),this._TemplateRef_7_5=new S.a(this._appEl_7,h),this._NgFor_7_6=new I.a(this._appEl_7.vcRef,this._TemplateRef_7_5,this.parentInjector.get(O.a),this.ref),this._text_8=this.renderer.createText(this._el_5,"\n ",null),this._text_9=this.renderer.createText(this._el_3,"\n ",null),this._el_10=this.renderer.createElement(this._el_3,"div",null),this.renderer.setElementAttribute(this._el_10,"class","picker-columns"),this._text_11=this.renderer.createText(this._el_10,"\n ",null),this._el_12=this.renderer.createElement(this._el_10,"div",null),this.renderer.setElementAttribute(this._el_12,"class","picker-above-highlight"),this._text_13=this.renderer.createText(this._el_10,"\n ",null),this._anchor_14=this.renderer.createTemplateAnchor(this._el_10,null),this._appEl_14=new p.a(14,10,this,this._anchor_14),this._TemplateRef_14_5=new S.a(this._appEl_14,c),this._NgFor_14_6=new I.a(this._appEl_14.vcRef,this._TemplateRef_14_5,this.parentInjector.get(O.a),this.ref),this._text_15=this.renderer.createText(this._el_10,"\n ",null),this._el_16=this.renderer.createElement(this._el_10,"div",null),this.renderer.setElementAttribute(this._el_16,"class","picker-below-highlight"),this._text_17=this.renderer.createText(this._el_10,"\n ",null),this._text_18=this.renderer.createText(this._el_3,"\n ",null),this._text_19=this.renderer.createText(e,"\n ",null);var n=this.renderer.listen(this._el_1,"click",this.eventHandler(this._handle_click_1_0.bind(this)));return this._expr_1=g.n,this._expr_2=g.n,this.init([],[this._text_0,this._el_1,this._text_2,this._el_3,this._text_4,this._el_5,this._text_6,this._anchor_7,this._text_8,this._text_9,this._el_10,this._text_11,this._el_12,this._text_13,this._anchor_14,this._text_15,this._el_16,this._text_17,this._text_18,this._text_19],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===D.a&&1===e?this._Backdrop_1_3:t===S.b&&7===e?this._TemplateRef_7_5:t===I.a&&7===e?this._NgFor_7_6:t===S.b&&14===e?this._TemplateRef_14_5:t===I.a&&14===e?this._NgFor_14_6:n},e.prototype.detectChangesInternal=function(t){var e=null;0!==this.numberOfChecks||t||this._Backdrop_1_3.ngOnInit(),e=null;var n=this.context.d.buttons;f.c(t,this._expr_1,n)&&(this._NgFor_7_6.ngForOf=n,null===e&&(e={}),e.ngForOf=new g.m(this._expr_1,n),this._expr_1=n),null!==e&&this._NgFor_7_6.ngOnChanges(e),t||this._NgFor_7_6.ngDoCheck(),e=null;var i=this.context.d.columns;f.c(t,this._expr_2,i)&&(this._NgFor_14_6.ngForOf=i,null===e&&(e={}),e.ngForOf=new g.m(this._expr_2,i),this._expr_2=i),null!==e&&this._NgFor_14_6.ngOnChanges(e),t||this._NgFor_14_6.ngDoCheck(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t),t||this._viewQuery_PickerColumnCmp_0.dirty&&(this._viewQuery_PickerColumnCmp_0.reset([this._appEl_14.mapNestedViews(tt,function(t){return[t._PickerColumnCmp_0_4]})]),this.context._cols=this._viewQuery_PickerColumnCmp_0,this._viewQuery_PickerColumnCmp_0.notifyOnChanges())},e.prototype.destroyInternal=function(){this._Backdrop_1_3.ngOnDestroy()},e.prototype._handle_click_1_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.bdClick()!==!1;return e},e}(u.a),K=function(t){function e(n,i,r){t.call(this,e,Q,m.a.EMBEDDED,n,i,r,g.b.CheckAlways)}return B(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","picker-toolbar-button"),this._NgClass_0_3=new M.a(this.parent.parentInjector.get(O.a),this.parent.parentInjector.get(L.a),new x.a(this._el_0),this.renderer),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"button",null),this.renderer.setElementAttribute(this._el_2,"class","picker-button"),this.renderer.setElementAttribute(this._el_2,"clear",""),this.renderer.setElementAttribute(this._el_2,"ion-button",""),this._appEl_2=new p.a(2,0,this,this._el_2);var e=N.a(this.viewUtils,this.injector(2),this._appEl_2);this._NgClass_2_4=new M.a(this.parent.parentInjector.get(O.a),this.parent.parentInjector.get(L.a),new x.a(this._el_2),this.renderer),this._Button_2_5=new k.a(null,"",this.parent.parentInjector.get(v.c),new x.a(this._el_2),this.renderer),this._appEl_2.initComponent(this._Button_2_5,[],e),this._text_3=this.renderer.createText(null,"",null),e.create(this._Button_2_5,[[].concat([this._text_3])],null),this._text_4=this.renderer.createText(this._el_0,"\n ",null),this._expr_0=g.n,this._expr_1=g.n;var n=this.renderer.listen(this._el_2,"click",this.eventHandler(this._handle_click_2_0.bind(this)));return this._expr_3=g.n,this._expr_4=g.n,this._expr_5=g.n,this._expr_6=g.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===M.a&&2<=e&&e<=3?this._NgClass_2_4:t===k.a&&2<=e&&e<=3?this._Button_2_5:t===M.a&&0<=e&&e<=4?this._NgClass_0_3:n},e.prototype.detectChangesInternal=function(t){var e=!0,n="picker-toolbar-button";f.c(t,this._expr_0,n)&&(this._NgClass_0_3.klass=n,this._expr_0=n);var i=this.context.$implicit.cssRole;f.c(t,this._expr_1,i)&&(this._NgClass_0_3.ngClass=i,this._expr_1=i),t||this._NgClass_0_3.ngDoCheck();var r="picker-button";f.c(t,this._expr_3,r)&&(this._NgClass_2_4.klass=r,this._expr_3=r);var s=this.context.$implicit.cssClass;f.c(t,this._expr_4,s)&&(this._NgClass_2_4.ngClass=s,this._expr_4=s),t||this._NgClass_2_4.ngDoCheck(),e=!1;var o="";f.c(t,this._expr_5,o)&&(this._Button_2_5.clear=o,e=!0,this._expr_5=o),e&&this._appEl_2.componentView.markAsCheckOnce(),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_2_5.ngAfterContentInit();var a=f.e(1,"\n ",this.context.$implicit.text,"\n ");f.c(t,this._expr_6,a)&&(this.renderer.setText(this._text_3,a),this._expr_6=a),this.detectViewChildrenChanges(t)},e.prototype._handle_click_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.btnClick(this.context.$implicit)!==!1;return e},e}(u.a),tt=function(t){function e(n,i,r){t.call(this,e,Q,m.a.EMBEDDED,n,i,r,g.b.CheckAlways)}return B(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","picker-col"),this._appEl_0=new p.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);this._PickerColumnCmp_0_4=new d.a(this.parent.parentInjector.get(v.c),new x.a(this._el_0),this.parent.parentInjector.get(y.b),this.parent.parentInjector.get(b.a)),this._appEl_0.initComponent(this._PickerColumnCmp_0_4,[],e),e.create(this._PickerColumnCmp_0_4,[],null);var n=this.renderer.listen(this._el_0,"ionChange",this.eventHandler(this._handle_ionChange_0_0.bind(this)));this._expr_1=g.n,this._expr_2=g.n,this._expr_3=g.n,this._expr_4=g.n;var i=this._PickerColumnCmp_0_4.ionChange.subscribe(this.eventHandler(this._handle_ionChange_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0],[n],[i]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===d.a&&0===e?this._PickerColumnCmp_0_4:n},e.prototype.detectChangesInternal=function(t){var e=this.context.$implicit;f.c(t,this._expr_1,e)&&(this._PickerColumnCmp_0_4.col=e,this._expr_1=e),this.detectContentChildrenChanges(t);var n=this._PickerColumnCmp_0_4.col.columnWidth;f.c(t,this._expr_2,n)&&(this.renderer.setElementStyle(this._el_0,"min-width",null==this.viewUtils.sanitizer.sanitize(w.b.STYLE,n)?null:this.viewUtils.sanitizer.sanitize(w.b.STYLE,n).toString()),this._expr_2=n);var i="left"==this._PickerColumnCmp_0_4.col.align;f.c(t,this._expr_3,i)&&(this.renderer.setElementClass(this._el_0,"picker-opts-left",i),this._expr_3=i);var r="right"==this._PickerColumnCmp_0_4.col.align;f.c(t,this._expr_4,r)&&(this.renderer.setElementClass(this._el_0,"picker-opts-right",r),this._expr_4=r),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._PickerColumnCmp_0_4.ngAfterViewInit()},e.prototype.dirtyParentQueriesInternal=function(){this.parent._viewQuery_PickerColumnCmp_0.setDirty()},e.prototype.destroyInternal=function(){this._PickerColumnCmp_0_4.ngOnDestroy()},e.prototype._handle_ionChange_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context._colChange(t)!==!1;return e},e}(u.a)},function(t,e,n){"use strict";function i(t,e,n){return null===w&&(w=t.createRenderComponentType("",0,m.c.None,[],{})),new C(t,e,n)}function r(t,e,n){return null===A&&(A=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/node_modules/ionic-angular/components/popover/popover-component.d.ts class PopoverCmp - inline template",0,m.c.None,T,{})),new I(t,e,n)}var s=n(10),o=n(6),a=n(300),_=n(11),l=n(5),h=n(4),c=n(51),u=n(14),p=n(2),d=n(27),f=n(13),m=n(8),g=n(7),v=n(34),x=n(131),y=n(48);n.d(e,"a",function(){return E});var b=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},w=null,C=function(t){function e(n,i,r){t.call(this,e,w,l.a.HOST,n,i,r,h.b.CheckAlways)}return b(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-popover",t,null),this._appEl_0=new o.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);this._PopoverCmp_0_4=new a.a(this.parentInjector.get(c.a),new u.a(this._el_0),this.renderer,this.parentInjector.get(p.c),this.parentInjector.get(d.a),this.parentInjector.get(f.a)),this._appEl_0.initComponent(this._PopoverCmp_0_4,[],e),e.create(this._PopoverCmp_0_4,this.projectableNodes,null);var n=this.renderer.listenGlobal("body","keyup",this.eventHandler(this._handle_keyup_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0],[n],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===a.a&&0===e?this._PopoverCmp_0_4:n},e.prototype._handle_keyup_0_0=function(t){this._appEl_0.componentView.markPathToRootAsCheckOnce();var e=this._PopoverCmp_0_4._keyUp(t)!==!1;return e},e}(s.a),E=new g.a("ion-popover",i,a.a),T=[],A=null,I=function(t){function e(n,i,r){t.call(this,e,A,l.a.COMPONENT,n,i,r,h.b.CheckAlways)}return b(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_viewport_0=new v.a,this._el_0=this.renderer.createElement(e,"ion-backdrop",null),this.renderer.setElementAttribute(this._el_0,"disable-activated",""),this.renderer.setElementAttribute(this._el_0,"role","presentation"),this.renderer.setElementAttribute(this._el_0,"tappable",""),this._Backdrop_0_3=new x.a(this.parentInjector.get(y.a),new u.a(this._el_0),this.renderer),this._el_1=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_1,"class","popover-wrapper"),this._el_2=this.renderer.createElement(this._el_1,"div",null),this.renderer.setElementAttribute(this._el_2,"class","popover-arrow"),this._el_3=this.renderer.createElement(this._el_1,"div",null),this.renderer.setElementAttribute(this._el_3,"class","popover-content"),this._el_4=this.renderer.createElement(this._el_3,"div",null),this.renderer.setElementAttribute(this._el_4,"class","popover-viewport"),this._el_5=this.renderer.createElement(this._el_4,"div",null),this.renderer.setElementAttribute(this._el_5,"nav-viewport",""),this._appEl_5=new o.a(5,4,this,this._el_5),this._expr_1=h.n;var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this._viewQuery_viewport_0.reset([this._appEl_5.vcRef]),this.context._viewport=this._viewQuery_viewport_0.first,this.init([],[this._el_0,this._el_1,this._el_2,this._el_3,this._el_4,this._el_5],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===x.a&&0===e?this._Backdrop_0_3:n},e.prototype.detectChangesInternal=function(t){0!==this.numberOfChecks||t||this._Backdrop_0_3.ngOnInit(),this.detectContentChildrenChanges(t);var e=!this.context.d.showBackdrop;_.c(t,this._expr_1,e)&&(this.renderer.setElementClass(this._el_0,"hide-backdrop",e),this._expr_1=e),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Backdrop_0_3.ngOnDestroy()},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context._bdClick()!==!1;return e},e}(s.a)},function(t,e,n){"use strict";function i(t,e,n){return null===E&&(E=t.createRenderComponentType("",0,g.c.None,[],{})),new T(t,e,n)}function r(t,e,n){return null===S&&(S=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/node_modules/ionic-angular/components/toast/toast-component.d.ts class ToastCmp - inline template",0,g.c.None,I,{})),new O(t,e,n)}function s(t,e,n){return new k(t,e,n)}function o(t,e,n){return new N(t,e,n)}var a=n(10),_=n(6),l=n(301),h=n(11),c=n(5),u=n(4),p=n(13),d=n(2),f=n(14),m=n(27),g=n(8),v=n(7),x=n(33),y=n(21),b=n(20),w=n(25);n.d(e,"a",function(){return A});var C=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},E=null,T=function(t){function e(n,i,r){t.call(this,e,E,c.a.HOST,n,i,r,u.b.CheckAlways)}return C(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ion-toast",t,null),this.renderer.setElementAttribute(this._el_0,"role","dialog"),this._appEl_0=new _.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._ToastCmp_0_4=new l.a(this.parentInjector.get(p.a),this.parentInjector.get(d.c),new f.a(this._el_0),this.parentInjector.get(m.a),this.renderer),this._appEl_0.initComponent(this._ToastCmp_0_4,[],e),e.create(this._ToastCmp_0_4,this.projectableNodes,null),this._expr_0=u.n,this._expr_1=u.n,this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===l.a&&0===e?this._ToastCmp_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this._ToastCmp_0_4.hdrId;h.c(t,this._expr_0,e)&&(this.renderer.setElementAttribute(this._el_0,"aria-labelledby",null==e?null:e.toString()),this._expr_0=e);var n=this._ToastCmp_0_4.descId;h.c(t,this._expr_1,n)&&(this.renderer.setElementAttribute(this._el_0,"aria-describedby",null==n?null:n.toString()),this._expr_1=n),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._ToastCmp_0_4.ngAfterViewInit()},e}(a.a),A=new v.a("ion-toast",i,l.a),I=[],S=null,O=function(t){function e(n,i,r){t.call(this,e,S,c.a.COMPONENT,n,i,r,u.b.CheckAlways)}return C(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","toast-wrapper"),this._text_1=this.renderer.createText(this._el_0," ",null),this._el_2=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_2,"class","toast-container"),this._text_3=this.renderer.createText(this._el_2," ",null),this._anchor_4=this.renderer.createTemplateAnchor(this._el_2,null),this._appEl_4=new _.a(4,2,this,this._anchor_4),this._TemplateRef_4_5=new y.a(this._appEl_4,s),this._NgIf_4_6=new x.a(this._appEl_4.vcRef,this._TemplateRef_4_5),this._text_5=this.renderer.createText(this._el_2," ",null),this._anchor_6=this.renderer.createTemplateAnchor(this._el_2,null),this._appEl_6=new _.a(6,2,this,this._anchor_6),this._TemplateRef_6_5=new y.a(this._appEl_6,o),this._NgIf_6_6=new x.a(this._appEl_6.vcRef,this._TemplateRef_6_5),this._text_7=this.renderer.createText(this._el_2," ",null),this._text_8=this.renderer.createText(this._el_0," ",null),this._expr_0=u.n,this._expr_1=u.n,this._expr_2=u.n,this._expr_3=u.n,this._expr_4=u.n,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._anchor_4,this._text_5,this._anchor_6,this._text_7,this._text_8],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===y.b&&4===e?this._TemplateRef_4_5:t===x.a&&4===e?this._NgIf_4_6:t===y.b&&6===e?this._TemplateRef_6_5:t===x.a&&6===e?this._NgIf_6_6:n},e.prototype.detectChangesInternal=function(t){var e=this.context.d.message;h.c(t,this._expr_3,e)&&(this._NgIf_4_6.ngIf=e,this._expr_3=e);var n=this.context.d.showCloseButton;h.c(t,this._expr_4,n)&&(this._NgIf_6_6.ngIf=n,this._expr_4=n),this.detectContentChildrenChanges(t);var i="bottom"===this.context.d.position; h.c(t,this._expr_0,i)&&(this.renderer.setElementClass(this._el_0,"toast-bottom",i),this._expr_0=i);var r="middle"===this.context.d.position;h.c(t,this._expr_1,r)&&(this.renderer.setElementClass(this._el_0,"toast-middle",r),this._expr_1=r);var s="top"===this.context.d.position;h.c(t,this._expr_2,s)&&(this.renderer.setElementClass(this._el_0,"toast-top",s),this._expr_2=s),this.detectViewChildrenChanges(t)},e}(a.a),k=function(t){function e(n,i,r){t.call(this,e,S,c.a.EMBEDDED,n,i,r,u.b.CheckAlways)}return C(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","toast-message"),this._text_1=this.renderer.createText(this._el_0,"",null),this._expr_0=u.n,this._expr_1=u.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=h.e(1,"",this.parent.context.hdrId,"");h.c(t,this._expr_0,e)&&(this.renderer.setElementProperty(this._el_0,"id",e),this._expr_0=e);var n=h.e(1,"",this.parent.context.d.message,"");h.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_1,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(a.a),N=function(t){function e(n,i,r){t.call(this,e,S,c.a.EMBEDDED,n,i,r,u.b.CheckAlways)}return C(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","toast-button"),this.renderer.setElementAttribute(this._el_0,"clear",""),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new _.a(0,null,this,this._el_0);var e=w.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new b.a(null,"",this.parent.parentInjector.get(d.c),new f.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"",null),e.create(this._Button_0_4,[[].concat([this._text_1])],null);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this._expr_1=u.n,this._expr_2=u.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===b.a&&0<=e&&e<=1?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){var e=!0;e=!1;var n="";h.c(t,this._expr_1,n)&&(this._Button_0_4.clear=n,e=!0,this._expr_1=n),e&&this._appEl_0.componentView.markAsCheckOnce(),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit();var i=h.e(1," ",this.parent.context.d.closeButtonText||"Close"," ");h.c(t,this._expr_2,i)&&(this.renderer.setText(this._text_1,i),this._expr_2=i),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.cbClick()!==!1;return e},e}(a.a)},function(t,e,n){"use strict";function i(t,e,n){return null===X&&(X=t.createRenderComponentType("",0,g.c.None,[],{})),new J(t,e,n)}function r(t,e,n){return null===K&&(K=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/app/app.html",0,g.c.None,Z,{})),new tt(t,e,n)}function s(t,e,n){return new et(t,e,n)}function o(t,e,n){return new nt(t,e,n)}var a=n(10),_=n(6),l=n(356),h=n(11),c=n(5),u=n(4),p=n(23),d=n(113),f=n(31),m=n(43),g=n(8),v=n(7),x=n(34),y=n(295),b=n(122),w=n(46),C=n(112),E=n(55),T=n(44),A=n(33),I=n(297),S=n(786),O=n(14),k=n(2),N=n(49),P=n(56),R=n(48),D=n(13),j=n(469),M=n(81),L=n(22),B=n(67),F=n(21),q=n(37),V=n(118),H=n(39),U=n(788),z=n(231),G=n(51),W=n(153),Y=n(114);n.d(e,"a",function(){return Q});var $=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},X=null,J=function(t){function e(n,i,r){t.call(this,e,X,c.a.HOST,n,i,r,u.b.CheckAlways)}return $(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ng-component",t,null),this._appEl_0=new _.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._MyApp_0_4=new l.a(this.parentInjector.get(p.f),this.parentInjector.get(d.a),this.parentInjector.get(f.a),this.parentInjector.get(m.DeviceManagerService)),this._appEl_0.initComponent(this._MyApp_0_4,[],e),e.create(this._MyApp_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===l.a&&0===e?this._MyApp_0_4:n},e}(a.a),Q=new v.a("ng-component",i,l.a),Z=[],K=null,tt=function(t){function e(n,i,r){t.call(this,e,K,c.a.COMPONENT,n,i,r,u.b.CheckAlways)}return $(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_Nav_0=new x.a,this._el_0=this.renderer.createElement(e,"ion-menu",null),this.renderer.setElementAttribute(this._el_0,"class","skinned-menu"),this.renderer.setElementAttribute(this._el_0,"role","navigation"),this.renderer.setElementAttribute(this._el_0,"swipeEnabled","false"),this._appEl_0=new _.a(0,null,this,this._el_0);var n=S.a(this.viewUtils,this.injector(0),this._appEl_0);this._Menu_0_4=new y.a(this.parentInjector.get(d.a),new O.a(this._el_0),this.parentInjector.get(k.c),this.parentInjector.get(p.f),this.renderer,this.parentInjector.get(N.a),this.parentInjector.get(P.a),this.parentInjector.get(R.a)),this._query_Content_0_0=new x.a,this._appEl_0.initComponent(this._Menu_0_4,[],n),this._text_1=this.renderer.createText(null,"\n\n ",null),this._el_2=this.renderer.createElement(null,"ion-header",null),this._Header_2_3=new b.b(this.parentInjector.get(k.c),new O.a(this._el_2),this.renderer,this.parentInjector.get(D.a,null)),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-toolbar",null),this.renderer.setElementAttribute(this._el_4,"class","toolbar"),this._appEl_4=new _.a(4,2,this,this._el_4);var i=j.a(this.viewUtils,this.injector(4),this._appEl_4);this._Toolbar_4_4=new b.c(this.parentInjector.get(D.a,null),this.parentInjector.get(k.c),new O.a(this._el_4),this.renderer),this._appEl_4.initComponent(this._Toolbar_4_4,[],i),this._text_5=this.renderer.createText(null,"\n ",null),this._el_6=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_6,"class","menu-logo-container"),this._text_7=this.renderer.createText(this._el_6,"\n ",null),this._el_8=this.renderer.createElement(this._el_6,"img",null),this.renderer.setElementAttribute(this._el_8,"class","menu-logo"),this.renderer.setElementAttribute(this._el_8,"src","assets/img/waveforms-live.svg"),this._text_9=this.renderer.createText(this._el_6,"\n ",null),this._text_10=this.renderer.createText(null,"\n ",null),i.create(this._Toolbar_4_4,[[],[],[],[].concat([this._text_5,this._el_6,this._text_10])],null),this._text_11=this.renderer.createText(this._el_2,"\n ",null),this._text_12=this.renderer.createText(null,"\n\n ",null),this._el_13=this.renderer.createElement(null,"ion-content",null),this._appEl_13=new _.a(13,0,this,this._el_13);var r=M.a(this.viewUtils,this.injector(13),this._appEl_13);this._Content_13_4=new w.a(this.parentInjector.get(k.c),new O.a(this._el_13),this.renderer,this.parentInjector.get(L.a),this.parentInjector.get(N.a),this.parentInjector.get(P.a),this.parentInjector.get(D.a,null),this.parentInjector.get(B.a,null)),this._appEl_13.initComponent(this._Content_13_4,[],r),this._text_14=this.renderer.createText(null,"\n ",null),this._el_15=this.renderer.createElement(null,"ion-list",null),this._List_15_3=new C.a(this.parentInjector.get(k.c),new O.a(this._el_15),this.renderer,this.parentInjector.get(R.a)),this._text_16=this.renderer.createText(this._el_15,"\n ",null),this._anchor_17=this.renderer.createTemplateAnchor(this._el_15,null),this._appEl_17=new _.a(17,15,this,this._anchor_17),this._TemplateRef_17_5=new F.a(this._appEl_17,s),this._NgFor_17_6=new E.a(this._appEl_17.vcRef,this._TemplateRef_17_5,this.parentInjector.get(q.a),this.ref),this._text_18=this.renderer.createText(this._el_15,"\n\n ",null),this._el_19=this.renderer.createElement(this._el_15,"button",null),this.renderer.setElementAttribute(this._el_19,"class","item item-block"),this.renderer.setElementAttribute(this._el_19,"ion-item",""),this._appEl_19=new _.a(19,15,this,this._el_19);var a=V.a(this.viewUtils,this.injector(19),this._appEl_19);this._Item_19_4=new T.a(this.parentInjector.get(H.a),this.parentInjector.get(k.c),new O.a(this._el_19),this.renderer),this._ItemContent_19_5=new T.b,this._query_Label_19_0=new x.a,this._query_Button_19_1=new x.a,this._query_Icon_19_2=new x.a,this._appEl_19.initComponent(this._Item_19_4,[],a),this._text_20=this.renderer.createText(null,"\n Feedback And Support\n ",null),this._query_Label_19_0.reset([]),this._Item_19_4.contentLabel=this._query_Label_19_0.first,a.create(this._Item_19_4,[[],[],[].concat([this._text_20]),[],[]],null),this._text_21=this.renderer.createText(this._el_15,"\n ",null),this._el_22=this.renderer.createElement(this._el_15,"button",null),this.renderer.setElementAttribute(this._el_22,"class","item item-block"),this.renderer.setElementAttribute(this._el_22,"ion-item",""),this._appEl_22=new _.a(22,15,this,this._el_22);var l=V.a(this.viewUtils,this.injector(22),this._appEl_22);this._Item_22_4=new T.a(this.parentInjector.get(H.a),this.parentInjector.get(k.c),new O.a(this._el_22),this.renderer),this._ItemContent_22_5=new T.b,this._query_Label_22_0=new x.a,this._query_Button_22_1=new x.a,this._query_Icon_22_2=new x.a,this._appEl_22.initComponent(this._Item_22_4,[],l),this._text_23=this.renderer.createText(null,"\n Documentation\n ",null),this._query_Label_22_0.reset([]),this._Item_22_4.contentLabel=this._query_Label_22_0.first,l.create(this._Item_22_4,[[],[],[].concat([this._text_23]),[],[]],null),this._text_24=this.renderer.createText(this._el_15,"\n ",null),this._anchor_25=this.renderer.createTemplateAnchor(this._el_15,null),this._appEl_25=new _.a(25,15,this,this._anchor_25),this._TemplateRef_25_5=new F.a(this._appEl_25,o),this._NgIf_25_6=new A.a(this._appEl_25.vcRef,this._TemplateRef_25_5),this._text_26=this.renderer.createText(this._el_15,"\n ",null),this._text_27=this.renderer.createText(null,"\n ",null),r.create(this._Content_13_4,[[],[].concat([this._text_14,this._el_15,this._text_27]),[]],null),this._text_28=this.renderer.createText(null,"\n\n",null),this._query_Content_0_0.reset([this._Content_13_4]),this._Menu_0_4.menuContent=this._query_Content_0_0.first,n.create(this._Menu_0_4,[[].concat([this._text_1,this._el_2,this._text_12,this._el_13,this._text_28])],null),this._text_29=this.renderer.createText(e,"\n\n",null),this._el_30=this.renderer.createElement(e,"ion-nav",null),this.renderer.setElementAttribute(this._el_30,"swipeBackEnabled","false"),this._appEl_30=new _.a(30,null,this,this._el_30);var h=U.a(this.viewUtils,this.injector(30),this._appEl_30);this._Nav_30_4=new I.a(this.parentInjector.get(D.a,null),this.parentInjector.get(z.a,null),this.parentInjector.get(L.a),this.parentInjector.get(k.c),this.parentInjector.get(N.a),new O.a(this._el_30),this.parentInjector.get(P.a),this.renderer,this.parentInjector.get(G.a),this.parentInjector.get(R.a),this.parentInjector.get(W.a),this.parentInjector.get(Y.b,null)),this._appEl_30.initComponent(this._Nav_30_4,[],h),h.create(this._Nav_30_4,[],null),this._expr_0=u.n,this._expr_1=u.n,this._expr_2=u.n,this._expr_3=u.n,this._expr_4=u.n;var c=this.renderer.listen(this._el_19,"tap",this.eventHandler(this._handle_tap_19_0.bind(this))),f=this.renderer.listen(this._el_22,"tap",this.eventHandler(this._handle_tap_22_0.bind(this)));return this._expr_7=u.n,this._expr_8=u.n,this._expr_9=u.n,this._viewQuery_Nav_0.reset([this._Nav_30_4]),this.context.nav=this._viewQuery_Nav_0.first,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9,this._text_10,this._text_11,this._text_12,this._el_13,this._text_14,this._el_15,this._text_16,this._anchor_17,this._text_18,this._el_19,this._text_20,this._text_21,this._el_22,this._text_23,this._text_24,this._anchor_25,this._text_26,this._text_27,this._text_28,this._text_29,this._el_30],[c,f],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===b.c&&4<=e&&e<=10?this._Toolbar_4_4:t===b.b&&2<=e&&e<=11?this._Header_2_3:t===F.b&&17===e?this._TemplateRef_17_5:t===E.a&&17===e?this._NgFor_17_6:t===T.a&&19<=e&&e<=20?this._Item_19_4:t===T.b&&19<=e&&e<=20?this._ItemContent_19_5:t===T.a&&22<=e&&e<=23?this._Item_22_4:t===T.b&&22<=e&&e<=23?this._ItemContent_22_5:t===F.b&&25===e?this._TemplateRef_25_5:t===A.a&&25===e?this._NgIf_25_6:t===C.a&&15<=e&&e<=26?this._List_15_3:t===w.a&&13<=e&&e<=27?this._Content_13_4:t===y.a&&0<=e&&e<=28?this._Menu_0_4:t===I.a&&30===e?this._Nav_30_4:n},e.prototype.detectChangesInternal=function(t){var e=!0,n=null;e=!1;var i=this._Nav_30_4;h.c(t,this._expr_0,i)&&(this._Menu_0_4.content=i,e=!0,this._expr_0=i);var r="false";h.c(t,this._expr_1,r)&&(this._Menu_0_4.swipeEnabled=r,e=!0,this._expr_1=r),e&&this._appEl_0.componentView.markAsCheckOnce(),0!==this.numberOfChecks||t||this._Menu_0_4.ngOnInit(),0!==this.numberOfChecks||t||this._Content_13_4.ngOnInit(),n=null;var s=this.context.pages;h.c(t,this._expr_4,s)&&(this._NgFor_17_6.ngForOf=s,null===n&&(n={}),n.ngForOf=new u.m(this._expr_4,s),this._expr_4=s),null!==n&&this._NgFor_17_6.ngOnChanges(n),t||this._NgFor_17_6.ngDoCheck();var o=this.context.isMobile;h.c(t,this._expr_7,o)&&(this._NgIf_25_6.ngIf=o,this._expr_7=o);var a=this.context.rootPage;h.c(t,this._expr_8,a)&&(this._Nav_30_4.root=a,this._expr_8=a);var _="false";h.c(t,this._expr_9,_)&&(this._Nav_30_4.swipeBackEnabled=_,this._expr_9=_),this.detectContentChildrenChanges(t),t||(this._query_Button_19_1.dirty&&(this._query_Button_19_1.reset([]),this._Item_19_4._buttons=this._query_Button_19_1,this._query_Button_19_1.notifyOnChanges()),this._query_Icon_19_2.dirty&&(this._query_Icon_19_2.reset([]),this._Item_19_4._icons=this._query_Icon_19_2,this._query_Icon_19_2.notifyOnChanges()),this._query_Button_22_1.dirty&&(this._query_Button_22_1.reset([]),this._Item_22_4._buttons=this._query_Button_22_1,this._query_Button_22_1.notifyOnChanges()),this._query_Icon_22_2.dirty&&(this._query_Icon_22_2.reset([]),this._Item_22_4._icons=this._query_Icon_22_2,this._query_Icon_22_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_19_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_22_4.ngAfterContentInit());var l=this._Toolbar_4_4._sbPadding;h.c(t,this._expr_2,l)&&(this.renderer.setElementClass(this._el_4,"statusbar-padding",l),this._expr_2=l);var c=this._Content_13_4._sbPadding;h.c(t,this._expr_3,c)&&(this.renderer.setElementClass(this._el_13,"statusbar-padding",c),this._expr_3=c),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._Nav_30_4.ngAfterViewInit()},e.prototype.destroyInternal=function(){this._Content_13_4.ngOnDestroy(),this._Menu_0_4.ngOnDestroy()},e.prototype._handle_tap_19_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.toFeedBack()!==!1;return e},e.prototype._handle_tap_22_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.toReference()!==!1;return e},e}(a.a),et=function(t){function e(n,i,r){t.call(this,e,K,c.a.EMBEDDED,n,i,r,u.b.CheckAlways)}return $(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","item item-block"),this.renderer.setElementAttribute(this._el_0,"ion-item",""),this._appEl_0=new _.a(0,null,this,this._el_0);var e=V.a(this.viewUtils,this.injector(0),this._appEl_0);this._Item_0_4=new T.a(this.parent.parentInjector.get(H.a),this.parent.parentInjector.get(k.c),new O.a(this._el_0),this.renderer),this._ItemContent_0_5=new T.b,this._query_Label_0_0=new x.a,this._query_Button_0_1=new x.a,this._query_Icon_0_2=new x.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"",null),this._query_Label_0_0.reset([]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[],[].concat([this._text_1]),[],[]],null);var n=this.renderer.listen(this._el_0,"tap",this.eventHandler(this._handle_tap_0_0.bind(this)));return this._expr_1=u.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===T.a&&0<=e&&e<=1?this._Item_0_4:t===T.b&&0<=e&&e<=1?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit());var e=h.e(1,"\n ",this.context.$implicit.title,"\n ");h.c(t,this._expr_1,e)&&(this.renderer.setText(this._text_1,e),this._expr_1=e),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.openPage(this.context.$implicit)!==!1;return e},e}(a.a),nt=function(t){function e(n,i,r){t.call(this,e,K,c.a.EMBEDDED,n,i,r,u.b.CheckAlways)}return $(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","item item-block"),this.renderer.setElementAttribute(this._el_0,"ion-item",""),this._appEl_0=new _.a(0,null,this,this._el_0);var e=V.a(this.viewUtils,this.injector(0),this._appEl_0);this._Item_0_4=new T.a(this.parent.parentInjector.get(H.a),this.parent.parentInjector.get(k.c),new O.a(this._el_0),this.renderer),this._ItemContent_0_5=new T.b,this._query_Label_0_0=new x.a,this._query_Button_0_1=new x.a,this._query_Icon_0_2=new x.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n Get App\n ",null),this._query_Label_0_0.reset([]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[],[].concat([this._text_1]),[],[]],null);var n=this.renderer.listen(this._el_0,"tap",this.eventHandler(this._handle_tap_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===T.a&&0<=e&&e<=1?this._Item_0_4:t===T.b&&0<=e&&e<=1?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit()),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.openAppStore()!==!1;return e},e}(a.a)},function(t,e,n){"use strict";var i=n(0),r=n(15),s=n(356),o=n(470),a=n(484),_=n(480),l=n(479),h=n(169);n.d(e,"a",function(){return p});var c=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},u=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},p=function(){function t(){}return t=c([n.i(i.NgModule)({declarations:[s.a],imports:[o.a,a.a,_.a,l.a,r.a.forRoot(s.a)],bootstrap:[r.b],entryComponents:[s.a],providers:[h.a]}),u("design:paramtypes",[])],t)}()},function(t,e,n){"use strict";function i(t,e,n){return null===N&&(N=t.createRenderComponentType("",0,v.c.None,[],{})),new P(t,e,n)}function r(t,e,n){return null===D&&(D=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/components/bode-plot/bode-plot.html",0,v.c.None,R,{})),new j(t,e,n)}var s=n(10),o=n(6),a=n(274),_=n(11),l=n(5),h=n(4),c=n(43),u=n(28),p=n(121),d=n(83),f=n(59),m=n(82),g=n(47),v=n(8),x=n(7),y=n(34),b=n(192),w=n(70),C=n(20),E=n(273),T=n(25),A=n(51),I=n(23),S=n(2),O=n(14);e.a=r;var k=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},N=null,P=function(t){function e(n,i,r){t.call(this,e,N,l.a.HOST,n,i,r,h.b.CheckAlways)}return k(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("bode-plot",t,null),this._appEl_0=new o.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._BodePlotComponent_0_4=new a.a(this.parentInjector.get(c.DeviceManagerService),this.parentInjector.get(u.a),this.parentInjector.get(p.a),this.parentInjector.get(d.a),this.parentInjector.get(f.a),this.parentInjector.get(m.a),this.parentInjector.get(g.a)),this._appEl_0.initComponent(this._BodePlotComponent_0_4,[],e),e.create(this._BodePlotComponent_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===a.a&&0===e?this._BodePlotComponent_0_4:n},e.prototype.destroyInternal=function(){this._BodePlotComponent_0_4.ngOnDestroy()},e}(s.a),R=(new x.a("bode-plot",i,a.a),[]),D=null,j=function(t){function e(n,i,r){t.call(this,e,D,l.a.COMPONENT,n,i,r,h.b.CheckAlways)}return k(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_bodePlot_0=new y.a,this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","bode-component-wrapper"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_2,"class","bode-component-container"),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"digilent-chart",null),this.renderer.setElementAttribute(this._el_4,"chartId","bodePlot"),this._appEl_4=new o.a(4,2,this,this._el_4);var n=E.a(this.viewUtils,this.injector(4),this._appEl_4);this._DigilentChart_4_4=new b.a,this._appEl_4.initComponent(this._DigilentChart_4_4,[],n),n.create(this._DigilentChart_4_4,[],null),this._text_5=this.renderer.createText(this._el_2,"\n ",null),this._text_6=this.renderer.createText(this._el_0,"\n ",null),this._el_7=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_7,"class","button-container"),this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"div",null),this._text_10=this.renderer.createText(this._el_9,"\n ",null),this._el_11=this.renderer.createElement(this._el_9,"button",null),this.renderer.setElementAttribute(this._el_11,"class","chart-button disable-hover"),this.renderer.setElementAttribute(this._el_11,"ion-button",""),this.renderer.setElementAttribute(this._el_11,"tooltipPlacement","left"),this._appEl_11=new o.a(11,9,this,this._el_11);var i=T.a(this.viewUtils,this.injector(11),this._appEl_11);this._Tooltip_11_5=new w.a(this._appEl_11.vcRef,this.parentInjector.get(A.a),this.parentInjector.get(I.f)),this._Button_11_6=new C.a(null,"",this.parentInjector.get(S.c),new O.a(this._el_11),this.renderer),this._appEl_11.initComponent(this._Button_11_6,[],i),this._text_12=this.renderer.createText(null,"\n ",null),this._el_13=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_13,"class","button-side-svg"),this.renderer.setElementAttribute(this._el_13,"src","assets/img/fullscreen.svg"),this._text_14=this.renderer.createText(null,"\n ",null),i.create(this._Button_11_6,[[].concat([this._text_12,this._el_13,this._text_14])],null),this._text_15=this.renderer.createText(this._el_9,"\n ",null),this._text_16=this.renderer.createText(this._el_7,"\n ",null),this._el_17=this.renderer.createElement(this._el_7,"div",null),this._text_18=this.renderer.createText(this._el_17,"\n ",null),this._el_19=this.renderer.createElement(this._el_17,"button",null),this.renderer.setElementAttribute(this._el_19,"class","chart-button disable-hover"),this.renderer.setElementAttribute(this._el_19,"ion-button",""),this.renderer.setElementAttribute(this._el_19,"tooltipPlacement","left"),this._appEl_19=new o.a(19,17,this,this._el_19);var r=T.a(this.viewUtils,this.injector(19),this._appEl_19);this._Tooltip_19_5=new w.a(this._appEl_19.vcRef,this.parentInjector.get(A.a),this.parentInjector.get(I.f)),this._Button_19_6=new C.a(null,"",this.parentInjector.get(S.c),new O.a(this._el_19),this.renderer),this._appEl_19.initComponent(this._Button_19_6,[],r),this._text_20=this.renderer.createText(null,"\n ",null),this._el_21=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_21,"class","button-side-svg"),this.renderer.setElementAttribute(this._el_21,"src","assets/img/calibrate.svg"),this._text_22=this.renderer.createText(null,"\n ",null),r.create(this._Button_19_6,[[].concat([this._text_20,this._el_21,this._text_22])],null),this._text_23=this.renderer.createText(this._el_17,"\n ",null),this._text_24=this.renderer.createText(this._el_7,"\n ",null),this._el_25=this.renderer.createElement(this._el_7,"div",null),this._text_26=this.renderer.createText(this._el_25,"\n ",null),this._el_27=this.renderer.createElement(this._el_25,"button",null),this.renderer.setElementAttribute(this._el_27,"class","chart-button disable-hover"),this.renderer.setElementAttribute(this._el_27,"ion-button",""),this.renderer.setElementAttribute(this._el_27,"tooltipPlacement","left"),this._appEl_27=new o.a(27,25,this,this._el_27);var s=T.a(this.viewUtils,this.injector(27),this._appEl_27);this._Tooltip_27_5=new w.a(this._appEl_27.vcRef,this.parentInjector.get(A.a),this.parentInjector.get(I.f)),this._Button_27_6=new C.a(null,"",this.parentInjector.get(S.c),new O.a(this._el_27),this.renderer),this._appEl_27.initComponent(this._Button_27_6,[],s),this._text_28=this.renderer.createText(null,"\n ",null),this._el_29=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_29,"class","button-side-svg"),this.renderer.setElementAttribute(this._el_29,"src","assets/img/download.svg"),this._text_30=this.renderer.createText(null,"\n ",null),s.create(this._Button_27_6,[[].concat([this._text_28,this._el_29,this._text_30])],null),this._text_31=this.renderer.createText(this._el_25,"\n ",null),this._text_32=this.renderer.createText(this._el_7,"\n ",null),this._text_33=this.renderer.createText(this._el_0,"\n",null);var a=this.renderer.listen(this._el_4,"chartLoad",this.eventHandler(this._handle_chartLoad_4_0.bind(this)));this._expr_1=h.n,this._expr_2=h.n;var _=this._DigilentChart_4_4.chartLoad.subscribe(this.eventHandler(this._handle_chartLoad_4_0.bind(this))),l=this.renderer.listen(this._el_11,"tap",this.eventHandler(this._handle_tap_11_0.bind(this))),c=this.renderer.listen(this._el_11,"focusin",this.eventHandler(this._handle_focusin_11_1.bind(this))),u=this.renderer.listen(this._el_11,"mouseenter",this.eventHandler(this._handle_mouseenter_11_2.bind(this))),p=this.renderer.listen(this._el_11,"focusout",this.eventHandler(this._handle_focusout_11_3.bind(this))),d=this.renderer.listen(this._el_11,"mouseleave",this.eventHandler(this._handle_mouseleave_11_4.bind(this)));this._expr_8=h.n,this._expr_9=h.n,this._expr_10=h.n;var f=this.renderer.listen(this._el_19,"tap",this.eventHandler(this._handle_tap_19_0.bind(this))),m=this.renderer.listen(this._el_19,"focusin",this.eventHandler(this._handle_focusin_19_1.bind(this))),g=this.renderer.listen(this._el_19,"mouseenter",this.eventHandler(this._handle_mouseenter_19_2.bind(this))),v=this.renderer.listen(this._el_19,"focusout",this.eventHandler(this._handle_focusout_19_3.bind(this))),x=this.renderer.listen(this._el_19,"mouseleave",this.eventHandler(this._handle_mouseleave_19_4.bind(this)));this._expr_16=h.n,this._expr_17=h.n,this._expr_18=h.n,this._expr_24=h.n;var k=this.renderer.listen(this._el_27,"tap",this.eventHandler(this._handle_tap_27_0.bind(this))),N=this.renderer.listen(this._el_27,"focusin",this.eventHandler(this._handle_focusin_27_1.bind(this))),P=this.renderer.listen(this._el_27,"mouseenter",this.eventHandler(this._handle_mouseenter_27_2.bind(this))),R=this.renderer.listen(this._el_27,"focusout",this.eventHandler(this._handle_focusout_27_3.bind(this))),D=this.renderer.listen(this._el_27,"mouseleave",this.eventHandler(this._handle_mouseleave_27_4.bind(this)));return this._expr_25=h.n,this._expr_26=h.n,this._expr_27=h.n,this._viewQuery_bodePlot_0.reset([this._DigilentChart_4_4]),this.context.bodePlot=this._viewQuery_bodePlot_0.first,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._el_11,this._text_12,this._el_13,this._text_14,this._text_15,this._text_16,this._el_17,this._text_18,this._el_19,this._text_20,this._el_21,this._text_22,this._text_23,this._text_24,this._el_25,this._text_26,this._el_27,this._text_28,this._el_29,this._text_30,this._text_31,this._text_32,this._text_33],[a,l,c,u,p,d,f,m,g,v,x,k,N,P,R,D],[_]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===b.a&&4===e?this._DigilentChart_4_4:t===w.a&&11<=e&&e<=14?this._Tooltip_11_5:t===C.a&&11<=e&&e<=14?this._Button_11_6:t===w.a&&19<=e&&e<=22?this._Tooltip_19_5:t===C.a&&19<=e&&e<=22?this._Button_19_6:t===w.a&&27<=e&&e<=30?this._Tooltip_27_5:t===C.a&&27<=e&&e<=30?this._Button_27_6:n},e.prototype.detectChangesInternal=function(t){var e=null,n="bodePlot";_.c(t,this._expr_1,n)&&(this._DigilentChart_4_4.chartId=n,this._expr_1=n);var i=this.context.bodePlotOptions;_.c(t,this._expr_2,i)&&(this._DigilentChart_4_4.flotOptions=i,this._expr_2=i),e=null;var r=this.context.tooltipService.getTooltip("chartAutoscale").message;_.c(t,this._expr_8,r)&&(this._Tooltip_11_5.content=r,null===e&&(e={}),e.content=new h.m(this._expr_8,r),this._expr_8=r);var s=!0;_.c(t,this._expr_9,s)&&(this._Tooltip_11_5.tooltipAnimation=s,null===e&&(e={}),e.tooltipAnimation=new h.m(this._expr_9,s),this._expr_9=s);var o="left";_.c(t,this._expr_10,o)&&(this._Tooltip_11_5.tooltipPlacement=o,null===e&&(e={}),e.tooltipPlacement=new h.m(this._expr_10,o),this._expr_10=o),null!==e&&this._Tooltip_11_5.ngOnChanges(e),e=null;var a=this.context.tooltipService.getTooltip("bodeCalibrate").message;_.c(t,this._expr_16,a)&&(this._Tooltip_19_5.content=a,null===e&&(e={}),e.content=new h.m(this._expr_16,a),this._expr_16=a);var l=!0;_.c(t,this._expr_17,l)&&(this._Tooltip_19_5.tooltipAnimation=l,null===e&&(e={}),e.tooltipAnimation=new h.m(this._expr_17,l),this._expr_17=l);var c="left";_.c(t,this._expr_18,c)&&(this._Tooltip_19_5.tooltipPlacement=c,null===e&&(e={}),e.tooltipPlacement=new h.m(this._expr_18,c),this._expr_18=c),null!==e&&this._Tooltip_19_5.ngOnChanges(e),e=null;var u=this.context.tooltipService.getTooltip("chartSettings").message;_.c(t,this._expr_25,u)&&(this._Tooltip_27_5.content=u,null===e&&(e={}),e.content=new h.m(this._expr_25,u),this._expr_25=u); var p=!0;_.c(t,this._expr_26,p)&&(this._Tooltip_27_5.tooltipAnimation=p,null===e&&(e={}),e.tooltipAnimation=new h.m(this._expr_26,p),this._expr_26=p);var d="left";_.c(t,this._expr_27,d)&&(this._Tooltip_27_5.tooltipPlacement=d,null===e&&(e={}),e.tooltipPlacement=new h.m(this._expr_27,d),this._expr_27=d),null!==e&&this._Tooltip_27_5.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_11_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_19_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_27_6.ngAfterContentInit());var f=this.context.bodeDataContainer[0].data.length<1;_.c(t,this._expr_24,f)&&(this.renderer.setElementProperty(this._el_27,"disabled",f),this._expr_24=f),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._DigilentChart_4_4.ngAfterViewInit()},e.prototype._handle_chartLoad_4_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.plotLoaded()!==!1;return e},e.prototype._handle_tap_11_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.autoscaleAllAxes()!==!1;return e},e.prototype._handle_focusin_11_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_11_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_11_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_11_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_11_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_11_5.hide()!==!1;return e},e.prototype._handle_mouseleave_11_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_11_5.hide()!==!1;return e},e.prototype._handle_tap_19_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.openCalibrationModal()!==!1;return e},e.prototype._handle_focusin_19_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_19_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_19_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_19_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_19_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_19_5.hide()!==!1;return e},e.prototype._handle_mouseleave_19_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_19_5.hide()!==!1;return e},e.prototype._handle_tap_27_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.openExportPop(t)!==!1;return e},e.prototype._handle_focusin_27_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_27_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_27_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_27_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_27_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_27_5.hide()!==!1;return e},e.prototype._handle_mouseleave_27_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_27_5.hide()!==!1;return e},e}(s.a)},function(t,e,n){"use strict";function i(t,e,n){return null===O&&(O=t.createRenderComponentType("",0,f.c.None,[],{})),new k(t,e,n)}function r(t,e,n){return null===R&&(R=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/components/channel-select-popover/channel-select-popover.html",0,f.c.None,P,{})),new D(t,e,n)}function s(t,e,n){return new j(t,e,n)}var o=n(10),a=n(6),_=n(357),l=n(11),h=n(5),c=n(4),u=n(13),p=n(27),d=n(104),f=n(8),m=n(7),g=n(35),v=n(55),x=n(20),y=n(21),b=n(37),w=n(25),C=n(2),E=n(14),T=n(58),A=n(243),I=n(52);n.d(e,"a",function(){return N});var S=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},O=null,k=function(t){function e(n,i,r){t.call(this,e,O,h.a.HOST,n,i,r,c.b.CheckAlways)}return S(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("channel-select-popover",t,null),this._appEl_0=new a.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._ChannelSelectPopover_0_4=new _.a(this.parentInjector.get(u.a),this.parentInjector.get(p.a),this.parentInjector.get(d.a)),this._appEl_0.initComponent(this._ChannelSelectPopover_0_4,[],e),e.create(this._ChannelSelectPopover_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===_.a&&0===e?this._ChannelSelectPopover_0_4:n},e}(o.a),N=new m.a("channel-select-popover",i,_.a),P=[],R=null,D=function(t){function e(n,i,r){t.call(this,e,R,h.a.COMPONENT,n,i,r,c.b.CheckAlways)}return S(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","channel-select-container"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-row",null),this._Row_2_3=new g.c,this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-col",null),this.renderer.setElementAttribute(this._el_4,"center",""),this.renderer.setElementAttribute(this._el_4,"class","header"),this.renderer.setElementAttribute(this._el_4,"text-center",""),this._Col_4_3=new g.a,this._text_5=this.renderer.createText(this._el_4,"\n ",null),this._el_6=this.renderer.createElement(this._el_4,"span",null),this._text_7=this.renderer.createText(this._el_6,"Channels",null),this._text_8=this.renderer.createText(this._el_4,"\n ",null),this._text_9=this.renderer.createText(this._el_2,"\n ",null),this._text_10=this.renderer.createText(this._el_0,"\n ",null),this._el_11=this.renderer.createElement(this._el_0,"ion-row",null),this.renderer.setElementAttribute(this._el_11,"class","button-container"),this.renderer.setElementAttribute(this._el_11,"text-center",""),this.renderer.setElementAttribute(this._el_11,"wrap",""),this._Row_11_3=new g.c,this._text_12=this.renderer.createText(this._el_11,"\n ",null),this._anchor_13=this.renderer.createTemplateAnchor(this._el_11,null),this._appEl_13=new a.a(13,11,this,this._anchor_13),this._TemplateRef_13_5=new y.a(this._appEl_13,s),this._NgFor_13_6=new v.a(this._appEl_13.vcRef,this._TemplateRef_13_5,this.parentInjector.get(b.a),this.ref),this._text_14=this.renderer.createText(this._el_11,"\n ",null),this._text_15=this.renderer.createText(this._el_0,"\n ",null),this._el_16=this.renderer.createElement(this._el_0,"ion-row",null),this._Row_16_3=new g.c,this._text_17=this.renderer.createText(this._el_16,"\n ",null),this._el_18=this.renderer.createElement(this._el_16,"ion-col",null),this.renderer.setElementAttribute(this._el_18,"text-center",""),this._Col_18_3=new g.a,this._text_19=this.renderer.createText(this._el_18,"\n ",null),this._el_20=this.renderer.createElement(this._el_18,"button",null),this.renderer.setElementAttribute(this._el_20,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_20,"icon-left",""),this.renderer.setElementAttribute(this._el_20,"ion-button",""),this._appEl_20=new a.a(20,18,this,this._el_20);var n=w.a(this.viewUtils,this.injector(20),this._appEl_20);this._Button_20_4=new x.a(null,"",this.parentInjector.get(C.c),new E.a(this._el_20),this.renderer),this._appEl_20.initComponent(this._Button_20_4,[],n),this._text_21=this.renderer.createText(null,"Close\n ",null),n.create(this._Button_20_4,[[].concat([this._text_21])],null),this._text_22=this.renderer.createText(this._el_18,"\n ",null),this._text_23=this.renderer.createText(this._el_16,"\n ",null),this._text_24=this.renderer.createText(this._el_0,"\n",null),this._expr_0=c.n;var i=this.renderer.listen(this._el_20,"click",this.eventHandler(this._handle_click_20_0.bind(this)));return this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._text_8,this._text_9,this._text_10,this._el_11,this._text_12,this._anchor_13,this._text_14,this._text_15,this._el_16,this._text_17,this._el_18,this._text_19,this._el_20,this._text_21,this._text_22,this._text_23,this._text_24],[i],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===g.a&&4<=e&&e<=8?this._Col_4_3:t===g.c&&2<=e&&e<=9?this._Row_2_3:t===y.b&&13===e?this._TemplateRef_13_5:t===v.a&&13===e?this._NgFor_13_6:t===g.c&&11<=e&&e<=14?this._Row_11_3:t===x.a&&20<=e&&e<=21?this._Button_20_4:t===g.a&&18<=e&&e<=22?this._Col_18_3:t===g.c&&16<=e&&e<=23?this._Row_16_3:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.context.selectedChannels;l.c(t,this._expr_0,n)&&(this._NgFor_13_6.ngForOf=n,null===e&&(e={}),e.ngForOf=new c.m(this._expr_0,n),this._expr_0=n),null!==e&&this._NgFor_13_6.ngOnChanges(e),t||this._NgFor_13_6.ngDoCheck(),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_20_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_click_20_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.close()!==!1;return e},e}(o.a),j=function(t){function e(n,i,r){t.call(this,e,R,h.a.EMBEDDED,n,i,r,c.b.CheckAlways)}return S(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-col",null),this.renderer.setElementAttribute(this._el_0,"width-25",""),this._Col_0_3=new g.a,this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"button",null),this.renderer.setElementAttribute(this._el_2,"class","channel-button"),this._NgClass_2_3=new T.a(this.parent.parentInjector.get(b.a),this.parent.parentInjector.get(I.a),new E.a(this._el_2),this.renderer),this._NgStyle_2_4=new A.a(this.parent.parentInjector.get(I.a),new E.a(this._el_2),this.renderer),this._text_3=this.renderer.createText(this._el_2,"",null),this._text_4=this.renderer.createText(this._el_0,"\n ",null);var e=this.renderer.listen(this._el_2,"click",this.eventHandler(this._handle_click_2_0.bind(this)));return this._expr_1=c.n,this._map_0=l.h(function(t){return{"button-on":t}}),this._expr_2=c.n,this._map_1=l.h(function(t){return{backgroundColor:t}}),this._expr_3=c.n,this._expr_4=c.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[e],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===T.a&&2<=e&&e<=3?this._NgClass_2_3:t===A.a&&2<=e&&e<=3?this._NgStyle_2_4:t===g.a&&0<=e&&e<=4?this._Col_0_3:n},e.prototype.detectChangesInternal=function(t){var e="channel-button";l.c(t,this._expr_1,e)&&(this._NgClass_2_3.klass=e,this._expr_1=e);var n=this._map_0(this.parent.context.selectedChannels[this.context.index]);l.c(t,this._expr_2,n)&&(this._NgClass_2_3.ngClass=n,this._expr_2=n),t||this._NgClass_2_3.ngDoCheck();var i=this._map_1(this.parent.context.colorArray[this.context.index]);l.c(t,this._expr_3,i)&&(this._NgStyle_2_4.ngStyle=i,this._expr_3=i),t||this._NgStyle_2_4.ngDoCheck(),this.detectContentChildrenChanges(t);var r=l.e(1,"\n ",this.context.index+1,"\n ");l.c(t,this._expr_4,r)&&(this.renderer.setText(this._text_3,r),this._expr_4=r),this.detectViewChildrenChanges(t)},e.prototype._handle_click_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.toggleChannel(this.context.index)!==!1;return e},e}(o.a)},function(t,e,n){"use strict";function i(t,e,n){return null===C&&(C=t.createRenderComponentType("",0,u.c.None,[],{})),new E(t,e,n)}function r(t,e,n){return null===I&&(I=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/components/chart-annotation/chart-annotation.html",0,u.c.None,A,{})),new S(t,e,n)}var s=n(10),o=n(6),a=n(358),_=n(11),l=n(5),h=n(4),c=n(14),u=n(8),p=n(7),d=n(58),f=n(35),m=n(20),g=n(37),v=n(52),x=n(25),y=n(2),b=n(73);n.d(e,"a",function(){return T});var w=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},C=null,E=function(t){function e(n,i,r){t.call(this,e,C,l.a.HOST,n,i,r,h.b.CheckAlways)}return w(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("chart-annotation",t,null),this._appEl_0=new o.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._ChartAnnotationComponent_0_4=new a.a(new c.a(this._el_0)),this._appEl_0.initComponent(this._ChartAnnotationComponent_0_4,[],e),e.create(this._ChartAnnotationComponent_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===a.a&&0===e?this._ChartAnnotationComponent_0_4:n},e}(s.a),T=new p.a("chart-annotation",i,a.a),A=[],I=null,S=function(t){function e(n,i,r){t.call(this,e,I,l.a.COMPONENT,n,i,r,h.b.CheckAlways)}return w(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","chart-annotation-container"),this._NgClass_0_3=new d.a(this.parentInjector.get(g.a),this.parentInjector.get(v.a),new c.a(this._el_0),this.renderer),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-row",null),this.renderer.setElementAttribute(this._el_2,"class","chart-annotation-content"),this._Row_2_3=new f.c,this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-col",null),this.renderer.setElementAttribute(this._el_4,"center",""),this.renderer.setElementAttribute(this._el_4,"class","annotation-background"),this._Col_4_3=new f.a,this._text_5=this.renderer.createText(this._el_4,"",null),this._text_6=this.renderer.createText(this._el_2,"\n ",null),this._el_7=this.renderer.createElement(this._el_2,"ion-col",null),this.renderer.setElementAttribute(this._el_7,"center",""),this.renderer.setElementAttribute(this._el_7,"class","annotation-background button-container"),this._Col_7_3=new f.a,this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"button",null),this.renderer.setElementAttribute(this._el_9,"class","icon-only-button-side disable-hover chart-annotation-close-button"),this.renderer.setElementAttribute(this._el_9,"ion-button",""),this._appEl_9=new o.a(9,7,this,this._el_9);var n=x.a(this.viewUtils,this.injector(9),this._appEl_9);this._Button_9_4=new m.a(null,"",this.parentInjector.get(y.c),new c.a(this._el_9),this.renderer),this._appEl_9.initComponent(this._Button_9_4,[],n),this._text_10=this.renderer.createText(null,"\n ",null),this._el_11=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_11,"src","assets/img/close.svg"),this._text_12=this.renderer.createText(null,"\n ",null),n.create(this._Button_9_4,[[].concat([this._text_10,this._el_11,this._text_12])],null),this._text_13=this.renderer.createText(this._el_7,"\n ",null),this._text_14=this.renderer.createText(this._el_2,"\n ",null),this._text_15=this.renderer.createText(this._el_0,"\n",null),this._expr_1=h.n,this._expr_2=h.n,this._expr_3=h.n;var i=this.renderer.listen(this._el_0,"mousedown",this.eventHandler(this._handle_mousedown_0_0.bind(this)));this._expr_4=h.n,this._map_0=_.h(function(t){return{"hide-component":t}}),this._expr_5=h.n,this._expr_6=h.n;var r=this.renderer.listen(this._el_9,"click",this.eventHandler(this._handle_click_9_0.bind(this)));return this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._el_11,this._text_12,this._text_13,this._text_14,this._text_15],[i,r],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===f.a&&4<=e&&e<=5?this._Col_4_3:t===m.a&&9<=e&&e<=12?this._Button_9_4:t===f.a&&7<=e&&e<=13?this._Col_7_3:t===f.c&&2<=e&&e<=14?this._Row_2_3:t===d.a&&0<=e&&e<=15?this._NgClass_0_3:n},e.prototype.detectChangesInternal=function(t){var e="chart-annotation-container";_.c(t,this._expr_4,e)&&(this._NgClass_0_3.klass=e,this._expr_4=e);var n=this._map_0(!this.context.show);_.c(t,this._expr_5,n)&&(this._NgClass_0_3.ngClass=n,this._expr_5=n),t||this._NgClass_0_3.ngDoCheck(),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_9_4.ngAfterContentInit();var i=this.context.topPix;_.c(t,this._expr_1,i)&&(this.renderer.setElementStyle(this._el_0,"top",null==this.viewUtils.sanitizer.sanitize(b.b.STYLE,i)?null:this.viewUtils.sanitizer.sanitize(b.b.STYLE,i).toString()),this._expr_1=i);var r=this.context.leftPix;_.c(t,this._expr_2,r)&&(this.renderer.setElementStyle(this._el_0,"left",null==this.viewUtils.sanitizer.sanitize(b.b.STYLE,r)?null:this.viewUtils.sanitizer.sanitize(b.b.STYLE,r).toString()),this._expr_2=r);var s=this.context.borderColor;_.c(t,this._expr_3,s)&&(this.renderer.setElementStyle(this._el_0,"borderColor",null==this.viewUtils.sanitizer.sanitize(b.b.STYLE,s)?null:this.viewUtils.sanitizer.sanitize(b.b.STYLE,s).toString()),this._expr_3=s);var o=_.e(1,"\n ",this.context.contents,"\n ");_.c(t,this._expr_6,o)&&(this.renderer.setText(this._text_5,o),this._expr_6=o),this.detectViewChildrenChanges(t)},e.prototype._handle_mousedown_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.onMousedown(t)!==!1;return e},e.prototype._handle_click_9_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.kill(t)!==!1;return e},e}(s.a)},function(t,e,n){"use strict";function i(t,e,n){return null===S&&(S=t.createRenderComponentType("",0,f.c.None,[],{})),new O(t,e,n)}function r(t,e,n){return null===P&&(P=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/components/cursor-popover/cursor-popover.html",0,f.c.None,N,{})),new R(t,e,n)}var s=n(10),o=n(6),a=n(275),_=n(11),l=n(5),h=n(4),c=n(23),u=n(13),p=n(27),d=n(47),f=n(8),m=n(7),g=n(34),v=n(112),x=n(44),y=n(65),b=n(2),w=n(14),C=n(48),E=n(118),T=n(39),A=n(98);n.d(e,"a",function(){return k});var I=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},S=null,O=function(t){function e(n,i,r){t.call(this,e,S,l.a.HOST,n,i,r,h.b.CheckAlways)}return I(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ng-component",t,null),this._appEl_0=new o.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._CursorPopoverComponent_0_4=new a.a(this.parentInjector.get(c.f),this.parentInjector.get(u.a),this.parentInjector.get(p.a),this.parentInjector.get(d.a)),this._appEl_0.initComponent(this._CursorPopoverComponent_0_4,[],e),e.create(this._CursorPopoverComponent_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===a.a&&0===e?this._CursorPopoverComponent_0_4:n},e.prototype.detectChangesInternal=function(t){0!==this.numberOfChecks||t||this._CursorPopoverComponent_0_4.ngOnInit(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(s.a),k=new m.a("ng-component",i,a.a),N=[],P=null,R=function(t){function e(n,i,r){t.call(this,e,P,l.a.COMPONENT,n,i,r,h.b.CheckAlways)}return I(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_typeDropPop_0=new g.a,this._viewQuery_c1DropPop_1=new g.a,this._viewQuery_c2DropPop_2=new g.a,this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","cursor-modal-container"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-list",null),this.renderer.setElementAttribute(this._el_2,"class","cursor-modal-list"),this._List_2_3=new v.a(this.parentInjector.get(b.c),new w.a(this._el_2),this.renderer,this.parentInjector.get(C.a)),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-item",null),this.renderer.setElementAttribute(this._el_4,"class","cursor-modal-item item item-block"),this._appEl_4=new o.a(4,2,this,this._el_4);var n=E.a(this.viewUtils,this.injector(4),this._appEl_4);this._Item_4_4=new x.a(this.parentInjector.get(T.a),this.parentInjector.get(b.c),new w.a(this._el_4),this.renderer),this._ItemContent_4_5=new x.b,this._query_Label_4_0=new g.a,this._query_Button_4_1=new g.a,this._query_Icon_4_2=new g.a,this._appEl_4.initComponent(this._Item_4_4,[],n),this._text_5=this.renderer.createText(null,"\n ",null),this._el_6=this.renderer.createElement(null,"h3",null),this._text_7=this.renderer.createText(this._el_6,"Type",null),this._text_8=this.renderer.createText(null,"\n ",null),this._el_9=this.renderer.createElement(null,"dropdown-popover",null),this._appEl_9=new o.a(9,4,this,this._el_9);var i=A.b(this.viewUtils,this.injector(9),this._appEl_9);this._DropdownPopoverComponent_9_4=new y.a(this.parentInjector.get(d.a),new w.a(this._el_9),this.parentInjector.get(c.f)),this._appEl_9.initComponent(this._DropdownPopoverComponent_9_4,[],i),i.create(this._DropdownPopoverComponent_9_4,[],null),this._text_10=this.renderer.createText(null,"\n ",null),this._query_Label_4_0.reset([]),this._Item_4_4.contentLabel=this._query_Label_4_0.first,n.create(this._Item_4_4,[[],[],[].concat([this._text_5,this._el_6,this._text_8,this._el_9,this._text_10]),[],[]],null),this._text_11=this.renderer.createText(this._el_2,"\n ",null),this._el_12=this.renderer.createElement(this._el_2,"ion-item",null),this.renderer.setElementAttribute(this._el_12,"class","cursor-modal-item item item-block"),this._appEl_12=new o.a(12,2,this,this._el_12);var r=E.a(this.viewUtils,this.injector(12),this._appEl_12);this._Item_12_4=new x.a(this.parentInjector.get(T.a),this.parentInjector.get(b.c),new w.a(this._el_12),this.renderer),this._ItemContent_12_5=new x.b,this._query_Label_12_0=new g.a,this._query_Button_12_1=new g.a,this._query_Icon_12_2=new g.a,this._appEl_12.initComponent(this._Item_12_4,[],r),this._text_13=this.renderer.createText(null,"\n ",null),this._el_14=this.renderer.createElement(null,"h3",null),this._text_15=this.renderer.createText(this._el_14,"Cursor 1 Channel",null),this._text_16=this.renderer.createText(null,"\n ",null),this._el_17=this.renderer.createElement(null,"dropdown-popover",null),this._appEl_17=new o.a(17,12,this,this._el_17);var s=A.b(this.viewUtils,this.injector(17),this._appEl_17);this._DropdownPopoverComponent_17_4=new y.a(this.parentInjector.get(d.a),new w.a(this._el_17),this.parentInjector.get(c.f)),this._appEl_17.initComponent(this._DropdownPopoverComponent_17_4,[],s),s.create(this._DropdownPopoverComponent_17_4,[],null),this._text_18=this.renderer.createText(null,"\n ",null),this._query_Label_12_0.reset([]),this._Item_12_4.contentLabel=this._query_Label_12_0.first,r.create(this._Item_12_4,[[],[],[].concat([this._text_13,this._el_14,this._text_16,this._el_17,this._text_18]),[],[]],null),this._text_19=this.renderer.createText(this._el_2,"\n ",null),this._el_20=this.renderer.createElement(this._el_2,"ion-item",null),this.renderer.setElementAttribute(this._el_20,"class","cursor-modal-item item item-block"),this._appEl_20=new o.a(20,2,this,this._el_20);var a=E.a(this.viewUtils,this.injector(20),this._appEl_20);this._Item_20_4=new x.a(this.parentInjector.get(T.a),this.parentInjector.get(b.c),new w.a(this._el_20),this.renderer),this._ItemContent_20_5=new x.b,this._query_Label_20_0=new g.a,this._query_Button_20_1=new g.a,this._query_Icon_20_2=new g.a,this._appEl_20.initComponent(this._Item_20_4,[],a),this._text_21=this.renderer.createText(null,"\n ",null),this._el_22=this.renderer.createElement(null,"h3",null),this._text_23=this.renderer.createText(this._el_22,"Cursor 2 Channel",null),this._text_24=this.renderer.createText(null,"\n ",null),this._el_25=this.renderer.createElement(null,"dropdown-popover",null),this._appEl_25=new o.a(25,20,this,this._el_25);var _=A.b(this.viewUtils,this.injector(25),this._appEl_25);this._DropdownPopoverComponent_25_4=new y.a(this.parentInjector.get(d.a),new w.a(this._el_25),this.parentInjector.get(c.f)),this._appEl_25.initComponent(this._DropdownPopoverComponent_25_4,[],_),_.create(this._DropdownPopoverComponent_25_4,[],null),this._text_26=this.renderer.createText(null,"\n ",null),this._query_Label_20_0.reset([]),this._Item_20_4.contentLabel=this._query_Label_20_0.first,a.create(this._Item_20_4,[[],[],[].concat([this._text_21,this._el_22,this._text_24,this._el_25,this._text_26]),[],[]],null),this._text_27=this.renderer.createText(this._el_2,"\n ",null),this._text_28=this.renderer.createText(this._el_0,"\n",null),this._text_29=this.renderer.createText(e,"\n",null);var l=this.renderer.listen(this._el_9,"onSelection",this.eventHandler(this._handle_onSelection_9_0.bind(this)));this._expr_1=h.n;var u=this._DropdownPopoverComponent_9_4.onSelection.subscribe(this.eventHandler(this._handle_onSelection_9_0.bind(this))),p=this.renderer.listen(this._el_17,"onSelection",this.eventHandler(this._handle_onSelection_17_0.bind(this)));this._expr_3=h.n;var f=this._DropdownPopoverComponent_17_4.onSelection.subscribe(this.eventHandler(this._handle_onSelection_17_0.bind(this))),m=this.renderer.listen(this._el_25,"onSelection",this.eventHandler(this._handle_onSelection_25_0.bind(this)));this._expr_5=h.n;var I=this._DropdownPopoverComponent_25_4.onSelection.subscribe(this.eventHandler(this._handle_onSelection_25_0.bind(this)));return this._viewQuery_typeDropPop_0.reset([this._DropdownPopoverComponent_9_4]),this.context.typeDropPop=this._viewQuery_typeDropPop_0.first,this._viewQuery_c1DropPop_1.reset([this._DropdownPopoverComponent_17_4]),this.context.c1DropPop=this._viewQuery_c1DropPop_1.first,this._viewQuery_c2DropPop_2.reset([this._DropdownPopoverComponent_25_4]),this.context.c2DropPop=this._viewQuery_c2DropPop_2.first,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._text_8,this._el_9,this._text_10,this._text_11,this._el_12,this._text_13,this._el_14,this._text_15,this._text_16,this._el_17,this._text_18,this._text_19,this._el_20,this._text_21,this._el_22,this._text_23,this._text_24,this._el_25,this._text_26,this._text_27,this._text_28,this._text_29],[l,p,m],[u,f,I]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===y.a&&9===e?this._DropdownPopoverComponent_9_4:t===x.a&&4<=e&&e<=10?this._Item_4_4:t===x.b&&4<=e&&e<=10?this._ItemContent_4_5:t===y.a&&17===e?this._DropdownPopoverComponent_17_4:t===x.a&&12<=e&&e<=18?this._Item_12_4:t===x.b&&12<=e&&e<=18?this._ItemContent_12_5:t===y.a&&25===e?this._DropdownPopoverComponent_25_4:t===x.a&&20<=e&&e<=26?this._Item_20_4:t===x.b&&20<=e&&e<=26?this._ItemContent_20_5:t===v.a&&2<=e&&e<=27?this._List_2_3:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.context.cursorTypeArray;_.c(t,this._expr_1,n)&&(this._DropdownPopoverComponent_9_4.dataArray=n,null===e&&(e={}),e.dataArray=new h.m(this._expr_1,n),this._expr_1=n),null!==e&&this._DropdownPopoverComponent_9_4.ngOnChanges(e),e=null;var i=this.context.availableChans;_.c(t,this._expr_3,i)&&(this._DropdownPopoverComponent_17_4.dataArray=i,null===e&&(e={}),e.dataArray=new h.m(this._expr_3,i),this._expr_3=i),null!==e&&this._DropdownPopoverComponent_17_4.ngOnChanges(e),e=null;var r=this.context.availableChans;_.c(t,this._expr_5,r)&&(this._DropdownPopoverComponent_25_4.dataArray=r,null===e&&(e={}),e.dataArray=new h.m(this._expr_5,r),this._expr_5=r),null!==e&&this._DropdownPopoverComponent_25_4.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(this._query_Button_4_1.dirty&&(this._query_Button_4_1.reset([]),this._Item_4_4._buttons=this._query_Button_4_1,this._query_Button_4_1.notifyOnChanges()),this._query_Icon_4_2.dirty&&(this._query_Icon_4_2.reset([]),this._Item_4_4._icons=this._query_Icon_4_2,this._query_Icon_4_2.notifyOnChanges()),this._query_Button_12_1.dirty&&(this._query_Button_12_1.reset([]),this._Item_12_4._buttons=this._query_Button_12_1,this._query_Button_12_1.notifyOnChanges()),this._query_Icon_12_2.dirty&&(this._query_Icon_12_2.reset([]),this._Item_12_4._icons=this._query_Icon_12_2,this._query_Icon_12_2.notifyOnChanges()),this._query_Button_20_1.dirty&&(this._query_Button_20_1.reset([]),this._Item_20_4._buttons=this._query_Button_20_1,this._query_Button_20_1.notifyOnChanges()),this._query_Icon_20_2.dirty&&(this._query_Icon_20_2.reset([]),this._Item_20_4._icons=this._query_Icon_20_2,this._query_Icon_20_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_4_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_12_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_20_4.ngAfterContentInit()),this.detectViewChildrenChanges(t),t||(0===this.numberOfChecks&&this._DropdownPopoverComponent_9_4.ngAfterViewInit(),0===this.numberOfChecks&&this._DropdownPopoverComponent_17_4.ngAfterViewInit(),0===this.numberOfChecks&&this._DropdownPopoverComponent_25_4.ngAfterViewInit())},e.prototype._handle_onSelection_9_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.cursorTypeSelect(t)!==!1;return e},e.prototype._handle_onSelection_17_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.availableChannelSelect(t,1)!==!1;return e},e.prototype._handle_onSelection_25_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.availableChannelSelect(t,2)!==!1;return e},e}(s.a)},function(t,e,n){"use strict";function i(t,e,n){return null===y&&(y=t.createRenderComponentType("",0,d.c.None,[],{})),new b(t,e,n)}function r(t,e,n){return null===E&&(E=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/components/gen-popover/gen-popover.html",0,d.c.None,C,{})),new T(t,e,n)}function s(t,e,n){return new A(t,e,n)}var o=n(10),a=n(6),_=n(89),l=n(11),h=n(5),c=n(4),u=n(13),p=n(27),d=n(8),f=n(7),m=n(55),g=n(21),v=n(37);n.d(e,"a",function(){return w});var x=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},y=null,b=function(t){function e(n,i,r){t.call(this,e,y,h.a.HOST,n,i,r,c.b.CheckAlways)}return x(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ng-component",t,null),this._appEl_0=new a.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._GenPopover_0_4=new _.a(this.parentInjector.get(u.a),this.parentInjector.get(p.a)),this._appEl_0.initComponent(this._GenPopover_0_4,[],e),e.create(this._GenPopover_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===_.a&&0===e?this._GenPopover_0_4:n},e}(o.a),w=new f.a("ng-component",i,_.a),C=[],E=null,T=function(t){function e(n,i,r){t.call(this,e,E,h.a.COMPONENT,n,i,r,c.b.CheckAlways)}return x(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._el_0=this.renderer.createElement(e,"ul",null),this.renderer.setElementAttribute(this._el_0,"class","gen-popover-list-container"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._anchor_2=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_2=new a.a(2,0,this,this._anchor_2),this._TemplateRef_2_5=new g.a(this._appEl_2,s),this._NgFor_2_6=new m.a(this._appEl_2.vcRef,this._TemplateRef_2_5,this.parentInjector.get(v.a),this.ref), this._text_3=this.renderer.createText(this._el_0,"\n",null),this._expr_0=c.n,this.init([],[this._el_0,this._text_1,this._anchor_2,this._text_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===g.b&&2===e?this._TemplateRef_2_5:t===m.a&&2===e?this._NgFor_2_6:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.context.dataArray;l.c(t,this._expr_0,n)&&(this._NgFor_2_6.ngForOf=n,null===e&&(e={}),e.ngForOf=new c.m(this._expr_0,n),this._expr_0=n),null!==e&&this._NgFor_2_6.ngOnChanges(e),t||this._NgFor_2_6.ngDoCheck(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(o.a),A=function(t){function e(n,i,r){t.call(this,e,E,h.a.EMBEDDED,n,i,r,c.b.CheckAlways)}return x(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"li",null),this.renderer.setElementAttribute(this._el_0,"class","gen-popover-item"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"a",null),this.renderer.setElementAttribute(this._el_2,"class","gen-popover-button"),this._text_3=this.renderer.createText(this._el_2,"",null),this._text_4=this.renderer.createText(this._el_0,"\n ",null);var e=this.renderer.listen(this._el_0,"tap",this.eventHandler(this._handle_tap_0_0.bind(this)));return this._expr_1=c.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[e],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=l.e(1,"",this.context.$implicit,"");l.c(t,this._expr_1,e)&&(this.renderer.setText(this._text_3,e),this._expr_1=e),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.close(this.context.$implicit)!==!1;return e},e}(o.a)},function(t,e,n){"use strict";function i(t,e,n){return null===p&&(p=t.createRenderComponentType("",0,h.c.None,[],{})),new d(t,e,n)}function r(t,e,n){return null===m&&(m=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/components/github-fork-ribbon/github-fork-ribbon.html",0,h.c.None,f,{})),new g(t,e,n)}var s=n(10),o=n(6),a=n(365),_=n(5),l=n(4),h=n(8),c=n(7);e.a=r;var u=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},p=null,d=function(t){function e(n,i,r){t.call(this,e,p,_.a.HOST,n,i,r,l.b.CheckAlways)}return u(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("github-fork-ribbon",t,null),this._appEl_0=new o.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._GithubForkRibbon_0_4=new a.a,this._appEl_0.initComponent(this._GithubForkRibbon_0_4,[],e),e.create(this._GithubForkRibbon_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===a.a&&0===e?this._GithubForkRibbon_0_4:n},e}(s.a),f=(new c.a("github-fork-ribbon",i,a.a),[]),m=null,g=function(t){function e(n,i,r){t.call(this,e,m,_.a.COMPONENT,n,i,r,l.b.CheckAlways)}return u(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._text_0=this.renderer.createText(e,"\n",null),this._el_1=this.renderer.createElement(e,"a",null),this.renderer.setElementAttribute(this._el_1,"class","wfl-github-ribbon"),this.renderer.setElementAttribute(this._el_1,"href","https://github.com/Digilent/waveforms-live"),this.renderer.setElementAttribute(this._el_1,"target","_blank"),this._text_2=this.renderer.createText(this._el_1,"\n ",null),this._el_3=this.renderer.createElement(this._el_1,"img",null),this.renderer.setElementAttribute(this._el_3,"alt","Fork me on GitHub"),this.renderer.setElementAttribute(this._el_3,"data-canonical-src","https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png"),this.renderer.setElementAttribute(this._el_3,"src","https://camo.githubusercontent.com/652c5b9acfaddf3a9c326fa6bde407b87f7be0f4/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6f72616e67655f6666373630302e706e67"),this._text_4=this.renderer.createText(this._el_1,"\n",null),this.init([],[this._text_0,this._el_1,this._text_2,this._el_3,this._text_4],[],[]),null},e}(s.a)},function(t,e,n){"use strict";function i(t,e,n){return null===nt&&(nt=t.createRenderComponentType("",0,M.c.None,[],{})),new it(t,e,n)}function r(t,e,n,i){t.cancelActiveAnimation(e,"expand","void"==i);var r={},s=null,o=0,a=st["*"],_=st[n];null==_&&(_=a);var l=st[i];null==l&&(l=a),B.e(e,t.renderer,B.d(_)),null==s&&"void"==n&&(s=new F.a([t.renderer.animate(e,new q.a(B.f(r,[_])),[new V.a(0,new q.a(B.f(r,[{}]))),new V.a(1,new q.a(B.f(r,[{}])))],0,0,null)]),o=0),null==s&&(s=new F.a([t.renderer.animate(e,new q.a(B.f(r,[_])),B.b(r,l,[new V.a(0,new q.a(B.f(r,[{}]))),new V.a(1,new q.a(B.f(r,[{}])))]),250,0,"ease-in-out")]),o=250),null==s&&(s=new H.a),s.onDone(function(){B.e(e,t.renderer,B.a(_,l))}),t.queueAnimation(e,"expand",s,o,n,i)}function s(t,e,n){return null===ot&&(ot=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/components/instrument-panel-chart/instrument-panel-chart.html",0,M.c.None,rt,{expand:r})),new at(t,e,n)}function o(t,e,n){return new _t(t,e,n)}function a(t,e,n){return new lt(t,e,n)}function _(t,e,n){return new ht(t,e,n)}function l(t,e,n){return new ct(t,e,n)}function h(t,e,n){return new ut(t,e,n)}function c(t,e,n){return new pt(t,e,n)}function u(t,e,n){return new dt(t,e,n)}function p(t,e,n){return new ft(t,e,n)}function d(t,e,n){return new mt(t,e,n)}function f(t,e,n){return new gt(t,e,n)}function m(t,e,n){return new vt(t,e,n)}function g(t,e,n){return new xt(t,e,n)}var v=n(10),x=n(6),y=n(150),b=n(11),w=n(5),C=n(4),E=n(121),T=n(23),A=n(47),I=n(31),S=n(28),O=n(110),k=n(51),N=n(71),P=n(82),R=n(43),D=n(38),j=n(224),M=n(8),L=n(7),B=n(164),F=n(163),q=n(165),V=n(162),H=n(136),U=n(34),z=n(70),G=n(20),W=n(35),Y=n(33),$=n(192),X=n(25),J=n(2),Q=n(14),Z=n(21),K=n(273),tt=n(73);e.a=s;var et=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},nt=null,it=function(t){function e(n,i,r){t.call(this,e,nt,w.a.HOST,n,i,r,C.b.CheckAlways)}return et(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("instrument-panel-chart",t,null),this._appEl_0=new x.a(0,null,this,this._el_0);var e=s(this.viewUtils,this.injector(0),this._appEl_0);return this._InstrumentPanelChart_0_5=new y.a(this.parentInjector.get(E.a),this.parentInjector.get(T.f),this.parentInjector.get(A.a),this.parentInjector.get(I.a),this.parentInjector.get(S.a),this.parentInjector.get(O.a),this._appEl_0.vcRef,this.parentInjector.get(k.a),this.parentInjector.get(N.a),this.parentInjector.get(P.a),this.parentInjector.get(R.DeviceManagerService),this.parentInjector.get(D.a),this.parentInjector.get(j.a)),this._appEl_0.initComponent(this._InstrumentPanelChart_0_5,[],e),e.create(this._InstrumentPanelChart_0_5,this.projectableNodes,null),this.init([].concat([this._appEl_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===y.a&&0===e?this._InstrumentPanelChart_0_5:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._InstrumentPanelChart_0_5.ngAfterViewInit()},e}(v.a),rt=(new L.a("instrument-panel-chart",i,y.a),[]),st={true:{height:"100%"},false:{height:"0%"},"*":{},void:{}},ot=null,at=function(t){function e(n,i,r){t.call(this,e,ot,w.a.COMPONENT,n,i,r,C.b.CheckAlways)}return et(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_fftChart_0=new U.a,this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","chart-component-wrapper"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_2,"class","chart-container-container"),this.renderer.setElementAttribute(this._el_2,"id","chart-component-container"),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"div",null),this.renderer.setElementAttribute(this._el_4,"class","chart-component-container-div"),this._text_5=this.renderer.createText(this._el_4,"\n ",null),this._el_6=this.renderer.createElement(this._el_4,"div",null),this.renderer.setElementAttribute(this._el_6,"id","flotContainer"),this._text_7=this.renderer.createText(this._el_4,"\n ",null),this._el_8=this.renderer.createElement(this._el_4,"div",null),this.renderer.setElementAttribute(this._el_8,"class","chart-button-container"),this._text_9=this.renderer.createText(this._el_8,"\n ",null),this._el_10=this.renderer.createElement(this._el_8,"div",null),this.renderer.setElementAttribute(this._el_10,"tooltipPlacement","left"),this._appEl_10=new x.a(10,8,this,this._el_10),this._Tooltip_10_5=new z.a(this._appEl_10.vcRef,this.parentInjector.get(k.a),this.parentInjector.get(T.f)),this._text_11=this.renderer.createText(this._el_10,"\n ",null),this._el_12=this.renderer.createElement(this._el_10,"button",null),this.renderer.setElementAttribute(this._el_12,"class","chart-button disable-hover"),this.renderer.setElementAttribute(this._el_12,"ion-button",""),this._appEl_12=new x.a(12,10,this,this._el_12);var n=X.a(this.viewUtils,this.injector(12),this._appEl_12);this._Button_12_4=new G.a(null,"",this.parentInjector.get(J.c),new Q.a(this._el_12),this.renderer),this._appEl_12.initComponent(this._Button_12_4,[],n),this._text_13=this.renderer.createText(null,"\n fft\n ",null),n.create(this._Button_12_4,[[].concat([this._text_13])],null),this._text_14=this.renderer.createText(this._el_10,"\n ",null),this._text_15=this.renderer.createText(this._el_8,"\n ",null),this._el_16=this.renderer.createElement(this._el_8,"div",null),this.renderer.setElementAttribute(this._el_16,"tooltipPlacement","left"),this._appEl_16=new x.a(16,8,this,this._el_16),this._Tooltip_16_5=new z.a(this._appEl_16.vcRef,this.parentInjector.get(k.a),this.parentInjector.get(T.f)),this._text_17=this.renderer.createText(this._el_16,"\n ",null),this._el_18=this.renderer.createElement(this._el_16,"button",null),this.renderer.setElementAttribute(this._el_18,"class","chart-button disable-hover"),this.renderer.setElementAttribute(this._el_18,"ion-button",""),this._appEl_18=new x.a(18,16,this,this._el_18);var i=X.a(this.viewUtils,this.injector(18),this._appEl_18);this._Button_18_4=new G.a(null,"",this.parentInjector.get(J.c),new Q.a(this._el_18),this.renderer),this._appEl_18.initComponent(this._Button_18_4,[],i),this._text_19=this.renderer.createText(null,"\n ",null),this._el_20=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_20,"class","buttons-side-svg"),this.renderer.setElementAttribute(this._el_20,"src","assets/img/bode.svg"),this._text_21=this.renderer.createText(null,"\n ",null),i.create(this._Button_18_4,[[].concat([this._text_19,this._el_20,this._text_21])],null),this._text_22=this.renderer.createText(this._el_16,"\n ",null),this._text_23=this.renderer.createText(this._el_8,"\n ",null),this._el_24=this.renderer.createElement(this._el_8,"div",null),this.renderer.setElementAttribute(this._el_24,"tooltipPlacement","left"),this._appEl_24=new x.a(24,8,this,this._el_24),this._Tooltip_24_5=new z.a(this._appEl_24.vcRef,this.parentInjector.get(k.a),this.parentInjector.get(T.f)),this._text_25=this.renderer.createText(this._el_24,"\n ",null),this._el_26=this.renderer.createElement(this._el_24,"button",null),this.renderer.setElementAttribute(this._el_26,"class","chart-button disable-hover"),this.renderer.setElementAttribute(this._el_26,"ion-button",""),this._appEl_26=new x.a(26,24,this,this._el_26);var r=X.a(this.viewUtils,this.injector(26),this._appEl_26);this._Button_26_4=new G.a(null,"",this.parentInjector.get(J.c),new Q.a(this._el_26),this.renderer),this._appEl_26.initComponent(this._Button_26_4,[],r),this._text_27=this.renderer.createText(null,"\n ",null),this._el_28=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_28,"class","buttons-side-svg"),this.renderer.setElementAttribute(this._el_28,"src","assets/img/logger.svg"),this._text_29=this.renderer.createText(null,"\n ",null),r.create(this._Button_26_4,[[].concat([this._text_27,this._el_28,this._text_29])],null),this._text_30=this.renderer.createText(this._el_24,"\n ",null),this._text_31=this.renderer.createText(this._el_8,"\n ",null),this._el_32=this.renderer.createElement(this._el_8,"div",null),this.renderer.setElementAttribute(this._el_32,"tooltipPlacement","left"),this._appEl_32=new x.a(32,8,this,this._el_32),this._Tooltip_32_5=new z.a(this._appEl_32.vcRef,this.parentInjector.get(k.a),this.parentInjector.get(T.f)),this._text_33=this.renderer.createText(this._el_32,"\n ",null),this._el_34=this.renderer.createElement(this._el_32,"button",null),this.renderer.setElementAttribute(this._el_34,"class","chart-button disable-hover"),this.renderer.setElementAttribute(this._el_34,"ion-button",""),this._appEl_34=new x.a(34,32,this,this._el_34);var s=X.a(this.viewUtils,this.injector(34),this._appEl_34);this._Button_34_4=new G.a(null,"",this.parentInjector.get(J.c),new Q.a(this._el_34),this.renderer),this._appEl_34.initComponent(this._Button_34_4,[],s),this._text_35=this.renderer.createText(null,"\n ",null),this._el_36=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_36,"class","button-side-svg"),this.renderer.setElementAttribute(this._el_36,"src","assets/img/fullscreen.svg"),this._text_37=this.renderer.createText(null,"\n ",null),s.create(this._Button_34_4,[[].concat([this._text_35,this._el_36,this._text_37])],null),this._text_38=this.renderer.createText(this._el_32,"\n ",null),this._text_39=this.renderer.createText(this._el_8,"\n ",null),this._el_40=this.renderer.createElement(this._el_8,"div",null),this.renderer.setElementAttribute(this._el_40,"tooltipPlacement","left"),this._appEl_40=new x.a(40,8,this,this._el_40),this._Tooltip_40_5=new z.a(this._appEl_40.vcRef,this.parentInjector.get(k.a),this.parentInjector.get(T.f)),this._text_41=this.renderer.createText(this._el_40,"\n ",null),this._el_42=this.renderer.createElement(this._el_40,"button",null),this.renderer.setElementAttribute(this._el_42,"class","chart-button disable-hover"),this.renderer.setElementAttribute(this._el_42,"ion-button",""),this._appEl_42=new x.a(42,40,this,this._el_42);var a=X.a(this.viewUtils,this.injector(42),this._appEl_42);this._Button_42_4=new G.a(null,"",this.parentInjector.get(J.c),new Q.a(this._el_42),this.renderer),this._appEl_42.initComponent(this._Button_42_4,[],a),this._text_43=this.renderer.createText(null,"\n ",null),this._el_44=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_44,"class","button-side-svg align-trigger"),this.renderer.setElementAttribute(this._el_44,"src","assets/img/align-center.svg"),this._text_45=this.renderer.createText(null,"\n ",null),a.create(this._Button_42_4,[[].concat([this._text_43,this._el_44,this._text_45])],null),this._text_46=this.renderer.createText(this._el_40,"\n ",null),this._text_47=this.renderer.createText(this._el_8,"\n ",null),this._el_48=this.renderer.createElement(this._el_8,"div",null),this.renderer.setElementAttribute(this._el_48,"tooltipPlacement","left"),this._appEl_48=new x.a(48,8,this,this._el_48),this._Tooltip_48_5=new z.a(this._appEl_48.vcRef,this.parentInjector.get(k.a),this.parentInjector.get(T.f)),this._text_49=this.renderer.createText(this._el_48,"\n ",null),this._el_50=this.renderer.createElement(this._el_48,"button",null),this.renderer.setElementAttribute(this._el_50,"class","chart-button disable-hover"),this.renderer.setElementAttribute(this._el_50,"ion-button",""),this._appEl_50=new x.a(50,48,this,this._el_50);var _=X.a(this.viewUtils,this.injector(50),this._appEl_50);this._Button_50_4=new G.a(null,"",this.parentInjector.get(J.c),new Q.a(this._el_50),this.renderer),this._appEl_50.initComponent(this._Button_50_4,[],_),this._text_51=this.renderer.createText(null,"\n ",null),this._el_52=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_52,"class","button-side-svg"),this.renderer.setElementAttribute(this._el_52,"src","assets/img/download.svg"),this._text_53=this.renderer.createText(null,"\n ",null),_.create(this._Button_50_4,[[].concat([this._text_51,this._el_52,this._text_53])],null),this._text_54=this.renderer.createText(this._el_48,"\n ",null),this._text_55=this.renderer.createText(this._el_8,"\n ",null),this._el_56=this.renderer.createElement(this._el_8,"div",null),this.renderer.setElementAttribute(this._el_56,"tooltipPlacement","left"),this._appEl_56=new x.a(56,8,this,this._el_56),this._Tooltip_56_5=new z.a(this._appEl_56.vcRef,this.parentInjector.get(k.a),this.parentInjector.get(T.f)),this._text_57=this.renderer.createText(this._el_56,"\n ",null),this._el_58=this.renderer.createElement(this._el_56,"button",null),this.renderer.setElementAttribute(this._el_58,"class","chart-button disable-hover"),this.renderer.setElementAttribute(this._el_58,"ion-button",""),this._appEl_58=new x.a(58,56,this,this._el_58);var l=X.a(this.viewUtils,this.injector(58),this._appEl_58);this._Button_58_4=new G.a(null,"",this.parentInjector.get(J.c),new Q.a(this._el_58),this.renderer),this._appEl_58.initComponent(this._Button_58_4,[],l),this._text_59=this.renderer.createText(null,"\n ",null),this._text_60=this.renderer.createText(null,"\n PIN\n ",null),l.create(this._Button_58_4,[[].concat([this._text_59,this._text_60])],null),this._text_61=this.renderer.createText(this._el_56,"\n ",null),this._text_62=this.renderer.createText(this._el_8,"\n ",null),this._el_63=this.renderer.createElement(this._el_8,"div",null),this.renderer.setElementAttribute(this._el_63,"tooltipPlacement","left"),this._appEl_63=new x.a(63,8,this,this._el_63),this._Tooltip_63_5=new z.a(this._appEl_63.vcRef,this.parentInjector.get(k.a),this.parentInjector.get(T.f)),this._text_64=this.renderer.createText(this._el_63,"\n ",null),this._el_65=this.renderer.createElement(this._el_63,"button",null),this.renderer.setElementAttribute(this._el_65,"class","chart-button disable-hover"),this.renderer.setElementAttribute(this._el_65,"ion-button",""),this._appEl_65=new x.a(65,63,this,this._el_65);var h=X.a(this.viewUtils,this.injector(65),this._appEl_65);this._Button_65_4=new G.a(null,"",this.parentInjector.get(J.c),new Q.a(this._el_65),this.renderer),this._appEl_65.initComponent(this._Button_65_4,[],h),this._text_66=this.renderer.createText(null,"\n ",null),this._el_67=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_67,"class","button-side-svg"),this.renderer.setElementAttribute(this._el_67,"src","assets/img/restore.svg"),this._text_68=this.renderer.createText(null,"\n ",null),h.create(this._Button_65_4,[[].concat([this._text_66,this._el_67,this._text_68])],null),this._text_69=this.renderer.createText(this._el_63,"\n ",null),this._text_70=this.renderer.createText(this._el_8,"\n ",null),this._text_71=this.renderer.createText(this._el_4,"\n ",null),this._text_72=this.renderer.createText(this._el_2,"\n ",null),this._text_73=this.renderer.createText(this._el_0,"\n ",null),this._el_74=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_74,"class","chart-bottom-container"),this._text_75=this.renderer.createText(this._el_74,"\n ",null),this._el_76=this.renderer.createElement(this._el_74,"ion-row",null),this.renderer.setElementAttribute(this._el_76,"class","chart-info"),this._Row_76_3=new W.c,this._text_77=this.renderer.createText(this._el_76,"\n ",null),this._anchor_78=this.renderer.createTemplateAnchor(this._el_76,null),this._appEl_78=new x.a(78,76,this,this._anchor_78),this._TemplateRef_78_5=new Z.a(this._appEl_78,o),this._NgIf_78_6=new Y.a(this._appEl_78.vcRef,this._TemplateRef_78_5),this._text_79=this.renderer.createText(this._el_76,"\n ",null),this._anchor_80=this.renderer.createTemplateAnchor(this._el_76,null),this._appEl_80=new x.a(80,76,this,this._anchor_80),this._TemplateRef_80_5=new Z.a(this._appEl_80,c),this._NgIf_80_6=new Y.a(this._appEl_80.vcRef,this._TemplateRef_80_5),this._text_81=this.renderer.createText(this._el_76,"\n ",null),this._text_82=this.renderer.createText(this._el_74,"\n ",null),this._text_83=this.renderer.createText(this._el_0,"\n \n ",null),this._el_84=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_84,"class","fft-component-container"),this._text_85=this.renderer.createText(this._el_84,"\n ",null),this._el_86=this.renderer.createElement(this._el_84,"digilent-chart",null),this.renderer.setElementAttribute(this._el_86,"chartId","digilentChart"),this._appEl_86=new x.a(86,84,this,this._el_86);var u=K.a(this.viewUtils,this.injector(86),this._appEl_86);this._DigilentChart_86_4=new $.a,this._appEl_86.initComponent(this._DigilentChart_86_4,[],u),u.create(this._DigilentChart_86_4,[],null),this._text_87=this.renderer.createText(this._el_84,"\n ",null),this._text_88=this.renderer.createText(this._el_0,"\n\n",null);var p=this.renderer.listen(this._el_4,"pinch",this.eventHandler(this._handle_pinch_4_0.bind(this))),d=this.renderer.listen(this._el_10,"focusin",this.eventHandler(this._handle_focusin_10_0.bind(this))),f=this.renderer.listen(this._el_10,"mouseenter",this.eventHandler(this._handle_mouseenter_10_1.bind(this))),m=this.renderer.listen(this._el_10,"focusout",this.eventHandler(this._handle_focusout_10_2.bind(this))),g=this.renderer.listen(this._el_10,"mouseleave",this.eventHandler(this._handle_mouseleave_10_3.bind(this)));this._expr_5=C.n,this._expr_6=C.n,this._expr_7=C.n,this._expr_9=C.n;var v=this.renderer.listen(this._el_12,"tap",this.eventHandler(this._handle_tap_12_0.bind(this))),y=this.renderer.listen(this._el_16,"focusin",this.eventHandler(this._handle_focusin_16_0.bind(this))),b=this.renderer.listen(this._el_16,"mouseenter",this.eventHandler(this._handle_mouseenter_16_1.bind(this))),w=this.renderer.listen(this._el_16,"focusout",this.eventHandler(this._handle_focusout_16_2.bind(this))),E=this.renderer.listen(this._el_16,"mouseleave",this.eventHandler(this._handle_mouseleave_16_3.bind(this)));this._expr_14=C.n,this._expr_15=C.n,this._expr_16=C.n;var A=this.renderer.listen(this._el_18,"tap",this.eventHandler(this._handle_tap_18_0.bind(this))),I=this.renderer.listen(this._el_24,"focusin",this.eventHandler(this._handle_focusin_24_0.bind(this))),S=this.renderer.listen(this._el_24,"mouseenter",this.eventHandler(this._handle_mouseenter_24_1.bind(this))),O=this.renderer.listen(this._el_24,"focusout",this.eventHandler(this._handle_focusout_24_2.bind(this))),N=this.renderer.listen(this._el_24,"mouseleave",this.eventHandler(this._handle_mouseleave_24_3.bind(this)));this._expr_22=C.n,this._expr_23=C.n,this._expr_24=C.n,this._expr_26=C.n;var P=this.renderer.listen(this._el_26,"tap",this.eventHandler(this._handle_tap_26_0.bind(this))),R=this.renderer.listen(this._el_32,"focusin",this.eventHandler(this._handle_focusin_32_0.bind(this))),D=this.renderer.listen(this._el_32,"mouseenter",this.eventHandler(this._handle_mouseenter_32_1.bind(this))),j=this.renderer.listen(this._el_32,"focusout",this.eventHandler(this._handle_focusout_32_2.bind(this))),M=this.renderer.listen(this._el_32,"mouseleave",this.eventHandler(this._handle_mouseleave_32_3.bind(this)));this._expr_31=C.n,this._expr_32=C.n,this._expr_33=C.n,this._expr_35=C.n;var L=this.renderer.listen(this._el_34,"tap",this.eventHandler(this._handle_tap_34_0.bind(this)));this._expr_40=C.n;var B=this.renderer.listen(this._el_40,"focusin",this.eventHandler(this._handle_focusin_40_0.bind(this))),F=this.renderer.listen(this._el_40,"mouseenter",this.eventHandler(this._handle_mouseenter_40_1.bind(this))),q=this.renderer.listen(this._el_40,"focusout",this.eventHandler(this._handle_focusout_40_2.bind(this))),V=this.renderer.listen(this._el_40,"mouseleave",this.eventHandler(this._handle_mouseleave_40_3.bind(this)));this._expr_41=C.n,this._expr_42=C.n,this._expr_43=C.n,this._expr_45=C.n;var H=this.renderer.listen(this._el_42,"tap",this.eventHandler(this._handle_tap_42_0.bind(this)));this._expr_50=C.n;var tt=this.renderer.listen(this._el_48,"focusin",this.eventHandler(this._handle_focusin_48_0.bind(this))),et=this.renderer.listen(this._el_48,"mouseenter",this.eventHandler(this._handle_mouseenter_48_1.bind(this))),nt=this.renderer.listen(this._el_48,"focusout",this.eventHandler(this._handle_focusout_48_2.bind(this))),it=this.renderer.listen(this._el_48,"mouseleave",this.eventHandler(this._handle_mouseleave_48_3.bind(this)));this._expr_51=C.n,this._expr_52=C.n,this._expr_53=C.n,this._expr_55=C.n;var rt=this.renderer.listen(this._el_50,"tap",this.eventHandler(this._handle_tap_50_0.bind(this)));this._expr_60=C.n;var st=this.renderer.listen(this._el_56,"focusin",this.eventHandler(this._handle_focusin_56_0.bind(this))),ot=this.renderer.listen(this._el_56,"mouseenter",this.eventHandler(this._handle_mouseenter_56_1.bind(this))),at=this.renderer.listen(this._el_56,"focusout",this.eventHandler(this._handle_focusout_56_2.bind(this))),_t=this.renderer.listen(this._el_56,"mouseleave",this.eventHandler(this._handle_mouseleave_56_3.bind(this)));this._expr_61=C.n,this._expr_62=C.n,this._expr_63=C.n;var lt=this.renderer.listen(this._el_58,"tap",this.eventHandler(this._handle_tap_58_0.bind(this)));this._expr_69=C.n;var ht=this.renderer.listen(this._el_63,"focusin",this.eventHandler(this._handle_focusin_63_0.bind(this))),ct=this.renderer.listen(this._el_63,"mouseenter",this.eventHandler(this._handle_mouseenter_63_1.bind(this))),ut=this.renderer.listen(this._el_63,"focusout",this.eventHandler(this._handle_focusout_63_2.bind(this))),pt=this.renderer.listen(this._el_63,"mouseleave",this.eventHandler(this._handle_mouseleave_63_3.bind(this)));this._expr_70=C.n,this._expr_71=C.n,this._expr_72=C.n;var dt=this.renderer.listen(this._el_65,"tap",this.eventHandler(this._handle_tap_65_0.bind(this)));this._expr_74=C.n,this._expr_75=C.n,this._expr_76=C.n;var ft=this.renderer.listen(this._el_86,"contextmenu",this.eventHandler(this._handle_contextmenu_86_0.bind(this)));return this._expr_78=C.n,this._expr_79=C.n,this._viewQuery_fftChart_0.reset([this._DigilentChart_86_4]),this.context.fftChart=this._viewQuery_fftChart_0.first,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9,this._el_10,this._text_11,this._el_12,this._text_13,this._text_14,this._text_15,this._el_16,this._text_17,this._el_18,this._text_19,this._el_20,this._text_21,this._text_22,this._text_23,this._el_24,this._text_25,this._el_26,this._text_27,this._el_28,this._text_29,this._text_30,this._text_31,this._el_32,this._text_33,this._el_34,this._text_35,this._el_36,this._text_37,this._text_38,this._text_39,this._el_40,this._text_41,this._el_42,this._text_43,this._el_44,this._text_45,this._text_46,this._text_47,this._el_48,this._text_49,this._el_50,this._text_51,this._el_52,this._text_53,this._text_54,this._text_55,this._el_56,this._text_57,this._el_58,this._text_59,this._text_60,this._text_61,this._text_62,this._el_63,this._text_64,this._el_65,this._text_66,this._el_67,this._text_68,this._text_69,this._text_70,this._text_71,this._text_72,this._text_73,this._el_74,this._text_75,this._el_76,this._text_77,this._anchor_78,this._text_79,this._anchor_80,this._text_81,this._text_82,this._text_83,this._el_84,this._text_85,this._el_86,this._text_87,this._text_88],[p,d,f,m,g,v,y,b,w,E,A,I,S,O,N,P,R,D,j,M,L,B,F,q,V,H,tt,et,nt,it,rt,st,ot,at,_t,lt,ht,ct,ut,pt,dt,ft],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===G.a&&12<=e&&e<=13?this._Button_12_4:t===z.a&&10<=e&&e<=14?this._Tooltip_10_5:t===G.a&&18<=e&&e<=21?this._Button_18_4:t===z.a&&16<=e&&e<=22?this._Tooltip_16_5:t===G.a&&26<=e&&e<=29?this._Button_26_4:t===z.a&&24<=e&&e<=30?this._Tooltip_24_5:t===G.a&&34<=e&&e<=37?this._Button_34_4:t===z.a&&32<=e&&e<=38?this._Tooltip_32_5:t===G.a&&42<=e&&e<=45?this._Button_42_4:t===z.a&&40<=e&&e<=46?this._Tooltip_40_5:t===G.a&&50<=e&&e<=53?this._Button_50_4:t===z.a&&48<=e&&e<=54?this._Tooltip_48_5:t===G.a&&58<=e&&e<=60?this._Button_58_4:t===z.a&&56<=e&&e<=61?this._Tooltip_56_5:t===G.a&&65<=e&&e<=68?this._Button_65_4:t===z.a&&63<=e&&e<=69?this._Tooltip_63_5:t===Z.b&&78===e?this._TemplateRef_78_5:t===Y.a&&78===e?this._NgIf_78_6:t===Z.b&&80===e?this._TemplateRef_80_5:t===Y.a&&80===e?this._NgIf_80_6:t===W.c&&76<=e&&e<=81?this._Row_76_3:t===$.a&&86===e?this._DigilentChart_86_4:n},e.prototype.detectChangesInternal=function(t){var e=null,n=this.context.showFft;if(b.c(t,this._expr_76,n)){var i=this._expr_76;i==C.n&&(i="void");var r=n;r==C.n&&(r="void"),this.componentType.animations.expand(this,this._el_84,i,r),this._expr_76=n}e=null;var s=this.context.fftTip;b.c(t,this._expr_5,s)&&(this._Tooltip_10_5.content=s,null===e&&(e={}),e.content=new C.m(this._expr_5,s),this._expr_5=s);var o=!0;b.c(t,this._expr_6,o)&&(this._Tooltip_10_5.tooltipAnimation=o,null===e&&(e={}),e.tooltipAnimation=new C.m(this._expr_6,o),this._expr_6=o);var a="left";b.c(t,this._expr_7,a)&&(this._Tooltip_10_5.tooltipPlacement=a,null===e&&(e={}),e.tooltipPlacement=new C.m(this._expr_7,a),this._expr_7=a),null!==e&&this._Tooltip_10_5.ngOnChanges(e),e=null;var _=this.context.tooltipService.getTooltip("chartToBode").message;b.c(t,this._expr_14,_)&&(this._Tooltip_16_5.content=_,null===e&&(e={}),e.content=new C.m(this._expr_14,_),this._expr_14=_);var l=!0;b.c(t,this._expr_15,l)&&(this._Tooltip_16_5.tooltipAnimation=l,null===e&&(e={}),e.tooltipAnimation=new C.m(this._expr_15,l),this._expr_15=l);var h="left";b.c(t,this._expr_16,h)&&(this._Tooltip_16_5.tooltipPlacement=h,null===e&&(e={}),e.tooltipPlacement=new C.m(this._expr_16,h),this._expr_16=h),null!==e&&this._Tooltip_16_5.ngOnChanges(e),e=null;var c=this.context.loggerTip;b.c(t,this._expr_22,c)&&(this._Tooltip_24_5.content=c,null===e&&(e={}),e.content=new C.m(this._expr_22,c),this._expr_22=c);var u=!0;b.c(t,this._expr_23,u)&&(this._Tooltip_24_5.tooltipAnimation=u,null===e&&(e={}),e.tooltipAnimation=new C.m(this._expr_23,u),this._expr_23=u);var p="left";b.c(t,this._expr_24,p)&&(this._Tooltip_24_5.tooltipPlacement=p,null===e&&(e={}),e.tooltipPlacement=new C.m(this._expr_24,p),this._expr_24=p),null!==e&&this._Tooltip_24_5.ngOnChanges(e),e=null;var d=this.context.autoScaleTip;b.c(t,this._expr_31,d)&&(this._Tooltip_32_5.content=d,null===e&&(e={}),e.content=new C.m(this._expr_31,d),this._expr_31=d);var f=!0;b.c(t,this._expr_32,f)&&(this._Tooltip_32_5.tooltipAnimation=f,null===e&&(e={}),e.tooltipAnimation=new C.m(this._expr_32,f),this._expr_32=f);var m="left"; b.c(t,this._expr_33,m)&&(this._Tooltip_32_5.tooltipPlacement=m,null===e&&(e={}),e.tooltipPlacement=new C.m(this._expr_33,m),this._expr_33=m),null!==e&&this._Tooltip_32_5.ngOnChanges(e),e=null;var g=this.context.cotTip;b.c(t,this._expr_41,g)&&(this._Tooltip_40_5.content=g,null===e&&(e={}),e.content=new C.m(this._expr_41,g),this._expr_41=g);var v=!0;b.c(t,this._expr_42,v)&&(this._Tooltip_40_5.tooltipAnimation=v,null===e&&(e={}),e.tooltipAnimation=new C.m(this._expr_42,v),this._expr_42=v);var x="left";b.c(t,this._expr_43,x)&&(this._Tooltip_40_5.tooltipPlacement=x,null===e&&(e={}),e.tooltipPlacement=new C.m(this._expr_43,x),this._expr_43=x),null!==e&&this._Tooltip_40_5.ngOnChanges(e),e=null;var y=this.context.exportChartTip;b.c(t,this._expr_51,y)&&(this._Tooltip_48_5.content=y,null===e&&(e={}),e.content=new C.m(this._expr_51,y),this._expr_51=y);var w=!0;b.c(t,this._expr_52,w)&&(this._Tooltip_48_5.tooltipAnimation=w,null===e&&(e={}),e.tooltipAnimation=new C.m(this._expr_52,w),this._expr_52=w);var E="left";b.c(t,this._expr_53,E)&&(this._Tooltip_48_5.tooltipPlacement=E,null===e&&(e={}),e.tooltipPlacement=new C.m(this._expr_53,E),this._expr_53=E),null!==e&&this._Tooltip_48_5.ngOnChanges(e),e=null;var T=this.context.tooltipService.getTooltip("chartShowDevicePinout").message;b.c(t,this._expr_61,T)&&(this._Tooltip_56_5.content=T,null===e&&(e={}),e.content=new C.m(this._expr_61,T),this._expr_61=T);var A=!0;b.c(t,this._expr_62,A)&&(this._Tooltip_56_5.tooltipAnimation=A,null===e&&(e={}),e.tooltipAnimation=new C.m(this._expr_62,A),this._expr_62=A);var I="left";b.c(t,this._expr_63,I)&&(this._Tooltip_56_5.tooltipPlacement=I,null===e&&(e={}),e.tooltipPlacement=new C.m(this._expr_63,I),this._expr_63=I),null!==e&&this._Tooltip_56_5.ngOnChanges(e),e=null;var S=this.context.tooltipService.getTooltip("chartResetDevice").message;b.c(t,this._expr_70,S)&&(this._Tooltip_63_5.content=S,null===e&&(e={}),e.content=new C.m(this._expr_70,S),this._expr_70=S);var O=!0;b.c(t,this._expr_71,O)&&(this._Tooltip_63_5.tooltipAnimation=O,null===e&&(e={}),e.tooltipAnimation=new C.m(this._expr_71,O),this._expr_71=O);var k="left";b.c(t,this._expr_72,k)&&(this._Tooltip_63_5.tooltipPlacement=k,null===e&&(e={}),e.tooltipPlacement=new C.m(this._expr_72,k),this._expr_72=k),null!==e&&this._Tooltip_63_5.ngOnChanges(e);var N=this.context.mathEnabled;b.c(t,this._expr_74,N)&&(this._NgIf_78_6.ngIf=N,this._expr_74=N);var P=this.context.cursorsEnabled;b.c(t,this._expr_75,P)&&(this._NgIf_80_6.ngIf=P,this._expr_75=P);var R="digilentChart";b.c(t,this._expr_78,R)&&(this._DigilentChart_86_4.chartId=R,this._expr_78=R);var D=this.context.fftChartOptions;b.c(t,this._expr_79,D)&&(this._DigilentChart_86_4.flotOptions=D,this._expr_79=D),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_12_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_18_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_26_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_34_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_42_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_50_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_58_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_65_4.ngAfterContentInit());var j=this.context.fftDisabled().isDisabled;b.c(t,this._expr_9,j)&&(this.renderer.setElementProperty(this._el_12,"disabled",j),this._expr_9=j);var M=this.context.loggerDisabled().isDisabled;b.c(t,this._expr_26,M)&&(this.renderer.setElementProperty(this._el_26,"disabled",M),this._expr_26=M);var L=this.context.autoScaleDisabled().isDisabled;b.c(t,this._expr_35,L)&&(this.renderer.setElementProperty(this._el_34,"disabled",L),this._expr_35=L);var B=this.context.showFft;b.c(t,this._expr_40,B)&&(this.renderer.setElementProperty(this._el_40,"hidden",B),this._expr_40=B);var F=this.context.cotDisabled().isDisabled;b.c(t,this._expr_45,F)&&(this.renderer.setElementProperty(this._el_42,"disabled",F),this._expr_45=F);var q=this.context.showFft;b.c(t,this._expr_50,q)&&(this.renderer.setElementProperty(this._el_48,"hidden",q),this._expr_50=q);var V=this.context.exportChartDisabled().isDisabled;b.c(t,this._expr_55,V)&&(this.renderer.setElementProperty(this._el_50,"disabled",V),this._expr_55=V);var H=this.context.showFft;b.c(t,this._expr_60,H)&&(this.renderer.setElementProperty(this._el_56,"hidden",H),this._expr_60=H);var U=this.context.showFft;b.c(t,this._expr_69,U)&&(this.renderer.setElementProperty(this._el_63,"hidden",U),this._expr_69=U),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._DigilentChart_86_4.ngAfterViewInit()},e.prototype.detachInternal=function(){this.componentType.animations.expand(this,this._el_84,this._expr_76,"void")},e.prototype._handle_pinch_4_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.pinchEvent(t)!==!1;return e},e.prototype._handle_focusin_10_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_10_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_10_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_10_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_10_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_10_5.hide()!==!1;return e},e.prototype._handle_mouseleave_10_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_10_5.hide()!==!1;return e},e.prototype._handle_tap_12_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.toggleFft()!==!1;return e},e.prototype._handle_focusin_16_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_16_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_16_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_16_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_16_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_16_5.hide()!==!1;return e},e.prototype._handle_mouseleave_16_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_16_5.hide()!==!1;return e},e.prototype._handle_tap_18_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.toBode()!==!1;return e},e.prototype._handle_focusin_24_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_24_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_24_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_24_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_24_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_24_5.hide()!==!1;return e},e.prototype._handle_mouseleave_24_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_24_5.hide()!==!1;return e},e.prototype._handle_tap_26_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.toLogger()!==!1;return e},e.prototype._handle_focusin_32_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_32_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_32_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_32_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_32_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_32_5.hide()!==!1;return e},e.prototype._handle_mouseleave_32_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_32_5.hide()!==!1;return e},e.prototype._handle_tap_34_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.autoscaleAllAxes()!==!1;return e},e.prototype._handle_focusin_40_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_40_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_40_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_40_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_40_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_40_5.hide()!==!1;return e},e.prototype._handle_mouseleave_40_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_40_5.hide()!==!1;return e},e.prototype._handle_tap_42_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.centerOnTrigger()!==!1;return e},e.prototype._handle_focusin_48_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_48_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_48_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_48_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_48_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_48_5.hide()!==!1;return e},e.prototype._handle_mouseleave_48_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_48_5.hide()!==!1;return e},e.prototype._handle_tap_50_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.openChartModal(t)!==!1;return e},e.prototype._handle_focusin_56_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_56_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_56_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_56_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_56_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_56_5.hide()!==!1;return e},e.prototype._handle_mouseleave_56_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_56_5.hide()!==!1;return e},e.prototype._handle_tap_58_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.openDevicePinout(t)!==!1;return e},e.prototype._handle_focusin_63_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_63_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_63_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_63_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_63_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_63_5.hide()!==!1;return e},e.prototype._handle_mouseleave_63_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_63_5.hide()!==!1;return e},e.prototype._handle_tap_65_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.resetDevice.emit()!==!1;return e},e.prototype._handle_contextmenu_86_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.fftChartContext(t)!==!1;return e},e}(v.a),_t=function(t){function e(n,i,r){t.call(this,e,ot,w.a.EMBEDDED,n,i,r,C.b.CheckAlways)}return et(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-col",null),this.renderer.setElementAttribute(this._el_0,"center",""),this.renderer.setElementAttribute(this._el_0,"class","info-col"),this._Col_0_3=new W.a,this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-row",null),this.renderer.setElementAttribute(this._el_2,"center",""),this.renderer.setElementAttribute(this._el_2,"class","cursor-container"),this._Row_2_3=new W.c,this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"button",null),this.renderer.setElementAttribute(this._el_4,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_4,"icon-right",""),this.renderer.setElementAttribute(this._el_4,"ion-button",""),this.renderer.setElementAttribute(this._el_4,"tooltipPlacement","right"),this._appEl_4=new x.a(4,2,this,this._el_4);var e=X.a(this.viewUtils,this.injector(4),this._appEl_4);this._Tooltip_4_5=new z.a(this._appEl_4.vcRef,this.parent.parentInjector.get(k.a),this.parent.parentInjector.get(T.f)),this._Button_4_6=new G.a(null,"",this.parent.parentInjector.get(J.c),new Q.a(this._el_4),this.renderer),this._appEl_4.initComponent(this._Button_4_6,[],e),this._text_5=this.renderer.createText(null,"\n ",null),this._el_6=this.renderer.createElement(null,"span",null),this.renderer.setElementAttribute(this._el_6,"class","collapse-button"),this._text_7=this.renderer.createText(this._el_6,"Math",null),this._text_8=this.renderer.createText(null,"\n ",null),this._el_9=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_9,"class","button-side-svg"),this.renderer.setElementAttribute(this._el_9,"src","assets/img/math.svg"),this._text_10=this.renderer.createText(null,"\n ",null),e.create(this._Button_4_6,[[].concat([this._text_5,this._el_6,this._text_8,this._el_9,this._text_10])],null),this._text_11=this.renderer.createText(this._el_2,"\n ",null),this._el_12=this.renderer.createElement(this._el_2,"button",null),this.renderer.setElementAttribute(this._el_12,"class","icon-only-button-side disable-hover"),this.renderer.setElementAttribute(this._el_12,"ion-button",""),this.renderer.setElementAttribute(this._el_12,"tooltipPlacement","right"),this._appEl_12=new x.a(12,2,this,this._el_12);var n=X.a(this.viewUtils,this.injector(12),this._appEl_12);this._Tooltip_12_5=new z.a(this._appEl_12.vcRef,this.parent.parentInjector.get(k.a),this.parent.parentInjector.get(T.f)),this._Button_12_6=new G.a(null,"",this.parent.parentInjector.get(J.c),new Q.a(this._el_12),this.renderer),this._appEl_12.initComponent(this._Button_12_6,[],n),this._text_13=this.renderer.createText(null,"\n ",null),this._el_14=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_14,"class","button-side-svg"),this.renderer.setElementAttribute(this._el_14,"src","assets/img/refresh.svg"),this._text_15=this.renderer.createText(null,"\n ",null),n.create(this._Button_12_6,[[].concat([this._text_13,this._el_14,this._text_15])],null),this._text_16=this.renderer.createText(this._el_2,"\n ",null),this._el_17=this.renderer.createElement(this._el_2,"ion-col",null),this.renderer.setElementAttribute(this._el_17,"center",""),this.renderer.setElementAttribute(this._el_17,"class","cursor-info-col"),this.renderer.setElementAttribute(this._el_17,"id","test-test"),this._Col_17_3=new W.a,this._text_18=this.renderer.createText(this._el_17,"\n ",null),this._anchor_19=this.renderer.createTemplateAnchor(this._el_17,null),this._appEl_19=new x.a(19,17,this,this._anchor_19),this._TemplateRef_19_5=new Z.a(this._appEl_19,a),this._NgIf_19_6=new Y.a(this._appEl_19.vcRef,this._TemplateRef_19_5),this._text_20=this.renderer.createText(this._el_17,"\n ",null),this._el_21=this.renderer.createElement(this._el_17,"br",null),this._text_22=this.renderer.createText(this._el_17,"\n ",null),this._anchor_23=this.renderer.createTemplateAnchor(this._el_17,null),this._appEl_23=new x.a(23,17,this,this._anchor_23),this._TemplateRef_23_5=new Z.a(this._appEl_23,_),this._NgIf_23_6=new Y.a(this._appEl_23.vcRef,this._TemplateRef_23_5),this._text_24=this.renderer.createText(this._el_17,"\n ",null),this._text_25=this.renderer.createText(this._el_2,"\n ",null),this._el_26=this.renderer.createElement(this._el_2,"ion-col",null),this.renderer.setElementAttribute(this._el_26,"center",""),this.renderer.setElementAttribute(this._el_26,"class","cursor-info-col"),this._Col_26_3=new W.a,this._text_27=this.renderer.createText(this._el_26,"\n ",null),this._anchor_28=this.renderer.createTemplateAnchor(this._el_26,null),this._appEl_28=new x.a(28,26,this,this._anchor_28),this._TemplateRef_28_5=new Z.a(this._appEl_28,l),this._NgIf_28_6=new Y.a(this._appEl_28.vcRef,this._TemplateRef_28_5),this._text_29=this.renderer.createText(this._el_26,"\n ",null),this._el_30=this.renderer.createElement(this._el_26,"br",null),this._text_31=this.renderer.createText(this._el_26,"\n ",null),this._anchor_32=this.renderer.createTemplateAnchor(this._el_26,null),this._appEl_32=new x.a(32,26,this,this._anchor_32),this._TemplateRef_32_5=new Z.a(this._appEl_32,h),this._NgIf_32_6=new Y.a(this._appEl_32.vcRef,this._TemplateRef_32_5),this._text_33=this.renderer.createText(this._el_26,"\n ",null),this._text_34=this.renderer.createText(this._el_2,"\n ",null),this._text_35=this.renderer.createText(this._el_0,"\n ",null),this._expr_5=C.n;var i=this.renderer.listen(this._el_4,"tap",this.eventHandler(this._handle_tap_4_0.bind(this))),r=this.renderer.listen(this._el_4,"focusin",this.eventHandler(this._handle_focusin_4_1.bind(this))),s=this.renderer.listen(this._el_4,"mouseenter",this.eventHandler(this._handle_mouseenter_4_2.bind(this))),o=this.renderer.listen(this._el_4,"focusout",this.eventHandler(this._handle_focusout_4_3.bind(this))),c=this.renderer.listen(this._el_4,"mouseleave",this.eventHandler(this._handle_mouseleave_4_4.bind(this)));this._expr_6=C.n,this._expr_7=C.n,this._expr_8=C.n;var u=this.renderer.listen(this._el_12,"tap",this.eventHandler(this._handle_tap_12_0.bind(this))),p=this.renderer.listen(this._el_12,"focusin",this.eventHandler(this._handle_focusin_12_1.bind(this))),d=this.renderer.listen(this._el_12,"mouseenter",this.eventHandler(this._handle_mouseenter_12_2.bind(this))),f=this.renderer.listen(this._el_12,"focusout",this.eventHandler(this._handle_focusout_12_3.bind(this))),m=this.renderer.listen(this._el_12,"mouseleave",this.eventHandler(this._handle_mouseleave_12_4.bind(this)));return this._expr_14=C.n,this._expr_15=C.n,this._expr_16=C.n,this._expr_17=C.n,this._expr_18=C.n,this._expr_19=C.n,this._expr_20=C.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._text_8,this._el_9,this._text_10,this._text_11,this._el_12,this._text_13,this._el_14,this._text_15,this._text_16,this._el_17,this._text_18,this._anchor_19,this._text_20,this._el_21,this._text_22,this._anchor_23,this._text_24,this._text_25,this._el_26,this._text_27,this._anchor_28,this._text_29,this._el_30,this._text_31,this._anchor_32,this._text_33,this._text_34,this._text_35],[i,r,s,o,c,u,p,d,f,m],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===z.a&&4<=e&&e<=10?this._Tooltip_4_5:t===G.a&&4<=e&&e<=10?this._Button_4_6:t===z.a&&12<=e&&e<=15?this._Tooltip_12_5:t===G.a&&12<=e&&e<=15?this._Button_12_6:t===Z.b&&19===e?this._TemplateRef_19_5:t===Y.a&&19===e?this._NgIf_19_6:t===Z.b&&23===e?this._TemplateRef_23_5:t===Y.a&&23===e?this._NgIf_23_6:t===W.a&&17<=e&&e<=24?this._Col_17_3:t===Z.b&&28===e?this._TemplateRef_28_5:t===Y.a&&28===e?this._NgIf_28_6:t===Z.b&&32===e?this._TemplateRef_32_5:t===Y.a&&32===e?this._NgIf_32_6:t===W.a&&26<=e&&e<=33?this._Col_26_3:t===W.c&&2<=e&&e<=34?this._Row_2_3:t===W.a&&0<=e&&e<=35?this._Col_0_3:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.context.tooltipService.getTooltip("mathButton").message;b.c(t,this._expr_6,n)&&(this._Tooltip_4_5.content=n,null===e&&(e={}),e.content=new C.m(this._expr_6,n),this._expr_6=n);var i=!0;b.c(t,this._expr_7,i)&&(this._Tooltip_4_5.tooltipAnimation=i,null===e&&(e={}),e.tooltipAnimation=new C.m(this._expr_7,i),this._expr_7=i);var r="right";b.c(t,this._expr_8,r)&&(this._Tooltip_4_5.tooltipPlacement=r,null===e&&(e={}),e.tooltipPlacement=new C.m(this._expr_8,r),this._expr_8=r),null!==e&&this._Tooltip_4_5.ngOnChanges(e),e=null;var s=this.parent.context.tooltipService.getTooltip("refreshMathButton").message;b.c(t,this._expr_14,s)&&(this._Tooltip_12_5.content=s,null===e&&(e={}),e.content=new C.m(this._expr_14,s),this._expr_14=s);var o=!0;b.c(t,this._expr_15,o)&&(this._Tooltip_12_5.tooltipAnimation=o,null===e&&(e={}),e.tooltipAnimation=new C.m(this._expr_15,o),this._expr_15=o);var a="right";b.c(t,this._expr_16,a)&&(this._Tooltip_12_5.tooltipPlacement=a,null===e&&(e={}),e.tooltipPlacement=new C.m(this._expr_16,a),this._expr_16=a),null!==e&&this._Tooltip_12_5.ngOnChanges(e);var _=this.parent.context.selectedMathInfo[0];b.c(t,this._expr_17,_)&&(this._NgIf_19_6.ngIf=_,this._expr_17=_);var l=this.parent.context.selectedMathInfo[1];b.c(t,this._expr_18,l)&&(this._NgIf_23_6.ngIf=l,this._expr_18=l);var h=this.parent.context.selectedMathInfo[2];b.c(t,this._expr_19,h)&&(this._NgIf_28_6.ngIf=h,this._expr_19=h);var c=this.parent.context.selectedMathInfo[3];b.c(t,this._expr_20,c)&&(this._NgIf_32_6.ngIf=c,this._expr_20=c),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_4_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_12_6.ngAfterContentInit());var u=0===this.parent.context.currentBufferArray.length;b.c(t,this._expr_5,u)&&(this.renderer.setElementProperty(this._el_4,"disabled",u),this._expr_5=u),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_4_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.openMathModal(t)!==!1;return e},e.prototype._handle_focusin_4_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_4_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_4_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_4_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_4_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_4_5.hide()!==!1;return e},e.prototype._handle_mouseleave_4_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_4_5.hide()!==!1;return e},e.prototype._handle_tap_12_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.updateMath()!==!1;return e},e.prototype._handle_focusin_12_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_12_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_12_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_12_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_12_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_12_5.hide()!==!1;return e},e.prototype._handle_mouseleave_12_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_12_5.hide()!==!1;return e},e}(v.a),lt=function(t){function e(n,i,r){t.call(this,e,ot,w.a.EMBEDDED,n,i,r,C.b.CheckAlways)}return et(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"span",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"span",null),this._text_3=this.renderer.createText(this._el_2,"■",null),this._text_4=this.renderer.createText(this._el_0,"",null),this._expr_0=C.n,this._expr_1=C.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this.parent.parent.context.chart.getData()[this.parent.parent.context.selectedMathInfo[0].channel].color;b.c(t,this._expr_0,e)&&(this.renderer.setElementStyle(this._el_2,"color",null==this.viewUtils.sanitizer.sanitize(tt.b.STYLE,e)?null:this.viewUtils.sanitizer.sanitize(tt.b.STYLE,e).toString()),this._expr_0=e);var n=b.e(2,"\n ",this.parent.parent.context.selectedMathInfo[0].measurement,": ",this.parent.parent.context.selectedMathInfo[0].value,"\n ");b.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_4,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(v.a),ht=function(t){function e(n,i,r){t.call(this,e,ot,w.a.EMBEDDED,n,i,r,C.b.CheckAlways)}return et(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"span",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"span",null),this._text_3=this.renderer.createText(this._el_2,"■",null),this._text_4=this.renderer.createText(this._el_0,"",null),this._expr_0=C.n,this._expr_1=C.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this.parent.parent.context.chart.getData()[this.parent.parent.context.selectedMathInfo[1].channel].color;b.c(t,this._expr_0,e)&&(this.renderer.setElementStyle(this._el_2,"color",null==this.viewUtils.sanitizer.sanitize(tt.b.STYLE,e)?null:this.viewUtils.sanitizer.sanitize(tt.b.STYLE,e).toString()),this._expr_0=e);var n=b.e(2,"\n ",this.parent.parent.context.selectedMathInfo[1].measurement,": ",this.parent.parent.context.selectedMathInfo[1].value,"\n ");b.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_4,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(v.a),ct=function(t){function e(n,i,r){t.call(this,e,ot,w.a.EMBEDDED,n,i,r,C.b.CheckAlways)}return et(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"span",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"span",null),this._text_3=this.renderer.createText(this._el_2,"■",null),this._text_4=this.renderer.createText(this._el_0,"",null),this._expr_0=C.n,this._expr_1=C.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this.parent.parent.context.chart.getData()[this.parent.parent.context.selectedMathInfo[2].channel].color;b.c(t,this._expr_0,e)&&(this.renderer.setElementStyle(this._el_2,"color",null==this.viewUtils.sanitizer.sanitize(tt.b.STYLE,e)?null:this.viewUtils.sanitizer.sanitize(tt.b.STYLE,e).toString()),this._expr_0=e);var n=b.e(2,"\n ",this.parent.parent.context.selectedMathInfo[2].measurement,": ",this.parent.parent.context.selectedMathInfo[2].value,"\n ");b.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_4,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(v.a),ut=function(t){function e(n,i,r){t.call(this,e,ot,w.a.EMBEDDED,n,i,r,C.b.CheckAlways)}return et(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"span",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"span",null),this._text_3=this.renderer.createText(this._el_2,"■",null),this._text_4=this.renderer.createText(this._el_0,"",null),this._expr_0=C.n,this._expr_1=C.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this.parent.parent.context.chart.getData()[this.parent.parent.context.selectedMathInfo[3].channel].color;b.c(t,this._expr_0,e)&&(this.renderer.setElementStyle(this._el_2,"color",null==this.viewUtils.sanitizer.sanitize(tt.b.STYLE,e)?null:this.viewUtils.sanitizer.sanitize(tt.b.STYLE,e).toString()),this._expr_0=e);var n=b.e(2,"\n ",this.parent.parent.context.selectedMathInfo[3].measurement,": ",this.parent.parent.context.selectedMathInfo[3].value,"\n ");b.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_4,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(v.a),pt=function(t){function e(n,i,r){t.call(this,e,ot,w.a.EMBEDDED,n,i,r,C.b.CheckAlways)}return et(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-col",null),this.renderer.setElementAttribute(this._el_0,"center",""),this.renderer.setElementAttribute(this._el_0,"class","info-col"),this._Col_0_3=new W.a,this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-row",null),this.renderer.setElementAttribute(this._el_2,"center",""),this.renderer.setElementAttribute(this._el_2,"class","cursor-container"),this._Row_2_3=new W.c,this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"button",null),this.renderer.setElementAttribute(this._el_4,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_4,"icon-right",""),this.renderer.setElementAttribute(this._el_4,"ion-button",""),this.renderer.setElementAttribute(this._el_4,"tooltipPlacement","right"),this._appEl_4=new x.a(4,2,this,this._el_4);var e=X.a(this.viewUtils,this.injector(4),this._appEl_4);this._Tooltip_4_5=new z.a(this._appEl_4.vcRef,this.parent.parentInjector.get(k.a),this.parent.parentInjector.get(T.f)),this._Button_4_6=new G.a(null,"",this.parent.parentInjector.get(J.c),new Q.a(this._el_4),this.renderer),this._appEl_4.initComponent(this._Button_4_6,[],e),this._text_5=this.renderer.createText(null,"\n ",null),this._el_6=this.renderer.createElement(null,"span",null),this.renderer.setElementAttribute(this._el_6,"class","collapse-button"),this._text_7=this.renderer.createText(this._el_6,"Cursors",null),this._text_8=this.renderer.createText(null,"\n ",null),this._el_9=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_9,"class","button-side-svg"),this.renderer.setElementAttribute(this._el_9,"src","assets/img/edit.svg"),this._text_10=this.renderer.createText(null,"\n ",null),e.create(this._Button_4_6,[[].concat([this._text_5,this._el_6,this._text_8,this._el_9,this._text_10])],null),this._text_11=this.renderer.createText(this._el_2,"\n ",null),this._anchor_12=this.renderer.createTemplateAnchor(this._el_2,null),this._appEl_12=new x.a(12,2,this,this._anchor_12),this._TemplateRef_12_5=new Z.a(this._appEl_12,u),this._NgIf_12_6=new Y.a(this._appEl_12.vcRef,this._TemplateRef_12_5),this._text_13=this.renderer.createText(this._el_2,"\n ",null),this._anchor_14=this.renderer.createTemplateAnchor(this._el_2,null),this._appEl_14=new x.a(14,2,this,this._anchor_14),this._TemplateRef_14_5=new Z.a(this._appEl_14,p),this._NgIf_14_6=new Y.a(this._appEl_14.vcRef,this._TemplateRef_14_5),this._text_15=this.renderer.createText(this._el_2,"\n ",null),this._anchor_16=this.renderer.createTemplateAnchor(this._el_2,null),this._appEl_16=new x.a(16,2,this,this._anchor_16),this._TemplateRef_16_5=new Z.a(this._appEl_16,d),this._NgIf_16_6=new Y.a(this._appEl_16.vcRef,this._TemplateRef_16_5),this._text_17=this.renderer.createText(this._el_2,"\n ",null),this._anchor_18=this.renderer.createTemplateAnchor(this._el_2,null),this._appEl_18=new x.a(18,2,this,this._anchor_18),this._TemplateRef_18_5=new Z.a(this._appEl_18,f),this._NgIf_18_6=new Y.a(this._appEl_18.vcRef,this._TemplateRef_18_5),this._text_19=this.renderer.createText(this._el_2,"\n ",null),this._anchor_20=this.renderer.createTemplateAnchor(this._el_2,null),this._appEl_20=new x.a(20,2,this,this._anchor_20),this._TemplateRef_20_5=new Z.a(this._appEl_20,m),this._NgIf_20_6=new Y.a(this._appEl_20.vcRef,this._TemplateRef_20_5),this._text_21=this.renderer.createText(this._el_2,"\n ",null),this._anchor_22=this.renderer.createTemplateAnchor(this._el_2,null),this._appEl_22=new x.a(22,2,this,this._anchor_22),this._TemplateRef_22_5=new Z.a(this._appEl_22,g),this._NgIf_22_6=new Y.a(this._appEl_22.vcRef,this._TemplateRef_22_5),this._text_23=this.renderer.createText(this._el_2,"\n ",null),this._text_24=this.renderer.createText(this._el_0,"\n ",null),this._expr_5=C.n;var n=this.renderer.listen(this._el_4,"tap",this.eventHandler(this._handle_tap_4_0.bind(this))),i=this.renderer.listen(this._el_4,"focusin",this.eventHandler(this._handle_focusin_4_1.bind(this))),r=this.renderer.listen(this._el_4,"mouseenter",this.eventHandler(this._handle_mouseenter_4_2.bind(this))),s=this.renderer.listen(this._el_4,"focusout",this.eventHandler(this._handle_focusout_4_3.bind(this))),o=this.renderer.listen(this._el_4,"mouseleave",this.eventHandler(this._handle_mouseleave_4_4.bind(this)));return this._expr_6=C.n,this._expr_7=C.n,this._expr_8=C.n, this._expr_9=C.n,this._expr_10=C.n,this._expr_11=C.n,this._expr_12=C.n,this._expr_13=C.n,this._expr_14=C.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._text_8,this._el_9,this._text_10,this._text_11,this._anchor_12,this._text_13,this._anchor_14,this._text_15,this._anchor_16,this._text_17,this._anchor_18,this._text_19,this._anchor_20,this._text_21,this._anchor_22,this._text_23,this._text_24],[n,i,r,s,o],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===z.a&&4<=e&&e<=10?this._Tooltip_4_5:t===G.a&&4<=e&&e<=10?this._Button_4_6:t===Z.b&&12===e?this._TemplateRef_12_5:t===Y.a&&12===e?this._NgIf_12_6:t===Z.b&&14===e?this._TemplateRef_14_5:t===Y.a&&14===e?this._NgIf_14_6:t===Z.b&&16===e?this._TemplateRef_16_5:t===Y.a&&16===e?this._NgIf_16_6:t===Z.b&&18===e?this._TemplateRef_18_5:t===Y.a&&18===e?this._NgIf_18_6:t===Z.b&&20===e?this._TemplateRef_20_5:t===Y.a&&20===e?this._NgIf_20_6:t===Z.b&&22===e?this._TemplateRef_22_5:t===Y.a&&22===e?this._NgIf_22_6:t===W.c&&2<=e&&e<=23?this._Row_2_3:t===W.a&&0<=e&&e<=24?this._Col_0_3:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.context.tooltipService.getTooltip("cursorButton").message;b.c(t,this._expr_6,n)&&(this._Tooltip_4_5.content=n,null===e&&(e={}),e.content=new C.m(this._expr_6,n),this._expr_6=n);var i=!0;b.c(t,this._expr_7,i)&&(this._Tooltip_4_5.tooltipAnimation=i,null===e&&(e={}),e.tooltipAnimation=new C.m(this._expr_7,i),this._expr_7=i);var r="right";b.c(t,this._expr_8,r)&&(this._Tooltip_4_5.tooltipPlacement=r,null===e&&(e={}),e.tooltipPlacement=new C.m(this._expr_8,r),this._expr_8=r),null!==e&&this._Tooltip_4_5.ngOnChanges(e);var s="time"===this.parent.context.cursorType.toLowerCase();b.c(t,this._expr_9,s)&&(this._NgIf_12_6.ngIf=s,this._expr_9=s);var o="time"===this.parent.context.cursorType.toLowerCase();b.c(t,this._expr_10,o)&&(this._NgIf_14_6.ngIf=o,this._expr_10=o);var a="track"===this.parent.context.cursorType.toLowerCase();b.c(t,this._expr_11,a)&&(this._NgIf_16_6.ngIf=a,this._expr_11=a);var _="track"===this.parent.context.cursorType.toLowerCase();b.c(t,this._expr_12,_)&&(this._NgIf_18_6.ngIf=_,this._expr_12=_);var l="voltage"===this.parent.context.cursorType.toLowerCase();b.c(t,this._expr_13,l)&&(this._NgIf_20_6.ngIf=l,this._expr_13=l);var h="voltage"===this.parent.context.cursorType.toLowerCase();b.c(t,this._expr_14,h)&&(this._NgIf_22_6.ngIf=h,this._expr_14=h),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_4_6.ngAfterContentInit();var c=0===this.parent.context.currentBufferArray.length;b.c(t,this._expr_5,c)&&(this.renderer.setElementProperty(this._el_4,"disabled",c),this._expr_5=c),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_4_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.openCursorModal(t)!==!1;return e},e.prototype._handle_focusin_4_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_4_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_4_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_4_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_4_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_4_5.hide()!==!1;return e},e.prototype._handle_mouseleave_4_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_4_5.hide()!==!1;return e},e}(v.a),dt=function(t){function e(n,i,r){t.call(this,e,ot,w.a.EMBEDDED,n,i,r,C.b.CheckAlways)}return et(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"ion-col",null),this.renderer.setElementAttribute(this._el_0,"center",""),this.renderer.setElementAttribute(this._el_0,"class","cursor-info-col"),this._Col_0_3=new W.a,this._text_1=this.renderer.createText(this._el_0,"",null),this._el_2=this.renderer.createElement(this._el_0,"br",null),this._text_3=this.renderer.createText(this._el_0,"",null),this._expr_0=C.n,this._expr_1=C.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===W.a&&0<=e&&e<=3?this._Col_0_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=b.e(1,"\n 1: ",this.parent.parent.context.getCursorInfo("cursorPosition0")," ");b.c(t,this._expr_0,e)&&(this.renderer.setText(this._text_1,e),this._expr_0=e);var n=b.e(1," 2: ",this.parent.parent.context.getCursorInfo("cursorPosition1"),"\n ");b.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_3,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(v.a),ft=function(t){function e(n,i,r){t.call(this,e,ot,w.a.EMBEDDED,n,i,r,C.b.CheckAlways)}return et(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"ion-col",null),this.renderer.setElementAttribute(this._el_0,"center",""),this.renderer.setElementAttribute(this._el_0,"class","cursor-info-col"),this._Col_0_3=new W.a,this._text_1=this.renderer.createText(this._el_0,"",null),this._el_2=this.renderer.createElement(this._el_0,"br",null),this._text_3=this.renderer.createText(this._el_0,"",null),this._expr_0=C.n,this._expr_1=C.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===W.a&&0<=e&&e<=3?this._Col_0_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=b.e(1,"\n ΔX: ",this.parent.parent.context.getCursorInfo("xDelta")," ");b.c(t,this._expr_0,e)&&(this.renderer.setText(this._text_1,e),this._expr_0=e);var n=b.e(1," 1/ΔX: ",this.parent.parent.context.getCursorInfo("xFreq"),"\n ");b.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_3,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(v.a),mt=function(t){function e(n,i,r){t.call(this,e,ot,w.a.EMBEDDED,n,i,r,C.b.CheckAlways)}return et(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"ion-col",null),this.renderer.setElementAttribute(this._el_0,"center",""),this.renderer.setElementAttribute(this._el_0,"class","cursor-info-col"),this._Col_0_3=new W.a,this._text_1=this.renderer.createText(this._el_0,"",null),this._el_2=this.renderer.createElement(this._el_0,"br",null),this._text_3=this.renderer.createText(this._el_0,"",null),this._expr_0=C.n,this._expr_1=C.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===W.a&&0<=e&&e<=3?this._Col_0_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=b.e(1,"\n 1: ",this.parent.parent.context.getCursorInfo("cursorPosition0")," ");b.c(t,this._expr_0,e)&&(this.renderer.setText(this._text_1,e),this._expr_0=e);var n=b.e(1," 2: ",this.parent.parent.context.getCursorInfo("cursorPosition1"),"\n ");b.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_3,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(v.a),gt=function(t){function e(n,i,r){t.call(this,e,ot,w.a.EMBEDDED,n,i,r,C.b.CheckAlways)}return et(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"ion-col",null),this.renderer.setElementAttribute(this._el_0,"center",""),this.renderer.setElementAttribute(this._el_0,"class","cursor-info-col"),this._Col_0_3=new W.a,this._text_1=this.renderer.createText(this._el_0,"",null),this._el_2=this.renderer.createElement(this._el_0,"br",null),this._text_3=this.renderer.createText(this._el_0,"",null),this._expr_0=C.n,this._expr_1=C.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===W.a&&0<=e&&e<=3?this._Col_0_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=b.e(2,"\n ΔX: ",this.parent.parent.context.getCursorInfo("xDelta")," ΔY: ",this.parent.parent.context.getCursorInfo("yDelta")," ");b.c(t,this._expr_0,e)&&(this.renderer.setText(this._text_1,e),this._expr_0=e);var n=b.e(1,"\n 1/ΔX: ",this.parent.parent.context.getCursorInfo("xFreq"),"\n ");b.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_3,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(v.a),vt=function(t){function e(n,i,r){t.call(this,e,ot,w.a.EMBEDDED,n,i,r,C.b.CheckAlways)}return et(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"ion-col",null),this.renderer.setElementAttribute(this._el_0,"center",""),this.renderer.setElementAttribute(this._el_0,"class","cursor-info-col"),this._Col_0_3=new W.a,this._text_1=this.renderer.createText(this._el_0,"",null),this._el_2=this.renderer.createElement(this._el_0,"br",null),this._text_3=this.renderer.createText(this._el_0,"",null),this._expr_0=C.n,this._expr_1=C.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===W.a&&0<=e&&e<=3?this._Col_0_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=b.e(1,"\n 1: ",this.parent.parent.context.getCursorInfo("cursorPosition0")," ");b.c(t,this._expr_0,e)&&(this.renderer.setText(this._text_1,e),this._expr_0=e);var n=b.e(1," 2: ",this.parent.parent.context.getCursorInfo("cursorPosition1"),"\n ");b.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_3,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(v.a),xt=function(t){function e(n,i,r){t.call(this,e,ot,w.a.EMBEDDED,n,i,r,C.b.CheckAlways)}return et(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"ion-col",null),this.renderer.setElementAttribute(this._el_0,"center",""),this.renderer.setElementAttribute(this._el_0,"class","cursor-info-col"),this._Col_0_3=new W.a,this._text_1=this.renderer.createText(this._el_0,"",null),this._expr_0=C.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===W.a&&0<=e&&e<=1?this._Col_0_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=b.e(1,"\n ΔY: ",this.parent.parent.context.getCursorInfo("yDelta"),"\n ");b.c(t,this._expr_0,e)&&(this.renderer.setText(this._text_1,e),this._expr_0=e),this.detectViewChildrenChanges(t)},e}(v.a)},function(t,e,n){"use strict";function i(t,e,n){return null===S&&(S=t.createRenderComponentType("",0,f.c.None,[],{})),new O(t,e,n)}function r(t,e,n){return null===P&&(P=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/components/la-popover/la-popover.html",0,f.c.None,N,{})),new R(t,e,n)}function s(t,e,n){return new D(t,e,n)}var o=n(10),a=n(6),_=n(366),l=n(11),h=n(5),c=n(4),u=n(13),p=n(27),d=n(43),f=n(8),m=n(7),g=n(35),v=n(20),x=n(55),y=n(25),b=n(2),w=n(14),C=n(21),E=n(37),T=n(58),A=n(52);n.d(e,"a",function(){return k});var I=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},S=null,O=function(t){function e(n,i,r){t.call(this,e,S,h.a.HOST,n,i,r,c.b.CheckAlways)}return I(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ng-component",t,null),this._appEl_0=new a.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._LaPopover_0_4=new _.a(this.parentInjector.get(u.a),this.parentInjector.get(p.a),this.parentInjector.get(d.DeviceManagerService)),this._appEl_0.initComponent(this._LaPopover_0_4,[],e),e.create(this._LaPopover_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===_.a&&0===e?this._LaPopover_0_4:n},e}(o.a),k=new m.a("ng-component",i,_.a),N=[],P=null,R=function(t){function e(n,i,r){t.call(this,e,P,h.a.COMPONENT,n,i,r,c.b.CheckAlways)}return I(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","la-popover-container"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-row",null),this._Row_2_3=new g.c,this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-col",null),this.renderer.setElementAttribute(this._el_4,"center",""),this.renderer.setElementAttribute(this._el_4,"class","la-label"),this._Col_4_3=new g.a,this._text_5=this.renderer.createText(this._el_4,"\n Set All\n ",null),this._text_6=this.renderer.createText(this._el_2,"\n ",null),this._el_7=this.renderer.createElement(this._el_2,"ion-col",null),this.renderer.setElementAttribute(this._el_7,"center",""),this.renderer.setElementAttribute(this._el_7,"class","button-container"),this.renderer.setElementAttribute(this._el_7,"text-right",""),this._Col_7_3=new g.a,this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"button",null),this.renderer.setElementAttribute(this._el_9,"class","icon-only-button-side trigger-img disable-hover"),this.renderer.setElementAttribute(this._el_9,"ion-button",""),this._appEl_9=new a.a(9,7,this,this._el_9);var n=y.a(this.viewUtils,this.injector(9),this._appEl_9);this._Button_9_4=new v.a(null,"",this.parentInjector.get(b.c),new w.a(this._el_9),this.renderer),this._appEl_9.initComponent(this._Button_9_4,[],n),this._text_10=this.renderer.createText(null,"\n ",null),this._el_11=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_11,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_11,"src","assets/img/rising.svg"),this._text_12=this.renderer.createText(null,"\n ",null),n.create(this._Button_9_4,[[].concat([this._text_10,this._el_11,this._text_12])],null),this._text_13=this.renderer.createText(this._el_7,"\n ",null),this._el_14=this.renderer.createElement(this._el_7,"button",null),this.renderer.setElementAttribute(this._el_14,"class","icon-only-button-side trigger-img disable-hover"),this.renderer.setElementAttribute(this._el_14,"ion-button",""),this._appEl_14=new a.a(14,7,this,this._el_14);var i=y.a(this.viewUtils,this.injector(14),this._appEl_14);this._Button_14_4=new v.a(null,"",this.parentInjector.get(b.c),new w.a(this._el_14),this.renderer),this._appEl_14.initComponent(this._Button_14_4,[],i),this._text_15=this.renderer.createText(null,"\n ",null),this._el_16=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_16,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_16,"src","assets/img/falling.svg"),this._text_17=this.renderer.createText(null,"\n ",null),i.create(this._Button_14_4,[[].concat([this._text_15,this._el_16,this._text_17])],null),this._text_18=this.renderer.createText(this._el_7,"\n ",null),this._el_19=this.renderer.createElement(this._el_7,"button",null),this.renderer.setElementAttribute(this._el_19,"class","icon-only-button-side trigger-img disable-hover"),this.renderer.setElementAttribute(this._el_19,"ion-button",""),this._appEl_19=new a.a(19,7,this,this._el_19);var r=y.a(this.viewUtils,this.injector(19),this._appEl_19);this._Button_19_4=new v.a(null,"",this.parentInjector.get(b.c),new w.a(this._el_19),this.renderer),this._appEl_19.initComponent(this._Button_19_4,[],r),this._text_20=this.renderer.createText(null,"\n ",null),this._el_21=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_21,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_21,"src","assets/img/rising-falling.svg"),this._text_22=this.renderer.createText(null,"\n ",null),r.create(this._Button_19_4,[[].concat([this._text_20,this._el_21,this._text_22])],null),this._text_23=this.renderer.createText(this._el_7,"\n ",null),this._el_24=this.renderer.createElement(this._el_7,"button",null),this.renderer.setElementAttribute(this._el_24,"class","icon-only-button-side trigger-img disable-hover right-button"),this.renderer.setElementAttribute(this._el_24,"ion-button",""),this._appEl_24=new a.a(24,7,this,this._el_24);var o=y.a(this.viewUtils,this.injector(24),this._appEl_24);this._Button_24_4=new v.a(null,"",this.parentInjector.get(b.c),new w.a(this._el_24),this.renderer),this._appEl_24.initComponent(this._Button_24_4,[],o),this._text_25=this.renderer.createText(null,"\n Off\n ",null),o.create(this._Button_24_4,[[].concat([this._text_25])],null),this._text_26=this.renderer.createText(this._el_7,"\n ",null),this._text_27=this.renderer.createText(this._el_2,"\n ",null),this._text_28=this.renderer.createText(this._el_0,"\n ",null),this._el_29=this.renderer.createElement(this._el_0,"ion-row",null),this.renderer.setElementAttribute(this._el_29,"class","bitmask-view"),this._Row_29_3=new g.c,this._text_30=this.renderer.createText(this._el_29,"\n ",null),this._el_31=this.renderer.createElement(this._el_29,"ion-col",null),this.renderer.setElementAttribute(this._el_31,"class","la-label"),this._Col_31_3=new g.a,this._text_32=this.renderer.createText(this._el_31,"\n Trigger Mask\n ",null),this._text_33=this.renderer.createText(this._el_29,"\n ",null),this._el_34=this.renderer.createElement(this._el_29,"ion-col",null),this.renderer.setElementAttribute(this._el_34,"class","bitmask-container"),this.renderer.setElementAttribute(this._el_34,"text-right",""),this._Col_34_3=new g.a,this._text_35=this.renderer.createText(this._el_34,"",null),this._text_36=this.renderer.createText(this._el_29,"\n ",null),this._text_37=this.renderer.createText(this._el_0,"\n ",null),this._anchor_38=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_38=new a.a(38,0,this,this._anchor_38),this._TemplateRef_38_5=new C.a(this._appEl_38,s),this._NgFor_38_6=new x.a(this._appEl_38.vcRef,this._TemplateRef_38_5,this.parentInjector.get(E.a),this.ref),this._text_39=this.renderer.createText(this._el_0,"\n ",null),this._el_40=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_40,"class","nav-button-container"),this.renderer.setElementAttribute(this._el_40,"text-right",""),this._text_41=this.renderer.createText(this._el_40,"\n ",null),this._el_42=this.renderer.createElement(this._el_40,"button",null),this.renderer.setElementAttribute(this._el_42,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_42,"ion-button",""),this._appEl_42=new a.a(42,40,this,this._el_42);var _=y.a(this.viewUtils,this.injector(42),this._appEl_42);this._Button_42_4=new v.a(null,"",this.parentInjector.get(b.c),new w.a(this._el_42),this.renderer),this._appEl_42.initComponent(this._Button_42_4,[],_),this._text_43=this.renderer.createText(null,"\n Close\n ",null),_.create(this._Button_42_4,[[].concat([this._text_43])],null),this._text_44=this.renderer.createText(this._el_40,"\n ",null),this._text_45=this.renderer.createText(this._el_0,"\n",null);var l=this.renderer.listen(this._el_9,"tap",this.eventHandler(this._handle_tap_9_0.bind(this))),h=this.renderer.listen(this._el_14,"tap",this.eventHandler(this._handle_tap_14_0.bind(this))),u=this.renderer.listen(this._el_19,"tap",this.eventHandler(this._handle_tap_19_0.bind(this))),p=this.renderer.listen(this._el_24,"tap",this.eventHandler(this._handle_tap_24_0.bind(this)));this._expr_4=c.n,this._expr_5=c.n;var d=this.renderer.listen(this._el_42,"click",this.eventHandler(this._handle_click_42_0.bind(this)));return this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._el_11,this._text_12,this._text_13,this._el_14,this._text_15,this._el_16,this._text_17,this._text_18,this._el_19,this._text_20,this._el_21,this._text_22,this._text_23,this._el_24,this._text_25,this._text_26,this._text_27,this._text_28,this._el_29,this._text_30,this._el_31,this._text_32,this._text_33,this._el_34,this._text_35,this._text_36,this._text_37,this._anchor_38,this._text_39,this._el_40,this._text_41,this._el_42,this._text_43,this._text_44,this._text_45],[l,h,u,p,d],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===g.a&&4<=e&&e<=5?this._Col_4_3:t===v.a&&9<=e&&e<=12?this._Button_9_4:t===v.a&&14<=e&&e<=17?this._Button_14_4:t===v.a&&19<=e&&e<=22?this._Button_19_4:t===v.a&&24<=e&&e<=25?this._Button_24_4:t===g.a&&7<=e&&e<=26?this._Col_7_3:t===g.c&&2<=e&&e<=27?this._Row_2_3:t===g.a&&31<=e&&e<=32?this._Col_31_3:t===g.a&&34<=e&&e<=35?this._Col_34_3:t===g.c&&29<=e&&e<=36?this._Row_29_3:t===C.b&&38===e?this._TemplateRef_38_5:t===x.a&&38===e?this._NgFor_38_6:t===v.a&&42<=e&&e<=43?this._Button_42_4:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.context.laChans;l.c(t,this._expr_5,n)&&(this._NgFor_38_6.ngForOf=n,null===e&&(e={}),e.ngForOf=new c.m(this._expr_5,n),this._expr_5=n),null!==e&&this._NgFor_38_6.ngOnChanges(e),t||this._NgFor_38_6.ngDoCheck(),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_9_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_14_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_19_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_24_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_42_4.ngAfterContentInit());var i=l.e(1,"\n ",this.context.bitmask,"\n ");l.c(t,this._expr_4,i)&&(this.renderer.setText(this._text_35,i),this._expr_4=i),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_9_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.setAll("rising")!==!1;return e},e.prototype._handle_tap_14_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.setAll("falling")!==!1;return e},e.prototype._handle_tap_19_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.setAll("either")!==!1;return e},e.prototype._handle_tap_24_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.setAll("off")!==!1;return e},e.prototype._handle_click_42_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.close()!==!1;return e},e}(o.a),D=function(t){function e(n,i,r){t.call(this,e,P,h.a.EMBEDDED,n,i,r,c.b.CheckAlways)}return I(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-row",null),this._Row_0_3=new g.c,this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_2,"center",""),this.renderer.setElementAttribute(this._el_2,"class","la-label"),this._Col_2_3=new g.a,this._text_3=this.renderer.createText(this._el_2,"",null),this._text_4=this.renderer.createText(this._el_0,"\n ",null),this._el_5=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_5,"center",""),this.renderer.setElementAttribute(this._el_5,"class","button-container"),this.renderer.setElementAttribute(this._el_5,"text-right",""),this._Col_5_3=new g.a,this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._el_7=this.renderer.createElement(this._el_5,"button",null),this.renderer.setElementAttribute(this._el_7,"class","icon-only-button-side trigger-img disable-hover"),this.renderer.setElementAttribute(this._el_7,"ion-button",""),this._appEl_7=new a.a(7,5,this,this._el_7);var e=y.a(this.viewUtils,this.injector(7),this._appEl_7);this._NgClass_7_4=new T.a(this.parent.parentInjector.get(E.a),this.parent.parentInjector.get(A.a),new w.a(this._el_7),this.renderer),this._Button_7_5=new v.a(null,"",this.parent.parentInjector.get(b.c),new w.a(this._el_7),this.renderer),this._appEl_7.initComponent(this._Button_7_5,[],e),this._text_8=this.renderer.createText(null,"\n ",null),this._el_9=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_9,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_9,"src","assets/img/rising.svg"),this._text_10=this.renderer.createText(null,"\n ",null),e.create(this._Button_7_5,[[].concat([this._text_8,this._el_9,this._text_10])],null),this._text_11=this.renderer.createText(this._el_5,"\n ",null),this._el_12=this.renderer.createElement(this._el_5,"button",null),this.renderer.setElementAttribute(this._el_12,"class","icon-only-button-side trigger-img disable-hover"),this.renderer.setElementAttribute(this._el_12,"ion-button",""),this._appEl_12=new a.a(12,5,this,this._el_12);var n=y.a(this.viewUtils,this.injector(12),this._appEl_12);this._NgClass_12_4=new T.a(this.parent.parentInjector.get(E.a),this.parent.parentInjector.get(A.a),new w.a(this._el_12),this.renderer),this._Button_12_5=new v.a(null,"",this.parent.parentInjector.get(b.c),new w.a(this._el_12),this.renderer),this._appEl_12.initComponent(this._Button_12_5,[],n),this._text_13=this.renderer.createText(null,"\n ",null),this._el_14=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_14,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_14,"src","assets/img/falling.svg"),this._text_15=this.renderer.createText(null,"\n ",null),n.create(this._Button_12_5,[[].concat([this._text_13,this._el_14,this._text_15])],null),this._text_16=this.renderer.createText(this._el_5,"\n ",null),this._el_17=this.renderer.createElement(this._el_5,"button",null),this.renderer.setElementAttribute(this._el_17,"class","icon-only-button-side trigger-img disable-hover right-button"),this.renderer.setElementAttribute(this._el_17,"ion-button",""),this._appEl_17=new a.a(17,5,this,this._el_17);var i=y.a(this.viewUtils,this.injector(17),this._appEl_17);this._NgClass_17_4=new T.a(this.parent.parentInjector.get(E.a),this.parent.parentInjector.get(A.a),new w.a(this._el_17),this.renderer),this._Button_17_5=new v.a(null,"",this.parent.parentInjector.get(b.c),new w.a(this._el_17),this.renderer),this._appEl_17.initComponent(this._Button_17_5,[],i),this._text_18=this.renderer.createText(null,"\n Off\n ",null),i.create(this._Button_17_5,[[].concat([this._text_18])],null),this._text_19=this.renderer.createText(this._el_5,"\n ",null),this._text_20=this.renderer.createText(this._el_0,"\n ",null),this._expr_0=c.n;var r=this.renderer.listen(this._el_7,"tap",this.eventHandler(this._handle_tap_7_0.bind(this)));this._expr_2=c.n,this._map_0=l.h(function(t){return{"selected-mode":t}}),this._expr_3=c.n;var s=this.renderer.listen(this._el_12,"tap",this.eventHandler(this._handle_tap_12_0.bind(this)));this._expr_5=c.n,this._map_1=l.h(function(t){return{"selected-mode":t}}),this._expr_6=c.n;var o=this.renderer.listen(this._el_17,"tap",this.eventHandler(this._handle_tap_17_0.bind(this)));return this._expr_8=c.n,this._map_2=l.h(function(t){return{"selected-mode":t}}),this._expr_9=c.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._text_11,this._el_12,this._text_13,this._el_14,this._text_15,this._text_16,this._el_17,this._text_18,this._text_19,this._text_20],[r,s,o],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===g.a&&2<=e&&e<=3?this._Col_2_3:t===T.a&&7<=e&&e<=10?this._NgClass_7_4:t===v.a&&7<=e&&e<=10?this._Button_7_5:t===T.a&&12<=e&&e<=15?this._NgClass_12_4:t===v.a&&12<=e&&e<=15?this._Button_12_5:t===T.a&&17<=e&&e<=18?this._NgClass_17_4:t===v.a&&17<=e&&e<=18?this._Button_17_5:t===g.a&&5<=e&&e<=19?this._Col_5_3:t===g.c&&0<=e&&e<=20?this._Row_0_3:n},e.prototype.detectChangesInternal=function(t){var e="icon-only-button-side trigger-img disable-hover";l.c(t,this._expr_2,e)&&(this._NgClass_7_4.klass=e,this._expr_2=e);var n=this._map_0("rising"===this.parent.context.edgeDirections[this.context.index]||"either"===this.parent.context.edgeDirections[this.context.index]);l.c(t,this._expr_3,n)&&(this._NgClass_7_4.ngClass=n,this._expr_3=n),t||this._NgClass_7_4.ngDoCheck();var i="icon-only-button-side trigger-img disable-hover";l.c(t,this._expr_5,i)&&(this._NgClass_12_4.klass=i,this._expr_5=i);var r=this._map_1("falling"===this.parent.context.edgeDirections[this.context.index]||"either"===this.parent.context.edgeDirections[this.context.index]);l.c(t,this._expr_6,r)&&(this._NgClass_12_4.ngClass=r,this._expr_6=r),t||this._NgClass_12_4.ngDoCheck();var s="icon-only-button-side trigger-img disable-hover right-button";l.c(t,this._expr_8,s)&&(this._NgClass_17_4.klass=s,this._expr_8=s);var o=this._map_2("off"===this.parent.context.edgeDirections[this.context.index]);l.c(t,this._expr_9,o)&&(this._NgClass_17_4.ngClass=o,this._expr_9=o),t||this._NgClass_17_4.ngDoCheck(),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_7_5.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_12_5.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_17_5.ngAfterContentInit());var a=l.e(1,"\n LA Ch ",this.context.index+1,"\n ");l.c(t,this._expr_0,a)&&(this.renderer.setText(this._text_3,a),this._expr_0=a),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_7_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.setTrigType("rising",this.context.index)!==!1;return e},e.prototype._handle_tap_12_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.setTrigType("falling",this.context.index)!==!1;return e},e.prototype._handle_tap_17_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.setTrigType("off",this.context.index)!==!1;return e},e}(o.a)},function(t,e,n){"use strict";function i(t,e,n){return null===R&&(R=t.createRenderComponentType("",0,g.c.None,[],{})),new D(t,e,n)}function r(t,e,n){return null===L&&(L=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/components/log-scale-popover/log-scale-popover.html",0,g.c.None,M,{})),new B(t,e,n)}function s(t,e,n){return new F(t,e,n)}var o=n(10),a=n(6),_=n(367),l=n(11),h=n(5),c=n(4),u=n(13),p=n(27),d=n(104),f=n(38),m=n(170),g=n(8),v=n(7),x=n(35),y=n(20),b=n(60),w=n(62),C=n(61),E=n(33),T=n(25),A=n(2),I=n(14),S=n(21),O=n(41),k=n(53),N=n(73);n.d(e,"a",function(){return j});var P=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},R=null,D=function(t){function e(n,i,r){t.call(this,e,R,h.a.HOST,n,i,r,c.b.CheckAlways)}return P(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("log-scale-popover",t,null),this._appEl_0=new a.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._LogScalePopover_0_4=new _.a(this.parentInjector.get(u.a),this.parentInjector.get(p.a),this.parentInjector.get(d.a),this.parentInjector.get(f.a),this.parentInjector.get(m.a)),this._appEl_0.initComponent(this._LogScalePopover_0_4,[],e),e.create(this._LogScalePopover_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===_.a&&0===e?this._LogScalePopover_0_4:n},e}(o.a),j=new v.a("log-scale-popover",i,_.a),M=[],L=null,B=function(t){ function e(n,i,r){t.call(this,e,L,h.a.COMPONENT,n,i,r,c.b.CheckAlways)}return P(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","log-scale-container"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-row",null),this._Row_2_3=new x.c,this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-col",null),this.renderer.setElementAttribute(this._el_4,"center",""),this.renderer.setElementAttribute(this._el_4,"class","header-side-col"),this.renderer.setElementAttribute(this._el_4,"text-left",""),this._Col_4_3=new x.a,this._text_5=this.renderer.createText(this._el_4,"\n ",null),this._text_6=this.renderer.createText(this._el_2,"\n ",null),this._el_7=this.renderer.createElement(this._el_2,"ion-col",null),this.renderer.setElementAttribute(this._el_7,"center",""),this.renderer.setElementAttribute(this._el_7,"class","header"),this.renderer.setElementAttribute(this._el_7,"text-center",""),this._Col_7_3=new x.a,this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"div",null),this.renderer.setElementAttribute(this._el_9,"class","instrument-header"),this._text_10=this.renderer.createText(this._el_9,"Scaling",null),this._text_11=this.renderer.createText(this._el_7,"\n ",null),this._text_12=this.renderer.createText(this._el_2,"\n ",null),this._el_13=this.renderer.createElement(this._el_2,"ion-col",null),this.renderer.setElementAttribute(this._el_13,"center",""),this.renderer.setElementAttribute(this._el_13,"class","header-side-col"),this.renderer.setElementAttribute(this._el_13,"text-right",""),this._Col_13_3=new x.a,this._text_14=this.renderer.createText(this._el_13,"\n ",null),this._el_15=this.renderer.createElement(this._el_13,"a",null),this.renderer.setElementAttribute(this._el_15,"target","_blank"),this._text_16=this.renderer.createText(this._el_15,"\n ",null),this._el_17=this.renderer.createElement(this._el_15,"button",null),this.renderer.setElementAttribute(this._el_17,"class","header-button"),this.renderer.setElementAttribute(this._el_17,"clear",""),this.renderer.setElementAttribute(this._el_17,"ion-button",""),this._appEl_17=new a.a(17,15,this,this._el_17);var n=T.a(this.viewUtils,this.injector(17),this._appEl_17);this._Button_17_4=new y.a(null,"",this.parentInjector.get(A.c),new I.a(this._el_17),this.renderer),this._appEl_17.initComponent(this._Button_17_4,[],n),this._text_18=this.renderer.createText(null,"\n ",null),this._el_19=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_19,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_19,"src","assets/img/info.svg"),this._text_20=this.renderer.createText(null,"\n ",null),n.create(this._Button_17_4,[[].concat([this._text_18,this._el_19,this._text_20])],null),this._text_21=this.renderer.createText(this._el_15,"\n ",null),this._text_22=this.renderer.createText(this._el_13,"\n ",null),this._text_23=this.renderer.createText(this._el_2,"\n ",null),this._text_24=this.renderer.createText(this._el_0,"\n\n ",null),this._el_25=this.renderer.createElement(this._el_0,"ion-row",null),this._Row_25_3=new x.c,this._text_26=this.renderer.createText(this._el_25,"\n ",null),this._el_27=this.renderer.createElement(this._el_25,"ion-col",null),this.renderer.setElementAttribute(this._el_27,"class","input-label"),this._Col_27_3=new x.a,this._text_28=this.renderer.createText(this._el_27,"Name",null),this._text_29=this.renderer.createText(this._el_25,"\n ",null),this._el_30=this.renderer.createElement(this._el_25,"ion-col",null),this.renderer.setElementAttribute(this._el_30,"text-right",""),this._Col_30_3=new x.a,this._text_31=this.renderer.createText(this._el_30,"\n ",null),this._el_32=this.renderer.createElement(this._el_30,"input",null),this.renderer.setElementAttribute(this._el_32,"class","custom-input"),this._DefaultValueAccessor_32_3=new b.a(this.renderer,new I.a(this._el_32)),this._NG_VALUE_ACCESSOR_32_4=[this._DefaultValueAccessor_32_3],this._NgModel_32_5=new w.a(null,null,null,this._NG_VALUE_ACCESSOR_32_4),this._NgControl_32_6=this._NgModel_32_5,this._NgControlStatus_32_7=new C.a(this._NgControl_32_6),this._text_33=this.renderer.createText(this._el_30,"\n ",null),this._text_34=this.renderer.createText(this._el_25,"\n ",null),this._text_35=this.renderer.createText(this._el_0,"\n ",null),this._el_36=this.renderer.createElement(this._el_0,"ion-row",null),this._Row_36_3=new x.c,this._text_37=this.renderer.createText(this._el_36,"\n ",null),this._el_38=this.renderer.createElement(this._el_36,"ion-col",null),this.renderer.setElementAttribute(this._el_38,"class","input-label"),this._Col_38_3=new x.a,this._text_39=this.renderer.createText(this._el_38,"Equation",null),this._text_40=this.renderer.createText(this._el_36,"\n ",null),this._el_41=this.renderer.createElement(this._el_36,"ion-col",null),this.renderer.setElementAttribute(this._el_41,"text-right",""),this._Col_41_3=new x.a,this._text_42=this.renderer.createText(this._el_41,"\n ",null),this._el_43=this.renderer.createElement(this._el_41,"input",null),this.renderer.setElementAttribute(this._el_43,"class","custom-input"),this.renderer.setElementAttribute(this._el_43,"placeholder","1 * v"),this._DefaultValueAccessor_43_3=new b.a(this.renderer,new I.a(this._el_43)),this._NG_VALUE_ACCESSOR_43_4=[this._DefaultValueAccessor_43_3],this._NgModel_43_5=new w.a(null,null,null,this._NG_VALUE_ACCESSOR_43_4),this._NgControl_43_6=this._NgModel_43_5,this._NgControlStatus_43_7=new C.a(this._NgControl_43_6),this._text_44=this.renderer.createText(this._el_41,"\n ",null),this._text_45=this.renderer.createText(this._el_36,"\n ",null),this._text_46=this.renderer.createText(this._el_0,"\n ",null),this._el_47=this.renderer.createElement(this._el_0,"ion-row",null),this._Row_47_3=new x.c,this._text_48=this.renderer.createText(this._el_47,"\n ",null),this._el_49=this.renderer.createElement(this._el_47,"ion-col",null),this.renderer.setElementAttribute(this._el_49,"class","input-label"),this._Col_49_3=new x.a,this._text_50=this.renderer.createText(this._el_49,"Units",null),this._text_51=this.renderer.createText(this._el_47,"\n ",null),this._el_52=this.renderer.createElement(this._el_47,"ion-col",null),this.renderer.setElementAttribute(this._el_52,"text-right",""),this._Col_52_3=new x.a,this._text_53=this.renderer.createText(this._el_52,"\n ",null),this._el_54=this.renderer.createElement(this._el_52,"input",null),this.renderer.setElementAttribute(this._el_54,"class","custom-input"),this.renderer.setElementAttribute(this._el_54,"placeholder","V"),this._DefaultValueAccessor_54_3=new b.a(this.renderer,new I.a(this._el_54)),this._NG_VALUE_ACCESSOR_54_4=[this._DefaultValueAccessor_54_3],this._NgModel_54_5=new w.a(null,null,null,this._NG_VALUE_ACCESSOR_54_4),this._NgControl_54_6=this._NgModel_54_5,this._NgControlStatus_54_7=new C.a(this._NgControl_54_6),this._text_55=this.renderer.createText(this._el_52,"\n ",null),this._text_56=this.renderer.createText(this._el_47,"\n ",null),this._text_57=this.renderer.createText(this._el_0,"\n\n ",null),this._el_58=this.renderer.createElement(this._el_0,"ion-row",null),this.renderer.setElementAttribute(this._el_58,"margin-top",""),this._Row_58_3=new x.c,this._text_59=this.renderer.createText(this._el_58,"\n ",null),this._el_60=this.renderer.createElement(this._el_58,"ion-col",null),this.renderer.setElementAttribute(this._el_60,"text-left",""),this._Col_60_3=new x.a,this._text_61=this.renderer.createText(this._el_60,"\n ",null),this._anchor_62=this.renderer.createTemplateAnchor(this._el_60,null),this._appEl_62=new a.a(62,60,this,this._anchor_62),this._TemplateRef_62_5=new S.a(this._appEl_62,s),this._NgIf_62_6=new E.a(this._appEl_62.vcRef,this._TemplateRef_62_5),this._text_63=this.renderer.createText(this._el_60,"\n ",null),this._text_64=this.renderer.createText(this._el_58,"\n\n ",null),this._el_65=this.renderer.createElement(this._el_58,"ion-col",null),this.renderer.setElementAttribute(this._el_65,"text-right",""),this._Col_65_3=new x.a,this._text_66=this.renderer.createText(this._el_65,"\n ",null),this._el_67=this.renderer.createElement(this._el_65,"button",null),this.renderer.setElementAttribute(this._el_67,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_67,"ion-button",""),this._appEl_67=new a.a(67,65,this,this._el_67);var i=T.a(this.viewUtils,this.injector(67),this._appEl_67);this._Button_67_4=new y.a(null,"",this.parentInjector.get(A.c),new I.a(this._el_67),this.renderer),this._appEl_67.initComponent(this._Button_67_4,[],i),this._text_68=this.renderer.createText(null,"\n Save\n ",null),i.create(this._Button_67_4,[[].concat([this._text_68])],null),this._text_69=this.renderer.createText(this._el_65,"\n ",null),this._text_70=this.renderer.createText(this._el_58,"\n ",null),this._text_71=this.renderer.createText(this._el_0,"\n",null),this._expr_0=c.n,this._expr_1=c.n;var r=this.renderer.listen(this._el_32,"ngModelChange",this.eventHandler(this._handle_ngModelChange_32_0.bind(this))),o=this.renderer.listen(this._el_32,"input",this.eventHandler(this._handle_input_32_1.bind(this))),_=this.renderer.listen(this._el_32,"blur",this.eventHandler(this._handle_blur_32_2.bind(this)));this._expr_5=c.n;var l=this._NgModel_32_5.update.subscribe(this.eventHandler(this._handle_ngModelChange_32_0.bind(this)));this._expr_6=c.n,this._expr_7=c.n,this._expr_8=c.n,this._expr_9=c.n,this._expr_10=c.n,this._expr_11=c.n;var h=this.renderer.listen(this._el_43,"ngModelChange",this.eventHandler(this._handle_ngModelChange_43_0.bind(this))),u=this.renderer.listen(this._el_43,"input",this.eventHandler(this._handle_input_43_1.bind(this))),p=this.renderer.listen(this._el_43,"blur",this.eventHandler(this._handle_blur_43_2.bind(this)));this._expr_15=c.n;var d=this._NgModel_43_5.update.subscribe(this.eventHandler(this._handle_ngModelChange_43_0.bind(this)));this._expr_16=c.n,this._expr_17=c.n,this._expr_18=c.n,this._expr_19=c.n,this._expr_20=c.n,this._expr_21=c.n;var f=this.renderer.listen(this._el_54,"ngModelChange",this.eventHandler(this._handle_ngModelChange_54_0.bind(this))),m=this.renderer.listen(this._el_54,"input",this.eventHandler(this._handle_input_54_1.bind(this))),g=this.renderer.listen(this._el_54,"blur",this.eventHandler(this._handle_blur_54_2.bind(this)));this._expr_25=c.n;var v=this._NgModel_54_5.update.subscribe(this.eventHandler(this._handle_ngModelChange_54_0.bind(this)));this._expr_26=c.n,this._expr_27=c.n,this._expr_28=c.n,this._expr_29=c.n,this._expr_30=c.n,this._expr_31=c.n,this._expr_32=c.n;var O=this.renderer.listen(this._el_67,"click",this.eventHandler(this._handle_click_67_0.bind(this)));return this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._text_11,this._text_12,this._el_13,this._text_14,this._el_15,this._text_16,this._el_17,this._text_18,this._el_19,this._text_20,this._text_21,this._text_22,this._text_23,this._text_24,this._el_25,this._text_26,this._el_27,this._text_28,this._text_29,this._el_30,this._text_31,this._el_32,this._text_33,this._text_34,this._text_35,this._el_36,this._text_37,this._el_38,this._text_39,this._text_40,this._el_41,this._text_42,this._el_43,this._text_44,this._text_45,this._text_46,this._el_47,this._text_48,this._el_49,this._text_50,this._text_51,this._el_52,this._text_53,this._el_54,this._text_55,this._text_56,this._text_57,this._el_58,this._text_59,this._el_60,this._text_61,this._anchor_62,this._text_63,this._text_64,this._el_65,this._text_66,this._el_67,this._text_68,this._text_69,this._text_70,this._text_71],[r,o,_,h,u,p,f,m,g,O],[l,d,v]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===x.a&&4<=e&&e<=5?this._Col_4_3:t===x.a&&7<=e&&e<=11?this._Col_7_3:t===y.a&&17<=e&&e<=20?this._Button_17_4:t===x.a&&13<=e&&e<=22?this._Col_13_3:t===x.c&&2<=e&&e<=23?this._Row_2_3:t===x.a&&27<=e&&e<=28?this._Col_27_3:t===b.a&&32===e?this._DefaultValueAccessor_32_3:t===O.a&&32===e?this._NG_VALUE_ACCESSOR_32_4:t===w.a&&32===e?this._NgModel_32_5:t===k.a&&32===e?this._NgControl_32_6:t===C.a&&32===e?this._NgControlStatus_32_7:t===x.a&&30<=e&&e<=33?this._Col_30_3:t===x.c&&25<=e&&e<=34?this._Row_25_3:t===x.a&&38<=e&&e<=39?this._Col_38_3:t===b.a&&43===e?this._DefaultValueAccessor_43_3:t===O.a&&43===e?this._NG_VALUE_ACCESSOR_43_4:t===w.a&&43===e?this._NgModel_43_5:t===k.a&&43===e?this._NgControl_43_6:t===C.a&&43===e?this._NgControlStatus_43_7:t===x.a&&41<=e&&e<=44?this._Col_41_3:t===x.c&&36<=e&&e<=45?this._Row_36_3:t===x.a&&49<=e&&e<=50?this._Col_49_3:t===b.a&&54===e?this._DefaultValueAccessor_54_3:t===O.a&&54===e?this._NG_VALUE_ACCESSOR_54_4:t===w.a&&54===e?this._NgModel_54_5:t===k.a&&54===e?this._NgControl_54_6:t===C.a&&54===e?this._NgControlStatus_54_7:t===x.a&&52<=e&&e<=55?this._Col_52_3:t===x.c&&47<=e&&e<=56?this._Row_47_3:t===S.b&&62===e?this._TemplateRef_62_5:t===E.a&&62===e?this._NgIf_62_6:t===x.a&&60<=e&&e<=63?this._Col_60_3:t===y.a&&67<=e&&e<=68?this._Button_67_4:t===x.a&&65<=e&&e<=69?this._Col_65_3:t===x.c&&58<=e&&e<=70?this._Row_58_3:n},e.prototype.detectChangesInternal=function(t){var e=!0,n=null;e=!1;var i="";l.c(t,this._expr_1,i)&&(this._Button_17_4.clear=i,e=!0,this._expr_1=i),e&&this._appEl_17.componentView.markAsCheckOnce(),n=null;var r=this.context.name;l.c(t,this._expr_5,r)&&(this._NgModel_32_5.model=r,null===n&&(n={}),n.model=new c.m(this._expr_5,r),this._expr_5=r),null!==n&&this._NgModel_32_5.ngOnChanges(n),n=null;var s=this.context.expressionString;l.c(t,this._expr_15,s)&&(this._NgModel_43_5.model=s,null===n&&(n={}),n.model=new c.m(this._expr_15,s),this._expr_15=s),null!==n&&this._NgModel_43_5.ngOnChanges(n),n=null;var o=this.context.unitDescriptor;l.c(t,this._expr_25,o)&&(this._NgModel_54_5.model=o,null===n&&(n={}),n.model=new c.m(this._expr_25,o),this._expr_25=o),null!==n&&this._NgModel_54_5.ngOnChanges(n);var a=this.context.savedName;l.c(t,this._expr_32,a)&&(this._NgIf_62_6.ngIf=a,this._expr_32=a),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_17_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_67_4.ngAfterContentInit());var _=this.context.scalingTutorialLink;l.c(t,this._expr_0,_)&&(this.renderer.setElementProperty(this._el_15,"href",this.viewUtils.sanitizer.sanitize(N.b.URL,_)),this._expr_0=_);var h=this._NgControlStatus_32_7.ngClassUntouched;l.c(t,this._expr_6,h)&&(this.renderer.setElementClass(this._el_32,"ng-untouched",h),this._expr_6=h);var u=this._NgControlStatus_32_7.ngClassTouched;l.c(t,this._expr_7,u)&&(this.renderer.setElementClass(this._el_32,"ng-touched",u),this._expr_7=u);var p=this._NgControlStatus_32_7.ngClassPristine;l.c(t,this._expr_8,p)&&(this.renderer.setElementClass(this._el_32,"ng-pristine",p),this._expr_8=p);var d=this._NgControlStatus_32_7.ngClassDirty;l.c(t,this._expr_9,d)&&(this.renderer.setElementClass(this._el_32,"ng-dirty",d),this._expr_9=d);var f=this._NgControlStatus_32_7.ngClassValid;l.c(t,this._expr_10,f)&&(this.renderer.setElementClass(this._el_32,"ng-valid",f),this._expr_10=f);var m=this._NgControlStatus_32_7.ngClassInvalid;l.c(t,this._expr_11,m)&&(this.renderer.setElementClass(this._el_32,"ng-invalid",m),this._expr_11=m);var g=this._NgControlStatus_43_7.ngClassUntouched;l.c(t,this._expr_16,g)&&(this.renderer.setElementClass(this._el_43,"ng-untouched",g),this._expr_16=g);var v=this._NgControlStatus_43_7.ngClassTouched;l.c(t,this._expr_17,v)&&(this.renderer.setElementClass(this._el_43,"ng-touched",v),this._expr_17=v);var x=this._NgControlStatus_43_7.ngClassPristine;l.c(t,this._expr_18,x)&&(this.renderer.setElementClass(this._el_43,"ng-pristine",x),this._expr_18=x);var y=this._NgControlStatus_43_7.ngClassDirty;l.c(t,this._expr_19,y)&&(this.renderer.setElementClass(this._el_43,"ng-dirty",y),this._expr_19=y);var b=this._NgControlStatus_43_7.ngClassValid;l.c(t,this._expr_20,b)&&(this.renderer.setElementClass(this._el_43,"ng-valid",b),this._expr_20=b);var w=this._NgControlStatus_43_7.ngClassInvalid;l.c(t,this._expr_21,w)&&(this.renderer.setElementClass(this._el_43,"ng-invalid",w),this._expr_21=w);var C=this._NgControlStatus_54_7.ngClassUntouched;l.c(t,this._expr_26,C)&&(this.renderer.setElementClass(this._el_54,"ng-untouched",C),this._expr_26=C);var E=this._NgControlStatus_54_7.ngClassTouched;l.c(t,this._expr_27,E)&&(this.renderer.setElementClass(this._el_54,"ng-touched",E),this._expr_27=E);var T=this._NgControlStatus_54_7.ngClassPristine;l.c(t,this._expr_28,T)&&(this.renderer.setElementClass(this._el_54,"ng-pristine",T),this._expr_28=T);var A=this._NgControlStatus_54_7.ngClassDirty;l.c(t,this._expr_29,A)&&(this.renderer.setElementClass(this._el_54,"ng-dirty",A),this._expr_29=A);var I=this._NgControlStatus_54_7.ngClassValid;l.c(t,this._expr_30,I)&&(this.renderer.setElementClass(this._el_54,"ng-valid",I),this._expr_30=I);var S=this._NgControlStatus_54_7.ngClassInvalid;l.c(t,this._expr_31,S)&&(this.renderer.setElementClass(this._el_54,"ng-invalid",S),this._expr_31=S),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_32_5.ngOnDestroy(),this._NgModel_43_5.ngOnDestroy(),this._NgModel_54_5.ngOnDestroy()},e.prototype._handle_ngModelChange_32_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.context.name=t)!==!1;return e},e.prototype._handle_input_32_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_32_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_32_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_32_3.onTouched()!==!1;return e},e.prototype._handle_ngModelChange_43_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.context.expressionString=t)!==!1;return e},e.prototype._handle_input_43_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_43_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_43_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_43_3.onTouched()!==!1;return e},e.prototype._handle_ngModelChange_54_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.context.unitDescriptor=t)!==!1;return e},e.prototype._handle_input_54_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_54_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_54_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_54_3.onTouched()!==!1;return e},e.prototype._handle_click_67_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.save()!==!1;return e},e}(o.a),F=function(t){function e(n,i,r){t.call(this,e,L,h.a.EMBEDDED,n,i,r,c.b.CheckAlways)}return P(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new a.a(0,null,this,this._el_0);var e=T.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new y.a(null,"",this.parent.parentInjector.get(A.c),new I.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"\n Delete\n ",null),e.create(this._Button_0_4,[[].concat([this._text_1])],null);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===y.a&&0<=e&&e<=1?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.delete()!==!1;return e},e}(o.a)},function(t,e,n){"use strict";function i(t,e,n){return null===dt&&(dt=t.createRenderComponentType("",0,O.c.None,[],{})),new ft(t,e,n)}function r(t,e,n){return null===gt&&(gt=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/components/logger/openlogger/openlogger-logger.html",0,O.c.None,mt,{})),new vt(t,e,n)}function s(t,e,n){return new xt(t,e,n)}function o(t,e,n){return new yt(t,e,n)}function a(t,e,n){return new bt(t,e,n)}function _(t,e,n){return new wt(t,e,n)}function l(t,e,n){return new Ct(t,e,n)}function h(t,e,n){return new Et(t,e,n)}var c=n(10),u=n(6),p=n(276),d=n(11),f=n(5),m=n(4),g=n(43),v=n(83),x=n(38),y=n(66),b=n(99),w=n(82),C=n(103),E=n(31),T=n(28),A=n(47),I=n(104),S=n(170),O=n(8),k=n(7),N=n(34),P=n(33),R=n(190),D=n(35),j=n(20),M=n(60),L=n(62),B=n(61),F=n(70),q=n(129),V=n(65),H=n(58),U=n(230),z=n(55),G=n(63),W=n(474),Y=n(21),$=n(473),X=n(172),J=n(25),Q=n(2),Z=n(14),K=n(51),tt=n(23),et=n(98),nt=n(37),it=n(52),rt=n(468),st=n(39),ot=n(123),at=n(44),_t=n(41),lt=n(53),ht=n(151),ct=n(221),ut=n(243);e.a=r;var pt=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},dt=null,ft=function(t){function e(n,i,r){t.call(this,e,dt,f.a.HOST,n,i,r,m.b.CheckAlways)}return pt(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("openlogger-logger-component",t,null),this._appEl_0=new u.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._OpenLoggerLoggerComponent_0_4=new p.a(this.parentInjector.get(g.DeviceManagerService),this.parentInjector.get(v.a),this.parentInjector.get(x.a),this.parentInjector.get(y.a),this.parentInjector.get(b.a),this.parentInjector.get(w.a),this.parentInjector.get(C.a),this.parentInjector.get(E.a),this.parentInjector.get(T.a),this.parentInjector.get(A.a),this.parentInjector.get(I.a),this.parentInjector.get(S.a)),this._appEl_0.initComponent(this._OpenLoggerLoggerComponent_0_4,[],e),e.create(this._OpenLoggerLoggerComponent_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===p.a&&0===e?this._OpenLoggerLoggerComponent_0_4:n},e.prototype.detectChangesInternal=function(t){t||this._OpenLoggerLoggerComponent_0_4.ngDoCheck(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._OpenLoggerLoggerComponent_0_4.ngOnDestroy()},e}(c.a),mt=(new k.a("openlogger-logger-component",i,p.a),[]),gt=null,vt=function(t){function e(n,i,r){t.call(this,e,gt,f.a.COMPONENT,n,i,r,m.b.CheckAlways)}return pt(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_dropPopMode_0=new N.a,this._viewQuery_dropPopProfile_1=new N.a,this._viewQuery_dropPopLogTo_2=new N.a,this._viewQuery_xaxis_3=new N.a,this._viewQuery_dropPopScaling_4=new N.a,this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","logger-component-container"),this._text_1=this.renderer.createText(this._el_0,"\n\n ",null),this._el_2=this.renderer.createElement(this._el_0,"div",null),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"div",null),this.renderer.setElementAttribute(this._el_4,"class","button-info-container"),this._text_5=this.renderer.createText(this._el_4,"\n ",null),this._anchor_6=this.renderer.createTemplateAnchor(this._el_4,null),this._appEl_6=new u.a(6,4,this,this._anchor_6),this._TemplateRef_6_5=new Y.a(this._appEl_6,s),this._NgIf_6_6=new P.a(this._appEl_6.vcRef,this._TemplateRef_6_5),this._text_7=this.renderer.createText(this._el_4,"\n\n ",null),this._el_8=this.renderer.createElement(this._el_4,"logger-xaxis",null),this._appEl_8=new u.a(8,4,this,this._el_8);var n=$.a(this.viewUtils,this.injector(8),this._appEl_8);this._LoggerXAxisComponent_8_4=new R.a(this.parentInjector.get(T.a),this.parentInjector.get(X.a),this.parentInjector.get(E.a)),this._appEl_8.initComponent(this._LoggerXAxisComponent_8_4,[],n),n.create(this._LoggerXAxisComponent_8_4,[],null),this._text_9=this.renderer.createText(this._el_4,"\n\n ",null),this._el_10=this.renderer.createElement(this._el_4,"ion-row",null),this.renderer.setElementAttribute(this._el_10,"class","controls-container pad-bottom"),this._Row_10_3=new D.c,this._text_11=this.renderer.createText(this._el_10,"\n ",null),this._el_12=this.renderer.createElement(this._el_10,"ion-col",null),this.renderer.setElementAttribute(this._el_12,"center",""),this.renderer.setElementAttribute(this._el_12,"class","vpd-label-col"),this._Col_12_3=new D.a,this._text_13=this.renderer.createText(this._el_12,"\n Samples/\n ",null),this._text_14=this.renderer.createText(this._el_10,"\n ",null),this._el_15=this.renderer.createElement(this._el_10,"ion-col",null),this.renderer.setElementAttribute(this._el_15,"center",""),this.renderer.setElementAttribute(this._el_15,"class","vpd-button-col"),this.renderer.setElementAttribute(this._el_15,"text-right",""),this._Col_15_3=new D.a,this._text_16=this.renderer.createText(this._el_15,"\n ",null),this._el_17=this.renderer.createElement(this._el_15,"div",null),this.renderer.setElementAttribute(this._el_17,"style","display:inline-block"),this._text_18=this.renderer.createText(this._el_17,"\n ",null),this._el_19=this.renderer.createElement(this._el_17,"button",null),this.renderer.setElementAttribute(this._el_19,"class","icon-only-button-side disable-hover"),this.renderer.setElementAttribute(this._el_19,"ion-button",""),this._appEl_19=new u.a(19,17,this,this._el_19);var i=J.a(this.viewUtils,this.injector(19),this._appEl_19);this._Button_19_4=new j.a(null,"",this.parentInjector.get(Q.c),new Z.a(this._el_19),this.renderer),this._appEl_19.initComponent(this._Button_19_4,[],i),this._text_20=this.renderer.createText(null,"\n ",null),this._el_21=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_21,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_21,"src","assets/img/remove.svg"),this._text_22=this.renderer.createText(null,"\n ",null),i.create(this._Button_19_4,[[].concat([this._text_20,this._el_21,this._text_22])],null),this._text_23=this.renderer.createText(this._el_17,"\n ",null),this._text_24=this.renderer.createText(this._el_15,"\n ",null),this._text_25=this.renderer.createText(this._el_10,"\n ",null),this._el_26=this.renderer.createElement(this._el_10,"ion-col",null),this.renderer.setElementAttribute(this._el_26,"center",""),this.renderer.setElementAttribute(this._el_26,"class","vpd-val-col"),this.renderer.setElementAttribute(this._el_26,"text-center",""),this._Col_26_3=new D.a,this._text_27=this.renderer.createText(this._el_26,"\n ",null),this._el_28=this.renderer.createElement(this._el_26,"input",null),this.renderer.setElementAttribute(this._el_28,"class","custom-input"),this.renderer.setElementAttribute(this._el_28,"formatInput",""),this.renderer.setElementAttribute(this._el_28,"step","any"),this.renderer.setElementAttribute(this._el_28,"tooltipPlacement","top"),this._appEl_28=new u.a(28,26,this,this._el_28),this._DefaultValueAccessor_28_5=new M.a(this.renderer,new Z.a(this._el_28)),this._NG_VALUE_ACCESSOR_28_6=[this._DefaultValueAccessor_28_5],this._NgModel_28_7=new L.a(null,null,null,this._NG_VALUE_ACCESSOR_28_6),this._NgControl_28_8=this._NgModel_28_7,this._NgControlStatus_28_9=new B.a(this._NgControl_28_8),this._Tooltip_28_10=new F.a(this._appEl_28.vcRef,this.parentInjector.get(K.a),this.parentInjector.get(tt.f)),this._FormatInputDirective_28_11=new q.a(this.parentInjector.get(y.a)),this._text_29=this.renderer.createText(this._el_26,"\n ",null),this._text_30=this.renderer.createText(this._el_10,"\n ",null),this._el_31=this.renderer.createElement(this._el_10,"ion-col",null),this.renderer.setElementAttribute(this._el_31,"center",""),this.renderer.setElementAttribute(this._el_31,"class","vpd-button-col margin-right"),this.renderer.setElementAttribute(this._el_31,"text-left",""),this._Col_31_3=new D.a,this._text_32=this.renderer.createText(this._el_31,"\n ",null),this._el_33=this.renderer.createElement(this._el_31,"div",null),this.renderer.setElementAttribute(this._el_33,"style","display:inline-block"),this._text_34=this.renderer.createText(this._el_33,"\n ",null),this._el_35=this.renderer.createElement(this._el_33,"button",null),this.renderer.setElementAttribute(this._el_35,"class","icon-only-button-side disable-hover"),this.renderer.setElementAttribute(this._el_35,"ion-button",""),this._appEl_35=new u.a(35,33,this,this._el_35);var r=J.a(this.viewUtils,this.injector(35),this._appEl_35);this._Button_35_4=new j.a(null,"",this.parentInjector.get(Q.c),new Z.a(this._el_35),this.renderer),this._appEl_35.initComponent(this._Button_35_4,[],r),this._text_36=this.renderer.createText(null,"\n ",null),this._el_37=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_37,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_37,"src","assets/img/add.svg"),this._text_38=this.renderer.createText(null,"\n ",null),r.create(this._Button_35_4,[[].concat([this._text_36,this._el_37,this._text_38])],null),this._text_39=this.renderer.createText(this._el_33,"\n ",null),this._text_40=this.renderer.createText(this._el_31,"\n ",null),this._text_41=this.renderer.createText(this._el_10,"\n ",null),this._text_42=this.renderer.createText(this._el_4,"\n\n ",null),this._el_43=this.renderer.createElement(this._el_4,"ion-row",null),this.renderer.setElementAttribute(this._el_43,"class","controls-container pad-bottom"),this._Row_43_3=new D.c,this._text_44=this.renderer.createText(this._el_43,"\n ",null),this._el_45=this.renderer.createElement(this._el_43,"ion-col",null),this.renderer.setElementAttribute(this._el_45,"center",""),this.renderer.setElementAttribute(this._el_45,"class","vpd-label-col"),this._Col_45_3=new D.a,this._text_46=this.renderer.createText(this._el_45,"\n Log To\n ",null),this._text_47=this.renderer.createText(this._el_43,"\n ",null),this._el_48=this.renderer.createElement(this._el_43,"ion-col",null),this.renderer.setElementAttribute(this._el_48,"center",""),this.renderer.setElementAttribute(this._el_48,"class","vpd-input-col no-button-col"),this.renderer.setElementAttribute(this._el_48,"text-center",""),this._Col_48_3=new D.a,this._text_49=this.renderer.createText(this._el_48,"\n ",null),this._el_50=this.renderer.createElement(this._el_48,"dropdown-popover",null),this.renderer.setElementAttribute(this._el_50,"tooltipPlacement","top"),this._appEl_50=new u.a(50,48,this,this._el_50);var h=et.b(this.viewUtils,this.injector(50),this._appEl_50);this._Tooltip_50_5=new F.a(this._appEl_50.vcRef,this.parentInjector.get(K.a),this.parentInjector.get(tt.f)),this._DropdownPopoverComponent_50_6=new V.a(this.parentInjector.get(A.a),new Z.a(this._el_50),this.parentInjector.get(tt.f)),this._appEl_50.initComponent(this._DropdownPopoverComponent_50_6,[],h),this._text_51=this.renderer.createText(null,"\n ",null), h.create(this._DropdownPopoverComponent_50_6,[],null),this._text_52=this.renderer.createText(this._el_48,"\n ",null),this._text_53=this.renderer.createText(this._el_43,"\n ",null),this._text_54=this.renderer.createText(this._el_4,"\n\n ",null),this._el_55=this.renderer.createElement(this._el_4,"ion-row",null),this.renderer.setElementAttribute(this._el_55,"class","controls-container pad-bottom"),this._NgClass_55_3=new H.a(this.parentInjector.get(nt.a),this.parentInjector.get(it.a),new Z.a(this._el_55),this.renderer),this._Row_55_4=new D.c,this._text_56=this.renderer.createText(this._el_55,"\n ",null),this._el_57=this.renderer.createElement(this._el_55,"ion-col",null),this.renderer.setElementAttribute(this._el_57,"center",""),this.renderer.setElementAttribute(this._el_57,"class","vpd-label-col"),this._Col_57_3=new D.a,this._text_58=this.renderer.createText(this._el_57,"File Name",null),this._text_59=this.renderer.createText(this._el_55,"\n ",null),this._el_60=this.renderer.createElement(this._el_55,"ion-col",null),this.renderer.setElementAttribute(this._el_60,"center",""),this.renderer.setElementAttribute(this._el_60,"class","vpd-input-col no-button-col"),this.renderer.setElementAttribute(this._el_60,"text-center",""),this._Col_60_3=new D.a,this._text_61=this.renderer.createText(this._el_60,"\n ",null),this._el_62=this.renderer.createElement(this._el_60,"input",null),this.renderer.setElementAttribute(this._el_62,"class","custom-input"),this.renderer.setElementAttribute(this._el_62,"placeholder","logData"),this.renderer.setElementAttribute(this._el_62,"step","any"),this.renderer.setElementAttribute(this._el_62,"tooltipPlacement","top"),this._appEl_62=new u.a(62,60,this,this._el_62),this._DefaultValueAccessor_62_5=new M.a(this.renderer,new Z.a(this._el_62)),this._NG_VALUE_ACCESSOR_62_6=[this._DefaultValueAccessor_62_5],this._NgModel_62_7=new L.a(null,null,null,this._NG_VALUE_ACCESSOR_62_6),this._NgControl_62_8=this._NgModel_62_7,this._NgControlStatus_62_9=new B.a(this._NgControl_62_8),this._Tooltip_62_10=new F.a(this._appEl_62.vcRef,this.parentInjector.get(K.a),this.parentInjector.get(tt.f)),this._text_63=this.renderer.createText(this._el_60,"\n ",null),this._text_64=this.renderer.createText(this._el_55,"\n ",null),this._text_65=this.renderer.createText(this._el_4,"\n\n ",null),this._anchor_66=this.renderer.createTemplateAnchor(this._el_4,null),this._appEl_66=new u.a(66,4,this,this._anchor_66),this._TemplateRef_66_5=new Y.a(this._appEl_66,o),this._NgIf_66_6=new P.a(this._appEl_66.vcRef,this._TemplateRef_66_5),this._text_67=this.renderer.createText(this._el_4,"\n ",null),this._text_68=this.renderer.createText(this._el_2,"\n ",null),this._text_69=this.renderer.createText(this._el_0,"\n\n ",null),this._el_70=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_70,"class","set-top-border"),this._text_71=this.renderer.createText(this._el_70,"\n ",null),this._el_72=this.renderer.createElement(this._el_70,"div",null),this.renderer.setElementAttribute(this._el_72,"class","header-bar-side"),this._text_73=this.renderer.createText(this._el_72,"\n ",null),this._el_74=this.renderer.createElement(this._el_72,"ion-row",null),this._Row_74_3=new D.c,this._text_75=this.renderer.createText(this._el_74,"\n ",null),this._el_76=this.renderer.createElement(this._el_74,"ion-col",null),this.renderer.setElementAttribute(this._el_76,"center",""),this.renderer.setElementAttribute(this._el_76,"class","header-side-col"),this.renderer.setElementAttribute(this._el_76,"text-left",""),this._Col_76_3=new D.a,this._text_77=this.renderer.createText(this._el_76,"\n ",null),this._el_78=this.renderer.createElement(this._el_76,"button",null),this.renderer.setElementAttribute(this._el_78,"class","dropdown-image-button"),this.renderer.setElementAttribute(this._el_78,"clear",""),this.renderer.setElementAttribute(this._el_78,"ion-button",""),this._appEl_78=new u.a(78,76,this,this._el_78);var c=J.a(this.viewUtils,this.injector(78),this._appEl_78);this._Button_78_4=new j.a(null,"",this.parentInjector.get(Q.c),new Z.a(this._el_78),this.renderer),this._appEl_78.initComponent(this._Button_78_4,[],c),this._text_79=this.renderer.createText(null,"\n ",null),this._el_80=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_80,"class","custom-dropdown-img"),this.renderer.setElementAttribute(this._el_80,"src","assets/img/collapse-arrow-right.svg"),this._NgClass_80_3=new H.a(this.parentInjector.get(nt.a),this.parentInjector.get(it.a),new Z.a(this._el_80),this.renderer),this._text_81=this.renderer.createText(null,"\n ",null),c.create(this._Button_78_4,[[].concat([this._text_79,this._el_80,this._text_81])],null),this._text_82=this.renderer.createText(this._el_76,"\n ",null),this._text_83=this.renderer.createText(this._el_74,"\n ",null),this._el_84=this.renderer.createElement(this._el_74,"ion-col",null),this.renderer.setElementAttribute(this._el_84,"center",""),this.renderer.setElementAttribute(this._el_84,"text-center",""),this._Col_84_3=new D.a,this._text_85=this.renderer.createText(this._el_84,"\n ",null),this._el_86=this.renderer.createElement(this._el_84,"div",null),this.renderer.setElementAttribute(this._el_86,"class","instrument-header"),this._text_87=this.renderer.createText(this._el_86,"Advanced",null),this._text_88=this.renderer.createText(this._el_84,"\n ",null),this._text_89=this.renderer.createText(this._el_74,"\n ",null),this._el_90=this.renderer.createElement(this._el_74,"ion-col",null),this.renderer.setElementAttribute(this._el_90,"center",""),this.renderer.setElementAttribute(this._el_90,"class","header-side-col"),this.renderer.setElementAttribute(this._el_90,"text-right",""),this._Col_90_3=new D.a,this._text_91=this.renderer.createText(this._el_90,"\n ",null),this._text_92=this.renderer.createText(this._el_74,"\n ",null),this._text_93=this.renderer.createText(this._el_72,"\n ",null),this._text_94=this.renderer.createText(this._el_70,"\n\n ",null),this._el_95=this.renderer.createElement(this._el_70,"div",null),this.renderer.setElementAttribute(this._el_95,"class","button-info-container"),this._NgClass_95_3=new H.a(this.parentInjector.get(nt.a),this.parentInjector.get(it.a),new Z.a(this._el_95),this.renderer),this._text_96=this.renderer.createText(this._el_95,"\n ",null),this._el_97=this.renderer.createElement(this._el_95,"ion-row",null),this.renderer.setElementAttribute(this._el_97,"class","controls-container"),this._Row_97_3=new D.c,this._text_98=this.renderer.createText(this._el_97,"\n ",null),this._el_99=this.renderer.createElement(this._el_97,"ion-col",null),this.renderer.setElementAttribute(this._el_99,"center",""),this.renderer.setElementAttribute(this._el_99,"class","vpd-label-col"),this._Col_99_3=new D.a,this._text_100=this.renderer.createText(this._el_99,"\n Log On Boot\n ",null),this._text_101=this.renderer.createText(this._el_97,"\n ",null),this._el_102=this.renderer.createElement(this._el_97,"ion-col",null),this.renderer.setElementAttribute(this._el_102,"center",""),this.renderer.setElementAttribute(this._el_102,"class","log-on-boot-toggle"),this.renderer.setElementAttribute(this._el_102,"tooltipPlacement","left"),this._appEl_102=new u.a(102,97,this,this._el_102),this._Tooltip_102_5=new F.a(this._appEl_102.vcRef,this.parentInjector.get(K.a),this.parentInjector.get(tt.f)),this._Col_102_6=new D.a,this._text_103=this.renderer.createText(this._el_102,"\n ",null),this._el_104=this.renderer.createElement(this._el_102,"ion-toggle",null),this.renderer.setElementAttribute(this._el_104,"class","toggle"),this.renderer.setElementAttribute(this._el_104,"color","primary"),this._appEl_104=new u.a(104,102,this,this._el_104);var p=rt.a(this.viewUtils,this.injector(104),this._appEl_104);this._Toggle_104_4=new U.a(this.parentInjector.get(st.a),this.parentInjector.get(Q.c),new Z.a(this._el_104),this.renderer,this.parentInjector.get(ot.a),this.parentInjector.get(at.a,null)),this._NG_VALUE_ACCESSOR_104_5=[this._Toggle_104_4],this._NgModel_104_6=new L.a(null,null,null,this._NG_VALUE_ACCESSOR_104_5),this._NgControl_104_7=this._NgModel_104_6,this._NgControlStatus_104_8=new B.a(this._NgControl_104_7),this._appEl_104.initComponent(this._Toggle_104_4,[],p),p.create(this._Toggle_104_4,[],null),this._text_105=this.renderer.createText(this._el_102,"\n ",null),this._text_106=this.renderer.createText(this._el_97,"\n \n ",null),this._el_107=this.renderer.createElement(this._el_97,"ion-col",null),this._Col_107_3=new D.a,this._text_108=this.renderer.createText(this._el_107,"\n ",null),this._el_109=this.renderer.createElement(this._el_107,"button",null),this.renderer.setElementAttribute(this._el_109,"class","text-button-side disable-hover bottom-button"),this.renderer.setElementAttribute(this._el_109,"ion-button",""),this.renderer.setElementAttribute(this._el_109,"tooltipPlacement","left"),this._appEl_109=new u.a(109,107,this,this._el_109);var f=J.a(this.viewUtils,this.injector(109),this._appEl_109);this._Tooltip_109_5=new F.a(this._appEl_109.vcRef,this.parentInjector.get(K.a),this.parentInjector.get(tt.f)),this._Button_109_6=new j.a(null,"",this.parentInjector.get(Q.c),new Z.a(this._el_109),this.renderer),this._appEl_109.initComponent(this._Button_109_6,[],f),this._text_110=this.renderer.createText(null,"\n ",null),this._el_111=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_111,"src","assets/img/refresh.svg"),this._text_112=this.renderer.createText(null,"\n ",null),f.create(this._Button_109_6,[[].concat([this._text_110,this._el_111,this._text_112])],null),this._text_113=this.renderer.createText(this._el_107,"\n ",null),this._text_114=this.renderer.createText(this._el_97,"\n ",null),this._text_115=this.renderer.createText(this._el_95,"\n\n ",null),this._el_116=this.renderer.createElement(this._el_95,"ion-row",null),this.renderer.setElementAttribute(this._el_116,"class","controls-container pad-bottom"),this._Row_116_3=new D.c,this._text_117=this.renderer.createText(this._el_116,"\n ",null),this._el_118=this.renderer.createElement(this._el_116,"ion-col",null),this.renderer.setElementAttribute(this._el_118,"center",""),this.renderer.setElementAttribute(this._el_118,"class","vpd-label-col"),this._Col_118_3=new D.a,this._text_119=this.renderer.createText(this._el_118,"\n Profile\n ",null),this._anchor_120=this.renderer.createTemplateAnchor(this._el_118,null),this._appEl_120=new u.a(120,118,this,this._anchor_120),this._TemplateRef_120_5=new Y.a(this._appEl_120,a),this._NgIf_120_6=new P.a(this._appEl_120.vcRef,this._TemplateRef_120_5),this._text_121=this.renderer.createText(this._el_118,"\n ",null),this._text_122=this.renderer.createText(this._el_116,"\n ",null),this._el_123=this.renderer.createElement(this._el_116,"ion-col",null),this.renderer.setElementAttribute(this._el_123,"center",""),this.renderer.setElementAttribute(this._el_123,"class","vpd-val-col"),this.renderer.setElementAttribute(this._el_123,"text-center",""),this._Col_123_3=new D.a,this._text_124=this.renderer.createText(this._el_123,"\n ",null),this._el_125=this.renderer.createElement(this._el_123,"dropdown-popover",null),this.renderer.setElementAttribute(this._el_125,"class","profile-drop-pop"),this.renderer.setElementAttribute(this._el_125,"tooltipPlacement","top"),this._appEl_125=new u.a(125,123,this,this._el_125);var g=et.b(this.viewUtils,this.injector(125),this._appEl_125);this._Tooltip_125_5=new F.a(this._appEl_125.vcRef,this.parentInjector.get(K.a),this.parentInjector.get(tt.f)),this._DropdownPopoverComponent_125_6=new V.a(this.parentInjector.get(A.a),new Z.a(this._el_125),this.parentInjector.get(tt.f)),this._appEl_125.initComponent(this._DropdownPopoverComponent_125_6,[],g),this._text_126=this.renderer.createText(null,"\n ",null),g.create(this._DropdownPopoverComponent_125_6,[],null),this._text_127=this.renderer.createText(this._el_123,"\n ",null),this._text_128=this.renderer.createText(this._el_116,"\n ",null),this._el_129=this.renderer.createElement(this._el_116,"ion-col",null),this.renderer.setElementAttribute(this._el_129,"center",""),this.renderer.setElementAttribute(this._el_129,"class","vpd-button-col margin-right"),this.renderer.setElementAttribute(this._el_129,"text-left",""),this._Col_129_3=new D.a,this._text_130=this.renderer.createText(this._el_129,"\n ",null),this._el_131=this.renderer.createElement(this._el_129,"div",null),this.renderer.setElementAttribute(this._el_131,"style","display:inline-block"),this._text_132=this.renderer.createText(this._el_131,"\n ",null),this._el_133=this.renderer.createElement(this._el_131,"button",null),this.renderer.setElementAttribute(this._el_133,"class","img-button disable-hover"),this.renderer.setElementAttribute(this._el_133,"ion-button",""),this.renderer.setElementAttribute(this._el_133,"tooltipPlacement","left"),this._appEl_133=new u.a(133,131,this,this._el_133);var v=J.a(this.viewUtils,this.injector(133),this._appEl_133);this._Tooltip_133_5=new F.a(this._appEl_133.vcRef,this.parentInjector.get(K.a),this.parentInjector.get(tt.f)),this._Button_133_6=new j.a(null,"",this.parentInjector.get(Q.c),new Z.a(this._el_133),this.renderer),this._appEl_133.initComponent(this._Button_133_6,[],v),this._text_134=this.renderer.createText(null,"\n ",null),this._el_135=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_135,"class","custom-image-button svg-size"),this.renderer.setElementAttribute(this._el_135,"src","assets/img/save.svg"),this._text_136=this.renderer.createText(null,"\n ",null),v.create(this._Button_133_6,[[].concat([this._text_134,this._el_135,this._text_136])],null),this._text_137=this.renderer.createText(this._el_131,"\n ",null),this._text_138=this.renderer.createText(this._el_129,"\n ",null),this._text_139=this.renderer.createText(this._el_116,"\n ",null),this._el_140=this.renderer.createElement(this._el_116,"ion-col",null),this.renderer.setElementAttribute(this._el_140,"center",""),this.renderer.setElementAttribute(this._el_140,"class","vpd-button-col margin-right"),this.renderer.setElementAttribute(this._el_140,"text-left",""),this._Col_140_3=new D.a,this._text_141=this.renderer.createText(this._el_140,"\n ",null),this._el_142=this.renderer.createElement(this._el_140,"div",null),this.renderer.setElementAttribute(this._el_142,"style","display:inline-block"),this._text_143=this.renderer.createText(this._el_142,"\n ",null),this._el_144=this.renderer.createElement(this._el_142,"button",null),this.renderer.setElementAttribute(this._el_144,"class","img-button disable-hover"),this.renderer.setElementAttribute(this._el_144,"ion-button",""),this.renderer.setElementAttribute(this._el_144,"tooltipPlacement","left"),this._appEl_144=new u.a(144,142,this,this._el_144);var x=J.a(this.viewUtils,this.injector(144),this._appEl_144);this._Tooltip_144_5=new F.a(this._appEl_144.vcRef,this.parentInjector.get(K.a),this.parentInjector.get(tt.f)),this._Button_144_6=new j.a(null,"",this.parentInjector.get(Q.c),new Z.a(this._el_144),this.renderer),this._appEl_144.initComponent(this._Button_144_6,[],x),this._text_145=this.renderer.createText(null,"\n ",null),this._el_146=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_146,"class","custom-image-button svg-size"),this.renderer.setElementAttribute(this._el_146,"src","assets/img/settings.svg"),this._text_147=this.renderer.createText(null,"\n ",null),x.create(this._Button_144_6,[[].concat([this._text_145,this._el_146,this._text_147])],null),this._text_148=this.renderer.createText(this._el_142,"\n ",null),this._text_149=this.renderer.createText(this._el_140,"\n ",null),this._text_150=this.renderer.createText(this._el_116,"\n ",null),this._text_151=this.renderer.createText(this._el_95,"\n\n ",null),this._el_152=this.renderer.createElement(this._el_95,"ion-row",null),this.renderer.setElementAttribute(this._el_152,"class","controls-container pad-bottom"),this._Row_152_3=new D.c,this._text_153=this.renderer.createText(this._el_152,"\n ",null),this._el_154=this.renderer.createElement(this._el_152,"ion-col",null),this.renderer.setElementAttribute(this._el_154,"center",""),this.renderer.setElementAttribute(this._el_154,"class","vpd-label-col"),this._Col_154_3=new D.a,this._text_155=this.renderer.createText(this._el_154,"\n Mode\n ",null),this._text_156=this.renderer.createText(this._el_152,"\n ",null),this._el_157=this.renderer.createElement(this._el_152,"ion-col",null),this.renderer.setElementAttribute(this._el_157,"center",""),this.renderer.setElementAttribute(this._el_157,"class","vpd-input-col no-button-col"),this.renderer.setElementAttribute(this._el_157,"text-center",""),this._Col_157_3=new D.a,this._text_158=this.renderer.createText(this._el_157,"\n ",null),this._el_159=this.renderer.createElement(this._el_157,"dropdown-popover",null),this.renderer.setElementAttribute(this._el_159,"tooltipPlacement","top"),this._appEl_159=new u.a(159,157,this,this._el_159);var b=et.b(this.viewUtils,this.injector(159),this._appEl_159);this._Tooltip_159_5=new F.a(this._appEl_159.vcRef,this.parentInjector.get(K.a),this.parentInjector.get(tt.f)),this._DropdownPopoverComponent_159_6=new V.a(this.parentInjector.get(A.a),new Z.a(this._el_159),this.parentInjector.get(tt.f)),this._appEl_159.initComponent(this._DropdownPopoverComponent_159_6,[],b),this._text_160=this.renderer.createText(null,"\n ",null),b.create(this._DropdownPopoverComponent_159_6,[],null),this._text_161=this.renderer.createText(this._el_157,"\n ",null),this._text_162=this.renderer.createText(this._el_152,"\n ",null),this._text_163=this.renderer.createText(this._el_95,"\n\n ",null),this._anchor_164=this.renderer.createTemplateAnchor(this._el_95,null),this._appEl_164=new u.a(164,95,this,this._anchor_164),this._TemplateRef_164_5=new Y.a(this._appEl_164,_),this._NgIf_164_6=new P.a(this._appEl_164.vcRef,this._TemplateRef_164_5),this._text_165=this.renderer.createText(this._el_95,"\n\n ",null),this._el_166=this.renderer.createElement(this._el_95,"ion-row",null),this.renderer.setElementAttribute(this._el_166,"class","controls-container pad-bottom"),this._Row_166_3=new D.c,this._text_167=this.renderer.createText(this._el_166,"\n ",null),this._el_168=this.renderer.createElement(this._el_166,"ion-col",null),this.renderer.setElementAttribute(this._el_168,"center",""),this.renderer.setElementAttribute(this._el_168,"class","vpd-label-col"),this._Col_168_3=new D.a,this._text_169=this.renderer.createText(this._el_168,"\n Averaging\n ",null),this._text_170=this.renderer.createText(this._el_166,"\n ",null),this._el_171=this.renderer.createElement(this._el_166,"ion-col",null),this.renderer.setElementAttribute(this._el_171,"center",""),this.renderer.setElementAttribute(this._el_171,"class","vpd-input-col no-button-col averaging-toggle"),this.renderer.setElementAttribute(this._el_171,"padding-left",""),this.renderer.setElementAttribute(this._el_171,"tooltipPlacement","left"),this._appEl_171=new u.a(171,166,this,this._el_171),this._Tooltip_171_5=new F.a(this._appEl_171.vcRef,this.parentInjector.get(K.a),this.parentInjector.get(tt.f)),this._Col_171_6=new D.a,this._text_172=this.renderer.createText(this._el_171,"\n ",null),this._el_173=this.renderer.createElement(this._el_171,"ion-toggle",null),this.renderer.setElementAttribute(this._el_173,"class","toggle"),this.renderer.setElementAttribute(this._el_173,"color","primary"),this._appEl_173=new u.a(173,171,this,this._el_173);var w=rt.a(this.viewUtils,this.injector(173),this._appEl_173);this._Toggle_173_4=new U.a(this.parentInjector.get(st.a),this.parentInjector.get(Q.c),new Z.a(this._el_173),this.renderer,this.parentInjector.get(ot.a),this.parentInjector.get(at.a,null)),this._NG_VALUE_ACCESSOR_173_5=[this._Toggle_173_4],this._NgModel_173_6=new L.a(null,null,null,this._NG_VALUE_ACCESSOR_173_5),this._NgControl_173_7=this._NgModel_173_6,this._NgControlStatus_173_8=new B.a(this._NgControl_173_7),this._appEl_173.initComponent(this._Toggle_173_4,[],w),w.create(this._Toggle_173_4,[],null),this._text_174=this.renderer.createText(this._el_171,"\n ",null),this._text_175=this.renderer.createText(this._el_166,"\n ",null),this._text_176=this.renderer.createText(this._el_95,"\n\n ",null),this._text_177=this.renderer.createText(this._el_70,"\n ",null),this._text_178=this.renderer.createText(this._el_0,"\n\n ",null),this._el_179=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_179,"class","set-top-border"),this._text_180=this.renderer.createText(this._el_179,"\n ",null),this._el_181=this.renderer.createElement(this._el_179,"div",null),this.renderer.setElementAttribute(this._el_181,"class","header-bar-side"),this._text_182=this.renderer.createText(this._el_181,"\n ",null),this._el_183=this.renderer.createElement(this._el_181,"ion-row",null),this._Row_183_3=new D.c,this._text_184=this.renderer.createText(this._el_183,"\n ",null),this._el_185=this.renderer.createElement(this._el_183,"ion-col",null),this.renderer.setElementAttribute(this._el_185,"center",""),this.renderer.setElementAttribute(this._el_185,"class","header-side-col"),this.renderer.setElementAttribute(this._el_185,"text-left",""),this._Col_185_3=new D.a,this._text_186=this.renderer.createText(this._el_185,"\n ",null),this._el_187=this.renderer.createElement(this._el_185,"button",null),this.renderer.setElementAttribute(this._el_187,"class","dropdown-image-button"),this.renderer.setElementAttribute(this._el_187,"clear",""),this.renderer.setElementAttribute(this._el_187,"ion-button",""),this._appEl_187=new u.a(187,185,this,this._el_187);var C=J.a(this.viewUtils,this.injector(187),this._appEl_187);this._Button_187_4=new j.a(null,"",this.parentInjector.get(Q.c),new Z.a(this._el_187),this.renderer),this._appEl_187.initComponent(this._Button_187_4,[],C),this._text_188=this.renderer.createText(null,"\n ",null),this._el_189=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_189,"class","custom-dropdown-img"),this.renderer.setElementAttribute(this._el_189,"src","assets/img/collapse-arrow-right.svg"),this._NgClass_189_3=new H.a(this.parentInjector.get(nt.a),this.parentInjector.get(it.a),new Z.a(this._el_189),this.renderer),this._text_190=this.renderer.createText(null,"\n ",null),C.create(this._Button_187_4,[[].concat([this._text_188,this._el_189,this._text_190])],null),this._text_191=this.renderer.createText(this._el_185,"\n ",null),this._text_192=this.renderer.createText(this._el_183,"\n ",null),this._el_193=this.renderer.createElement(this._el_183,"ion-col",null),this.renderer.setElementAttribute(this._el_193,"center",""),this.renderer.setElementAttribute(this._el_193,"text-center",""),this._Col_193_3=new D.a,this._text_194=this.renderer.createText(this._el_193,"\n ",null),this._el_195=this.renderer.createElement(this._el_193,"div",null),this.renderer.setElementAttribute(this._el_195,"class","instrument-header"),this._text_196=this.renderer.createText(this._el_195,"Logger",null),this._text_197=this.renderer.createText(this._el_193,"\n ",null),this._text_198=this.renderer.createText(this._el_183,"\n ",null),this._el_199=this.renderer.createElement(this._el_183,"ion-col",null),this.renderer.setElementAttribute(this._el_199,"center",""),this.renderer.setElementAttribute(this._el_199,"class","header-side-col"),this.renderer.setElementAttribute(this._el_199,"text-right",""),this._Col_199_3=new D.a,this._text_200=this.renderer.createText(this._el_199,"\n ",null),this._el_201=this.renderer.createElement(this._el_199,"button",null),this.renderer.setElementAttribute(this._el_201,"class","img-button disable-hover"),this.renderer.setElementAttribute(this._el_201,"id","channels-btn"),this.renderer.setElementAttribute(this._el_201,"ion-button",""),this.renderer.setElementAttribute(this._el_201,"tooltipPlacement","left"),this._appEl_201=new u.a(201,199,this,this._el_201);var I=J.a(this.viewUtils,this.injector(201),this._appEl_201);this._Tooltip_201_5=new F.a(this._appEl_201.vcRef,this.parentInjector.get(K.a),this.parentInjector.get(tt.f)),this._Button_201_6=new j.a(null,"",this.parentInjector.get(Q.c),new Z.a(this._el_201),this.renderer),this._appEl_201.initComponent(this._Button_201_6,[],I),this._text_202=this.renderer.createText(null,"\n ",null),this._el_203=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_203,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_203,"src","assets/img/add.svg"),this._text_204=this.renderer.createText(null,"\n ",null),I.create(this._Button_201_6,[[].concat([this._text_202,this._el_203,this._text_204])],null),this._text_205=this.renderer.createText(this._el_199,"\n ",null),this._text_206=this.renderer.createText(this._el_183,"\n ",null),this._text_207=this.renderer.createText(this._el_181,"\n ",null),this._text_208=this.renderer.createText(this._el_179,"\n ",null),this._text_209=this.renderer.createText(this._el_0,"\n\n ",null),this._anchor_210=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_210=new u.a(210,0,this,this._anchor_210),this._TemplateRef_210_5=new Y.a(this._appEl_210,l),this._NgFor_210_6=new z.a(this._appEl_210.vcRef,this._TemplateRef_210_5,this.parentInjector.get(nt.a),this.ref),this._text_211=this.renderer.createText(this._el_0,"\n",null),this._expr_0=m.n;var S=this.renderer.listen(this._el_8,"tpdChange",this.eventHandler(this._handle_tpdChange_8_0.bind(this)));this._expr_2=m.n,this._expr_3=m.n,this._expr_4=m.n;var O=this._LoggerXAxisComponent_8_4.tpdChange.subscribe(this.eventHandler(this._handle_tpdChange_8_0.bind(this)));this._expr_6=m.n;var k=this.renderer.listen(this._el_19,"tap",this.eventHandler(this._handle_tap_19_0.bind(this))),_t=this.renderer.listen(this._el_28,"valChange",this.eventHandler(this._handle_valChange_28_0.bind(this))),lt=this.renderer.listen(this._el_28,"mousewheel",this.eventHandler(this._handle_mousewheel_28_1.bind(this))),ht=this.renderer.listen(this._el_28,"input",this.eventHandler(this._handle_input_28_2.bind(this))),ct=this.renderer.listen(this._el_28,"blur",this.eventHandler(this._handle_blur_28_3.bind(this))),ut=this.renderer.listen(this._el_28,"focusin",this.eventHandler(this._handle_focusin_28_4.bind(this))),pt=this.renderer.listen(this._el_28,"mouseenter",this.eventHandler(this._handle_mouseenter_28_5.bind(this))),dt=this.renderer.listen(this._el_28,"focusout",this.eventHandler(this._handle_focusout_28_6.bind(this))),ft=this.renderer.listen(this._el_28,"mouseleave",this.eventHandler(this._handle_mouseleave_28_7.bind(this))),mt=this.renderer.listen(this._el_28,"keypress",this.eventHandler(this._handle_keypress_28_8.bind(this)));this._expr_17=m.n,this._pipe_unitFormat_0=new G.a,this._pipe_unitFormat_0_0=d.i(this._pipe_unitFormat_0.transform.bind(this._pipe_unitFormat_0)),this._expr_18=m.n,this._expr_19=m.n,this._expr_20=m.n,this._expr_21=m.n,this._expr_22=m.n,this._expr_23=m.n,this._expr_24=m.n,this._expr_25=m.n,this._expr_26=m.n,this._expr_27=m.n;var gt=this._FormatInputDirective_28_11.valChange.subscribe(this.eventHandler(this._handle_valChange_28_0.bind(this)));this._expr_29=m.n;var vt=this.renderer.listen(this._el_35,"tap",this.eventHandler(this._handle_tap_35_0.bind(this))),xt=this.renderer.listen(this._el_50,"onSelection",this.eventHandler(this._handle_onSelection_50_0.bind(this))),yt=this.renderer.listen(this._el_50,"focusin",this.eventHandler(this._handle_focusin_50_1.bind(this))),bt=this.renderer.listen(this._el_50,"mouseenter",this.eventHandler(this._handle_mouseenter_50_2.bind(this))),wt=this.renderer.listen(this._el_50,"focusout",this.eventHandler(this._handle_focusout_50_3.bind(this))),Ct=this.renderer.listen(this._el_50,"mouseleave",this.eventHandler(this._handle_mouseleave_50_4.bind(this)));this._expr_35=m.n,this._expr_36=m.n,this._expr_37=m.n,this._expr_38=m.n,this._expr_39=m.n;var Et=this._DropdownPopoverComponent_50_6.onSelection.subscribe(this.eventHandler(this._handle_onSelection_50_0.bind(this)));this._expr_40=m.n,this._map_0=d.h(function(t){return{"display-none":t}}),this._expr_41=m.n;var Tt=this.renderer.listen(this._el_62,"ngModelChange",this.eventHandler(this._handle_ngModelChange_62_0.bind(this))),At=this.renderer.listen(this._el_62,"input",this.eventHandler(this._handle_input_62_1.bind(this))),It=this.renderer.listen(this._el_62,"blur",this.eventHandler(this._handle_blur_62_2.bind(this))),St=this.renderer.listen(this._el_62,"focusin",this.eventHandler(this._handle_focusin_62_3.bind(this))),Ot=this.renderer.listen(this._el_62,"mouseenter",this.eventHandler(this._handle_mouseenter_62_4.bind(this))),kt=this.renderer.listen(this._el_62,"focusout",this.eventHandler(this._handle_focusout_62_5.bind(this))),Nt=this.renderer.listen(this._el_62,"mouseleave",this.eventHandler(this._handle_mouseleave_62_6.bind(this)));this._expr_49=m.n,this._expr_50=m.n;var Pt=this._NgModel_62_7.update.subscribe(this.eventHandler(this._handle_ngModelChange_62_0.bind(this)));this._expr_51=m.n,this._expr_52=m.n,this._expr_53=m.n,this._expr_54=m.n,this._expr_55=m.n,this._expr_56=m.n,this._expr_57=m.n,this._expr_58=m.n,this._expr_59=m.n,this._expr_60=m.n;var Rt=this.renderer.listen(this._el_78,"tap",this.eventHandler(this._handle_tap_78_0.bind(this)));this._expr_62=m.n,this._expr_63=m.n,this._map_1=d.h(function(t){return{rotateOn:t}}),this._expr_64=m.n,this._expr_65=m.n,this._map_2=d.h(function(t){return{"display-none":t}}),this._expr_66=m.n;var Dt=this.renderer.listen(this._el_102,"focusin",this.eventHandler(this._handle_focusin_102_0.bind(this))),jt=this.renderer.listen(this._el_102,"mouseenter",this.eventHandler(this._handle_mouseenter_102_1.bind(this))),Mt=this.renderer.listen(this._el_102,"focusout",this.eventHandler(this._handle_focusout_102_2.bind(this))),Lt=this.renderer.listen(this._el_102,"mouseleave",this.eventHandler(this._handle_mouseleave_102_3.bind(this)));this._expr_71=m.n,this._expr_72=m.n,this._expr_73=m.n;var Bt=this.renderer.listen(this._el_104,"ngModelChange",this.eventHandler(this._handle_ngModelChange_104_0.bind(this))),Ft=this.renderer.listen(this._el_104,"click",this.eventHandler(this._handle_click_104_1.bind(this)));this._expr_76=m.n,this._expr_77=m.n,this._expr_78=m.n;var qt=this._NgModel_104_6.update.subscribe(this.eventHandler(this._handle_ngModelChange_104_0.bind(this)));this._expr_79=m.n,this._expr_80=m.n,this._expr_81=m.n,this._expr_82=m.n,this._expr_83=m.n,this._expr_84=m.n,this._expr_90=m.n;var Vt=this.renderer.listen(this._el_109,"tap",this.eventHandler(this._handle_tap_109_0.bind(this))),Ht=this.renderer.listen(this._el_109,"focusin",this.eventHandler(this._handle_focusin_109_1.bind(this))),Ut=this.renderer.listen(this._el_109,"mouseenter",this.eventHandler(this._handle_mouseenter_109_2.bind(this))),zt=this.renderer.listen(this._el_109,"focusout",this.eventHandler(this._handle_focusout_109_3.bind(this))),Gt=this.renderer.listen(this._el_109,"mouseleave",this.eventHandler(this._handle_mouseleave_109_4.bind(this))); this._expr_91=m.n,this._expr_92=m.n,this._expr_93=m.n,this._expr_94=m.n;var Wt=this.renderer.listen(this._el_125,"onSelection",this.eventHandler(this._handle_onSelection_125_0.bind(this))),Yt=this.renderer.listen(this._el_125,"focusin",this.eventHandler(this._handle_focusin_125_1.bind(this))),$t=this.renderer.listen(this._el_125,"mouseenter",this.eventHandler(this._handle_mouseenter_125_2.bind(this))),Xt=this.renderer.listen(this._el_125,"focusout",this.eventHandler(this._handle_focusout_125_3.bind(this))),Jt=this.renderer.listen(this._el_125,"mouseleave",this.eventHandler(this._handle_mouseleave_125_4.bind(this)));this._expr_100=m.n,this._expr_101=m.n,this._expr_102=m.n,this._expr_103=m.n,this._expr_104=m.n;var Qt=this._DropdownPopoverComponent_125_6.onSelection.subscribe(this.eventHandler(this._handle_onSelection_125_0.bind(this)));this._expr_110=m.n;var Zt=this.renderer.listen(this._el_133,"tap",this.eventHandler(this._handle_tap_133_0.bind(this))),Kt=this.renderer.listen(this._el_133,"focusin",this.eventHandler(this._handle_focusin_133_1.bind(this))),te=this.renderer.listen(this._el_133,"mouseenter",this.eventHandler(this._handle_mouseenter_133_2.bind(this))),ee=this.renderer.listen(this._el_133,"focusout",this.eventHandler(this._handle_focusout_133_3.bind(this))),ne=this.renderer.listen(this._el_133,"mouseleave",this.eventHandler(this._handle_mouseleave_133_4.bind(this)));this._expr_111=m.n,this._expr_112=m.n,this._expr_113=m.n,this._expr_119=m.n;var ie=this.renderer.listen(this._el_144,"tap",this.eventHandler(this._handle_tap_144_0.bind(this))),re=this.renderer.listen(this._el_144,"focusin",this.eventHandler(this._handle_focusin_144_1.bind(this))),se=this.renderer.listen(this._el_144,"mouseenter",this.eventHandler(this._handle_mouseenter_144_2.bind(this))),oe=this.renderer.listen(this._el_144,"focusout",this.eventHandler(this._handle_focusout_144_3.bind(this))),ae=this.renderer.listen(this._el_144,"mouseleave",this.eventHandler(this._handle_mouseleave_144_4.bind(this)));this._expr_120=m.n,this._expr_121=m.n,this._expr_122=m.n;var _e=this.renderer.listen(this._el_159,"onSelection",this.eventHandler(this._handle_onSelection_159_0.bind(this))),le=this.renderer.listen(this._el_159,"focusin",this.eventHandler(this._handle_focusin_159_1.bind(this))),he=this.renderer.listen(this._el_159,"mouseenter",this.eventHandler(this._handle_mouseenter_159_2.bind(this))),ce=this.renderer.listen(this._el_159,"focusout",this.eventHandler(this._handle_focusout_159_3.bind(this))),ue=this.renderer.listen(this._el_159,"mouseleave",this.eventHandler(this._handle_mouseleave_159_4.bind(this)));this._expr_128=m.n,this._expr_129=m.n,this._expr_130=m.n,this._expr_131=m.n,this._expr_132=m.n;var pe=this._DropdownPopoverComponent_159_6.onSelection.subscribe(this.eventHandler(this._handle_onSelection_159_0.bind(this)));this._expr_133=m.n;var de=this.renderer.listen(this._el_171,"focusin",this.eventHandler(this._handle_focusin_171_0.bind(this))),fe=this.renderer.listen(this._el_171,"mouseenter",this.eventHandler(this._handle_mouseenter_171_1.bind(this))),me=this.renderer.listen(this._el_171,"focusout",this.eventHandler(this._handle_focusout_171_2.bind(this))),ge=this.renderer.listen(this._el_171,"mouseleave",this.eventHandler(this._handle_mouseleave_171_3.bind(this)));this._expr_138=m.n,this._expr_139=m.n,this._expr_140=m.n;var ve=this.renderer.listen(this._el_173,"ngModelChange",this.eventHandler(this._handle_ngModelChange_173_0.bind(this))),xe=this.renderer.listen(this._el_173,"ionChange",this.eventHandler(this._handle_ionChange_173_1.bind(this)));this._expr_143=m.n,this._expr_144=m.n;var ye=this._Toggle_173_4.ionChange.subscribe(this.eventHandler(this._handle_ionChange_173_1.bind(this)));this._expr_145=m.n;var be=this._NgModel_173_6.update.subscribe(this.eventHandler(this._handle_ngModelChange_173_0.bind(this)));this._expr_146=m.n,this._expr_147=m.n,this._expr_148=m.n,this._expr_149=m.n,this._expr_150=m.n,this._expr_151=m.n;var we=this.renderer.listen(this._el_187,"tap",this.eventHandler(this._handle_tap_187_0.bind(this)));this._expr_153=m.n,this._expr_154=m.n,this._map_3=d.h(function(t){return{rotateOn:t}}),this._expr_155=m.n,this._expr_161=m.n;var Ce=this.renderer.listen(this._el_201,"tap",this.eventHandler(this._handle_tap_201_0.bind(this))),Ee=this.renderer.listen(this._el_201,"focusin",this.eventHandler(this._handle_focusin_201_1.bind(this))),Te=this.renderer.listen(this._el_201,"mouseenter",this.eventHandler(this._handle_mouseenter_201_2.bind(this))),Ae=this.renderer.listen(this._el_201,"focusout",this.eventHandler(this._handle_focusout_201_3.bind(this))),Ie=this.renderer.listen(this._el_201,"mouseleave",this.eventHandler(this._handle_mouseleave_201_4.bind(this)));return this._expr_162=m.n,this._expr_163=m.n,this._expr_164=m.n,this._expr_165=m.n,this._pipe_averageFormat_1=new W.a,this._viewQuery_dropPopMode_0.reset([this._DropdownPopoverComponent_159_6]),this.context.modeChild=this._viewQuery_dropPopMode_0.first,this._viewQuery_dropPopProfile_1.reset([this._DropdownPopoverComponent_125_6]),this.context.profileChild=this._viewQuery_dropPopProfile_1.first,this._viewQuery_dropPopLogTo_2.reset([this._DropdownPopoverComponent_50_6]),this.context.logToChild=this._viewQuery_dropPopLogTo_2.first,this._viewQuery_xaxis_3.reset([this._LoggerXAxisComponent_8_4]),this.context.xAxis=this._viewQuery_xaxis_3.first,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._anchor_6,this._text_7,this._el_8,this._text_9,this._el_10,this._text_11,this._el_12,this._text_13,this._text_14,this._el_15,this._text_16,this._el_17,this._text_18,this._el_19,this._text_20,this._el_21,this._text_22,this._text_23,this._text_24,this._text_25,this._el_26,this._text_27,this._el_28,this._text_29,this._text_30,this._el_31,this._text_32,this._el_33,this._text_34,this._el_35,this._text_36,this._el_37,this._text_38,this._text_39,this._text_40,this._text_41,this._text_42,this._el_43,this._text_44,this._el_45,this._text_46,this._text_47,this._el_48,this._text_49,this._el_50,this._text_51,this._text_52,this._text_53,this._text_54,this._el_55,this._text_56,this._el_57,this._text_58,this._text_59,this._el_60,this._text_61,this._el_62,this._text_63,this._text_64,this._text_65,this._anchor_66,this._text_67,this._text_68,this._text_69,this._el_70,this._text_71,this._el_72,this._text_73,this._el_74,this._text_75,this._el_76,this._text_77,this._el_78,this._text_79,this._el_80,this._text_81,this._text_82,this._text_83,this._el_84,this._text_85,this._el_86,this._text_87,this._text_88,this._text_89,this._el_90,this._text_91,this._text_92,this._text_93,this._text_94,this._el_95,this._text_96,this._el_97,this._text_98,this._el_99,this._text_100,this._text_101,this._el_102,this._text_103,this._el_104,this._text_105,this._text_106,this._el_107,this._text_108,this._el_109,this._text_110,this._el_111,this._text_112,this._text_113,this._text_114,this._text_115,this._el_116,this._text_117,this._el_118,this._text_119,this._anchor_120,this._text_121,this._text_122,this._el_123,this._text_124,this._el_125,this._text_126,this._text_127,this._text_128,this._el_129,this._text_130,this._el_131,this._text_132,this._el_133,this._text_134,this._el_135,this._text_136,this._text_137,this._text_138,this._text_139,this._el_140,this._text_141,this._el_142,this._text_143,this._el_144,this._text_145,this._el_146,this._text_147,this._text_148,this._text_149,this._text_150,this._text_151,this._el_152,this._text_153,this._el_154,this._text_155,this._text_156,this._el_157,this._text_158,this._el_159,this._text_160,this._text_161,this._text_162,this._text_163,this._anchor_164,this._text_165,this._el_166,this._text_167,this._el_168,this._text_169,this._text_170,this._el_171,this._text_172,this._el_173,this._text_174,this._text_175,this._text_176,this._text_177,this._text_178,this._el_179,this._text_180,this._el_181,this._text_182,this._el_183,this._text_184,this._el_185,this._text_186,this._el_187,this._text_188,this._el_189,this._text_190,this._text_191,this._text_192,this._el_193,this._text_194,this._el_195,this._text_196,this._text_197,this._text_198,this._el_199,this._text_200,this._el_201,this._text_202,this._el_203,this._text_204,this._text_205,this._text_206,this._text_207,this._text_208,this._text_209,this._anchor_210,this._text_211],[S,k,_t,lt,ht,ct,ut,pt,dt,ft,mt,vt,xt,yt,bt,wt,Ct,Tt,At,It,St,Ot,kt,Nt,Rt,Dt,jt,Mt,Lt,Bt,Ft,Vt,Ht,Ut,zt,Gt,Wt,Yt,$t,Xt,Jt,Zt,Kt,te,ee,ne,ie,re,se,oe,ae,_e,le,he,ce,ue,de,fe,me,ge,ve,xe,we,Ce,Ee,Te,Ae,Ie],[O,gt,Et,Pt,qt,Qt,pe,ye,be]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===Y.b&&6===e?this._TemplateRef_6_5:t===P.a&&6===e?this._NgIf_6_6:t===R.a&&8===e?this._LoggerXAxisComponent_8_4:t===D.a&&12<=e&&e<=13?this._Col_12_3:t===j.a&&19<=e&&e<=22?this._Button_19_4:t===D.a&&15<=e&&e<=24?this._Col_15_3:t===M.a&&28===e?this._DefaultValueAccessor_28_5:t===_t.a&&28===e?this._NG_VALUE_ACCESSOR_28_6:t===L.a&&28===e?this._NgModel_28_7:t===lt.a&&28===e?this._NgControl_28_8:t===B.a&&28===e?this._NgControlStatus_28_9:t===F.a&&28===e?this._Tooltip_28_10:t===q.a&&28===e?this._FormatInputDirective_28_11:t===D.a&&26<=e&&e<=29?this._Col_26_3:t===j.a&&35<=e&&e<=38?this._Button_35_4:t===D.a&&31<=e&&e<=40?this._Col_31_3:t===D.c&&10<=e&&e<=41?this._Row_10_3:t===D.a&&45<=e&&e<=46?this._Col_45_3:t===F.a&&50<=e&&e<=51?this._Tooltip_50_5:t===V.a&&50<=e&&e<=51?this._DropdownPopoverComponent_50_6:t===D.a&&48<=e&&e<=52?this._Col_48_3:t===D.c&&43<=e&&e<=53?this._Row_43_3:t===D.a&&57<=e&&e<=58?this._Col_57_3:t===M.a&&62===e?this._DefaultValueAccessor_62_5:t===_t.a&&62===e?this._NG_VALUE_ACCESSOR_62_6:t===L.a&&62===e?this._NgModel_62_7:t===lt.a&&62===e?this._NgControl_62_8:t===B.a&&62===e?this._NgControlStatus_62_9:t===F.a&&62===e?this._Tooltip_62_10:t===D.a&&60<=e&&e<=63?this._Col_60_3:t===H.a&&55<=e&&e<=64?this._NgClass_55_3:t===D.c&&55<=e&&e<=64?this._Row_55_4:t===Y.b&&66===e?this._TemplateRef_66_5:t===P.a&&66===e?this._NgIf_66_6:t===H.a&&80===e?this._NgClass_80_3:t===j.a&&78<=e&&e<=81?this._Button_78_4:t===D.a&&76<=e&&e<=82?this._Col_76_3:t===D.a&&84<=e&&e<=88?this._Col_84_3:t===D.a&&90<=e&&e<=91?this._Col_90_3:t===D.c&&74<=e&&e<=92?this._Row_74_3:t===D.a&&99<=e&&e<=100?this._Col_99_3:t===U.a&&104===e?this._Toggle_104_4:t===_t.a&&104===e?this._NG_VALUE_ACCESSOR_104_5:t===L.a&&104===e?this._NgModel_104_6:t===lt.a&&104===e?this._NgControl_104_7:t===B.a&&104===e?this._NgControlStatus_104_8:t===F.a&&102<=e&&e<=105?this._Tooltip_102_5:t===D.a&&102<=e&&e<=105?this._Col_102_6:t===F.a&&109<=e&&e<=112?this._Tooltip_109_5:t===j.a&&109<=e&&e<=112?this._Button_109_6:t===D.a&&107<=e&&e<=113?this._Col_107_3:t===D.c&&97<=e&&e<=114?this._Row_97_3:t===Y.b&&120===e?this._TemplateRef_120_5:t===P.a&&120===e?this._NgIf_120_6:t===D.a&&118<=e&&e<=121?this._Col_118_3:t===F.a&&125<=e&&e<=126?this._Tooltip_125_5:t===V.a&&125<=e&&e<=126?this._DropdownPopoverComponent_125_6:t===D.a&&123<=e&&e<=127?this._Col_123_3:t===F.a&&133<=e&&e<=136?this._Tooltip_133_5:t===j.a&&133<=e&&e<=136?this._Button_133_6:t===D.a&&129<=e&&e<=138?this._Col_129_3:t===F.a&&144<=e&&e<=147?this._Tooltip_144_5:t===j.a&&144<=e&&e<=147?this._Button_144_6:t===D.a&&140<=e&&e<=149?this._Col_140_3:t===D.c&&116<=e&&e<=150?this._Row_116_3:t===D.a&&154<=e&&e<=155?this._Col_154_3:t===F.a&&159<=e&&e<=160?this._Tooltip_159_5:t===V.a&&159<=e&&e<=160?this._DropdownPopoverComponent_159_6:t===D.a&&157<=e&&e<=161?this._Col_157_3:t===D.c&&152<=e&&e<=162?this._Row_152_3:t===Y.b&&164===e?this._TemplateRef_164_5:t===P.a&&164===e?this._NgIf_164_6:t===D.a&&168<=e&&e<=169?this._Col_168_3:t===U.a&&173===e?this._Toggle_173_4:t===_t.a&&173===e?this._NG_VALUE_ACCESSOR_173_5:t===L.a&&173===e?this._NgModel_173_6:t===lt.a&&173===e?this._NgControl_173_7:t===B.a&&173===e?this._NgControlStatus_173_8:t===F.a&&171<=e&&e<=174?this._Tooltip_171_5:t===D.a&&171<=e&&e<=174?this._Col_171_6:t===D.c&&166<=e&&e<=175?this._Row_166_3:t===H.a&&95<=e&&e<=176?this._NgClass_95_3:t===H.a&&189===e?this._NgClass_189_3:t===j.a&&187<=e&&e<=190?this._Button_187_4:t===D.a&&185<=e&&e<=191?this._Col_185_3:t===D.a&&193<=e&&e<=197?this._Col_193_3:t===F.a&&201<=e&&e<=204?this._Tooltip_201_5:t===j.a&&201<=e&&e<=204?this._Button_201_6:t===D.a&&199<=e&&e<=205?this._Col_199_3:t===D.c&&183<=e&&e<=206?this._Row_183_3:t===Y.b&&210===e?this._TemplateRef_210_5:t===z.a&&210===e?this._NgFor_210_6:n},e.prototype.detectChangesInternal=function(t){var e=!0,n=null,i=new m.o,r="chart"!==this.context.selectedLogLocation;d.c(t,this._expr_0,r)&&(this._NgIf_6_6.ngIf=r,this._expr_0=r);var s=this.context.loggerPlotService.tpdArray;d.c(t,this._expr_2,s)&&(this._LoggerXAxisComponent_8_4.tpdArray=s,this._expr_2=s);var o=this.context.loggerPlotService.tpdIndex;d.c(t,this._expr_3,o)&&(this._LoggerXAxisComponent_8_4.tpdIndex=o,this._expr_3=o);var a=this.context.loggerPlotService.xAxis.base;d.c(t,this._expr_4,a)&&(this._LoggerXAxisComponent_8_4.tpdAbsolute=a,this._expr_4=a),n=null;var _=this.context.running;d.c(t,this._expr_17,_)&&(this._NgModel_28_7.isDisabled=_,null===n&&(n={}),n.isDisabled=new m.m(this._expr_17,_),this._expr_17=_),i.reset();var l=i.unwrap(d.r(this._pipe_unitFormat_0_0,this._pipe_unitFormat_0.transform)(this.context.daqParams.sampleFreq,"S/s"));(i.hasWrappedValue||d.c(t,this._expr_18,l))&&(this._NgModel_28_7.model=l,null===n&&(n={}),n.model=new m.m(this._expr_18,l),this._expr_18=l),null!==n&&this._NgModel_28_7.ngOnChanges(n),n=null;var h=this.context.tooltipService.getTooltip("logSampleFreq").message;d.c(t,this._expr_25,h)&&(this._Tooltip_28_10.content=h,null===n&&(n={}),n.content=new m.m(this._expr_25,h),this._expr_25=h);var c=!0;d.c(t,this._expr_26,c)&&(this._Tooltip_28_10.tooltipAnimation=c,null===n&&(n={}),n.tooltipAnimation=new m.m(this._expr_26,c),this._expr_26=c);var u="top";d.c(t,this._expr_27,u)&&(this._Tooltip_28_10.tooltipPlacement=u,null===n&&(n={}),n.tooltipPlacement=new m.m(this._expr_27,u),this._expr_27=u),null!==n&&this._Tooltip_28_10.ngOnChanges(n),n=null;var p=this.context.tooltipService.getTooltip("logLocation").message;d.c(t,this._expr_35,p)&&(this._Tooltip_50_5.content=p,null===n&&(n={}),n.content=new m.m(this._expr_35,p),this._expr_35=p);var f=!0;d.c(t,this._expr_36,f)&&(this._Tooltip_50_5.tooltipAnimation=f,null===n&&(n={}),n.tooltipAnimation=new m.m(this._expr_36,f),this._expr_36=f);var g="top";d.c(t,this._expr_37,g)&&(this._Tooltip_50_5.tooltipPlacement=g,null===n&&(n={}),n.tooltipPlacement=new m.m(this._expr_37,g),this._expr_37=g),null!==n&&this._Tooltip_50_5.ngOnChanges(n),n=null;var v=this.context.logToLocations;d.c(t,this._expr_38,v)&&(this._DropdownPopoverComponent_50_6.dataArray=v,null===n&&(n={}),n.dataArray=new m.m(this._expr_38,v),this._expr_38=v);var x=this.context.running;d.c(t,this._expr_39,x)&&(this._DropdownPopoverComponent_50_6.disabled=x,null===n&&(n={}),n.disabled=new m.m(this._expr_39,x),this._expr_39=x),null!==n&&this._DropdownPopoverComponent_50_6.ngOnChanges(n);var y="controls-container pad-bottom";d.c(t,this._expr_40,y)&&(this._NgClass_55_3.klass=y,this._expr_40=y);var b=this._map_0("SD"!==this.context.selectedLogLocation);d.c(t,this._expr_41,b)&&(this._NgClass_55_3.ngClass=b,this._expr_41=b),t||this._NgClass_55_3.ngDoCheck(),n=null;var w=this.context.running;d.c(t,this._expr_49,w)&&(this._NgModel_62_7.isDisabled=w,null===n&&(n={}),n.isDisabled=new m.m(this._expr_49,w),this._expr_49=w);var C=this.context.daqParams.uri;d.c(t,this._expr_50,C)&&(this._NgModel_62_7.model=C,null===n&&(n={}),n.model=new m.m(this._expr_50,C),this._expr_50=C),null!==n&&this._NgModel_62_7.ngOnChanges(n),n=null;var E=this.context.tooltipService.getTooltip("logFileName").message;d.c(t,this._expr_57,E)&&(this._Tooltip_62_10.content=E,null===n&&(n={}),n.content=new m.m(this._expr_57,E),this._expr_57=E);var T=!0;d.c(t,this._expr_58,T)&&(this._Tooltip_62_10.tooltipAnimation=T,null===n&&(n={}),n.tooltipAnimation=new m.m(this._expr_58,T),this._expr_58=T);var A="top";d.c(t,this._expr_59,A)&&(this._Tooltip_62_10.tooltipPlacement=A,null===n&&(n={}),n.tooltipPlacement=new m.m(this._expr_59,A),this._expr_59=A),null!==n&&this._Tooltip_62_10.ngOnChanges(n);var I="cloud"===this.context.selectedLogLocation;d.c(t,this._expr_60,I)&&(this._NgIf_66_6.ngIf=I,this._expr_60=I),e=!1;var S="";d.c(t,this._expr_62,S)&&(this._Button_78_4.clear=S,e=!0,this._expr_62=S),e&&this._appEl_78.componentView.markAsCheckOnce();var O="custom-dropdown-img";d.c(t,this._expr_63,O)&&(this._NgClass_80_3.klass=O,this._expr_63=O);var k=this._map_1(this.context.showAdvSettings);d.c(t,this._expr_64,k)&&(this._NgClass_80_3.ngClass=k,this._expr_64=k),t||this._NgClass_80_3.ngDoCheck();var N="button-info-container";d.c(t,this._expr_65,N)&&(this._NgClass_95_3.klass=N,this._expr_65=N);var P=this._map_2(!this.context.showAdvSettings);d.c(t,this._expr_66,P)&&(this._NgClass_95_3.ngClass=P,this._expr_66=P),t||this._NgClass_95_3.ngDoCheck(),n=null;var R=this.context.tooltipService.getTooltip("logLogOnBoot").message;d.c(t,this._expr_71,R)&&(this._Tooltip_102_5.content=R,null===n&&(n={}),n.content=new m.m(this._expr_71,R),this._expr_71=R);var D=!0;d.c(t,this._expr_72,D)&&(this._Tooltip_102_5.tooltipAnimation=D,null===n&&(n={}),n.tooltipAnimation=new m.m(this._expr_72,D),this._expr_72=D);var j="left";d.c(t,this._expr_73,j)&&(this._Tooltip_102_5.tooltipPlacement=j,null===n&&(n={}),n.tooltipPlacement=new m.m(this._expr_73,j),this._expr_73=j),null!==n&&this._Tooltip_102_5.ngOnChanges(n);var M="primary";d.c(t,this._expr_76,M)&&(this._Toggle_104_4.color=M,this._expr_76=M),n=null;var L=this.context.daqParams.logOnBoot;d.c(t,this._expr_78,L)&&(this._NgModel_104_6.model=L,null===n&&(n={}),n.model=new m.m(this._expr_78,L),this._expr_78=L),null!==n&&this._NgModel_104_6.ngOnChanges(n),n=null;var B=this.context.tooltipService.getTooltip("logLogOnBootRefresh").message;d.c(t,this._expr_91,B)&&(this._Tooltip_109_5.content=B,null===n&&(n={}),n.content=new m.m(this._expr_91,B),this._expr_91=B);var F=!0;d.c(t,this._expr_92,F)&&(this._Tooltip_109_5.tooltipAnimation=F,null===n&&(n={}),n.tooltipAnimation=new m.m(this._expr_92,F),this._expr_92=F);var q="left";d.c(t,this._expr_93,q)&&(this._Tooltip_109_5.tooltipPlacement=q,null===n&&(n={}),n.tooltipPlacement=new m.m(this._expr_93,q),this._expr_93=q),null!==n&&this._Tooltip_109_5.ngOnChanges(n);var V=this.context.dirtyProfile;d.c(t,this._expr_94,V)&&(this._NgIf_120_6.ngIf=V,this._expr_94=V),n=null;var H=this.context.tooltipService.getTooltip("logProfile").message;d.c(t,this._expr_100,H)&&(this._Tooltip_125_5.content=H,null===n&&(n={}),n.content=new m.m(this._expr_100,H),this._expr_100=H);var U=!0;d.c(t,this._expr_101,U)&&(this._Tooltip_125_5.tooltipAnimation=U,null===n&&(n={}),n.tooltipAnimation=new m.m(this._expr_101,U),this._expr_101=U);var z="top";d.c(t,this._expr_102,z)&&(this._Tooltip_125_5.tooltipPlacement=z,null===n&&(n={}),n.tooltipPlacement=new m.m(this._expr_102,z),this._expr_102=z),null!==n&&this._Tooltip_125_5.ngOnChanges(n),n=null;var G=this.context.loggingProfiles;d.c(t,this._expr_103,G)&&(this._DropdownPopoverComponent_125_6.dataArray=G,null===n&&(n={}),n.dataArray=new m.m(this._expr_103,G),this._expr_103=G);var W=this.context.running;d.c(t,this._expr_104,W)&&(this._DropdownPopoverComponent_125_6.disabled=W,null===n&&(n={}),n.disabled=new m.m(this._expr_104,W),this._expr_104=W),null!==n&&this._DropdownPopoverComponent_125_6.ngOnChanges(n),n=null;var Y=this.context.tooltipService.getTooltip("logSaveProfile").message;d.c(t,this._expr_111,Y)&&(this._Tooltip_133_5.content=Y,null===n&&(n={}),n.content=new m.m(this._expr_111,Y),this._expr_111=Y);var $=!0;d.c(t,this._expr_112,$)&&(this._Tooltip_133_5.tooltipAnimation=$,null===n&&(n={}),n.tooltipAnimation=new m.m(this._expr_112,$),this._expr_112=$);var X="left";d.c(t,this._expr_113,X)&&(this._Tooltip_133_5.tooltipPlacement=X,null===n&&(n={}),n.tooltipPlacement=new m.m(this._expr_113,X),this._expr_113=X),null!==n&&this._Tooltip_133_5.ngOnChanges(n),n=null;var J=this.context.tooltipService.getTooltip("logProfileSettings").message;d.c(t,this._expr_120,J)&&(this._Tooltip_144_5.content=J,null===n&&(n={}),n.content=new m.m(this._expr_120,J),this._expr_120=J);var Q=!0;d.c(t,this._expr_121,Q)&&(this._Tooltip_144_5.tooltipAnimation=Q,null===n&&(n={}),n.tooltipAnimation=new m.m(this._expr_121,Q),this._expr_121=Q);var Z="left";d.c(t,this._expr_122,Z)&&(this._Tooltip_144_5.tooltipPlacement=Z,null===n&&(n={}),n.tooltipPlacement=new m.m(this._expr_122,Z),this._expr_122=Z),null!==n&&this._Tooltip_144_5.ngOnChanges(n),n=null;var K=this.context.tooltipService.getTooltip("logSampleMode").message;d.c(t,this._expr_128,K)&&(this._Tooltip_159_5.content=K,null===n&&(n={}),n.content=new m.m(this._expr_128,K),this._expr_128=K);var tt=!0;d.c(t,this._expr_129,tt)&&(this._Tooltip_159_5.tooltipAnimation=tt,null===n&&(n={}),n.tooltipAnimation=new m.m(this._expr_129,tt),this._expr_129=tt);var et="top";d.c(t,this._expr_130,et)&&(this._Tooltip_159_5.tooltipPlacement=et,null===n&&(n={}),n.tooltipPlacement=new m.m(this._expr_130,et),this._expr_130=et),null!==n&&this._Tooltip_159_5.ngOnChanges(n),n=null;var nt=this.context.modes;d.c(t,this._expr_131,nt)&&(this._DropdownPopoverComponent_159_6.dataArray=nt,null===n&&(n={}),n.dataArray=new m.m(this._expr_131,nt),this._expr_131=nt);var it=this.context.running;d.c(t,this._expr_132,it)&&(this._DropdownPopoverComponent_159_6.disabled=it,null===n&&(n={}),n.disabled=new m.m(this._expr_132,it),this._expr_132=it),null!==n&&this._DropdownPopoverComponent_159_6.ngOnChanges(n);var rt="finite"===this.context.selectedMode;d.c(t,this._expr_133,rt)&&(this._NgIf_164_6.ngIf=rt,this._expr_133=rt),n=null;var st=this.context.tooltipService.getTooltip("logAveragingToggle").message;d.c(t,this._expr_138,st)&&(this._Tooltip_171_5.content=st,null===n&&(n={}),n.content=new m.m(this._expr_138,st),this._expr_138=st);var ot=!0;d.c(t,this._expr_139,ot)&&(this._Tooltip_171_5.tooltipAnimation=ot,null===n&&(n={}),n.tooltipAnimation=new m.m(this._expr_139,ot),this._expr_139=ot);var at="left";d.c(t,this._expr_140,at)&&(this._Tooltip_171_5.tooltipPlacement=at,null===n&&(n={}),n.tooltipPlacement=new m.m(this._expr_140,at),this._expr_140=at),null!==n&&this._Tooltip_171_5.ngOnChanges(n);var _t="primary";d.c(t,this._expr_143,_t)&&(this._Toggle_173_4.color=_t,this._expr_143=_t),n=null;var lt=this.context.averagingEnabled;d.c(t,this._expr_145,lt)&&(this._NgModel_173_6.model=lt,null===n&&(n={}),n.model=new m.m(this._expr_145,lt),this._expr_145=lt),null!==n&&this._NgModel_173_6.ngOnChanges(n),e=!1;var ht="";d.c(t,this._expr_153,ht)&&(this._Button_187_4.clear=ht,e=!0,this._expr_153=ht),e&&this._appEl_187.componentView.markAsCheckOnce();var ct="custom-dropdown-img";d.c(t,this._expr_154,ct)&&(this._NgClass_189_3.klass=ct,this._expr_154=ct);var ut=this._map_3(this.context.showLoggerSettings);d.c(t,this._expr_155,ut)&&(this._NgClass_189_3.ngClass=ut,this._expr_155=ut),t||this._NgClass_189_3.ngDoCheck(),n=null;var pt=this.context.tooltipService.getTooltip("logSelectChannels").message;d.c(t,this._expr_162,pt)&&(this._Tooltip_201_5.content=pt,null===n&&(n={}),n.content=new m.m(this._expr_162,pt),this._expr_162=pt);var dt=!0;d.c(t,this._expr_163,dt)&&(this._Tooltip_201_5.tooltipAnimation=dt,null===n&&(n={}),n.tooltipAnimation=new m.m(this._expr_163,dt),this._expr_163=dt);var ft="left";d.c(t,this._expr_164,ft)&&(this._Tooltip_201_5.tooltipPlacement=ft,null===n&&(n={}),n.tooltipPlacement=new m.m(this._expr_164,ft),this._expr_164=ft),null!==n&&this._Tooltip_201_5.ngOnChanges(n),n=null;var mt=this.context.daqChans;d.c(t,this._expr_165,mt)&&(this._NgFor_210_6.ngForOf=mt,null===n&&(n={}),n.ngForOf=new m.m(this._expr_165,mt),this._expr_165=mt),null!==n&&this._NgFor_210_6.ngOnChanges(n),t||this._NgFor_210_6.ngDoCheck(),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_19_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_35_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_78_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Toggle_104_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_109_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_133_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_144_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Toggle_173_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_187_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_201_6.ngAfterContentInit());var gt=this.context.running;d.c(t,this._expr_6,gt)&&(this.renderer.setElementProperty(this._el_19,"disabled",gt),this._expr_6=gt);var vt=this._NgControlStatus_28_9.ngClassUntouched;d.c(t,this._expr_19,vt)&&(this.renderer.setElementClass(this._el_28,"ng-untouched",vt),this._expr_19=vt);var xt=this._NgControlStatus_28_9.ngClassTouched;d.c(t,this._expr_20,xt)&&(this.renderer.setElementClass(this._el_28,"ng-touched",xt),this._expr_20=xt);var yt=this._NgControlStatus_28_9.ngClassPristine;d.c(t,this._expr_21,yt)&&(this.renderer.setElementClass(this._el_28,"ng-pristine",yt),this._expr_21=yt);var bt=this._NgControlStatus_28_9.ngClassDirty;d.c(t,this._expr_22,bt)&&(this.renderer.setElementClass(this._el_28,"ng-dirty",bt),this._expr_22=bt);var wt=this._NgControlStatus_28_9.ngClassValid;d.c(t,this._expr_23,wt)&&(this.renderer.setElementClass(this._el_28,"ng-valid",wt),this._expr_23=wt);var Et=this._NgControlStatus_28_9.ngClassInvalid;d.c(t,this._expr_24,Et)&&(this.renderer.setElementClass(this._el_28,"ng-invalid",Et),this._expr_24=Et);var Tt=this.context.running;d.c(t,this._expr_29,Tt)&&(this.renderer.setElementProperty(this._el_35,"disabled",Tt),this._expr_29=Tt);var At=this._NgControlStatus_62_9.ngClassUntouched;d.c(t,this._expr_51,At)&&(this.renderer.setElementClass(this._el_62,"ng-untouched",At),this._expr_51=At);var It=this._NgControlStatus_62_9.ngClassTouched;d.c(t,this._expr_52,It)&&(this.renderer.setElementClass(this._el_62,"ng-touched",It),this._expr_52=It);var St=this._NgControlStatus_62_9.ngClassPristine;d.c(t,this._expr_53,St)&&(this.renderer.setElementClass(this._el_62,"ng-pristine",St),this._expr_53=St);var Ot=this._NgControlStatus_62_9.ngClassDirty;d.c(t,this._expr_54,Ot)&&(this.renderer.setElementClass(this._el_62,"ng-dirty",Ot),this._expr_54=Ot);var kt=this._NgControlStatus_62_9.ngClassValid;d.c(t,this._expr_55,kt)&&(this.renderer.setElementClass(this._el_62,"ng-valid",kt),this._expr_55=kt);var Nt=this._NgControlStatus_62_9.ngClassInvalid;d.c(t,this._expr_56,Nt)&&(this.renderer.setElementClass(this._el_62,"ng-invalid",Nt),this._expr_56=Nt);var Pt=this._Toggle_104_4._disabled;d.c(t,this._expr_77,Pt)&&(this.renderer.setElementClass(this._el_104,"toggle-disabled",Pt),this._expr_77=Pt);var Rt=this._NgControlStatus_104_8.ngClassUntouched;d.c(t,this._expr_79,Rt)&&(this.renderer.setElementClass(this._el_104,"ng-untouched",Rt),this._expr_79=Rt);var Dt=this._NgControlStatus_104_8.ngClassTouched;d.c(t,this._expr_80,Dt)&&(this.renderer.setElementClass(this._el_104,"ng-touched",Dt),this._expr_80=Dt);var jt=this._NgControlStatus_104_8.ngClassPristine;d.c(t,this._expr_81,jt)&&(this.renderer.setElementClass(this._el_104,"ng-pristine",jt),this._expr_81=jt);var Mt=this._NgControlStatus_104_8.ngClassDirty;d.c(t,this._expr_82,Mt)&&(this.renderer.setElementClass(this._el_104,"ng-dirty",Mt),this._expr_82=Mt);var Lt=this._NgControlStatus_104_8.ngClassValid;d.c(t,this._expr_83,Lt)&&(this.renderer.setElementClass(this._el_104,"ng-valid",Lt),this._expr_83=Lt);var Bt=this._NgControlStatus_104_8.ngClassInvalid;d.c(t,this._expr_84,Bt)&&(this.renderer.setElementClass(this._el_104,"ng-invalid",Bt),this._expr_84=Bt);var Ft=this.context.running||!this.context.daqParams.logOnBoot;d.c(t,this._expr_90,Ft)&&(this.renderer.setElementProperty(this._el_109,"disabled",Ft),this._expr_90=Ft);var qt=this.context.running;d.c(t,this._expr_110,qt)&&(this.renderer.setElementProperty(this._el_133,"disabled",qt),this._expr_110=qt);var Vt=this.context.running||"New Profile"==this.context.selectedLogProfile;d.c(t,this._expr_119,Vt)&&(this.renderer.setElementProperty(this._el_144,"disabled",Vt),this._expr_119=Vt);var Ht=this._Toggle_173_4._disabled;d.c(t,this._expr_144,Ht)&&(this.renderer.setElementClass(this._el_173,"toggle-disabled",Ht),this._expr_144=Ht);var Ut=this._NgControlStatus_173_8.ngClassUntouched;d.c(t,this._expr_146,Ut)&&(this.renderer.setElementClass(this._el_173,"ng-untouched",Ut),this._expr_146=Ut);var zt=this._NgControlStatus_173_8.ngClassTouched;d.c(t,this._expr_147,zt)&&(this.renderer.setElementClass(this._el_173,"ng-touched",zt),this._expr_147=zt);var Gt=this._NgControlStatus_173_8.ngClassPristine;d.c(t,this._expr_148,Gt)&&(this.renderer.setElementClass(this._el_173,"ng-pristine",Gt),this._expr_148=Gt);var Wt=this._NgControlStatus_173_8.ngClassDirty;d.c(t,this._expr_149,Wt)&&(this.renderer.setElementClass(this._el_173,"ng-dirty",Wt),this._expr_149=Wt);var Yt=this._NgControlStatus_173_8.ngClassValid;d.c(t,this._expr_150,Yt)&&(this.renderer.setElementClass(this._el_173,"ng-valid",Yt),this._expr_150=Yt);var $t=this._NgControlStatus_173_8.ngClassInvalid;d.c(t,this._expr_151,$t)&&(this.renderer.setElementClass(this._el_173,"ng-invalid",$t),this._expr_151=$t);var Xt=this.context.running;d.c(t,this._expr_161,Xt)&&(this.renderer.setElementProperty(this._el_201,"disabled",Xt),this._expr_161=Xt),this.detectViewChildrenChanges(t),t||(this._viewQuery_dropPopScaling_4.dirty&&(this._viewQuery_dropPopScaling_4.reset([this._appEl_210.mapNestedViews(Ct,function(t){return[t._DropdownPopoverComponent_104_6]})]),this.context.scalingChildren=this._viewQuery_dropPopScaling_4,this._viewQuery_dropPopScaling_4.notifyOnChanges()),0===this.numberOfChecks&&this._DropdownPopoverComponent_50_6.ngAfterViewInit(),0===this.numberOfChecks&&this._DropdownPopoverComponent_125_6.ngAfterViewInit(),0===this.numberOfChecks&&this._DropdownPopoverComponent_159_6.ngAfterViewInit())},e.prototype.destroyInternal=function(){this._LoggerXAxisComponent_8_4.ngOnDestroy(),this._NgModel_28_7.ngOnDestroy(),this._NgModel_62_7.ngOnDestroy(),this._Toggle_104_4.ngOnDestroy(),this._NgModel_104_6.ngOnDestroy(),this._Toggle_173_4.ngOnDestroy(),this._NgModel_173_6.ngOnDestroy()},e.prototype._handle_tpdChange_8_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.xAxisValChange(t)!==!1;return e},e.prototype._handle_tap_19_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.decrementFrequency("sampleFreq")!==!1;return e},e.prototype._handle_valChange_28_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.formatInputAndUpdate(t,"sampleFreq")!==!1;return e},e.prototype._handle_mousewheel_28_1=function(t){this.markPathToRootAsCheckOnce();var e=this.context.mousewheel(t,"sampleFreq")!==!1;return e},e.prototype._handle_input_28_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_28_5.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_28_3=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_28_5.onTouched()!==!1;return e},e.prototype._handle_focusin_28_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_28_10.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_28_5=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_28_10.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_28_6=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_28_10.hide()!==!1,n=this._FormatInputDirective_28_11.onFocusOut(t)!==!1;return e&&n},e.prototype._handle_mouseleave_28_7=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_28_10.hide()!==!1;return e},e.prototype._handle_keypress_28_8=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_28_11.onkeypress(t)!==!1;return e},e.prototype._handle_tap_35_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.incrementFrequency("sampleFreq")!==!1;return e},e.prototype._handle_onSelection_50_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.logToSelect(t)!==!1;return e},e.prototype._handle_focusin_50_1=function(t){ this.markPathToRootAsCheckOnce();var e=this._Tooltip_50_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_50_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_50_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_50_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_50_5.hide()!==!1;return e},e.prototype._handle_mouseleave_50_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_50_5.hide()!==!1;return e},e.prototype._handle_ngModelChange_62_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.context.daqParams.uri=t)!==!1;return e},e.prototype._handle_input_62_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_62_5.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_62_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_62_5.onTouched()!==!1;return e},e.prototype._handle_focusin_62_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_62_10.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_62_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_62_10.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_62_5=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_62_10.hide()!==!1;return e},e.prototype._handle_mouseleave_62_6=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_62_10.hide()!==!1;return e},e.prototype._handle_tap_78_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.toggleAdvSettings()!==!1;return e},e.prototype._handle_focusin_102_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_102_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_102_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_102_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_102_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_102_5.hide()!==!1;return e},e.prototype._handle_mouseleave_102_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_102_5.hide()!==!1;return e},e.prototype._handle_ngModelChange_104_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.context.daqParams.logOnBoot=t)!==!1;return e},e.prototype._handle_click_104_1=function(t){this.markPathToRootAsCheckOnce();var e=this.context.setLogOnBootParams(t)!==!1;return e},e.prototype._handle_tap_109_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.setLogOnBootParams()!==!1;return e},e.prototype._handle_focusin_109_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_109_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_109_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_109_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_109_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_109_5.hide()!==!1;return e},e.prototype._handle_mouseleave_109_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_109_5.hide()!==!1;return e},e.prototype._handle_onSelection_125_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.profileSelect(t)!==!1;return e},e.prototype._handle_focusin_125_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_125_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_125_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_125_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_125_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_125_5.hide()!==!1;return e},e.prototype._handle_mouseleave_125_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_125_5.hide()!==!1;return e},e.prototype._handle_tap_133_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.profileSaveClick(this.context.selectedLogProfile,t)!==!1;return e},e.prototype._handle_focusin_133_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_133_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_133_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_133_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_133_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_133_5.hide()!==!1;return e},e.prototype._handle_mouseleave_133_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_133_5.hide()!==!1;return e},e.prototype._handle_tap_144_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.openProfileSettings(this.context.selectedLogProfile,t)!==!1;return e},e.prototype._handle_focusin_144_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_144_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_144_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_144_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_144_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_144_5.hide()!==!1;return e},e.prototype._handle_mouseleave_144_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_144_5.hide()!==!1;return e},e.prototype._handle_onSelection_159_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.modeSelect(t)!==!1;return e},e.prototype._handle_focusin_159_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_159_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_159_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_159_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_159_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_159_5.hide()!==!1;return e},e.prototype._handle_mouseleave_159_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_159_5.hide()!==!1;return e},e.prototype._handle_focusin_171_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_171_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_171_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_171_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_171_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_171_5.hide()!==!1;return e},e.prototype._handle_mouseleave_171_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_171_5.hide()!==!1;return e},e.prototype._handle_ngModelChange_173_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.context.averagingEnabled=t)!==!1;return e},e.prototype._handle_ionChange_173_1=function(t){this.markPathToRootAsCheckOnce();var e=this.context.toggleAveraging(t)!==!1;return e},e.prototype._handle_tap_187_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.toggleLoggerSettings()!==!1;return e},e.prototype._handle_tap_201_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.openChannelSelector(t)!==!1;return e},e.prototype._handle_focusin_201_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_201_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_201_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_201_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_201_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_201_5.hide()!==!1;return e},e.prototype._handle_mouseleave_201_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_201_5.hide()!==!1;return e},e}(c.a),xt=function(t){function e(n,i,r){t.call(this,e,gt,f.a.EMBEDDED,n,i,r,m.b.CheckAlways)}return pt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-row",null),this._Row_0_3=new D.c,this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_2,"class","checkbox-container"),this._Col_2_3=new D.a,this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-checkbox",null),this._appEl_4=new u.a(4,2,this,this._el_4);var e=ct.a(this.viewUtils,this.injector(4),this._appEl_4);this._Checkbox_4_4=new ht.a(this.parent.parentInjector.get(Q.c),this.parent.parentInjector.get(st.a),this.parent.parentInjector.get(at.a,null),new Z.a(this._el_4),this.renderer),this._NG_VALUE_ACCESSOR_4_5=[this._Checkbox_4_4],this._NgModel_4_6=new L.a(null,null,null,this._NG_VALUE_ACCESSOR_4_5),this._NgControl_4_7=this._NgModel_4_6,this._NgControlStatus_4_8=new B.a(this._NgControl_4_7),this._appEl_4.initComponent(this._Checkbox_4_4,[],e),e.create(this._Checkbox_4_4,[],null),this._text_5=this.renderer.createText(this._el_2," ",null),this._el_6=this.renderer.createElement(this._el_2,"span",null),this.renderer.setElementAttribute(this._el_6,"class","checkbox-label"),this._text_7=this.renderer.createText(this._el_6,"Stream to Chart",null),this._text_8=this.renderer.createText(this._el_2,"\n ",null),this._text_9=this.renderer.createText(this._el_0,"\n ",null);var n=this.renderer.listen(this._el_4,"ngModelChange",this.eventHandler(this._handle_ngModelChange_4_0.bind(this))),i=this.renderer.listen(this._el_4,"ionChange",this.eventHandler(this._handle_ionChange_4_1.bind(this))),r=this.renderer.listen(this._el_4,"click",this.eventHandler(this._handle_click_4_2.bind(this)));this._expr_3=m.n;var s=this._Checkbox_4_4.ionChange.subscribe(this.eventHandler(this._handle_ionChange_4_1.bind(this)));this._expr_4=m.n;var o=this._NgModel_4_6.update.subscribe(this.eventHandler(this._handle_ngModelChange_4_0.bind(this)));return this._expr_5=m.n,this._expr_6=m.n,this._expr_7=m.n,this._expr_8=m.n,this._expr_9=m.n,this._expr_10=m.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._text_8,this._text_9],[n,i,r],[s,o]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===ht.a&&4===e?this._Checkbox_4_4:t===_t.a&&4===e?this._NG_VALUE_ACCESSOR_4_5:t===L.a&&4===e?this._NgModel_4_6:t===lt.a&&4===e?this._NgControl_4_7:t===B.a&&4===e?this._NgControlStatus_4_8:t===D.a&&2<=e&&e<=8?this._Col_2_3:t===D.c&&0<=e&&e<=9?this._Row_0_3:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.context.logAndStream;d.c(t,this._expr_4,n)&&(this._NgModel_4_6.model=n,null===e&&(e={}),e.model=new m.m(this._expr_4,n),this._expr_4=n),null!==e&&this._NgModel_4_6.ngOnChanges(e),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Checkbox_4_4.ngAfterContentInit();var i=this._Checkbox_4_4._disabled;d.c(t,this._expr_3,i)&&(this.renderer.setElementClass(this._el_4,"checkbox-disabled",i),this._expr_3=i);var r=this._NgControlStatus_4_8.ngClassUntouched;d.c(t,this._expr_5,r)&&(this.renderer.setElementClass(this._el_4,"ng-untouched",r),this._expr_5=r);var s=this._NgControlStatus_4_8.ngClassTouched;d.c(t,this._expr_6,s)&&(this.renderer.setElementClass(this._el_4,"ng-touched",s),this._expr_6=s);var o=this._NgControlStatus_4_8.ngClassPristine;d.c(t,this._expr_7,o)&&(this.renderer.setElementClass(this._el_4,"ng-pristine",o),this._expr_7=o);var a=this._NgControlStatus_4_8.ngClassDirty;d.c(t,this._expr_8,a)&&(this.renderer.setElementClass(this._el_4,"ng-dirty",a),this._expr_8=a);var _=this._NgControlStatus_4_8.ngClassValid;d.c(t,this._expr_9,_)&&(this.renderer.setElementClass(this._el_4,"ng-valid",_),this._expr_9=_);var l=this._NgControlStatus_4_8.ngClassInvalid;d.c(t,this._expr_10,l)&&(this.renderer.setElementClass(this._el_4,"ng-invalid",l),this._expr_10=l),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Checkbox_4_4.ngOnDestroy(),this._NgModel_4_6.ngOnDestroy()},e.prototype._handle_ngModelChange_4_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.context.logAndStream=t)!==!1;return e},e.prototype._handle_ionChange_4_1=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.logAndStreamChange()!==!1;return e},e.prototype._handle_click_4_2=function(t){this._appEl_4.componentView.markPathToRootAsCheckOnce();var e=this._Checkbox_4_4._click(t)!==!1;return e},e}(c.a),yt=function(t){function e(n,i,r){t.call(this,e,gt,f.a.EMBEDDED,n,i,r,m.b.CheckAlways)}return pt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-row",null),this.renderer.setElementAttribute(this._el_2,"class","controls-container pad-bottom"),this._Row_2_3=new D.c,this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-col",null),this.renderer.setElementAttribute(this._el_4,"center",""),this.renderer.setElementAttribute(this._el_4,"class","vpd-label-col"),this._Col_4_3=new D.a,this._text_5=this.renderer.createText(this._el_4,"\n Service\n ",null),this._text_6=this.renderer.createText(this._el_2,"\n ",null),this._el_7=this.renderer.createElement(this._el_2,"ion-col",null),this.renderer.setElementAttribute(this._el_7,"center",""),this.renderer.setElementAttribute(this._el_7,"class","vpd-input-col no-button-col"),this.renderer.setElementAttribute(this._el_7,"text-center",""),this._Col_7_3=new D.a,this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"dropdown-popover",null),this.renderer.setElementAttribute(this._el_9,"tooltipPlacement","top"),this._appEl_9=new u.a(9,7,this,this._el_9);var e=et.b(this.viewUtils,this.injector(9),this._appEl_9);this._Tooltip_9_5=new F.a(this._appEl_9.vcRef,this.parent.parentInjector.get(K.a),this.parent.parentInjector.get(tt.f)),this._DropdownPopoverComponent_9_6=new V.a(this.parent.parentInjector.get(A.a),new Z.a(this._el_9),this.parent.parentInjector.get(tt.f)),this._appEl_9.initComponent(this._DropdownPopoverComponent_9_6,[],e),e.create(this._DropdownPopoverComponent_9_6,[],null),this._text_10=this.renderer.createText(this._el_7,"\n ",null),this._text_11=this.renderer.createText(this._el_2,"\n ",null),this._text_12=this.renderer.createText(this._el_0,"\n\n ",null),this._el_13=this.renderer.createElement(this._el_0,"ion-row",null),this.renderer.setElementAttribute(this._el_13,"class","controls-container pad-bottom"),this._Row_13_3=new D.c,this._text_14=this.renderer.createText(this._el_13,"\n ",null),this._el_15=this.renderer.createElement(this._el_13,"ion-col",null),this.renderer.setElementAttribute(this._el_15,"center",""),this.renderer.setElementAttribute(this._el_15,"class","vpd-label-col"),this._Col_15_3=new D.a,this._text_16=this.renderer.createText(this._el_15,"API Key",null),this._text_17=this.renderer.createText(this._el_13,"\n ",null),this._el_18=this.renderer.createElement(this._el_13,"ion-col",null),this.renderer.setElementAttribute(this._el_18,"center",""),this.renderer.setElementAttribute(this._el_18,"class","vpd-input-col no-button-col"),this.renderer.setElementAttribute(this._el_18,"text-center",""),this._Col_18_3=new D.a,this._text_19=this.renderer.createText(this._el_18,"\n ",null),this._el_20=this.renderer.createElement(this._el_18,"input",null),this.renderer.setElementAttribute(this._el_20,"class","custom-input"),this.renderer.setElementAttribute(this._el_20,"step","any"),this.renderer.setElementAttribute(this._el_20,"tooltipPlacement","top"),this._appEl_20=new u.a(20,18,this,this._el_20),this._DefaultValueAccessor_20_5=new M.a(this.renderer,new Z.a(this._el_20)),this._NG_VALUE_ACCESSOR_20_6=[this._DefaultValueAccessor_20_5],this._NgModel_20_7=new L.a(null,null,null,this._NG_VALUE_ACCESSOR_20_6),this._NgControl_20_8=this._NgModel_20_7,this._NgControlStatus_20_9=new B.a(this._NgControl_20_8),this._Tooltip_20_10=new F.a(this._appEl_20.vcRef,this.parent.parentInjector.get(K.a),this.parent.parentInjector.get(tt.f)),this._text_21=this.renderer.createText(this._el_18,"\n ",null),this._text_22=this.renderer.createText(this._el_13,"\n ",null),this._text_23=this.renderer.createText(this._el_0,"\n\n ",null),this._el_24=this.renderer.createElement(this._el_0,"ion-row",null),this.renderer.setElementAttribute(this._el_24,"class","controls-container pad-bottom"),this._Row_24_3=new D.c,this._text_25=this.renderer.createText(this._el_24,"\n ",null),this._el_26=this.renderer.createElement(this._el_24,"ion-col",null),this.renderer.setElementAttribute(this._el_26,"center",""),this.renderer.setElementAttribute(this._el_26,"class","vpd-label-col"),this._Col_26_3=new D.a,this._text_27=this.renderer.createText(this._el_26,"Channel ID",null),this._text_28=this.renderer.createText(this._el_24,"\n ",null),this._el_29=this.renderer.createElement(this._el_24,"ion-col",null),this.renderer.setElementAttribute(this._el_29,"center",""),this.renderer.setElementAttribute(this._el_29,"class","vpd-input-col no-button-col"),this.renderer.setElementAttribute(this._el_29,"text-center",""),this._Col_29_3=new D.a,this._text_30=this.renderer.createText(this._el_29,"\n ",null),this._el_31=this.renderer.createElement(this._el_29,"input",null),this.renderer.setElementAttribute(this._el_31,"class","custom-input"),this.renderer.setElementAttribute(this._el_31,"step","any"),this.renderer.setElementAttribute(this._el_31,"tooltipPlacement","top"),this._appEl_31=new u.a(31,29,this,this._el_31),this._DefaultValueAccessor_31_5=new M.a(this.renderer,new Z.a(this._el_31)),this._NG_VALUE_ACCESSOR_31_6=[this._DefaultValueAccessor_31_5],this._NgModel_31_7=new L.a(null,null,null,this._NG_VALUE_ACCESSOR_31_6),this._NgControl_31_8=this._NgModel_31_7,this._NgControlStatus_31_9=new B.a(this._NgControl_31_8),this._Tooltip_31_10=new F.a(this._appEl_31.vcRef,this.parent.parentInjector.get(K.a),this.parent.parentInjector.get(tt.f)),this._text_32=this.renderer.createText(this._el_29,"\n ",null),this._text_33=this.renderer.createText(this._el_24,"\n ",null),this._text_34=this.renderer.createText(this._el_0,"\n ",null);var n=this.renderer.listen(this._el_9,"focusin",this.eventHandler(this._handle_focusin_9_0.bind(this))),i=this.renderer.listen(this._el_9,"mouseenter",this.eventHandler(this._handle_mouseenter_9_1.bind(this))),r=this.renderer.listen(this._el_9,"focusout",this.eventHandler(this._handle_focusout_9_2.bind(this))),s=this.renderer.listen(this._el_9,"mouseleave",this.eventHandler(this._handle_mouseleave_9_3.bind(this)));this._expr_4=m.n,this._expr_5=m.n,this._expr_6=m.n,this._expr_7=m.n,this._expr_8=m.n;var o=this.renderer.listen(this._el_20,"ngModelChange",this.eventHandler(this._handle_ngModelChange_20_0.bind(this))),a=this.renderer.listen(this._el_20,"input",this.eventHandler(this._handle_input_20_1.bind(this))),_=this.renderer.listen(this._el_20,"blur",this.eventHandler(this._handle_blur_20_2.bind(this))),l=this.renderer.listen(this._el_20,"focusin",this.eventHandler(this._handle_focusin_20_3.bind(this))),h=this.renderer.listen(this._el_20,"mouseenter",this.eventHandler(this._handle_mouseenter_20_4.bind(this))),c=this.renderer.listen(this._el_20,"focusout",this.eventHandler(this._handle_focusout_20_5.bind(this))),p=this.renderer.listen(this._el_20,"mouseleave",this.eventHandler(this._handle_mouseleave_20_6.bind(this)));this._expr_16=m.n,this._expr_17=m.n;var d=this._NgModel_20_7.update.subscribe(this.eventHandler(this._handle_ngModelChange_20_0.bind(this)));this._expr_18=m.n,this._expr_19=m.n,this._expr_20=m.n,this._expr_21=m.n,this._expr_22=m.n,this._expr_23=m.n,this._expr_24=m.n,this._expr_25=m.n,this._expr_26=m.n;var f=this.renderer.listen(this._el_31,"ngModelChange",this.eventHandler(this._handle_ngModelChange_31_0.bind(this))),g=this.renderer.listen(this._el_31,"input",this.eventHandler(this._handle_input_31_1.bind(this))),v=this.renderer.listen(this._el_31,"blur",this.eventHandler(this._handle_blur_31_2.bind(this))),x=this.renderer.listen(this._el_31,"focusin",this.eventHandler(this._handle_focusin_31_3.bind(this))),y=this.renderer.listen(this._el_31,"mouseenter",this.eventHandler(this._handle_mouseenter_31_4.bind(this))),b=this.renderer.listen(this._el_31,"focusout",this.eventHandler(this._handle_focusout_31_5.bind(this))),w=this.renderer.listen(this._el_31,"mouseleave",this.eventHandler(this._handle_mouseleave_31_6.bind(this)));this._expr_34=m.n,this._expr_35=m.n;var C=this._NgModel_31_7.update.subscribe(this.eventHandler(this._handle_ngModelChange_31_0.bind(this)));return this._expr_36=m.n,this._expr_37=m.n,this._expr_38=m.n,this._expr_39=m.n,this._expr_40=m.n,this._expr_41=m.n,this._expr_42=m.n,this._expr_43=m.n,this._expr_44=m.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._text_11,this._text_12,this._el_13,this._text_14,this._el_15,this._text_16,this._text_17,this._el_18,this._text_19,this._el_20,this._text_21,this._text_22,this._text_23,this._el_24,this._text_25,this._el_26,this._text_27,this._text_28,this._el_29,this._text_30,this._el_31,this._text_32,this._text_33,this._text_34],[n,i,r,s,o,a,_,l,h,c,p,f,g,v,x,y,b,w],[d,C]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===D.a&&4<=e&&e<=5?this._Col_4_3:t===F.a&&9===e?this._Tooltip_9_5:t===V.a&&9===e?this._DropdownPopoverComponent_9_6:t===D.a&&7<=e&&e<=10?this._Col_7_3:t===D.c&&2<=e&&e<=11?this._Row_2_3:t===D.a&&15<=e&&e<=16?this._Col_15_3:t===M.a&&20===e?this._DefaultValueAccessor_20_5:t===_t.a&&20===e?this._NG_VALUE_ACCESSOR_20_6:t===L.a&&20===e?this._NgModel_20_7:t===lt.a&&20===e?this._NgControl_20_8:t===B.a&&20===e?this._NgControlStatus_20_9:t===F.a&&20===e?this._Tooltip_20_10:t===D.a&&18<=e&&e<=21?this._Col_18_3:t===D.c&&13<=e&&e<=22?this._Row_13_3:t===D.a&&26<=e&&e<=27?this._Col_26_3:t===M.a&&31===e?this._DefaultValueAccessor_31_5:t===_t.a&&31===e?this._NG_VALUE_ACCESSOR_31_6:t===L.a&&31===e?this._NgModel_31_7:t===lt.a&&31===e?this._NgControl_31_8:t===B.a&&31===e?this._NgControlStatus_31_9:t===F.a&&31===e?this._Tooltip_31_10:t===D.a&&29<=e&&e<=32?this._Col_29_3:t===D.c&&24<=e&&e<=33?this._Row_24_3:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.context.tooltipService.getTooltip("logCloudLoggingService").message;d.c(t,this._expr_4,n)&&(this._Tooltip_9_5.content=n,null===e&&(e={}),e.content=new m.m(this._expr_4,n),this._expr_4=n);var i=!0;d.c(t,this._expr_5,i)&&(this._Tooltip_9_5.tooltipAnimation=i,null===e&&(e={}),e.tooltipAnimation=new m.m(this._expr_5,i),this._expr_5=i);var r="top";d.c(t,this._expr_6,r)&&(this._Tooltip_9_5.tooltipPlacement=r,null===e&&(e={}),e.tooltipPlacement=new m.m(this._expr_6,r),this._expr_6=r),null!==e&&this._Tooltip_9_5.ngOnChanges(e),e=null;var s=this.parent.context.cloudServices;d.c(t,this._expr_7,s)&&(this._DropdownPopoverComponent_9_6.dataArray=s,null===e&&(e={}),e.dataArray=new m.m(this._expr_7,s),this._expr_7=s);var o=this.parent.context.running;d.c(t,this._expr_8,o)&&(this._DropdownPopoverComponent_9_6.disabled=o,null===e&&(e={}),e.disabled=new m.m(this._expr_8,o),this._expr_8=o),null!==e&&this._DropdownPopoverComponent_9_6.ngOnChanges(e),e=null;var a=this.parent.context.running;d.c(t,this._expr_16,a)&&(this._NgModel_20_7.isDisabled=a,null===e&&(e={}),e.isDisabled=new m.m(this._expr_16,a),this._expr_16=a);var _=this.parent.context.daqParams.apiKey;d.c(t,this._expr_17,_)&&(this._NgModel_20_7.model=_,null===e&&(e={}),e.model=new m.m(this._expr_17,_),this._expr_17=_),null!==e&&this._NgModel_20_7.ngOnChanges(e),e=null;var l=this.parent.context.tooltipService.getTooltip("logThingSpeakApiKey").message;d.c(t,this._expr_24,l)&&(this._Tooltip_20_10.content=l,null===e&&(e={}),e.content=new m.m(this._expr_24,l),this._expr_24=l);var h=!0;d.c(t,this._expr_25,h)&&(this._Tooltip_20_10.tooltipAnimation=h,null===e&&(e={}),e.tooltipAnimation=new m.m(this._expr_25,h),this._expr_25=h);var c="top";d.c(t,this._expr_26,c)&&(this._Tooltip_20_10.tooltipPlacement=c,null===e&&(e={}),e.tooltipPlacement=new m.m(this._expr_26,c),this._expr_26=c),null!==e&&this._Tooltip_20_10.ngOnChanges(e),e=null;var u=this.parent.context.running;d.c(t,this._expr_34,u)&&(this._NgModel_31_7.isDisabled=u,null===e&&(e={}),e.isDisabled=new m.m(this._expr_34,u),this._expr_34=u);var p=this.parent.context.channelId;d.c(t,this._expr_35,p)&&(this._NgModel_31_7.model=p,null===e&&(e={}),e.model=new m.m(this._expr_35,p),this._expr_35=p),null!==e&&this._NgModel_31_7.ngOnChanges(e),e=null;var f=this.parent.context.tooltipService.getTooltip("logThingSpeakChannelId").message;d.c(t,this._expr_42,f)&&(this._Tooltip_31_10.content=f,null===e&&(e={}),e.content=new m.m(this._expr_42,f),this._expr_42=f);var g=!0;d.c(t,this._expr_43,g)&&(this._Tooltip_31_10.tooltipAnimation=g,null===e&&(e={}),e.tooltipAnimation=new m.m(this._expr_43,g),this._expr_43=g);var v="top";d.c(t,this._expr_44,v)&&(this._Tooltip_31_10.tooltipPlacement=v,null===e&&(e={}),e.tooltipPlacement=new m.m(this._expr_44,v),this._expr_44=v),null!==e&&this._Tooltip_31_10.ngOnChanges(e),this.detectContentChildrenChanges(t);var x=this._NgControlStatus_20_9.ngClassUntouched;d.c(t,this._expr_18,x)&&(this.renderer.setElementClass(this._el_20,"ng-untouched",x),this._expr_18=x);var y=this._NgControlStatus_20_9.ngClassTouched;d.c(t,this._expr_19,y)&&(this.renderer.setElementClass(this._el_20,"ng-touched",y),this._expr_19=y);var b=this._NgControlStatus_20_9.ngClassPristine;d.c(t,this._expr_20,b)&&(this.renderer.setElementClass(this._el_20,"ng-pristine",b),this._expr_20=b);var w=this._NgControlStatus_20_9.ngClassDirty;d.c(t,this._expr_21,w)&&(this.renderer.setElementClass(this._el_20,"ng-dirty",w),this._expr_21=w);var C=this._NgControlStatus_20_9.ngClassValid;d.c(t,this._expr_22,C)&&(this.renderer.setElementClass(this._el_20,"ng-valid",C),this._expr_22=C);var E=this._NgControlStatus_20_9.ngClassInvalid;d.c(t,this._expr_23,E)&&(this.renderer.setElementClass(this._el_20,"ng-invalid",E),this._expr_23=E);var T=this._NgControlStatus_31_9.ngClassUntouched;d.c(t,this._expr_36,T)&&(this.renderer.setElementClass(this._el_31,"ng-untouched",T),this._expr_36=T);var A=this._NgControlStatus_31_9.ngClassTouched;d.c(t,this._expr_37,A)&&(this.renderer.setElementClass(this._el_31,"ng-touched",A),this._expr_37=A);var I=this._NgControlStatus_31_9.ngClassPristine;d.c(t,this._expr_38,I)&&(this.renderer.setElementClass(this._el_31,"ng-pristine",I),this._expr_38=I);var S=this._NgControlStatus_31_9.ngClassDirty;d.c(t,this._expr_39,S)&&(this.renderer.setElementClass(this._el_31,"ng-dirty",S),this._expr_39=S);var O=this._NgControlStatus_31_9.ngClassValid;d.c(t,this._expr_40,O)&&(this.renderer.setElementClass(this._el_31,"ng-valid",O),this._expr_40=O);var k=this._NgControlStatus_31_9.ngClassInvalid;d.c(t,this._expr_41,k)&&(this.renderer.setElementClass(this._el_31,"ng-invalid",k),this._expr_41=k),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._DropdownPopoverComponent_9_6.ngAfterViewInit()},e.prototype.destroyInternal=function(){this._NgModel_20_7.ngOnDestroy(),this._NgModel_31_7.ngOnDestroy()},e.prototype._handle_focusin_9_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_9_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_9_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_9_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_9_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_9_5.hide()!==!1;return e},e.prototype._handle_mouseleave_9_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_9_5.hide()!==!1;return e},e.prototype._handle_ngModelChange_20_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.context.daqParams.apiKey=t)!==!1;return e},e.prototype._handle_input_20_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_20_5.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_20_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_20_5.onTouched()!==!1;return e},e.prototype._handle_focusin_20_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_20_10.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_20_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_20_10.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_20_5=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_20_10.hide()!==!1;return e},e.prototype._handle_mouseleave_20_6=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_20_10.hide()!==!1;return e},e.prototype._handle_ngModelChange_31_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.context.channelId=t)!==!1;return e},e.prototype._handle_input_31_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_31_5.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_31_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_31_5.onTouched()!==!1;return e},e.prototype._handle_focusin_31_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_31_10.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_31_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_31_10.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_31_5=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_31_10.hide()!==!1;return e},e.prototype._handle_mouseleave_31_6=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_31_10.hide()!==!1;return e},e}(c.a),bt=function(t){function e(n,i,r){t.call(this,e,gt,f.a.EMBEDDED,n,i,r,m.b.CheckAlways)}return pt(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_0,"class","svg-size"),this.renderer.setElementAttribute(this._el_0,"src","assets/img/dirty-dot.svg"),this.init([].concat([this._el_0]),[this._el_0],[],[]),null},e}(c.a),wt=function(t){function e(n,i,r){t.call(this,e,gt,f.a.EMBEDDED,n,i,r,m.b.CheckAlways)}return pt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-row",null),this.renderer.setElementAttribute(this._el_0,"class","controls-container pad-bottom"),this._Row_0_3=new D.c,this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_2,"center",""),this.renderer.setElementAttribute(this._el_2,"class","vpd-label-col"),this._Col_2_3=new D.a,this._text_3=this.renderer.createText(this._el_2,"\n Samples\n ",null),this._text_4=this.renderer.createText(this._el_0,"\n ",null),this._el_5=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_5,"center",""),this.renderer.setElementAttribute(this._el_5,"class","vpd-button-col"),this.renderer.setElementAttribute(this._el_5,"text-right",""),this._Col_5_3=new D.a,this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._el_7=this.renderer.createElement(this._el_5,"div",null),this.renderer.setElementAttribute(this._el_7,"style","display:inline-block"),this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"button",null),this.renderer.setElementAttribute(this._el_9,"class","icon-only-button-side disable-hover"),this.renderer.setElementAttribute(this._el_9,"ion-button",""),this._appEl_9=new u.a(9,7,this,this._el_9);var e=J.a(this.viewUtils,this.injector(9),this._appEl_9);this._Button_9_4=new j.a(null,"",this.parent.parentInjector.get(Q.c),new Z.a(this._el_9),this.renderer),this._appEl_9.initComponent(this._Button_9_4,[],e), this._text_10=this.renderer.createText(null,"\n ",null),this._el_11=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_11,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_11,"src","assets/img/remove.svg"),this._text_12=this.renderer.createText(null,"\n ",null),e.create(this._Button_9_4,[[].concat([this._text_10,this._el_11,this._text_12])],null),this._text_13=this.renderer.createText(this._el_7,"\n ",null),this._text_14=this.renderer.createText(this._el_5,"\n ",null),this._text_15=this.renderer.createText(this._el_0,"\n ",null),this._el_16=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_16,"center",""),this.renderer.setElementAttribute(this._el_16,"class","vpd-val-col"),this.renderer.setElementAttribute(this._el_16,"text-center",""),this._Col_16_3=new D.a,this._text_17=this.renderer.createText(this._el_16,"\n ",null),this._el_18=this.renderer.createElement(this._el_16,"input",null),this.renderer.setElementAttribute(this._el_18,"class","custom-input"),this.renderer.setElementAttribute(this._el_18,"formatInput",""),this.renderer.setElementAttribute(this._el_18,"step","any"),this.renderer.setElementAttribute(this._el_18,"tooltipPlacement","top"),this._appEl_18=new u.a(18,16,this,this._el_18),this._DefaultValueAccessor_18_5=new M.a(this.renderer,new Z.a(this._el_18)),this._NG_VALUE_ACCESSOR_18_6=[this._DefaultValueAccessor_18_5],this._NgModel_18_7=new L.a(null,null,null,this._NG_VALUE_ACCESSOR_18_6),this._NgControl_18_8=this._NgModel_18_7,this._NgControlStatus_18_9=new B.a(this._NgControl_18_8),this._Tooltip_18_10=new F.a(this._appEl_18.vcRef,this.parent.parentInjector.get(K.a),this.parent.parentInjector.get(tt.f)),this._FormatInputDirective_18_11=new q.a(this.parent.parentInjector.get(y.a)),this._text_19=this.renderer.createText(this._el_16,"\n ",null),this._text_20=this.renderer.createText(this._el_0,"\n ",null),this._el_21=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_21,"center",""),this.renderer.setElementAttribute(this._el_21,"class","vpd-button-col margin-right"),this.renderer.setElementAttribute(this._el_21,"text-left",""),this._Col_21_3=new D.a,this._text_22=this.renderer.createText(this._el_21,"\n ",null),this._el_23=this.renderer.createElement(this._el_21,"div",null),this.renderer.setElementAttribute(this._el_23,"style","display:inline-block"),this._text_24=this.renderer.createText(this._el_23,"\n ",null),this._el_25=this.renderer.createElement(this._el_23,"button",null),this.renderer.setElementAttribute(this._el_25,"class","icon-only-button-side disable-hover"),this.renderer.setElementAttribute(this._el_25,"ion-button",""),this._appEl_25=new u.a(25,23,this,this._el_25);var n=J.a(this.viewUtils,this.injector(25),this._appEl_25);this._Button_25_4=new j.a(null,"",this.parent.parentInjector.get(Q.c),new Z.a(this._el_25),this.renderer),this._appEl_25.initComponent(this._Button_25_4,[],n),this._text_26=this.renderer.createText(null,"\n ",null),this._el_27=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_27,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_27,"src","assets/img/add.svg"),this._text_28=this.renderer.createText(null,"\n ",null),n.create(this._Button_25_4,[[].concat([this._text_26,this._el_27,this._text_28])],null),this._text_29=this.renderer.createText(this._el_23,"\n ",null),this._text_30=this.renderer.createText(this._el_21,"\n ",null),this._text_31=this.renderer.createText(this._el_0,"\n ",null),this._expr_1=m.n;var i=this.renderer.listen(this._el_9,"tap",this.eventHandler(this._handle_tap_9_0.bind(this))),r=this.renderer.listen(this._el_18,"valChange",this.eventHandler(this._handle_valChange_18_0.bind(this))),s=this.renderer.listen(this._el_18,"mousewheel",this.eventHandler(this._handle_mousewheel_18_1.bind(this))),o=this.renderer.listen(this._el_18,"input",this.eventHandler(this._handle_input_18_2.bind(this))),a=this.renderer.listen(this._el_18,"blur",this.eventHandler(this._handle_blur_18_3.bind(this))),_=this.renderer.listen(this._el_18,"focusin",this.eventHandler(this._handle_focusin_18_4.bind(this))),l=this.renderer.listen(this._el_18,"mouseenter",this.eventHandler(this._handle_mouseenter_18_5.bind(this))),h=this.renderer.listen(this._el_18,"focusout",this.eventHandler(this._handle_focusout_18_6.bind(this))),c=this.renderer.listen(this._el_18,"mouseleave",this.eventHandler(this._handle_mouseleave_18_7.bind(this))),p=this.renderer.listen(this._el_18,"keypress",this.eventHandler(this._handle_keypress_18_8.bind(this)));this._expr_12=m.n,this._pipe_unitFormat_0_1=d.i(this.parent._pipe_unitFormat_0.transform.bind(this.parent._pipe_unitFormat_0)),this._expr_13=m.n,this._expr_14=m.n,this._expr_15=m.n,this._expr_16=m.n,this._expr_17=m.n,this._expr_18=m.n,this._expr_19=m.n,this._expr_20=m.n,this._expr_21=m.n,this._expr_22=m.n;var f=this._FormatInputDirective_18_11.valChange.subscribe(this.eventHandler(this._handle_valChange_18_0.bind(this)));this._expr_24=m.n;var g=this.renderer.listen(this._el_25,"tap",this.eventHandler(this._handle_tap_25_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._el_11,this._text_12,this._text_13,this._text_14,this._text_15,this._el_16,this._text_17,this._el_18,this._text_19,this._text_20,this._el_21,this._text_22,this._el_23,this._text_24,this._el_25,this._text_26,this._el_27,this._text_28,this._text_29,this._text_30,this._text_31],[i,r,s,o,a,_,l,h,c,p,g],[f]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===D.a&&2<=e&&e<=3?this._Col_2_3:t===j.a&&9<=e&&e<=12?this._Button_9_4:t===D.a&&5<=e&&e<=14?this._Col_5_3:t===M.a&&18===e?this._DefaultValueAccessor_18_5:t===_t.a&&18===e?this._NG_VALUE_ACCESSOR_18_6:t===L.a&&18===e?this._NgModel_18_7:t===lt.a&&18===e?this._NgControl_18_8:t===B.a&&18===e?this._NgControlStatus_18_9:t===F.a&&18===e?this._Tooltip_18_10:t===q.a&&18===e?this._FormatInputDirective_18_11:t===D.a&&16<=e&&e<=19?this._Col_16_3:t===j.a&&25<=e&&e<=28?this._Button_25_4:t===D.a&&21<=e&&e<=30?this._Col_21_3:t===D.c&&0<=e&&e<=31?this._Row_0_3:n},e.prototype.detectChangesInternal=function(t){var e=null,n=new m.o;e=null;var i=this.parent.context.running;d.c(t,this._expr_12,i)&&(this._NgModel_18_7.isDisabled=i,null===e&&(e={}),e.isDisabled=new m.m(this._expr_12,i),this._expr_12=i),n.reset();var r=n.unwrap(d.r(this._pipe_unitFormat_0_1,this.parent._pipe_unitFormat_0.transform)(this.parent.context.daqParams.maxSampleCount,"S"));(n.hasWrappedValue||d.c(t,this._expr_13,r))&&(this._NgModel_18_7.model=r,null===e&&(e={}),e.model=new m.m(this._expr_13,r),this._expr_13=r),null!==e&&this._NgModel_18_7.ngOnChanges(e),e=null;var s=this.parent.context.tooltipService.getTooltip("logSamples").message;d.c(t,this._expr_20,s)&&(this._Tooltip_18_10.content=s,null===e&&(e={}),e.content=new m.m(this._expr_20,s),this._expr_20=s);var o=!0;d.c(t,this._expr_21,o)&&(this._Tooltip_18_10.tooltipAnimation=o,null===e&&(e={}),e.tooltipAnimation=new m.m(this._expr_21,o),this._expr_21=o);var a="top";d.c(t,this._expr_22,a)&&(this._Tooltip_18_10.tooltipPlacement=a,null===e&&(e={}),e.tooltipPlacement=new m.m(this._expr_22,a),this._expr_22=a),null!==e&&this._Tooltip_18_10.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_9_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_25_4.ngAfterContentInit());var _=this.parent.context.running;d.c(t,this._expr_1,_)&&(this.renderer.setElementProperty(this._el_9,"disabled",_),this._expr_1=_);var l=this._NgControlStatus_18_9.ngClassUntouched;d.c(t,this._expr_14,l)&&(this.renderer.setElementClass(this._el_18,"ng-untouched",l),this._expr_14=l);var h=this._NgControlStatus_18_9.ngClassTouched;d.c(t,this._expr_15,h)&&(this.renderer.setElementClass(this._el_18,"ng-touched",h),this._expr_15=h);var c=this._NgControlStatus_18_9.ngClassPristine;d.c(t,this._expr_16,c)&&(this.renderer.setElementClass(this._el_18,"ng-pristine",c),this._expr_16=c);var u=this._NgControlStatus_18_9.ngClassDirty;d.c(t,this._expr_17,u)&&(this.renderer.setElementClass(this._el_18,"ng-dirty",u),this._expr_17=u);var p=this._NgControlStatus_18_9.ngClassValid;d.c(t,this._expr_18,p)&&(this.renderer.setElementClass(this._el_18,"ng-valid",p),this._expr_18=p);var f=this._NgControlStatus_18_9.ngClassInvalid;d.c(t,this._expr_19,f)&&(this.renderer.setElementClass(this._el_18,"ng-invalid",f),this._expr_19=f);var g=this.parent.context.running;d.c(t,this._expr_24,g)&&(this.renderer.setElementProperty(this._el_25,"disabled",g),this._expr_24=g),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_18_7.ngOnDestroy()},e.prototype._handle_tap_9_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.decrementFrequency("samples")!==!1;return e},e.prototype._handle_valChange_18_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.formatInputAndUpdate(t,"samples")!==!1;return e},e.prototype._handle_mousewheel_18_1=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.mousewheel(t,"samples")!==!1;return e},e.prototype._handle_input_18_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_18_5.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_18_3=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_18_5.onTouched()!==!1;return e},e.prototype._handle_focusin_18_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_10.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_18_5=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_10.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_18_6=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_10.hide()!==!1,n=this._FormatInputDirective_18_11.onFocusOut(t)!==!1;return e&&n},e.prototype._handle_mouseleave_18_7=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_10.hide()!==!1;return e},e.prototype._handle_keypress_18_8=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_18_11.onkeypress(t)!==!1;return e},e.prototype._handle_tap_25_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.incrementFrequency("samples")!==!1;return e},e}(c.a),Ct=function(t){function e(n,i,r){t.call(this,e,gt,f.a.EMBEDDED,n,i,r,m.b.CheckAlways)}return pt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this._NgClass_0_3=new H.a(this.parent.parentInjector.get(nt.a),this.parent.parentInjector.get(it.a),new Z.a(this._el_0),this.renderer),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"div",null),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-row",null),this.renderer.setElementAttribute(this._el_4,"class","pad-top"),this._Row_4_3=new D.c,this._text_5=this.renderer.createText(this._el_4,"\n ",null),this._el_6=this.renderer.createElement(this._el_4,"ion-col",null),this.renderer.setElementAttribute(this._el_6,"center",""),this.renderer.setElementAttribute(this._el_6,"class","header-side-col"),this.renderer.setElementAttribute(this._el_6,"text-left",""),this._Col_6_3=new D.a,this._text_7=this.renderer.createText(this._el_6,"\n ",null),this._text_8=this.renderer.createText(this._el_4,"\n ",null),this._el_9=this.renderer.createElement(this._el_4,"ion-col",null),this.renderer.setElementAttribute(this._el_9,"center",""),this.renderer.setElementAttribute(this._el_9,"text-center",""),this._Col_9_3=new D.a,this._text_10=this.renderer.createText(this._el_9,"\n ",null),this._el_11=this.renderer.createElement(this._el_9,"ion-row",null),this.renderer.setElementAttribute(this._el_11,"class","instrument-header channel-header"),this._Row_11_3=new D.c,this._text_12=this.renderer.createText(this._el_11,"\n ",null),this._el_13=this.renderer.createElement(this._el_11,"div",null),this.renderer.setElementAttribute(this._el_13,"class","channel-color"),this._NgStyle_13_3=new ut.a(this.parent.parentInjector.get(it.a),new Z.a(this._el_13),this.renderer),this._text_14=this.renderer.createText(this._el_11,"\n ",null),this._el_15=this.renderer.createElement(this._el_11,"div",null),this._text_16=this.renderer.createText(this._el_15,"",null),this._text_17=this.renderer.createText(this._el_11,"\n ",null),this._text_18=this.renderer.createText(this._el_9,"\n ",null),this._text_19=this.renderer.createText(this._el_4,"\n ",null),this._el_20=this.renderer.createElement(this._el_4,"ion-col",null),this.renderer.setElementAttribute(this._el_20,"center",""),this.renderer.setElementAttribute(this._el_20,"class","header-side-col"),this.renderer.setElementAttribute(this._el_20,"text-right",""),this._Col_20_3=new D.a,this._text_21=this.renderer.createText(this._el_20,"\n ",null),this._text_22=this.renderer.createText(this._el_4,"\n ",null),this._text_23=this.renderer.createText(this._el_2,"\n ",null),this._text_24=this.renderer.createText(this._el_0,"\n\n ",null),this._el_25=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_25,"class","button-info-container pad-bottom"),this._text_26=this.renderer.createText(this._el_25,"\n ",null),this._anchor_27=this.renderer.createTemplateAnchor(this._el_25,null),this._appEl_27=new u.a(27,25,this,this._anchor_27),this._TemplateRef_27_5=new Y.a(this._appEl_27,h),this._NgIf_27_6=new P.a(this._appEl_27.vcRef,this._TemplateRef_27_5),this._text_28=this.renderer.createText(this._el_25,"\n \n ",null),this._el_29=this.renderer.createElement(this._el_25,"ion-row",null),this.renderer.setElementAttribute(this._el_29,"class","controls-container"),this._Row_29_3=new D.c,this._text_30=this.renderer.createText(this._el_29,"\n ",null),this._el_31=this.renderer.createElement(this._el_29,"ion-col",null),this.renderer.setElementAttribute(this._el_31,"center",""),this.renderer.setElementAttribute(this._el_31,"class","vpd-label-col"),this._Col_31_3=new D.a,this._text_32=this.renderer.createText(this._el_31,"",null),this._text_33=this.renderer.createText(this._el_29,"\n ",null),this._el_34=this.renderer.createElement(this._el_29,"ion-col",null),this.renderer.setElementAttribute(this._el_34,"center",""),this.renderer.setElementAttribute(this._el_34,"class","vpd-button-col"),this.renderer.setElementAttribute(this._el_34,"text-right",""),this._Col_34_3=new D.a,this._text_35=this.renderer.createText(this._el_34,"\n ",null),this._el_36=this.renderer.createElement(this._el_34,"div",null),this.renderer.setElementAttribute(this._el_36,"style","display:inline-block"),this._text_37=this.renderer.createText(this._el_36,"\n ",null),this._el_38=this.renderer.createElement(this._el_36,"button",null),this.renderer.setElementAttribute(this._el_38,"class","img-button disable-hover"),this.renderer.setElementAttribute(this._el_38,"ion-button",""),this._appEl_38=new u.a(38,36,this,this._el_38);var e=J.a(this.viewUtils,this.injector(38),this._appEl_38);this._Button_38_4=new j.a(null,"",this.parent.parentInjector.get(Q.c),new Z.a(this._el_38),this.renderer),this._appEl_38.initComponent(this._Button_38_4,[],e),this._text_39=this.renderer.createText(null,"\n ",null),this._el_40=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_40,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_40,"src","assets/img/zoom-out.svg"),this._text_41=this.renderer.createText(null,"\n ",null),e.create(this._Button_38_4,[[].concat([this._text_39,this._el_40,this._text_41])],null),this._text_42=this.renderer.createText(this._el_36,"\n ",null),this._text_43=this.renderer.createText(this._el_34,"\n ",null),this._text_44=this.renderer.createText(this._el_29,"\n ",null),this._el_45=this.renderer.createElement(this._el_29,"ion-col",null),this.renderer.setElementAttribute(this._el_45,"center",""),this.renderer.setElementAttribute(this._el_45,"class","vpd-val-col"),this.renderer.setElementAttribute(this._el_45,"text-center",""),this._Col_45_3=new D.a,this._text_46=this.renderer.createText(this._el_45,"\n ",null),this._el_47=this.renderer.createElement(this._el_45,"input",null),this.renderer.setElementAttribute(this._el_47,"class","custom-input highlight-input"),this.renderer.setElementAttribute(this._el_47,"formatInput",""),this.renderer.setElementAttribute(this._el_47,"step","any"),this.renderer.setElementAttribute(this._el_47,"tooltipPlacement","top"),this._appEl_47=new u.a(47,45,this,this._el_47),this._DefaultValueAccessor_47_5=new M.a(this.renderer,new Z.a(this._el_47)),this._NG_VALUE_ACCESSOR_47_6=[this._DefaultValueAccessor_47_5],this._NgModel_47_7=new L.a(null,null,null,this._NG_VALUE_ACCESSOR_47_6),this._NgControl_47_8=this._NgModel_47_7,this._NgControlStatus_47_9=new B.a(this._NgControl_47_8),this._Tooltip_47_10=new F.a(this._appEl_47.vcRef,this.parent.parentInjector.get(K.a),this.parent.parentInjector.get(tt.f)),this._FormatInputDirective_47_11=new q.a(this.parent.parentInjector.get(y.a)),this._text_48=this.renderer.createText(this._el_45,"\n ",null),this._text_49=this.renderer.createText(this._el_29,"\n ",null),this._el_50=this.renderer.createElement(this._el_29,"ion-col",null),this.renderer.setElementAttribute(this._el_50,"center",""),this.renderer.setElementAttribute(this._el_50,"class","vpd-button-col margin-right"),this.renderer.setElementAttribute(this._el_50,"text-left",""),this._Col_50_3=new D.a,this._text_51=this.renderer.createText(this._el_50,"\n ",null),this._el_52=this.renderer.createElement(this._el_50,"div",null),this.renderer.setElementAttribute(this._el_52,"style","display:inline-block"),this._text_53=this.renderer.createText(this._el_52,"\n ",null),this._el_54=this.renderer.createElement(this._el_52,"button",null),this.renderer.setElementAttribute(this._el_54,"class","img-button disable-hover"),this.renderer.setElementAttribute(this._el_54,"ion-button",""),this._appEl_54=new u.a(54,52,this,this._el_54);var n=J.a(this.viewUtils,this.injector(54),this._appEl_54);this._Button_54_4=new j.a(null,"",this.parent.parentInjector.get(Q.c),new Z.a(this._el_54),this.renderer),this._appEl_54.initComponent(this._Button_54_4,[],n),this._text_55=this.renderer.createText(null,"\n ",null),this._el_56=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_56,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_56,"src","assets/img/zoom-in.svg"),this._text_57=this.renderer.createText(null,"\n ",null),n.create(this._Button_54_4,[[].concat([this._text_55,this._el_56,this._text_57])],null),this._text_58=this.renderer.createText(this._el_52,"\n ",null),this._text_59=this.renderer.createText(this._el_50,"\n ",null),this._text_60=this.renderer.createText(this._el_29,"\n ",null),this._text_61=this.renderer.createText(this._el_25,"\n\n ",null),this._el_62=this.renderer.createElement(this._el_25,"ion-row",null),this.renderer.setElementAttribute(this._el_62,"class","controls-container"),this._Row_62_3=new D.c,this._text_63=this.renderer.createText(this._el_62,"\n ",null),this._el_64=this.renderer.createElement(this._el_62,"ion-col",null),this.renderer.setElementAttribute(this._el_64,"center",""),this.renderer.setElementAttribute(this._el_64,"class","vpd-label-col"),this._Col_64_3=new D.a,this._text_65=this.renderer.createText(this._el_64,"\n Offset\n ",null),this._text_66=this.renderer.createText(this._el_62,"\n ",null),this._el_67=this.renderer.createElement(this._el_62,"ion-col",null),this.renderer.setElementAttribute(this._el_67,"center",""),this.renderer.setElementAttribute(this._el_67,"class","vpd-button-col"),this.renderer.setElementAttribute(this._el_67,"text-right",""),this._Col_67_3=new D.a,this._text_68=this.renderer.createText(this._el_67,"\n ",null),this._el_69=this.renderer.createElement(this._el_67,"div",null),this.renderer.setElementAttribute(this._el_69,"style","display:inline-block"),this._text_70=this.renderer.createText(this._el_69,"\n ",null),this._el_71=this.renderer.createElement(this._el_69,"button",null),this.renderer.setElementAttribute(this._el_71,"class","icon-only-button-side disable-hover"),this.renderer.setElementAttribute(this._el_71,"ion-button",""),this._appEl_71=new u.a(71,69,this,this._el_71);var i=J.a(this.viewUtils,this.injector(71),this._appEl_71);this._Button_71_4=new j.a(null,"",this.parent.parentInjector.get(Q.c),new Z.a(this._el_71),this.renderer),this._appEl_71.initComponent(this._Button_71_4,[],i),this._text_72=this.renderer.createText(null,"\n ",null),this._el_73=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_73,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_73,"src","assets/img/remove.svg"),this._text_74=this.renderer.createText(null,"\n ",null),i.create(this._Button_71_4,[[].concat([this._text_72,this._el_73,this._text_74])],null),this._text_75=this.renderer.createText(this._el_69,"\n ",null),this._text_76=this.renderer.createText(this._el_67,"\n ",null),this._text_77=this.renderer.createText(this._el_62,"\n ",null),this._el_78=this.renderer.createElement(this._el_62,"ion-col",null),this.renderer.setElementAttribute(this._el_78,"center",""),this.renderer.setElementAttribute(this._el_78,"class","vpd-val-col"),this.renderer.setElementAttribute(this._el_78,"text-center",""),this._Col_78_3=new D.a,this._text_79=this.renderer.createText(this._el_78,"\n ",null),this._el_80=this.renderer.createElement(this._el_78,"input",null),this.renderer.setElementAttribute(this._el_80,"class","custom-input highlight-input"),this.renderer.setElementAttribute(this._el_80,"formatInput",""),this.renderer.setElementAttribute(this._el_80,"step","any"),this.renderer.setElementAttribute(this._el_80,"tooltipPlacement","top"),this._appEl_80=new u.a(80,78,this,this._el_80),this._DefaultValueAccessor_80_5=new M.a(this.renderer,new Z.a(this._el_80)),this._NG_VALUE_ACCESSOR_80_6=[this._DefaultValueAccessor_80_5],this._NgModel_80_7=new L.a(null,null,null,this._NG_VALUE_ACCESSOR_80_6),this._NgControl_80_8=this._NgModel_80_7,this._NgControlStatus_80_9=new B.a(this._NgControl_80_8),this._Tooltip_80_10=new F.a(this._appEl_80.vcRef,this.parent.parentInjector.get(K.a),this.parent.parentInjector.get(tt.f)),this._FormatInputDirective_80_11=new q.a(this.parent.parentInjector.get(y.a)),this._text_81=this.renderer.createText(this._el_78,"\n ",null),this._text_82=this.renderer.createText(this._el_62,"\n ",null),this._el_83=this.renderer.createElement(this._el_62,"ion-col",null),this.renderer.setElementAttribute(this._el_83,"center",""),this.renderer.setElementAttribute(this._el_83,"class","vpd-button-col margin-right"),this.renderer.setElementAttribute(this._el_83,"text-left",""),this._Col_83_3=new D.a,this._text_84=this.renderer.createText(this._el_83,"\n ",null),this._el_85=this.renderer.createElement(this._el_83,"div",null),this.renderer.setElementAttribute(this._el_85,"style","display:inline-block"),this._text_86=this.renderer.createText(this._el_85,"\n ",null),this._el_87=this.renderer.createElement(this._el_85,"button",null),this.renderer.setElementAttribute(this._el_87,"class","icon-only-button-side disable-hover"),this.renderer.setElementAttribute(this._el_87,"ion-button",""),this._appEl_87=new u.a(87,85,this,this._el_87);var r=J.a(this.viewUtils,this.injector(87),this._appEl_87);this._Button_87_4=new j.a(null,"",this.parent.parentInjector.get(Q.c),new Z.a(this._el_87),this.renderer),this._appEl_87.initComponent(this._Button_87_4,[],r),this._text_88=this.renderer.createText(null,"\n ",null),this._el_89=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_89,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_89,"src","assets/img/add.svg"),this._text_90=this.renderer.createText(null,"\n ",null),r.create(this._Button_87_4,[[].concat([this._text_88,this._el_89,this._text_90])],null),this._text_91=this.renderer.createText(this._el_85,"\n ",null),this._text_92=this.renderer.createText(this._el_83,"\n ",null),this._text_93=this.renderer.createText(this._el_62,"\n ",null),this._text_94=this.renderer.createText(this._el_25,"\n\n ",null),this._el_95=this.renderer.createElement(this._el_25,"div",null),this.renderer.setElementAttribute(this._el_95,"class","pad-bottom"),this._text_96=this.renderer.createText(this._el_95,"\n ",null),this._el_97=this.renderer.createElement(this._el_95,"ion-row",null),this.renderer.setElementAttribute(this._el_97,"class","controls-container"),this._Row_97_3=new D.c,this._text_98=this.renderer.createText(this._el_97,"\n ",null),this._el_99=this.renderer.createElement(this._el_97,"ion-col",null),this.renderer.setElementAttribute(this._el_99,"center",""),this.renderer.setElementAttribute(this._el_99,"class","vpd-label-col"),this._Col_99_3=new D.a,this._text_100=this.renderer.createText(this._el_99,"\n Scaling\n ",null),this._text_101=this.renderer.createText(this._el_97,"\n ",null),this._el_102=this.renderer.createElement(this._el_97,"ion-col",null),this.renderer.setElementAttribute(this._el_102,"center",""),this.renderer.setElementAttribute(this._el_102,"class","vpd-val-col"),this.renderer.setElementAttribute(this._el_102,"text-center",""),this._Col_102_3=new D.a,this._text_103=this.renderer.createText(this._el_102,"\n ",null),this._el_104=this.renderer.createElement(this._el_102,"dropdown-popover",null),this.renderer.setElementAttribute(this._el_104,"class","profile-drop-pop highlight-input"),this.renderer.setElementAttribute(this._el_104,"tooltipPlacement","top"),this._appEl_104=new u.a(104,102,this,this._el_104);var s=et.b(this.viewUtils,this.injector(104),this._appEl_104);this._Tooltip_104_5=new F.a(this._appEl_104.vcRef,this.parent.parentInjector.get(K.a),this.parent.parentInjector.get(tt.f)),this._DropdownPopoverComponent_104_6=new V.a(this.parent.parentInjector.get(A.a),new Z.a(this._el_104),this.parent.parentInjector.get(tt.f)),this._appEl_104.initComponent(this._DropdownPopoverComponent_104_6,[],s),this._text_105=this.renderer.createText(null,"\n ",null),s.create(this._DropdownPopoverComponent_104_6,[],null),this._text_106=this.renderer.createText(this._el_102,"\n ",null),this._text_107=this.renderer.createText(this._el_97,"\n ",null),this._el_108=this.renderer.createElement(this._el_97,"ion-col",null),this.renderer.setElementAttribute(this._el_108,"center",""),this.renderer.setElementAttribute(this._el_108,"class","vpd-button-col margin-right"),this.renderer.setElementAttribute(this._el_108,"text-left",""),this._Col_108_3=new D.a,this._text_109=this.renderer.createText(this._el_108,"\n ",null),this._el_110=this.renderer.createElement(this._el_108,"div",null),this.renderer.setElementAttribute(this._el_110,"style","display:inline-block"),this._text_111=this.renderer.createText(this._el_110,"\n ",null),this._el_112=this.renderer.createElement(this._el_110,"button",null),this.renderer.setElementAttribute(this._el_112,"class","img-button disable-hover"),this.renderer.setElementAttribute(this._el_112,"ion-button",""),this.renderer.setElementAttribute(this._el_112,"tooltipPlacement","left"),this._appEl_112=new u.a(112,110,this,this._el_112);var o=J.a(this.viewUtils,this.injector(112),this._appEl_112);this._Tooltip_112_5=new F.a(this._appEl_112.vcRef,this.parent.parentInjector.get(K.a),this.parent.parentInjector.get(tt.f)),this._Button_112_6=new j.a(null,"",this.parent.parentInjector.get(Q.c),new Z.a(this._el_112),this.renderer),this._appEl_112.initComponent(this._Button_112_6,[],o),this._text_113=this.renderer.createText(null,"\n ",null),this._el_114=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_114,"class","custom-image-button svg-size"),this.renderer.setElementAttribute(this._el_114,"src","assets/img/add.svg"),this._text_115=this.renderer.createText(null,"\n ",null),o.create(this._Button_112_6,[[].concat([this._text_113,this._el_114,this._text_115])],null),this._text_116=this.renderer.createText(this._el_110,"\n ",null),this._text_117=this.renderer.createText(this._el_108,"\n ",null),this._text_118=this.renderer.createText(this._el_97,"\n ",null),this._el_119=this.renderer.createElement(this._el_97,"ion-col",null),this.renderer.setElementAttribute(this._el_119,"center",""),this.renderer.setElementAttribute(this._el_119,"class","vpd-button-col margin-right"),this.renderer.setElementAttribute(this._el_119,"text-left",""),this._Col_119_3=new D.a,this._text_120=this.renderer.createText(this._el_119,"\n ",null),this._el_121=this.renderer.createElement(this._el_119,"div",null),this.renderer.setElementAttribute(this._el_121,"style","display:inline-block"),this._text_122=this.renderer.createText(this._el_121,"\n ",null),this._el_123=this.renderer.createElement(this._el_121,"button",null),this.renderer.setElementAttribute(this._el_123,"class","img-button disable-hover"),this.renderer.setElementAttribute(this._el_123,"ion-button",""),this.renderer.setElementAttribute(this._el_123,"tooltipPlacement","left"),this._appEl_123=new u.a(123,121,this,this._el_123);var a=J.a(this.viewUtils,this.injector(123),this._appEl_123);this._Tooltip_123_5=new F.a(this._appEl_123.vcRef,this.parent.parentInjector.get(K.a),this.parent.parentInjector.get(tt.f)),this._Button_123_6=new j.a(null,"",this.parent.parentInjector.get(Q.c),new Z.a(this._el_123),this.renderer),this._appEl_123.initComponent(this._Button_123_6,[],a),this._text_124=this.renderer.createText(null,"\n ",null),this._el_125=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_125,"class","custom-image-button svg-size"),this.renderer.setElementAttribute(this._el_125,"src","assets/img/settings.svg"),this._text_126=this.renderer.createText(null,"\n ",null),a.create(this._Button_123_6,[[].concat([this._text_124,this._el_125,this._text_126])],null),this._text_127=this.renderer.createText(this._el_121,"\n ",null),this._text_128=this.renderer.createText(this._el_119,"\n ",null),this._text_129=this.renderer.createText(this._el_97,"\n ",null), this._text_130=this.renderer.createText(this._el_95,"\n ",null),this._text_131=this.renderer.createText(this._el_25,"\n ",null),this._text_132=this.renderer.createText(this._el_0,"\n ",null);var _=this.renderer.listen(this._el_0,"tap",this.eventHandler(this._handle_tap_0_0.bind(this)));this._map_0=d.h(function(t){return{"display-none":t}}),this._expr_1=m.n,this._map_1=d.h(function(t){return{backgroundColor:t}}),this._expr_2=m.n,this._expr_3=m.n,this._expr_4=m.n,this._expr_5=m.n,this._expr_7=m.n;var l=this.renderer.listen(this._el_38,"tap",this.eventHandler(this._handle_tap_38_0.bind(this))),c=this.renderer.listen(this._el_47,"valChange",this.eventHandler(this._handle_valChange_47_0.bind(this))),p=this.renderer.listen(this._el_47,"mousewheel",this.eventHandler(this._handle_mousewheel_47_1.bind(this))),f=this.renderer.listen(this._el_47,"input",this.eventHandler(this._handle_input_47_2.bind(this))),g=this.renderer.listen(this._el_47,"blur",this.eventHandler(this._handle_blur_47_3.bind(this))),v=this.renderer.listen(this._el_47,"focusin",this.eventHandler(this._handle_focusin_47_4.bind(this))),x=this.renderer.listen(this._el_47,"mouseenter",this.eventHandler(this._handle_mouseenter_47_5.bind(this))),b=this.renderer.listen(this._el_47,"focusout",this.eventHandler(this._handle_focusout_47_6.bind(this))),w=this.renderer.listen(this._el_47,"mouseleave",this.eventHandler(this._handle_mouseleave_47_7.bind(this))),C=this.renderer.listen(this._el_47,"keypress",this.eventHandler(this._handle_keypress_47_8.bind(this)));this._pipe_unitFormat_0_2=d.i(this.parent._pipe_unitFormat_0.transform.bind(this.parent._pipe_unitFormat_0)),this._expr_18=m.n,this._expr_19=m.n,this._expr_20=m.n,this._expr_21=m.n,this._expr_22=m.n,this._expr_23=m.n,this._expr_24=m.n,this._expr_25=m.n,this._expr_26=m.n,this._expr_27=m.n;var E=this._FormatInputDirective_47_11.valChange.subscribe(this.eventHandler(this._handle_valChange_47_0.bind(this)));this._expr_29=m.n;var T=this.renderer.listen(this._el_54,"tap",this.eventHandler(this._handle_tap_54_0.bind(this))),I=this.renderer.listen(this._el_71,"tap",this.eventHandler(this._handle_tap_71_0.bind(this))),S=this.renderer.listen(this._el_80,"valChange",this.eventHandler(this._handle_valChange_80_0.bind(this))),O=this.renderer.listen(this._el_80,"mousewheel",this.eventHandler(this._handle_mousewheel_80_1.bind(this))),k=this.renderer.listen(this._el_80,"input",this.eventHandler(this._handle_input_80_2.bind(this))),N=this.renderer.listen(this._el_80,"blur",this.eventHandler(this._handle_blur_80_3.bind(this))),R=this.renderer.listen(this._el_80,"focusin",this.eventHandler(this._handle_focusin_80_4.bind(this))),U=this.renderer.listen(this._el_80,"mouseenter",this.eventHandler(this._handle_mouseenter_80_5.bind(this))),z=this.renderer.listen(this._el_80,"focusout",this.eventHandler(this._handle_focusout_80_6.bind(this))),G=this.renderer.listen(this._el_80,"mouseleave",this.eventHandler(this._handle_mouseleave_80_7.bind(this))),W=this.renderer.listen(this._el_80,"keypress",this.eventHandler(this._handle_keypress_80_8.bind(this)));this._pipe_unitFormat_0_3=d.i(this.parent._pipe_unitFormat_0.transform.bind(this.parent._pipe_unitFormat_0)),this._expr_41=m.n,this._expr_42=m.n,this._expr_43=m.n,this._expr_44=m.n,this._expr_45=m.n,this._expr_46=m.n,this._expr_47=m.n,this._expr_48=m.n,this._expr_49=m.n,this._expr_50=m.n;var $=this._FormatInputDirective_80_11.valChange.subscribe(this.eventHandler(this._handle_valChange_80_0.bind(this))),X=this.renderer.listen(this._el_87,"tap",this.eventHandler(this._handle_tap_87_0.bind(this))),rt=this.renderer.listen(this._el_104,"onSelection",this.eventHandler(this._handle_onSelection_104_0.bind(this))),st=this.renderer.listen(this._el_104,"focusin",this.eventHandler(this._handle_focusin_104_1.bind(this))),ot=this.renderer.listen(this._el_104,"mouseenter",this.eventHandler(this._handle_mouseenter_104_2.bind(this))),at=this.renderer.listen(this._el_104,"focusout",this.eventHandler(this._handle_focusout_104_3.bind(this))),_t=this.renderer.listen(this._el_104,"mouseleave",this.eventHandler(this._handle_mouseleave_104_4.bind(this)));this._expr_57=m.n,this._expr_58=m.n,this._expr_59=m.n,this._expr_60=m.n,this._expr_61=m.n;var lt=this._DropdownPopoverComponent_104_6.onSelection.subscribe(this.eventHandler(this._handle_onSelection_104_0.bind(this)));this._expr_67=m.n;var ht=this.renderer.listen(this._el_112,"tap",this.eventHandler(this._handle_tap_112_0.bind(this))),ct=this.renderer.listen(this._el_112,"focusin",this.eventHandler(this._handle_focusin_112_1.bind(this))),pt=this.renderer.listen(this._el_112,"mouseenter",this.eventHandler(this._handle_mouseenter_112_2.bind(this))),dt=this.renderer.listen(this._el_112,"focusout",this.eventHandler(this._handle_focusout_112_3.bind(this))),ft=this.renderer.listen(this._el_112,"mouseleave",this.eventHandler(this._handle_mouseleave_112_4.bind(this)));this._expr_68=m.n,this._expr_69=m.n,this._expr_70=m.n,this._expr_76=m.n;var mt=this.renderer.listen(this._el_123,"tap",this.eventHandler(this._handle_tap_123_0.bind(this))),gt=this.renderer.listen(this._el_123,"focusin",this.eventHandler(this._handle_focusin_123_1.bind(this))),vt=this.renderer.listen(this._el_123,"mouseenter",this.eventHandler(this._handle_mouseenter_123_2.bind(this))),xt=this.renderer.listen(this._el_123,"focusout",this.eventHandler(this._handle_focusout_123_3.bind(this))),yt=this.renderer.listen(this._el_123,"mouseleave",this.eventHandler(this._handle_mouseleave_123_4.bind(this)));return this._expr_77=m.n,this._expr_78=m.n,this._expr_79=m.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._text_8,this._el_9,this._text_10,this._el_11,this._text_12,this._el_13,this._text_14,this._el_15,this._text_16,this._text_17,this._text_18,this._text_19,this._el_20,this._text_21,this._text_22,this._text_23,this._text_24,this._el_25,this._text_26,this._anchor_27,this._text_28,this._el_29,this._text_30,this._el_31,this._text_32,this._text_33,this._el_34,this._text_35,this._el_36,this._text_37,this._el_38,this._text_39,this._el_40,this._text_41,this._text_42,this._text_43,this._text_44,this._el_45,this._text_46,this._el_47,this._text_48,this._text_49,this._el_50,this._text_51,this._el_52,this._text_53,this._el_54,this._text_55,this._el_56,this._text_57,this._text_58,this._text_59,this._text_60,this._text_61,this._el_62,this._text_63,this._el_64,this._text_65,this._text_66,this._el_67,this._text_68,this._el_69,this._text_70,this._el_71,this._text_72,this._el_73,this._text_74,this._text_75,this._text_76,this._text_77,this._el_78,this._text_79,this._el_80,this._text_81,this._text_82,this._el_83,this._text_84,this._el_85,this._text_86,this._el_87,this._text_88,this._el_89,this._text_90,this._text_91,this._text_92,this._text_93,this._text_94,this._el_95,this._text_96,this._el_97,this._text_98,this._el_99,this._text_100,this._text_101,this._el_102,this._text_103,this._el_104,this._text_105,this._text_106,this._text_107,this._el_108,this._text_109,this._el_110,this._text_111,this._el_112,this._text_113,this._el_114,this._text_115,this._text_116,this._text_117,this._text_118,this._el_119,this._text_120,this._el_121,this._text_122,this._el_123,this._text_124,this._el_125,this._text_126,this._text_127,this._text_128,this._text_129,this._text_130,this._text_131,this._text_132],[_,l,c,p,f,g,v,x,b,w,C,T,I,S,O,k,N,R,U,z,G,W,X,rt,st,ot,at,_t,ht,ct,pt,dt,ft,mt,gt,vt,xt,yt],[E,$,lt]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===D.a&&6<=e&&e<=7?this._Col_6_3:t===ut.a&&13===e?this._NgStyle_13_3:t===D.c&&11<=e&&e<=17?this._Row_11_3:t===D.a&&9<=e&&e<=18?this._Col_9_3:t===D.a&&20<=e&&e<=21?this._Col_20_3:t===D.c&&4<=e&&e<=22?this._Row_4_3:t===Y.b&&27===e?this._TemplateRef_27_5:t===P.a&&27===e?this._NgIf_27_6:t===D.a&&31<=e&&e<=32?this._Col_31_3:t===j.a&&38<=e&&e<=41?this._Button_38_4:t===D.a&&34<=e&&e<=43?this._Col_34_3:t===M.a&&47===e?this._DefaultValueAccessor_47_5:t===_t.a&&47===e?this._NG_VALUE_ACCESSOR_47_6:t===L.a&&47===e?this._NgModel_47_7:t===lt.a&&47===e?this._NgControl_47_8:t===B.a&&47===e?this._NgControlStatus_47_9:t===F.a&&47===e?this._Tooltip_47_10:t===q.a&&47===e?this._FormatInputDirective_47_11:t===D.a&&45<=e&&e<=48?this._Col_45_3:t===j.a&&54<=e&&e<=57?this._Button_54_4:t===D.a&&50<=e&&e<=59?this._Col_50_3:t===D.c&&29<=e&&e<=60?this._Row_29_3:t===D.a&&64<=e&&e<=65?this._Col_64_3:t===j.a&&71<=e&&e<=74?this._Button_71_4:t===D.a&&67<=e&&e<=76?this._Col_67_3:t===M.a&&80===e?this._DefaultValueAccessor_80_5:t===_t.a&&80===e?this._NG_VALUE_ACCESSOR_80_6:t===L.a&&80===e?this._NgModel_80_7:t===lt.a&&80===e?this._NgControl_80_8:t===B.a&&80===e?this._NgControlStatus_80_9:t===F.a&&80===e?this._Tooltip_80_10:t===q.a&&80===e?this._FormatInputDirective_80_11:t===D.a&&78<=e&&e<=81?this._Col_78_3:t===j.a&&87<=e&&e<=90?this._Button_87_4:t===D.a&&83<=e&&e<=92?this._Col_83_3:t===D.c&&62<=e&&e<=93?this._Row_62_3:t===D.a&&99<=e&&e<=100?this._Col_99_3:t===F.a&&104<=e&&e<=105?this._Tooltip_104_5:t===V.a&&104<=e&&e<=105?this._DropdownPopoverComponent_104_6:t===D.a&&102<=e&&e<=106?this._Col_102_3:t===F.a&&112<=e&&e<=115?this._Tooltip_112_5:t===j.a&&112<=e&&e<=115?this._Button_112_6:t===D.a&&108<=e&&e<=117?this._Col_108_3:t===F.a&&123<=e&&e<=126?this._Tooltip_123_5:t===j.a&&123<=e&&e<=126?this._Button_123_6:t===D.a&&119<=e&&e<=128?this._Col_119_3:t===D.c&&97<=e&&e<=129?this._Row_97_3:t===H.a&&0<=e&&e<=132?this._NgClass_0_3:n},e.prototype.detectChangesInternal=function(t){var e=null,n=new m.o,i=this._map_0(!this.parent.context.showLoggerSettings||!this.parent.context.selectedChannels[this.context.index]);d.c(t,this._expr_1,i)&&(this._NgClass_0_3.ngClass=i,this._expr_1=i),t||this._NgClass_0_3.ngDoCheck();var r=this._map_1(this.parent.context.colorArray[this.context.index]);d.c(t,this._expr_2,r)&&(this._NgStyle_13_3.ngStyle=r,this._expr_2=r),t||this._NgStyle_13_3.ngDoCheck();var s=this.parent.context.averagingEnabled;d.c(t,this._expr_4,s)&&(this._NgIf_27_6.ngIf=s,this._expr_4=s),e=null,n.reset();var o=n.unwrap(d.r(this._pipe_unitFormat_0_2,this.parent._pipe_unitFormat_0.transform)(this.parent.context.loggerPlotService.vpdArray[this.parent.context.loggerPlotService.vpdIndices[this.context.index]],this.parent.context.chanUnits[this.context.index]+"/"));(n.hasWrappedValue||d.c(t,this._expr_18,o))&&(this._NgModel_47_7.model=o,null===e&&(e={}),e.model=new m.m(this._expr_18,o),this._expr_18=o),null!==e&&this._NgModel_47_7.ngOnChanges(e),e=null;var a=this.parent.context.tooltipService.getTooltip("oscVpd").message;d.c(t,this._expr_25,a)&&(this._Tooltip_47_10.content=a,null===e&&(e={}),e.content=new m.m(this._expr_25,a),this._expr_25=a);var _=!0;d.c(t,this._expr_26,_)&&(this._Tooltip_47_10.tooltipAnimation=_,null===e&&(e={}),e.tooltipAnimation=new m.m(this._expr_26,_),this._expr_26=_);var l="top";d.c(t,this._expr_27,l)&&(this._Tooltip_47_10.tooltipPlacement=l,null===e&&(e={}),e.tooltipPlacement=new m.m(this._expr_27,l),this._expr_27=l),null!==e&&this._Tooltip_47_10.ngOnChanges(e),e=null,n.reset();var h=n.unwrap(d.r(this._pipe_unitFormat_0_3,this.parent._pipe_unitFormat_0.transform)(this.context.$implicit.vOffset,"V"));(n.hasWrappedValue||d.c(t,this._expr_41,h))&&(this._NgModel_80_7.model=h,null===e&&(e={}),e.model=new m.m(this._expr_41,h),this._expr_41=h),null!==e&&this._NgModel_80_7.ngOnChanges(e),e=null;var c=this.parent.context.tooltipService.getTooltip("oscOffset").message;d.c(t,this._expr_48,c)&&(this._Tooltip_80_10.content=c,null===e&&(e={}),e.content=new m.m(this._expr_48,c),this._expr_48=c);var u=!0;d.c(t,this._expr_49,u)&&(this._Tooltip_80_10.tooltipAnimation=u,null===e&&(e={}),e.tooltipAnimation=new m.m(this._expr_49,u),this._expr_49=u);var p="top";d.c(t,this._expr_50,p)&&(this._Tooltip_80_10.tooltipPlacement=p,null===e&&(e={}),e.tooltipPlacement=new m.m(this._expr_50,p),this._expr_50=p),null!==e&&this._Tooltip_80_10.ngOnChanges(e),e=null;var f=this.parent.context.tooltipService.getTooltip("logSetScaling").message;d.c(t,this._expr_57,f)&&(this._Tooltip_104_5.content=f,null===e&&(e={}),e.content=new m.m(this._expr_57,f),this._expr_57=f);var g=!0;d.c(t,this._expr_58,g)&&(this._Tooltip_104_5.tooltipAnimation=g,null===e&&(e={}),e.tooltipAnimation=new m.m(this._expr_58,g),this._expr_58=g);var v="top";d.c(t,this._expr_59,v)&&(this._Tooltip_104_5.tooltipPlacement=v,null===e&&(e={}),e.tooltipPlacement=new m.m(this._expr_59,v),this._expr_59=v),null!==e&&this._Tooltip_104_5.ngOnChanges(e),e=null;var x=this.parent.context.scalingOptions;d.c(t,this._expr_60,x)&&(this._DropdownPopoverComponent_104_6.dataArray=x,null===e&&(e={}),e.dataArray=new m.m(this._expr_60,x),this._expr_60=x);var y=this.parent.context.running;d.c(t,this._expr_61,y)&&(this._DropdownPopoverComponent_104_6.disabled=y,null===e&&(e={}),e.disabled=new m.m(this._expr_61,y),this._expr_61=y),null!==e&&this._DropdownPopoverComponent_104_6.ngOnChanges(e),e=null;var b=this.parent.context.tooltipService.getTooltip("logNewScale").message;d.c(t,this._expr_68,b)&&(this._Tooltip_112_5.content=b,null===e&&(e={}),e.content=new m.m(this._expr_68,b),this._expr_68=b);var w=!0;d.c(t,this._expr_69,w)&&(this._Tooltip_112_5.tooltipAnimation=w,null===e&&(e={}),e.tooltipAnimation=new m.m(this._expr_69,w),this._expr_69=w);var C="left";d.c(t,this._expr_70,C)&&(this._Tooltip_112_5.tooltipPlacement=C,null===e&&(e={}),e.tooltipPlacement=new m.m(this._expr_70,C),this._expr_70=C),null!==e&&this._Tooltip_112_5.ngOnChanges(e),e=null;var E=this.parent.context.tooltipService.getTooltip("logScaleSettings").message;d.c(t,this._expr_77,E)&&(this._Tooltip_123_5.content=E,null===e&&(e={}),e.content=new m.m(this._expr_77,E),this._expr_77=E);var T=!0;d.c(t,this._expr_78,T)&&(this._Tooltip_123_5.tooltipAnimation=T,null===e&&(e={}),e.tooltipAnimation=new m.m(this._expr_78,T),this._expr_78=T);var A="left";d.c(t,this._expr_79,A)&&(this._Tooltip_123_5.tooltipPlacement=A,null===e&&(e={}),e.tooltipPlacement=new m.m(this._expr_79,A),this._expr_79=A),null!==e&&this._Tooltip_123_5.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_38_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_54_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_71_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_87_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_112_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_123_6.ngAfterContentInit());var I=d.e(1,"Analog Ch ",this.context.index+1,"");d.c(t,this._expr_3,I)&&(this.renderer.setText(this._text_16,I),this._expr_3=I);var S=d.e(1,"\n ","V"===this.parent.context.chanUnits[this.context.index]?"Volts/":"Units/","\n ");d.c(t,this._expr_5,S)&&(this.renderer.setText(this._text_32,S),this._expr_5=S);var O=this.parent.context.loggerPlotService.vpdIndices[this.context.index]>this.parent.context.loggerPlotService.vpdArray.length-2;d.c(t,this._expr_7,O)&&(this.renderer.setElementProperty(this._el_38,"disabled",O),this._expr_7=O);var k=this._NgControlStatus_47_9.ngClassUntouched;d.c(t,this._expr_19,k)&&(this.renderer.setElementClass(this._el_47,"ng-untouched",k),this._expr_19=k);var N=this._NgControlStatus_47_9.ngClassTouched;d.c(t,this._expr_20,N)&&(this.renderer.setElementClass(this._el_47,"ng-touched",N),this._expr_20=N);var P=this._NgControlStatus_47_9.ngClassPristine;d.c(t,this._expr_21,P)&&(this.renderer.setElementClass(this._el_47,"ng-pristine",P),this._expr_21=P);var R=this._NgControlStatus_47_9.ngClassDirty;d.c(t,this._expr_22,R)&&(this.renderer.setElementClass(this._el_47,"ng-dirty",R),this._expr_22=R);var D=this._NgControlStatus_47_9.ngClassValid;d.c(t,this._expr_23,D)&&(this.renderer.setElementClass(this._el_47,"ng-valid",D),this._expr_23=D);var j=this._NgControlStatus_47_9.ngClassInvalid;d.c(t,this._expr_24,j)&&(this.renderer.setElementClass(this._el_47,"ng-invalid",j),this._expr_24=j);var M=this.parent.context.loggerPlotService.vpdIndices[this.context.index]<1;d.c(t,this._expr_29,M)&&(this.renderer.setElementProperty(this._el_54,"disabled",M),this._expr_29=M);var L=this._NgControlStatus_80_9.ngClassUntouched;d.c(t,this._expr_42,L)&&(this.renderer.setElementClass(this._el_80,"ng-untouched",L),this._expr_42=L);var B=this._NgControlStatus_80_9.ngClassTouched;d.c(t,this._expr_43,B)&&(this.renderer.setElementClass(this._el_80,"ng-touched",B),this._expr_43=B);var F=this._NgControlStatus_80_9.ngClassPristine;d.c(t,this._expr_44,F)&&(this.renderer.setElementClass(this._el_80,"ng-pristine",F),this._expr_44=F);var q=this._NgControlStatus_80_9.ngClassDirty;d.c(t,this._expr_45,q)&&(this.renderer.setElementClass(this._el_80,"ng-dirty",q),this._expr_45=q);var V=this._NgControlStatus_80_9.ngClassValid;d.c(t,this._expr_46,V)&&(this.renderer.setElementClass(this._el_80,"ng-valid",V),this._expr_46=V);var H=this._NgControlStatus_80_9.ngClassInvalid;d.c(t,this._expr_47,H)&&(this.renderer.setElementClass(this._el_80,"ng-invalid",H),this._expr_47=H);var U=this.parent.context.running;d.c(t,this._expr_67,U)&&(this.renderer.setElementProperty(this._el_112,"disabled",U),this._expr_67=U);var z=this.parent.context.running||"None"===this.parent.context.selectedScales[this.context.index];d.c(t,this._expr_76,z)&&(this.renderer.setElementProperty(this._el_123,"disabled",z),this._expr_76=z),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._DropdownPopoverComponent_104_6.ngAfterViewInit()},e.prototype.dirtyParentQueriesInternal=function(){this.parent._viewQuery_dropPopScaling_4.setDirty()},e.prototype.destroyInternal=function(){this._NgModel_47_7.ngOnDestroy(),this._NgModel_80_7.ngOnDestroy()},e.prototype._handle_tap_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.setActiveSeries(this.context.index)!==!1;return e},e.prototype._handle_tap_38_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.incrementVpd(this.context.index)!==!1;return e},e.prototype._handle_valChange_47_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.yAxisValChange(t,this.context.index)!==!1;return e},e.prototype._handle_mousewheel_47_1=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.mousewheel(t,"vpd",this.context.index)!==!1;return e},e.prototype._handle_input_47_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_47_5.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_47_3=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_47_5.onTouched()!==!1;return e},e.prototype._handle_focusin_47_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_47_10.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_47_5=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_47_10.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_47_6=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_47_10.hide()!==!1,n=this._FormatInputDirective_47_11.onFocusOut(t)!==!1;return e&&n},e.prototype._handle_mouseleave_47_7=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_47_10.hide()!==!1;return e},e.prototype._handle_keypress_47_8=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_47_11.onkeypress(t)!==!1;return e},e.prototype._handle_tap_54_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.decrementVpd(this.context.index)!==!1;return e},e.prototype._handle_tap_71_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.buttonChangeOffset(this.context.index,"decrement")!==!1;return e},e.prototype._handle_valChange_80_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.formatInputAndUpdate(t,"offset",this.context.index)!==!1;return e},e.prototype._handle_mousewheel_80_1=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.mousewheel(t,"offset",this.context.index)!==!1;return e},e.prototype._handle_input_80_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_80_5.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_80_3=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_80_5.onTouched()!==!1;return e},e.prototype._handle_focusin_80_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_80_10.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_80_5=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_80_10.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_80_6=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_80_10.hide()!==!1,n=this._FormatInputDirective_80_11.onFocusOut(t)!==!1;return e&&n},e.prototype._handle_mouseleave_80_7=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_80_10.hide()!==!1;return e},e.prototype._handle_keypress_80_8=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_80_11.onkeypress(t)!==!1;return e},e.prototype._handle_tap_87_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.buttonChangeOffset(this.context.index,"increment")!==!1;return e},e.prototype._handle_onSelection_104_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.scaleSelect(t,this.context.index)!==!1;return e},e.prototype._handle_focusin_104_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_104_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_104_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_104_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_104_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_104_5.hide()!==!1;return e},e.prototype._handle_mouseleave_104_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_104_5.hide()!==!1;return e},e.prototype._handle_tap_112_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.openScaleSettings(t,this.context.index,!0)!==!1;return e},e.prototype._handle_focusin_112_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_112_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_112_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_112_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_112_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_112_5.hide()!==!1;return e},e.prototype._handle_mouseleave_112_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_112_5.hide()!==!1;return e},e.prototype._handle_tap_123_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.openScaleSettings(t,this.context.index,!1)!==!1;return e},e.prototype._handle_focusin_123_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_123_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_123_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_123_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_123_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_123_5.hide()!==!1;return e},e.prototype._handle_mouseleave_123_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_123_5.hide()!==!1;return e},e}(c.a),Et=function(t){function e(n,i,r){t.call(this,e,gt,f.a.EMBEDDED,n,i,r,m.b.CheckAlways)}return pt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-row",null),this.renderer.setElementAttribute(this._el_0,"class","controls-container"),this._Row_0_3=new D.c,this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_2,"center",""),this.renderer.setElementAttribute(this._el_2,"class","vpd-label-col"),this._Col_2_3=new D.a,this._text_3=this.renderer.createText(this._el_2,"\n Average\n ",null),this._text_4=this.renderer.createText(this._el_0,"\n ",null),this._el_5=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_5,"center",""),this.renderer.setElementAttribute(this._el_5,"class","xaxis-left"),this._Col_5_3=new D.a,this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._el_7=this.renderer.createElement(this._el_5,"div",null),this.renderer.setElementAttribute(this._el_7,"style","display:inline-block"),this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"button",null),this.renderer.setElementAttribute(this._el_9,"class","icon-only-button-side disable-hover"),this.renderer.setElementAttribute(this._el_9,"ion-button",""),this._appEl_9=new u.a(9,7,this,this._el_9);var e=J.a(this.viewUtils,this.injector(9),this._appEl_9);this._Button_9_4=new j.a(null,"",this.parent.parent.parentInjector.get(Q.c),new Z.a(this._el_9),this.renderer),this._appEl_9.initComponent(this._Button_9_4,[],e),this._text_10=this.renderer.createText(null,"\n ",null),this._el_11=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_11,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_11,"src","assets/img/remove.svg"),this._text_12=this.renderer.createText(null,"\n ",null),e.create(this._Button_9_4,[[].concat([this._text_10,this._el_11,this._text_12])],null),this._text_13=this.renderer.createText(this._el_7,"\n ",null),this._text_14=this.renderer.createText(this._el_5,"\n ",null),this._text_15=this.renderer.createText(this._el_0,"\n ",null),this._el_16=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_16,"center",""),this.renderer.setElementAttribute(this._el_16,"class","xaxis-center"),this.renderer.setElementAttribute(this._el_16,"text-center",""),this._Col_16_3=new D.a,this._text_17=this.renderer.createText(this._el_16,"\n ",null),this._el_18=this.renderer.createElement(this._el_16,"div",null),this.renderer.setElementAttribute(this._el_18,"style","display:inline-block;"),this.renderer.setElementAttribute(this._el_18,"tooltipPlacement","bottom"),this._appEl_18=new u.a(18,16,this,this._el_18),this._Tooltip_18_5=new F.a(this._appEl_18.vcRef,this.parent.parent.parentInjector.get(K.a),this.parent.parent.parentInjector.get(tt.f)),this._text_19=this.renderer.createText(this._el_18,"\n ",null),this._el_20=this.renderer.createElement(this._el_18,"input",null),this.renderer.setElementAttribute(this._el_20,"class","custom-input"),this.renderer.setElementAttribute(this._el_20,"formatInput",""),this.renderer.setElementAttribute(this._el_20,"readonly","readonly"),this.renderer.setElementAttribute(this._el_20,"step","any"),this._DefaultValueAccessor_20_3=new M.a(this.renderer,new Z.a(this._el_20)),this._NG_VALUE_ACCESSOR_20_4=[this._DefaultValueAccessor_20_3],this._NgModel_20_5=new L.a(null,null,null,this._NG_VALUE_ACCESSOR_20_4),this._NgControl_20_6=this._NgModel_20_5,this._NgControlStatus_20_7=new B.a(this._NgControl_20_6),this._FormatInputDirective_20_8=new q.a(this.parent.parent.parentInjector.get(y.a)),this._text_21=this.renderer.createText(this._el_18,"\n ",null),this._text_22=this.renderer.createText(this._el_16,"\n ",null),this._text_23=this.renderer.createText(this._el_0,"\n ",null),this._el_24=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_24,"center",""),this.renderer.setElementAttribute(this._el_24,"class","xaxis-right"),this._Col_24_3=new D.a,this._text_25=this.renderer.createText(this._el_24,"\n ",null),this._el_26=this.renderer.createElement(this._el_24,"div",null),this.renderer.setElementAttribute(this._el_26,"style","display:inline-block"),this._text_27=this.renderer.createText(this._el_26,"\n ",null),this._el_28=this.renderer.createElement(this._el_26,"button",null),this.renderer.setElementAttribute(this._el_28,"class","icon-only-button-side disable-hover"),this.renderer.setElementAttribute(this._el_28,"ion-button",""),this._appEl_28=new u.a(28,26,this,this._el_28);var n=J.a(this.viewUtils,this.injector(28),this._appEl_28);this._Button_28_4=new j.a(null,"",this.parent.parent.parentInjector.get(Q.c),new Z.a(this._el_28),this.renderer),this._appEl_28.initComponent(this._Button_28_4,[],n),this._text_29=this.renderer.createText(null,"\n ",null),this._el_30=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_30,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_30,"src","assets/img/add.svg"),this._text_31=this.renderer.createText(null,"\n ",null),n.create(this._Button_28_4,[[].concat([this._text_29,this._el_30,this._text_31])],null),this._text_32=this.renderer.createText(this._el_26,"\n ",null),this._text_33=this.renderer.createText(this._el_24,"\n ",null),this._text_34=this.renderer.createText(this._el_0,"\n ",null),this._expr_1=m.n;var i=this.renderer.listen(this._el_9,"tap",this.eventHandler(this._handle_tap_9_0.bind(this))),r=this.renderer.listen(this._el_18,"focusin",this.eventHandler(this._handle_focusin_18_0.bind(this))),s=this.renderer.listen(this._el_18,"mouseenter",this.eventHandler(this._handle_mouseenter_18_1.bind(this))),o=this.renderer.listen(this._el_18,"focusout",this.eventHandler(this._handle_focusout_18_2.bind(this))),a=this.renderer.listen(this._el_18,"mouseleave",this.eventHandler(this._handle_mouseleave_18_3.bind(this)));this._expr_6=m.n,this._expr_7=m.n,this._expr_8=m.n;var _=this.renderer.listen(this._el_20,"input",this.eventHandler(this._handle_input_20_0.bind(this))),l=this.renderer.listen(this._el_20,"blur",this.eventHandler(this._handle_blur_20_1.bind(this))),h=this.renderer.listen(this._el_20,"focusout",this.eventHandler(this._handle_focusout_20_2.bind(this))),c=this.renderer.listen(this._el_20,"keypress",this.eventHandler(this._handle_keypress_20_3.bind(this)));this._expr_13=m.n,this._pipe_averageFormat_1_0=d.i(this.parent.parent._pipe_averageFormat_1.transform.bind(this.parent.parent._pipe_averageFormat_1)),this._expr_14=m.n,this._expr_15=m.n,this._expr_16=m.n,this._expr_17=m.n,this._expr_18=m.n,this._expr_19=m.n,this._expr_20=m.n,this._expr_22=m.n;var p=this.renderer.listen(this._el_28,"tap",this.eventHandler(this._handle_tap_28_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._el_11,this._text_12,this._text_13,this._text_14,this._text_15,this._el_16,this._text_17,this._el_18,this._text_19,this._el_20,this._text_21,this._text_22,this._text_23,this._el_24,this._text_25,this._el_26,this._text_27,this._el_28,this._text_29,this._el_30,this._text_31,this._text_32,this._text_33,this._text_34],[i,r,s,o,a,_,l,h,c,p],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===D.a&&2<=e&&e<=3?this._Col_2_3:t===j.a&&9<=e&&e<=12?this._Button_9_4:t===D.a&&5<=e&&e<=14?this._Col_5_3:t===M.a&&20===e?this._DefaultValueAccessor_20_3:t===_t.a&&20===e?this._NG_VALUE_ACCESSOR_20_4:t===L.a&&20===e?this._NgModel_20_5:t===lt.a&&20===e?this._NgControl_20_6:t===B.a&&20===e?this._NgControlStatus_20_7:t===q.a&&20===e?this._FormatInputDirective_20_8:t===F.a&&18<=e&&e<=21?this._Tooltip_18_5:t===D.a&&16<=e&&e<=22?this._Col_16_3:t===j.a&&28<=e&&e<=31?this._Button_28_4:t===D.a&&24<=e&&e<=33?this._Col_24_3:t===D.c&&0<=e&&e<=34?this._Row_0_3:n},e.prototype.detectChangesInternal=function(t){var e=null,n=new m.o;e=null;var i=this.parent.parent.context.tooltipService.getTooltip("logAveraging").message;d.c(t,this._expr_6,i)&&(this._Tooltip_18_5.content=i,null===e&&(e={}),e.content=new m.m(this._expr_6,i), this._expr_6=i);var r=!0;d.c(t,this._expr_7,r)&&(this._Tooltip_18_5.tooltipAnimation=r,null===e&&(e={}),e.tooltipAnimation=new m.m(this._expr_7,r),this._expr_7=r);var s="bottom";d.c(t,this._expr_8,s)&&(this._Tooltip_18_5.tooltipPlacement=s,null===e&&(e={}),e.tooltipPlacement=new m.m(this._expr_8,s),this._expr_8=s),null!==e&&this._Tooltip_18_5.ngOnChanges(e),e=null;var o=this.parent.parent.context.running;d.c(t,this._expr_13,o)&&(this._NgModel_20_5.isDisabled=o,null===e&&(e={}),e.isDisabled=new m.m(this._expr_13,o),this._expr_13=o),n.reset();var a=n.unwrap(d.r(this._pipe_averageFormat_1_0,this.parent.parent._pipe_averageFormat_1.transform)(this.parent.context.$implicit.average,"Sample"));(n.hasWrappedValue||d.c(t,this._expr_14,a))&&(this._NgModel_20_5.model=a,null===e&&(e={}),e.model=new m.m(this._expr_14,a),this._expr_14=a),null!==e&&this._NgModel_20_5.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_9_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_28_4.ngAfterContentInit());var _=1===this.parent.context.$implicit.average||this.parent.parent.context.running;d.c(t,this._expr_1,_)&&(this.renderer.setElementProperty(this._el_9,"disabled",_),this._expr_1=_);var l=this._NgControlStatus_20_7.ngClassUntouched;d.c(t,this._expr_15,l)&&(this.renderer.setElementClass(this._el_20,"ng-untouched",l),this._expr_15=l);var h=this._NgControlStatus_20_7.ngClassTouched;d.c(t,this._expr_16,h)&&(this.renderer.setElementClass(this._el_20,"ng-touched",h),this._expr_16=h);var c=this._NgControlStatus_20_7.ngClassPristine;d.c(t,this._expr_17,c)&&(this.renderer.setElementClass(this._el_20,"ng-pristine",c),this._expr_17=c);var u=this._NgControlStatus_20_7.ngClassDirty;d.c(t,this._expr_18,u)&&(this.renderer.setElementClass(this._el_20,"ng-dirty",u),this._expr_18=u);var p=this._NgControlStatus_20_7.ngClassValid;d.c(t,this._expr_19,p)&&(this.renderer.setElementClass(this._el_20,"ng-valid",p),this._expr_19=p);var f=this._NgControlStatus_20_7.ngClassInvalid;d.c(t,this._expr_20,f)&&(this.renderer.setElementClass(this._el_20,"ng-invalid",f),this._expr_20=f);var g=this.parent.context.$implicit.average===this.parent.parent.context.maxAverage||this.parent.parent.context.running;d.c(t,this._expr_22,g)&&(this.renderer.setElementProperty(this._el_28,"disabled",g),this._expr_22=g),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_20_5.ngOnDestroy()},e.prototype._handle_tap_9_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.decrementAverage(this.parent.context.index)!==!1;return e},e.prototype._handle_focusin_18_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_18_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_18_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_5.hide()!==!1;return e},e.prototype._handle_mouseleave_18_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_5.hide()!==!1;return e},e.prototype._handle_input_20_0=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_20_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_20_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_20_3.onTouched()!==!1;return e},e.prototype._handle_focusout_20_2=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_20_8.onFocusOut(t)!==!1;return e},e.prototype._handle_keypress_20_3=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_20_8.onkeypress(t)!==!1;return e},e.prototype._handle_tap_28_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.incrementAverage(this.parent.context.index)!==!1;return e},e}(c.a)},function(t,e,n){"use strict";function i(t,e,n){return null===tt&&(tt=t.createRenderComponentType("",0,C.c.None,[],{})),new et(t,e,n)}function r(t,e,n){return null===it&&(it=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/components/logger/openscope/openscope-logger.html",0,C.c.None,nt,{})),new rt(t,e,n)}function s(t,e,n){return new st(t,e,n)}function o(t,e,n){return new ot(t,e,n)}function a(t,e,n){return new at(t,e,n)}var _=n(10),l=n(6),h=n(277),c=n(11),u=n(5),p=n(4),d=n(43),f=n(83),m=n(38),g=n(66),v=n(99),x=n(82),y=n(103),b=n(31),w=n(28),C=n(8),E=n(7),T=n(34),A=n(190),I=n(35),S=n(70),O=n(65),k=n(33),N=n(55),P=n(63),R=n(473),D=n(172),j=n(98),M=n(51),L=n(23),B=n(47),F=n(14),q=n(21),V=n(37),H=n(60),U=n(62),z=n(61),G=n(20),W=n(25),Y=n(2),$=n(41),X=n(53),J=n(58),Q=n(129),Z=n(52);e.a=r;var K=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},tt=null,et=function(t){function e(n,i,r){t.call(this,e,tt,u.a.HOST,n,i,r,p.b.CheckAlways)}return K(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("openscope-logger-component",t,null),this._appEl_0=new l.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._OpenScopeLoggerComponent_0_4=new h.a(this.parentInjector.get(d.DeviceManagerService),this.parentInjector.get(f.a),this.parentInjector.get(m.a),this.parentInjector.get(g.a),this.parentInjector.get(v.a),this.parentInjector.get(x.a),this.parentInjector.get(y.a),this.parentInjector.get(b.a),this.parentInjector.get(w.a)),this._appEl_0.initComponent(this._OpenScopeLoggerComponent_0_4,[],e),e.create(this._OpenScopeLoggerComponent_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===h.a&&0===e?this._OpenScopeLoggerComponent_0_4:n},e.prototype.destroyInternal=function(){this._OpenScopeLoggerComponent_0_4.ngOnDestroy()},e}(_.a),nt=(new E.a("openscope-logger-component",i,h.a),[]),it=null,rt=function(t){function e(n,i,r){t.call(this,e,it,u.a.COMPONENT,n,i,r,p.b.CheckAlways)}return K(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_dropPopSamples_0=new T.a,this._viewQuery_dropPopLocation_1=new T.a,this._viewQuery_dropPopLink_2=new T.a,this._viewQuery_dropPopProfile_3=new T.a,this._viewQuery_dropPopMode_4=new T.a,this._viewQuery_xaxis_5=new T.a,this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","logger-component-container"),this._text_1=this.renderer.createText(this._el_0,"\n\n \n\n ",null),this._el_2=this.renderer.createElement(this._el_0,"div",null),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"logger-xaxis",null),this._appEl_4=new l.a(4,2,this,this._el_4);var n=R.a(this.viewUtils,this.injector(4),this._appEl_4);this._LoggerXAxisComponent_4_4=new A.a(this.parentInjector.get(w.a),this.parentInjector.get(D.a),this.parentInjector.get(b.a)),this._appEl_4.initComponent(this._LoggerXAxisComponent_4_4,[],n),n.create(this._LoggerXAxisComponent_4_4,[],null),this._text_5=this.renderer.createText(this._el_2,"\n ",null),this._text_6=this.renderer.createText(this._el_0,"\n \n ",null),this._el_7=this.renderer.createElement(this._el_0,"div",null),this._text_8=this.renderer.createText(this._el_7,"\n \n ",null),this._el_9=this.renderer.createElement(this._el_7,"div",null),this.renderer.setElementAttribute(this._el_9,"class","header-bar-side"),this._text_10=this.renderer.createText(this._el_9,"\n ",null),this._el_11=this.renderer.createElement(this._el_9,"ion-row",null),this._Row_11_3=new I.c,this._text_12=this.renderer.createText(this._el_11,"\n ",null),this._el_13=this.renderer.createElement(this._el_11,"ion-col",null),this.renderer.setElementAttribute(this._el_13,"center",""),this.renderer.setElementAttribute(this._el_13,"class","header-side-col"),this.renderer.setElementAttribute(this._el_13,"text-right",""),this._Col_13_3=new I.a,this._text_14=this.renderer.createText(this._el_13,"\n ",null),this._text_15=this.renderer.createText(this._el_11,"\n ",null),this._el_16=this.renderer.createElement(this._el_11,"ion-col",null),this.renderer.setElementAttribute(this._el_16,"center",""),this.renderer.setElementAttribute(this._el_16,"text-center",""),this._Col_16_3=new I.a,this._text_17=this.renderer.createText(this._el_16,"\n ",null),this._el_18=this.renderer.createElement(this._el_16,"div",null),this.renderer.setElementAttribute(this._el_18,"class","instrument-header"),this._text_19=this.renderer.createText(this._el_18,"Logger",null),this._text_20=this.renderer.createText(this._el_16,"\n ",null),this._text_21=this.renderer.createText(this._el_11,"\n ",null),this._el_22=this.renderer.createElement(this._el_11,"ion-col",null),this.renderer.setElementAttribute(this._el_22,"center",""),this.renderer.setElementAttribute(this._el_22,"class","header-side-col"),this.renderer.setElementAttribute(this._el_22,"text-right",""),this._Col_22_3=new I.a,this._text_23=this.renderer.createText(this._el_22,"\n ",null),this._text_24=this.renderer.createText(this._el_22,"\n ",null),this._text_25=this.renderer.createText(this._el_11,"\n ",null),this._text_26=this.renderer.createText(this._el_9,"\n ",null),this._text_27=this.renderer.createText(this._el_7,"\n \n ",null),this._el_28=this.renderer.createElement(this._el_7,"div",null),this.renderer.setElementAttribute(this._el_28,"class","button-info-container"),this._text_29=this.renderer.createText(this._el_28,"\n ",null),this._el_30=this.renderer.createElement(this._el_28,"ion-row",null),this.renderer.setElementAttribute(this._el_30,"class","controls-container"),this._Row_30_3=new I.c,this._text_31=this.renderer.createText(this._el_30,"\n ",null),this._el_32=this.renderer.createElement(this._el_30,"ion-col",null),this.renderer.setElementAttribute(this._el_32,"center",""),this.renderer.setElementAttribute(this._el_32,"class","vpd-label-col"),this._Col_32_3=new I.a,this._text_33=this.renderer.createText(this._el_32,"\n Profile\n ",null),this._text_34=this.renderer.createText(this._el_30,"\n ",null),this._el_35=this.renderer.createElement(this._el_30,"ion-col",null),this.renderer.setElementAttribute(this._el_35,"center",""),this.renderer.setElementAttribute(this._el_35,"class","vpd-input-col no-button-col"),this.renderer.setElementAttribute(this._el_35,"text-center",""),this._Col_35_3=new I.a,this._text_36=this.renderer.createText(this._el_35,"\n ",null),this._el_37=this.renderer.createElement(this._el_35,"dropdown-popover",null),this.renderer.setElementAttribute(this._el_37,"class","profile-drop-pop"),this.renderer.setElementAttribute(this._el_37,"tooltipPlacement","top"),this._appEl_37=new l.a(37,35,this,this._el_37);var i=j.b(this.viewUtils,this.injector(37),this._appEl_37);this._Tooltip_37_5=new S.a(this._appEl_37.vcRef,this.parentInjector.get(M.a),this.parentInjector.get(L.f)),this._DropdownPopoverComponent_37_6=new O.a(this.parentInjector.get(B.a),new F.a(this._el_37),this.parentInjector.get(L.f)),this._appEl_37.initComponent(this._DropdownPopoverComponent_37_6,[],i),this._text_38=this.renderer.createText(null,"\n ",null),i.create(this._DropdownPopoverComponent_37_6,[],null),this._text_39=this.renderer.createText(this._el_35,"\n ",null),this._text_40=this.renderer.createText(this._el_30,"\n ",null),this._text_41=this.renderer.createText(this._el_28,"\n \n ",null),this._anchor_42=this.renderer.createTemplateAnchor(this._el_28,null),this._appEl_42=new l.a(42,28,this,this._anchor_42),this._TemplateRef_42_5=new q.a(this._appEl_42,s),this._NgIf_42_6=new k.a(this._appEl_42.vcRef,this._TemplateRef_42_5),this._text_43=this.renderer.createText(this._el_28,"\n \n ",null),this._el_44=this.renderer.createElement(this._el_28,"ion-row",null),this.renderer.setElementAttribute(this._el_44,"class","controls-container"),this._Row_44_3=new I.c,this._text_45=this.renderer.createText(this._el_44,"\n ",null),this._el_46=this.renderer.createElement(this._el_44,"ion-col",null),this.renderer.setElementAttribute(this._el_46,"center",""),this.renderer.setElementAttribute(this._el_46,"class","vpd-label-col"),this._Col_46_3=new I.a,this._text_47=this.renderer.createText(this._el_46,"\n Mode\n ",null),this._text_48=this.renderer.createText(this._el_44,"\n ",null),this._el_49=this.renderer.createElement(this._el_44,"ion-col",null),this.renderer.setElementAttribute(this._el_49,"center",""),this.renderer.setElementAttribute(this._el_49,"class","vpd-input-col no-button-col"),this.renderer.setElementAttribute(this._el_49,"text-center",""),this._Col_49_3=new I.a,this._text_50=this.renderer.createText(this._el_49,"\n ",null),this._el_51=this.renderer.createElement(this._el_49,"dropdown-popover",null),this.renderer.setElementAttribute(this._el_51,"tooltipPlacement","top"),this._appEl_51=new l.a(51,49,this,this._el_51);var r=j.b(this.viewUtils,this.injector(51),this._appEl_51);this._Tooltip_51_5=new S.a(this._appEl_51.vcRef,this.parentInjector.get(M.a),this.parentInjector.get(L.f)),this._DropdownPopoverComponent_51_6=new O.a(this.parentInjector.get(B.a),new F.a(this._el_51),this.parentInjector.get(L.f)),this._appEl_51.initComponent(this._DropdownPopoverComponent_51_6,[],r),this._text_52=this.renderer.createText(null,"\n ",null),r.create(this._DropdownPopoverComponent_51_6,[],null),this._text_53=this.renderer.createText(this._el_49,"\n ",null),this._text_54=this.renderer.createText(this._el_44,"\n ",null),this._text_55=this.renderer.createText(this._el_28,"\n \n ",null),this._text_56=this.renderer.createText(this._el_7,"\n ",null),this._text_57=this.renderer.createText(this._el_0,"\n \n ",null),this._anchor_58=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_58=new l.a(58,0,this,this._anchor_58),this._TemplateRef_58_5=new q.a(this._appEl_58,o),this._NgFor_58_6=new N.a(this._appEl_58.vcRef,this._TemplateRef_58_5,this.parentInjector.get(V.a),this.ref),this._text_59=this.renderer.createText(this._el_0,"\n ",null);var a=this.renderer.listen(this._el_4,"tpdChange",this.eventHandler(this._handle_tpdChange_4_0.bind(this)));this._expr_1=p.n,this._expr_2=p.n,this._expr_3=p.n;var _=this._LoggerXAxisComponent_4_4.tpdChange.subscribe(this.eventHandler(this._handle_tpdChange_4_0.bind(this))),h=this.renderer.listen(this._el_37,"onSelection",this.eventHandler(this._handle_onSelection_37_0.bind(this))),c=this.renderer.listen(this._el_37,"focusin",this.eventHandler(this._handle_focusin_37_1.bind(this))),u=this.renderer.listen(this._el_37,"mouseenter",this.eventHandler(this._handle_mouseenter_37_2.bind(this))),d=this.renderer.listen(this._el_37,"focusout",this.eventHandler(this._handle_focusout_37_3.bind(this))),f=this.renderer.listen(this._el_37,"mouseleave",this.eventHandler(this._handle_mouseleave_37_4.bind(this)));this._expr_9=p.n,this._expr_10=p.n,this._expr_11=p.n,this._expr_12=p.n,this._expr_13=p.n;var m=this._DropdownPopoverComponent_37_6.onSelection.subscribe(this.eventHandler(this._handle_onSelection_37_0.bind(this)));this._expr_14=p.n;var g=this.renderer.listen(this._el_51,"onSelection",this.eventHandler(this._handle_onSelection_51_0.bind(this))),v=this.renderer.listen(this._el_51,"focusin",this.eventHandler(this._handle_focusin_51_1.bind(this))),x=this.renderer.listen(this._el_51,"mouseenter",this.eventHandler(this._handle_mouseenter_51_2.bind(this))),y=this.renderer.listen(this._el_51,"focusout",this.eventHandler(this._handle_focusout_51_3.bind(this))),C=this.renderer.listen(this._el_51,"mouseleave",this.eventHandler(this._handle_mouseleave_51_4.bind(this)));this._expr_20=p.n,this._expr_21=p.n,this._expr_22=p.n,this._expr_23=p.n,this._expr_24=p.n;var E=this._DropdownPopoverComponent_51_6.onSelection.subscribe(this.eventHandler(this._handle_onSelection_51_0.bind(this)));return this._expr_25=p.n,this._pipe_unitFormat_0=new P.a,this._viewQuery_dropPopProfile_3.reset([this._DropdownPopoverComponent_37_6]),this.context.profileChild=this._viewQuery_dropPopProfile_3.first,this._viewQuery_dropPopMode_4.reset([this._DropdownPopoverComponent_51_6]),this.context.modeChild=this._viewQuery_dropPopMode_4.first,this._viewQuery_xaxis_5.reset([this._LoggerXAxisComponent_4_4]),this.context.xAxis=this._viewQuery_xaxis_5.first,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._el_11,this._text_12,this._el_13,this._text_14,this._text_15,this._el_16,this._text_17,this._el_18,this._text_19,this._text_20,this._text_21,this._el_22,this._text_23,this._text_24,this._text_25,this._text_26,this._text_27,this._el_28,this._text_29,this._el_30,this._text_31,this._el_32,this._text_33,this._text_34,this._el_35,this._text_36,this._el_37,this._text_38,this._text_39,this._text_40,this._text_41,this._anchor_42,this._text_43,this._el_44,this._text_45,this._el_46,this._text_47,this._text_48,this._el_49,this._text_50,this._el_51,this._text_52,this._text_53,this._text_54,this._text_55,this._text_56,this._text_57,this._anchor_58,this._text_59],[a,h,c,u,d,f,g,v,x,y,C],[_,m,E]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===A.a&&4===e?this._LoggerXAxisComponent_4_4:t===I.a&&13<=e&&e<=14?this._Col_13_3:t===I.a&&16<=e&&e<=20?this._Col_16_3:t===I.a&&22<=e&&e<=24?this._Col_22_3:t===I.c&&11<=e&&e<=25?this._Row_11_3:t===I.a&&32<=e&&e<=33?this._Col_32_3:t===S.a&&37<=e&&e<=38?this._Tooltip_37_5:t===O.a&&37<=e&&e<=38?this._DropdownPopoverComponent_37_6:t===I.a&&35<=e&&e<=39?this._Col_35_3:t===I.c&&30<=e&&e<=40?this._Row_30_3:t===q.b&&42===e?this._TemplateRef_42_5:t===k.a&&42===e?this._NgIf_42_6:t===I.a&&46<=e&&e<=47?this._Col_46_3:t===S.a&&51<=e&&e<=52?this._Tooltip_51_5:t===O.a&&51<=e&&e<=52?this._DropdownPopoverComponent_51_6:t===I.a&&49<=e&&e<=53?this._Col_49_3:t===I.c&&44<=e&&e<=54?this._Row_44_3:t===q.b&&58===e?this._TemplateRef_58_5:t===N.a&&58===e?this._NgFor_58_6:n},e.prototype.detectChangesInternal=function(t){var e=null,n=this.context.loggerPlotService.tpdArray;c.c(t,this._expr_1,n)&&(this._LoggerXAxisComponent_4_4.tpdArray=n,this._expr_1=n);var i=this.context.loggerPlotService.tpdIndex;c.c(t,this._expr_2,i)&&(this._LoggerXAxisComponent_4_4.tpdIndex=i,this._expr_2=i);var r=this.context.loggerPlotService.xAxis.base;c.c(t,this._expr_3,r)&&(this._LoggerXAxisComponent_4_4.tpdAbsolute=r,this._expr_3=r),e=null;var s=this.context.tooltipService.getTooltip("logProfile").message;c.c(t,this._expr_9,s)&&(this._Tooltip_37_5.content=s,null===e&&(e={}),e.content=new p.m(this._expr_9,s),this._expr_9=s);var o=!0;c.c(t,this._expr_10,o)&&(this._Tooltip_37_5.tooltipAnimation=o,null===e&&(e={}),e.tooltipAnimation=new p.m(this._expr_10,o),this._expr_10=o);var a="top";c.c(t,this._expr_11,a)&&(this._Tooltip_37_5.tooltipPlacement=a,null===e&&(e={}),e.tooltipPlacement=new p.m(this._expr_11,a),this._expr_11=a),null!==e&&this._Tooltip_37_5.ngOnChanges(e),e=null;var _=this.context.loggingProfiles;c.c(t,this._expr_12,_)&&(this._DropdownPopoverComponent_37_6.dataArray=_,null===e&&(e={}),e.dataArray=new p.m(this._expr_12,_),this._expr_12=_);var l=this.context.running;c.c(t,this._expr_13,l)&&(this._DropdownPopoverComponent_37_6.disabled=l,null===e&&(e={}),e.disabled=new p.m(this._expr_13,l),this._expr_13=l),null!==e&&this._DropdownPopoverComponent_37_6.ngOnChanges(e);var h="New Profile"===this.context.selectedLogProfile;c.c(t,this._expr_14,h)&&(this._NgIf_42_6.ngIf=h,this._expr_14=h),e=null;var u=this.context.tooltipService.getTooltip("logMode").message;c.c(t,this._expr_20,u)&&(this._Tooltip_51_5.content=u,null===e&&(e={}),e.content=new p.m(this._expr_20,u),this._expr_20=u);var d=!0;c.c(t,this._expr_21,d)&&(this._Tooltip_51_5.tooltipAnimation=d,null===e&&(e={}),e.tooltipAnimation=new p.m(this._expr_21,d),this._expr_21=d);var f="top";c.c(t,this._expr_22,f)&&(this._Tooltip_51_5.tooltipPlacement=f,null===e&&(e={}),e.tooltipPlacement=new p.m(this._expr_22,f),this._expr_22=f),null!==e&&this._Tooltip_51_5.ngOnChanges(e),e=null;var m=this.context.modes;c.c(t,this._expr_23,m)&&(this._DropdownPopoverComponent_51_6.dataArray=m,null===e&&(e={}),e.dataArray=new p.m(this._expr_23,m),this._expr_23=m);var g=this.context.running;c.c(t,this._expr_24,g)&&(this._DropdownPopoverComponent_51_6.disabled=g,null===e&&(e={}),e.disabled=new p.m(this._expr_24,g),this._expr_24=g),null!==e&&this._DropdownPopoverComponent_51_6.ngOnChanges(e),e=null;var v=this.context.analogChans;c.c(t,this._expr_25,v)&&(this._NgFor_58_6.ngForOf=v,null===e&&(e={}),e.ngForOf=new p.m(this._expr_25,v),this._expr_25=v),null!==e&&this._NgFor_58_6.ngOnChanges(e),t||this._NgFor_58_6.ngDoCheck(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t),t||(this._viewQuery_dropPopSamples_0.dirty&&(this._viewQuery_dropPopSamples_0.reset([this._appEl_58.mapNestedViews(ot,function(t){return[t._DropdownPopoverComponent_160_6]})]),this.context.samplesChildren=this._viewQuery_dropPopSamples_0,this._viewQuery_dropPopSamples_0.notifyOnChanges()),this._viewQuery_dropPopLocation_1.dirty&&(this._viewQuery_dropPopLocation_1.reset([this._appEl_58.mapNestedViews(ot,function(t){return[t._DropdownPopoverComponent_176_6]})]),this.context.locationChildren=this._viewQuery_dropPopLocation_1,this._viewQuery_dropPopLocation_1.notifyOnChanges()),this._viewQuery_dropPopLink_2.dirty&&(this._viewQuery_dropPopLink_2.reset([this._appEl_58.mapNestedViews(ot,function(t){return[t._DropdownPopoverComponent_35_6]})]),this.context.linkChildren=this._viewQuery_dropPopLink_2,this._viewQuery_dropPopLink_2.notifyOnChanges()),0===this.numberOfChecks&&this._DropdownPopoverComponent_37_6.ngAfterViewInit(),0===this.numberOfChecks&&this._DropdownPopoverComponent_51_6.ngAfterViewInit())},e.prototype.destroyInternal=function(){this._LoggerXAxisComponent_4_4.ngOnDestroy()},e.prototype._handle_tpdChange_4_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.xAxisValChange(t)!==!1;return e},e.prototype._handle_onSelection_37_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.profileSelect(t)!==!1;return e},e.prototype._handle_focusin_37_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_37_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_37_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_37_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_37_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_37_5.hide()!==!1;return e},e.prototype._handle_mouseleave_37_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_37_5.hide()!==!1;return e},e.prototype._handle_onSelection_51_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.modeSelect(t)!==!1;return e},e.prototype._handle_focusin_51_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_51_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_51_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_51_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_51_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_51_5.hide()!==!1;return e},e.prototype._handle_mouseleave_51_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_51_5.hide()!==!1;return e},e}(_.a),st=function(t){function e(n,i,r){t.call(this,e,it,u.a.EMBEDDED,n,i,r,p.b.CheckAlways)}return K(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-row",null),this.renderer.setElementAttribute(this._el_0,"class","controls-container"),this._Row_0_3=new I.c,this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_2,"center",""),this.renderer.setElementAttribute(this._el_2,"class","vpd-label-col"),this._Col_2_3=new I.a,this._text_3=this.renderer.createText(this._el_2,"\n Name\n ",null),this._text_4=this.renderer.createText(this._el_0,"\n ",null),this._el_5=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_5,"center",""),this.renderer.setElementAttribute(this._el_5,"class","vpd-val-col one-button-col"),this.renderer.setElementAttribute(this._el_5,"text-center",""),this._Col_5_3=new I.a,this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._el_7=this.renderer.createElement(this._el_5,"input",null),this.renderer.setElementAttribute(this._el_7,"class","custom-input"),this.renderer.setElementAttribute(this._el_7,"step","any"),this._DefaultValueAccessor_7_3=new H.a(this.renderer,new F.a(this._el_7)),this._NG_VALUE_ACCESSOR_7_4=[this._DefaultValueAccessor_7_3],this._NgModel_7_5=new U.a(null,null,null,this._NG_VALUE_ACCESSOR_7_4),this._NgControl_7_6=this._NgModel_7_5,this._NgControlStatus_7_7=new z.a(this._NgControl_7_6),this._text_8=this.renderer.createText(this._el_5,"\n ",null),this._text_9=this.renderer.createText(this._el_0,"\n ",null),this._el_10=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_10,"center",""),this.renderer.setElementAttribute(this._el_10,"class","vpd-button-col margin-right"),this.renderer.setElementAttribute(this._el_10,"text-left",""),this._Col_10_3=new I.a,this._text_11=this.renderer.createText(this._el_10,"\n ",null),this._el_12=this.renderer.createElement(this._el_10,"div",null),this.renderer.setElementAttribute(this._el_12,"style","display:inline-block"),this._text_13=this.renderer.createText(this._el_12,"\n ",null),this._el_14=this.renderer.createElement(this._el_12,"button",null),this.renderer.setElementAttribute(this._el_14,"class","img-button disable-hover"),this.renderer.setElementAttribute(this._el_14,"ion-button",""),this.renderer.setElementAttribute(this._el_14,"tooltipPlacement","left"),this._appEl_14=new l.a(14,12,this,this._el_14);var e=W.a(this.viewUtils,this.injector(14),this._appEl_14);this._Tooltip_14_5=new S.a(this._appEl_14.vcRef,this.parent.parentInjector.get(M.a),this.parent.parentInjector.get(L.f)),this._Button_14_6=new G.a(null,"",this.parent.parentInjector.get(Y.c),new F.a(this._el_14),this.renderer),this._appEl_14.initComponent(this._Button_14_6,[],e),this._text_15=this.renderer.createText(null,"\n ",null),this._el_16=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_16,"class","custom-image-button svg-size"),this.renderer.setElementAttribute(this._el_16,"src","assets/img/save.svg"),this._text_17=this.renderer.createText(null,"\n ",null),e.create(this._Button_14_6,[[].concat([this._text_15,this._el_16,this._text_17])],null),this._text_18=this.renderer.createText(this._el_12,"\n ",null),this._text_19=this.renderer.createText(this._el_10,"\n ",null),this._text_20=this.renderer.createText(this._el_0,"\n ",null);var n=this.renderer.listen(this._el_7,"ngModelChange",this.eventHandler(this._handle_ngModelChange_7_0.bind(this))),i=this.renderer.listen(this._el_7,"input",this.eventHandler(this._handle_input_7_1.bind(this))),r=this.renderer.listen(this._el_7,"blur",this.eventHandler(this._handle_blur_7_2.bind(this)));this._expr_3=p.n,this._expr_4=p.n;var s=this._NgModel_7_5.update.subscribe(this.eventHandler(this._handle_ngModelChange_7_0.bind(this)));this._expr_5=p.n,this._expr_6=p.n,this._expr_7=p.n,this._expr_8=p.n,this._expr_9=p.n,this._expr_10=p.n,this._expr_16=p.n;var o=this.renderer.listen(this._el_14,"tap",this.eventHandler(this._handle_tap_14_0.bind(this))),a=this.renderer.listen(this._el_14,"focusin",this.eventHandler(this._handle_focusin_14_1.bind(this))),_=this.renderer.listen(this._el_14,"mouseenter",this.eventHandler(this._handle_mouseenter_14_2.bind(this))),h=this.renderer.listen(this._el_14,"focusout",this.eventHandler(this._handle_focusout_14_3.bind(this))),c=this.renderer.listen(this._el_14,"mouseleave",this.eventHandler(this._handle_mouseleave_14_4.bind(this)));return this._expr_17=p.n,this._expr_18=p.n,this._expr_19=p.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._text_9,this._el_10,this._text_11,this._el_12,this._text_13,this._el_14,this._text_15,this._el_16,this._text_17,this._text_18,this._text_19,this._text_20],[n,i,r,o,a,_,h,c],[s]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===I.a&&2<=e&&e<=3?this._Col_2_3:t===H.a&&7===e?this._DefaultValueAccessor_7_3:t===$.a&&7===e?this._NG_VALUE_ACCESSOR_7_4:t===U.a&&7===e?this._NgModel_7_5:t===X.a&&7===e?this._NgControl_7_6:t===z.a&&7===e?this._NgControlStatus_7_7:t===I.a&&5<=e&&e<=8?this._Col_5_3:t===S.a&&14<=e&&e<=17?this._Tooltip_14_5:t===G.a&&14<=e&&e<=17?this._Button_14_6:t===I.a&&10<=e&&e<=19?this._Col_10_3:t===I.c&&0<=e&&e<=20?this._Row_0_3:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.context.running;c.c(t,this._expr_3,n)&&(this._NgModel_7_5.isDisabled=n,null===e&&(e={}),e.isDisabled=new p.m(this._expr_3,n),this._expr_3=n);var i=this.parent.context.profileNameScratch;c.c(t,this._expr_4,i)&&(this._NgModel_7_5.model=i,null===e&&(e={}),e.model=new p.m(this._expr_4,i),this._expr_4=i),null!==e&&this._NgModel_7_5.ngOnChanges(e),e=null;var r=this.parent.context.tooltipService.getTooltip("logSaveProfile").message;c.c(t,this._expr_17,r)&&(this._Tooltip_14_5.content=r,null===e&&(e={}),e.content=new p.m(this._expr_17,r),this._expr_17=r);var s=!0;c.c(t,this._expr_18,s)&&(this._Tooltip_14_5.tooltipAnimation=s,null===e&&(e={}),e.tooltipAnimation=new p.m(this._expr_18,s),this._expr_18=s);var o="left";c.c(t,this._expr_19,o)&&(this._Tooltip_14_5.tooltipPlacement=o,null===e&&(e={}),e.tooltipPlacement=new p.m(this._expr_19,o),this._expr_19=o),null!==e&&this._Tooltip_14_5.ngOnChanges(e),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_14_6.ngAfterContentInit();var a=this._NgControlStatus_7_7.ngClassUntouched;c.c(t,this._expr_5,a)&&(this.renderer.setElementClass(this._el_7,"ng-untouched",a),this._expr_5=a);var _=this._NgControlStatus_7_7.ngClassTouched;c.c(t,this._expr_6,_)&&(this.renderer.setElementClass(this._el_7,"ng-touched",_),this._expr_6=_);var l=this._NgControlStatus_7_7.ngClassPristine;c.c(t,this._expr_7,l)&&(this.renderer.setElementClass(this._el_7,"ng-pristine",l),this._expr_7=l);var h=this._NgControlStatus_7_7.ngClassDirty;c.c(t,this._expr_8,h)&&(this.renderer.setElementClass(this._el_7,"ng-dirty",h),this._expr_8=h);var u=this._NgControlStatus_7_7.ngClassValid;c.c(t,this._expr_9,u)&&(this.renderer.setElementClass(this._el_7,"ng-valid",u),this._expr_9=u);var d=this._NgControlStatus_7_7.ngClassInvalid;c.c(t,this._expr_10,d)&&(this.renderer.setElementClass(this._el_7,"ng-invalid",d),this._expr_10=d);var f=this.parent.context.running;c.c(t,this._expr_16,f)&&(this.renderer.setElementProperty(this._el_14,"disabled",f),this._expr_16=f),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_7_5.ngOnDestroy()},e.prototype._handle_ngModelChange_7_0=function(t){ this.markPathToRootAsCheckOnce();var e=(this.parent.context.profileNameScratch=t)!==!1;return e},e.prototype._handle_input_7_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_7_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_7_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_7_3.onTouched()!==!1;return e},e.prototype._handle_tap_14_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.saveAndSetProfile()!==!1;return e},e.prototype._handle_focusin_14_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_14_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_14_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_14_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_14_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_14_5.hide()!==!1;return e},e.prototype._handle_mouseleave_14_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_14_5.hide()!==!1;return e},e}(_.a),ot=function(t){function e(n,i,r){t.call(this,e,it,u.a.EMBEDDED,n,i,r,p.b.CheckAlways)}return K(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","set-top-border"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_2,"class","header-bar-side"),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-row",null),this._Row_4_3=new I.c,this._text_5=this.renderer.createText(this._el_4,"\n ",null),this._el_6=this.renderer.createElement(this._el_4,"ion-col",null),this.renderer.setElementAttribute(this._el_6,"center",""),this.renderer.setElementAttribute(this._el_6,"class","header-side-col"),this.renderer.setElementAttribute(this._el_6,"text-left",""),this._Col_6_3=new I.a,this._text_7=this.renderer.createText(this._el_6,"\n ",null),this._el_8=this.renderer.createElement(this._el_6,"button",null),this.renderer.setElementAttribute(this._el_8,"class","dropdown-image-button"),this.renderer.setElementAttribute(this._el_8,"clear",""),this.renderer.setElementAttribute(this._el_8,"ion-button",""),this._appEl_8=new l.a(8,6,this,this._el_8);var e=W.a(this.viewUtils,this.injector(8),this._appEl_8);this._Button_8_4=new G.a(null,"",this.parent.parentInjector.get(Y.c),new F.a(this._el_8),this.renderer),this._appEl_8.initComponent(this._Button_8_4,[],e),this._text_9=this.renderer.createText(null,"\n ",null),this._el_10=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_10,"class","custom-dropdown-img"),this.renderer.setElementAttribute(this._el_10,"src","assets/img/collapse-arrow-right.svg"),this._NgClass_10_3=new J.a(this.parent.parentInjector.get(V.a),this.parent.parentInjector.get(Z.a),new F.a(this._el_10),this.renderer),this._text_11=this.renderer.createText(null,"\n ",null),e.create(this._Button_8_4,[[].concat([this._text_9,this._el_10,this._text_11])],null),this._text_12=this.renderer.createText(this._el_6,"\n ",null),this._text_13=this.renderer.createText(this._el_4,"\n ",null),this._el_14=this.renderer.createElement(this._el_4,"ion-col",null),this.renderer.setElementAttribute(this._el_14,"center",""),this.renderer.setElementAttribute(this._el_14,"text-center",""),this._Col_14_3=new I.a,this._text_15=this.renderer.createText(this._el_14,"\n ",null),this._el_16=this.renderer.createElement(this._el_14,"div",null),this.renderer.setElementAttribute(this._el_16,"class","instrument-header"),this._text_17=this.renderer.createText(this._el_16,"",null),this._text_18=this.renderer.createText(this._el_14,"\n ",null),this._text_19=this.renderer.createText(this._el_4,"\n ",null),this._el_20=this.renderer.createElement(this._el_4,"ion-col",null),this.renderer.setElementAttribute(this._el_20,"center",""),this.renderer.setElementAttribute(this._el_20,"class","header-side-col"),this.renderer.setElementAttribute(this._el_20,"text-right",""),this._Col_20_3=new I.a,this._text_21=this.renderer.createText(this._el_20,"\n ",null),this._text_22=this.renderer.createText(this._el_4,"\n ",null),this._text_23=this.renderer.createText(this._el_2,"\n \n ",null),this._text_24=this.renderer.createText(this._el_0,"\n ",null),this._text_25=this.renderer.createText(this._el_0,"\n ",null),this._el_26=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_26,"class","button-info-container"),this._NgClass_26_3=new J.a(this.parent.parentInjector.get(V.a),this.parent.parentInjector.get(Z.a),new F.a(this._el_26),this.renderer),this._text_27=this.renderer.createText(this._el_26,"\n \n ",null),this._el_28=this.renderer.createElement(this._el_26,"ion-row",null),this.renderer.setElementAttribute(this._el_28,"class","controls-container"),this._Row_28_3=new I.c,this._text_29=this.renderer.createText(this._el_28,"\n ",null),this._el_30=this.renderer.createElement(this._el_28,"ion-col",null),this.renderer.setElementAttribute(this._el_30,"center",""),this.renderer.setElementAttribute(this._el_30,"class","vpd-label-col"),this._Col_30_3=new I.a,this._text_31=this.renderer.createText(this._el_30,"\n Link\n ",null),this._text_32=this.renderer.createText(this._el_28,"\n ",null),this._el_33=this.renderer.createElement(this._el_28,"ion-col",null),this.renderer.setElementAttribute(this._el_33,"center",""),this.renderer.setElementAttribute(this._el_33,"class","vpd-input-col no-button-col"),this.renderer.setElementAttribute(this._el_33,"text-center",""),this._Col_33_3=new I.a,this._text_34=this.renderer.createText(this._el_33,"\n ",null),this._el_35=this.renderer.createElement(this._el_33,"dropdown-popover",null),this.renderer.setElementAttribute(this._el_35,"tooltipPlacement","top"),this._appEl_35=new l.a(35,33,this,this._el_35);var n=j.b(this.viewUtils,this.injector(35),this._appEl_35);this._Tooltip_35_5=new S.a(this._appEl_35.vcRef,this.parent.parentInjector.get(M.a),this.parent.parentInjector.get(L.f)),this._DropdownPopoverComponent_35_6=new O.a(this.parent.parentInjector.get(B.a),new F.a(this._el_35),this.parent.parentInjector.get(L.f)),this._appEl_35.initComponent(this._DropdownPopoverComponent_35_6,[],n),this._text_36=this.renderer.createText(null,"\n ",null),n.create(this._DropdownPopoverComponent_35_6,[],null),this._text_37=this.renderer.createText(this._el_33,"\n ",null),this._text_38=this.renderer.createText(this._el_28,"\n ",null),this._text_39=this.renderer.createText(this._el_26,"\n \n ",null),this._el_40=this.renderer.createElement(this._el_26,"ion-row",null),this.renderer.setElementAttribute(this._el_40,"class","controls-container"),this._Row_40_3=new I.c,this._text_41=this.renderer.createText(this._el_40,"\n ",null),this._el_42=this.renderer.createElement(this._el_40,"ion-col",null),this.renderer.setElementAttribute(this._el_42,"center",""),this.renderer.setElementAttribute(this._el_42,"class","vpd-label-col"),this._Col_42_3=new I.a,this._text_43=this.renderer.createText(this._el_42,"\n State\n ",null),this._text_44=this.renderer.createText(this._el_40,"\n ",null),this._el_45=this.renderer.createElement(this._el_40,"ion-col",null),this.renderer.setElementAttribute(this._el_45,"center",""),this.renderer.setElementAttribute(this._el_45,"class","vpd-input-col no-button-col"),this.renderer.setElementAttribute(this._el_45,"text-center",""),this._Col_45_3=new I.a,this._text_46=this.renderer.createText(this._el_45,"\n ",null),this._el_47=this.renderer.createElement(this._el_45,"input",null),this.renderer.setElementAttribute(this._el_47,"class","custom-input"),this.renderer.setElementAttribute(this._el_47,"disabled","true"),this.renderer.setElementAttribute(this._el_47,"step","any"),this.renderer.setElementAttribute(this._el_47,"tooltipPlacement","top"),this._appEl_47=new l.a(47,45,this,this._el_47),this._DefaultValueAccessor_47_5=new H.a(this.renderer,new F.a(this._el_47)),this._NG_VALUE_ACCESSOR_47_6=[this._DefaultValueAccessor_47_5],this._NgModel_47_7=new U.a(null,null,null,this._NG_VALUE_ACCESSOR_47_6),this._NgControl_47_8=this._NgModel_47_7,this._NgControlStatus_47_9=new z.a(this._NgControl_47_8),this._Tooltip_47_10=new S.a(this._appEl_47.vcRef,this.parent.parentInjector.get(M.a),this.parent.parentInjector.get(L.f)),this._text_48=this.renderer.createText(this._el_45,"\n ",null),this._text_49=this.renderer.createText(this._el_40,"\n ",null),this._text_50=this.renderer.createText(this._el_26,"\n \n ",null),this._el_51=this.renderer.createElement(this._el_26,"ion-row",null),this.renderer.setElementAttribute(this._el_51,"class","controls-container"),this._Row_51_3=new I.c,this._text_52=this.renderer.createText(this._el_51,"\n ",null),this._el_53=this.renderer.createElement(this._el_51,"ion-col",null),this.renderer.setElementAttribute(this._el_53,"center",""),this.renderer.setElementAttribute(this._el_53,"class","vpd-label-col"),this._Col_53_3=new I.a,this._text_54=this.renderer.createText(this._el_53,"\n Volts/\n ",null),this._text_55=this.renderer.createText(this._el_51,"\n ",null),this._el_56=this.renderer.createElement(this._el_51,"ion-col",null),this.renderer.setElementAttribute(this._el_56,"center",""),this.renderer.setElementAttribute(this._el_56,"class","vpd-button-col"),this.renderer.setElementAttribute(this._el_56,"text-right",""),this._Col_56_3=new I.a,this._text_57=this.renderer.createText(this._el_56,"\n ",null),this._el_58=this.renderer.createElement(this._el_56,"div",null),this.renderer.setElementAttribute(this._el_58,"style","display:inline-block"),this._text_59=this.renderer.createText(this._el_58,"\n ",null),this._el_60=this.renderer.createElement(this._el_58,"button",null),this.renderer.setElementAttribute(this._el_60,"class","img-button disable-hover"),this.renderer.setElementAttribute(this._el_60,"ion-button",""),this._appEl_60=new l.a(60,58,this,this._el_60);var i=W.a(this.viewUtils,this.injector(60),this._appEl_60);this._Button_60_4=new G.a(null,"",this.parent.parentInjector.get(Y.c),new F.a(this._el_60),this.renderer),this._appEl_60.initComponent(this._Button_60_4,[],i),this._text_61=this.renderer.createText(null,"\n ",null),this._el_62=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_62,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_62,"src","assets/img/zoom-out.svg"),this._text_63=this.renderer.createText(null,"\n ",null),i.create(this._Button_60_4,[[].concat([this._text_61,this._el_62,this._text_63])],null),this._text_64=this.renderer.createText(this._el_58,"\n ",null),this._text_65=this.renderer.createText(this._el_56,"\n ",null),this._text_66=this.renderer.createText(this._el_51,"\n ",null),this._el_67=this.renderer.createElement(this._el_51,"ion-col",null),this.renderer.setElementAttribute(this._el_67,"center",""),this.renderer.setElementAttribute(this._el_67,"class","vpd-val-col"),this.renderer.setElementAttribute(this._el_67,"text-center",""),this._Col_67_3=new I.a,this._text_68=this.renderer.createText(this._el_67,"\n ",null),this._el_69=this.renderer.createElement(this._el_67,"input",null),this.renderer.setElementAttribute(this._el_69,"class","custom-input highlight-input"),this.renderer.setElementAttribute(this._el_69,"formatInput",""),this.renderer.setElementAttribute(this._el_69,"step","any"),this.renderer.setElementAttribute(this._el_69,"tooltipPlacement","top"),this._appEl_69=new l.a(69,67,this,this._el_69),this._DefaultValueAccessor_69_5=new H.a(this.renderer,new F.a(this._el_69)),this._NG_VALUE_ACCESSOR_69_6=[this._DefaultValueAccessor_69_5],this._NgModel_69_7=new U.a(null,null,null,this._NG_VALUE_ACCESSOR_69_6),this._NgControl_69_8=this._NgModel_69_7,this._NgControlStatus_69_9=new z.a(this._NgControl_69_8),this._Tooltip_69_10=new S.a(this._appEl_69.vcRef,this.parent.parentInjector.get(M.a),this.parent.parentInjector.get(L.f)),this._FormatInputDirective_69_11=new Q.a(this.parent.parentInjector.get(g.a)),this._text_70=this.renderer.createText(this._el_67,"\n ",null),this._text_71=this.renderer.createText(this._el_51,"\n ",null),this._el_72=this.renderer.createElement(this._el_51,"ion-col",null),this.renderer.setElementAttribute(this._el_72,"center",""),this.renderer.setElementAttribute(this._el_72,"class","vpd-button-col margin-right"),this.renderer.setElementAttribute(this._el_72,"text-left",""),this._Col_72_3=new I.a,this._text_73=this.renderer.createText(this._el_72,"\n ",null),this._el_74=this.renderer.createElement(this._el_72,"div",null),this.renderer.setElementAttribute(this._el_74,"style","display:inline-block"),this._text_75=this.renderer.createText(this._el_74,"\n ",null),this._el_76=this.renderer.createElement(this._el_74,"button",null),this.renderer.setElementAttribute(this._el_76,"class","img-button disable-hover"),this.renderer.setElementAttribute(this._el_76,"ion-button",""),this._appEl_76=new l.a(76,74,this,this._el_76);var r=W.a(this.viewUtils,this.injector(76),this._appEl_76);this._Button_76_4=new G.a(null,"",this.parent.parentInjector.get(Y.c),new F.a(this._el_76),this.renderer),this._appEl_76.initComponent(this._Button_76_4,[],r),this._text_77=this.renderer.createText(null,"\n ",null),this._el_78=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_78,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_78,"src","assets/img/zoom-in.svg"),this._text_79=this.renderer.createText(null,"\n ",null),r.create(this._Button_76_4,[[].concat([this._text_77,this._el_78,this._text_79])],null),this._text_80=this.renderer.createText(this._el_74,"\n ",null),this._text_81=this.renderer.createText(this._el_72,"\n ",null),this._text_82=this.renderer.createText(this._el_51,"\n ",null),this._text_83=this.renderer.createText(this._el_26,"\n \n ",null),this._el_84=this.renderer.createElement(this._el_26,"ion-row",null),this.renderer.setElementAttribute(this._el_84,"class","controls-container"),this._Row_84_3=new I.c,this._text_85=this.renderer.createText(this._el_84,"\n ",null),this._el_86=this.renderer.createElement(this._el_84,"ion-col",null),this.renderer.setElementAttribute(this._el_86,"center",""),this.renderer.setElementAttribute(this._el_86,"class","vpd-label-col"),this._Col_86_3=new I.a,this._text_87=this.renderer.createText(this._el_86,"\n Offset\n ",null),this._text_88=this.renderer.createText(this._el_84,"\n ",null),this._el_89=this.renderer.createElement(this._el_84,"ion-col",null),this.renderer.setElementAttribute(this._el_89,"center",""),this.renderer.setElementAttribute(this._el_89,"class","vpd-button-col"),this.renderer.setElementAttribute(this._el_89,"text-right",""),this._Col_89_3=new I.a,this._text_90=this.renderer.createText(this._el_89,"\n ",null),this._el_91=this.renderer.createElement(this._el_89,"div",null),this.renderer.setElementAttribute(this._el_91,"style","display:inline-block"),this._text_92=this.renderer.createText(this._el_91,"\n ",null),this._el_93=this.renderer.createElement(this._el_91,"button",null),this.renderer.setElementAttribute(this._el_93,"class","icon-only-button-side disable-hover"),this.renderer.setElementAttribute(this._el_93,"ion-button",""),this._appEl_93=new l.a(93,91,this,this._el_93);var s=W.a(this.viewUtils,this.injector(93),this._appEl_93);this._Button_93_4=new G.a(null,"",this.parent.parentInjector.get(Y.c),new F.a(this._el_93),this.renderer),this._appEl_93.initComponent(this._Button_93_4,[],s),this._text_94=this.renderer.createText(null,"\n ",null),this._el_95=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_95,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_95,"src","assets/img/remove.svg"),this._text_96=this.renderer.createText(null,"\n ",null),s.create(this._Button_93_4,[[].concat([this._text_94,this._el_95,this._text_96])],null),this._text_97=this.renderer.createText(this._el_91,"\n ",null),this._text_98=this.renderer.createText(this._el_89,"\n ",null),this._text_99=this.renderer.createText(this._el_84,"\n ",null),this._el_100=this.renderer.createElement(this._el_84,"ion-col",null),this.renderer.setElementAttribute(this._el_100,"center",""),this.renderer.setElementAttribute(this._el_100,"class","vpd-val-col"),this.renderer.setElementAttribute(this._el_100,"text-center",""),this._Col_100_3=new I.a,this._text_101=this.renderer.createText(this._el_100,"\n ",null),this._el_102=this.renderer.createElement(this._el_100,"input",null),this.renderer.setElementAttribute(this._el_102,"class","custom-input"),this.renderer.setElementAttribute(this._el_102,"formatInput",""),this.renderer.setElementAttribute(this._el_102,"step","any"),this.renderer.setElementAttribute(this._el_102,"tooltipPlacement","top"),this._appEl_102=new l.a(102,100,this,this._el_102),this._DefaultValueAccessor_102_5=new H.a(this.renderer,new F.a(this._el_102)),this._NG_VALUE_ACCESSOR_102_6=[this._DefaultValueAccessor_102_5],this._NgModel_102_7=new U.a(null,null,null,this._NG_VALUE_ACCESSOR_102_6),this._NgControl_102_8=this._NgModel_102_7,this._NgControlStatus_102_9=new z.a(this._NgControl_102_8),this._Tooltip_102_10=new S.a(this._appEl_102.vcRef,this.parent.parentInjector.get(M.a),this.parent.parentInjector.get(L.f)),this._FormatInputDirective_102_11=new Q.a(this.parent.parentInjector.get(g.a)),this._text_103=this.renderer.createText(this._el_100,"\n ",null),this._text_104=this.renderer.createText(this._el_84,"\n ",null),this._el_105=this.renderer.createElement(this._el_84,"ion-col",null),this.renderer.setElementAttribute(this._el_105,"center",""),this.renderer.setElementAttribute(this._el_105,"class","vpd-button-col margin-right"),this.renderer.setElementAttribute(this._el_105,"text-left",""),this._Col_105_3=new I.a,this._text_106=this.renderer.createText(this._el_105,"\n ",null),this._el_107=this.renderer.createElement(this._el_105,"div",null),this.renderer.setElementAttribute(this._el_107,"style","display:inline-block"),this._text_108=this.renderer.createText(this._el_107,"\n ",null),this._el_109=this.renderer.createElement(this._el_107,"button",null),this.renderer.setElementAttribute(this._el_109,"class","icon-only-button-side disable-hover"),this.renderer.setElementAttribute(this._el_109,"ion-button",""),this._appEl_109=new l.a(109,107,this,this._el_109);var o=W.a(this.viewUtils,this.injector(109),this._appEl_109);this._Button_109_4=new G.a(null,"",this.parent.parentInjector.get(Y.c),new F.a(this._el_109),this.renderer),this._appEl_109.initComponent(this._Button_109_4,[],o),this._text_110=this.renderer.createText(null,"\n ",null),this._el_111=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_111,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_111,"src","assets/img/add.svg"),this._text_112=this.renderer.createText(null,"\n ",null),o.create(this._Button_109_4,[[].concat([this._text_110,this._el_111,this._text_112])],null),this._text_113=this.renderer.createText(this._el_107,"\n ",null),this._text_114=this.renderer.createText(this._el_105,"\n ",null),this._text_115=this.renderer.createText(this._el_84,"\n ",null),this._text_116=this.renderer.createText(this._el_26,"\n \n ",null),this._el_117=this.renderer.createElement(this._el_26,"div",null),this._NgClass_117_3=new J.a(this.parent.parentInjector.get(V.a),this.parent.parentInjector.get(Z.a),new F.a(this._el_117),this.renderer),this._text_118=this.renderer.createText(this._el_117,"\n ",null),this._el_119=this.renderer.createElement(this._el_117,"ion-row",null),this.renderer.setElementAttribute(this._el_119,"class","controls-container"),this._Row_119_3=new I.c,this._text_120=this.renderer.createText(this._el_119,"\n ",null),this._el_121=this.renderer.createElement(this._el_119,"ion-col",null),this.renderer.setElementAttribute(this._el_121,"center",""),this.renderer.setElementAttribute(this._el_121,"class","vpd-label-col"),this._Col_121_3=new I.a,this._text_122=this.renderer.createText(this._el_121,"\n Samples/\n ",null),this._text_123=this.renderer.createText(this._el_119,"\n ",null),this._el_124=this.renderer.createElement(this._el_119,"ion-col",null),this.renderer.setElementAttribute(this._el_124,"center",""),this.renderer.setElementAttribute(this._el_124,"class","vpd-button-col"),this.renderer.setElementAttribute(this._el_124,"text-right",""),this._Col_124_3=new I.a,this._text_125=this.renderer.createText(this._el_124,"\n ",null),this._el_126=this.renderer.createElement(this._el_124,"div",null),this.renderer.setElementAttribute(this._el_126,"style","display:inline-block"),this._text_127=this.renderer.createText(this._el_126,"\n ",null),this._el_128=this.renderer.createElement(this._el_126,"button",null),this.renderer.setElementAttribute(this._el_128,"class","icon-only-button-side disable-hover"),this.renderer.setElementAttribute(this._el_128,"ion-button",""),this._appEl_128=new l.a(128,126,this,this._el_128);var _=W.a(this.viewUtils,this.injector(128),this._appEl_128);this._Button_128_4=new G.a(null,"",this.parent.parentInjector.get(Y.c),new F.a(this._el_128),this.renderer),this._appEl_128.initComponent(this._Button_128_4,[],_),this._text_129=this.renderer.createText(null,"\n ",null),this._el_130=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_130,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_130,"src","assets/img/remove.svg"),this._text_131=this.renderer.createText(null,"\n ",null),_.create(this._Button_128_4,[[].concat([this._text_129,this._el_130,this._text_131])],null),this._text_132=this.renderer.createText(this._el_126,"\n ",null),this._text_133=this.renderer.createText(this._el_124,"\n ",null),this._text_134=this.renderer.createText(this._el_119,"\n ",null),this._el_135=this.renderer.createElement(this._el_119,"ion-col",null),this.renderer.setElementAttribute(this._el_135,"center",""),this.renderer.setElementAttribute(this._el_135,"class","vpd-val-col"),this.renderer.setElementAttribute(this._el_135,"text-center",""),this._Col_135_3=new I.a,this._text_136=this.renderer.createText(this._el_135,"\n ",null),this._el_137=this.renderer.createElement(this._el_135,"input",null),this.renderer.setElementAttribute(this._el_137,"class","custom-input"),this.renderer.setElementAttribute(this._el_137,"formatInput",""),this.renderer.setElementAttribute(this._el_137,"step","any"),this.renderer.setElementAttribute(this._el_137,"tooltipPlacement","top"),this._appEl_137=new l.a(137,135,this,this._el_137),this._DefaultValueAccessor_137_5=new H.a(this.renderer,new F.a(this._el_137)),this._NG_VALUE_ACCESSOR_137_6=[this._DefaultValueAccessor_137_5],this._NgModel_137_7=new U.a(null,null,null,this._NG_VALUE_ACCESSOR_137_6),this._NgControl_137_8=this._NgModel_137_7,this._NgControlStatus_137_9=new z.a(this._NgControl_137_8),this._Tooltip_137_10=new S.a(this._appEl_137.vcRef,this.parent.parentInjector.get(M.a),this.parent.parentInjector.get(L.f)),this._FormatInputDirective_137_11=new Q.a(this.parent.parentInjector.get(g.a)),this._text_138=this.renderer.createText(this._el_135,"\n ",null),this._text_139=this.renderer.createText(this._el_119,"\n ",null),this._el_140=this.renderer.createElement(this._el_119,"ion-col",null),this.renderer.setElementAttribute(this._el_140,"center",""),this.renderer.setElementAttribute(this._el_140,"class","vpd-button-col margin-right"),this.renderer.setElementAttribute(this._el_140,"text-left",""),this._Col_140_3=new I.a,this._text_141=this.renderer.createText(this._el_140,"\n ",null),this._el_142=this.renderer.createElement(this._el_140,"div",null),this.renderer.setElementAttribute(this._el_142,"style","display:inline-block"),this._text_143=this.renderer.createText(this._el_142,"\n ",null),this._el_144=this.renderer.createElement(this._el_142,"button",null),this.renderer.setElementAttribute(this._el_144,"class","icon-only-button-side disable-hover"),this.renderer.setElementAttribute(this._el_144,"ion-button",""),this._appEl_144=new l.a(144,142,this,this._el_144);var h=W.a(this.viewUtils,this.injector(144),this._appEl_144);this._Button_144_4=new G.a(null,"",this.parent.parentInjector.get(Y.c),new F.a(this._el_144),this.renderer),this._appEl_144.initComponent(this._Button_144_4,[],h),this._text_145=this.renderer.createText(null,"\n ",null),this._el_146=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_146,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_146,"src","assets/img/add.svg"),this._text_147=this.renderer.createText(null,"\n ",null),h.create(this._Button_144_4,[[].concat([this._text_145,this._el_146,this._text_147])],null),this._text_148=this.renderer.createText(this._el_142,"\n ",null),this._text_149=this.renderer.createText(this._el_140,"\n ",null),this._text_150=this.renderer.createText(this._el_119,"\n ",null),this._text_151=this.renderer.createText(this._el_117,"\n \n ",null),this._el_152=this.renderer.createElement(this._el_117,"ion-row",null),this.renderer.setElementAttribute(this._el_152,"class","controls-container"),this._Row_152_3=new I.c,this._text_153=this.renderer.createText(this._el_152,"\n ",null),this._el_154=this.renderer.createElement(this._el_152,"ion-col",null),this.renderer.setElementAttribute(this._el_154,"center",""),this.renderer.setElementAttribute(this._el_154,"class","vpd-label-col"),this._Col_154_3=new I.a,this._text_155=this.renderer.createText(this._el_154,"\n Sampling\n ",null),this._text_156=this.renderer.createText(this._el_152,"\n ",null),this._text_157=this.renderer.createText(this._el_152,"\n ",null),this._el_158=this.renderer.createElement(this._el_152,"ion-col",null),this.renderer.setElementAttribute(this._el_158,"center",""),this.renderer.setElementAttribute(this._el_158,"class","vpd-input-col no-button-col"),this.renderer.setElementAttribute(this._el_158,"text-center",""),this._Col_158_3=new I.a,this._text_159=this.renderer.createText(this._el_158,"\n ",null),this._el_160=this.renderer.createElement(this._el_158,"dropdown-popover",null),this.renderer.setElementAttribute(this._el_160,"tooltipPlacement","top"),this._appEl_160=new l.a(160,158,this,this._el_160);var u=j.b(this.viewUtils,this.injector(160),this._appEl_160);this._Tooltip_160_5=new S.a(this._appEl_160.vcRef,this.parent.parentInjector.get(M.a),this.parent.parentInjector.get(L.f)),this._DropdownPopoverComponent_160_6=new O.a(this.parent.parentInjector.get(B.a),new F.a(this._el_160),this.parent.parentInjector.get(L.f)),this._appEl_160.initComponent(this._DropdownPopoverComponent_160_6,[],u),this._text_161=this.renderer.createText(null,"\n ",null),u.create(this._DropdownPopoverComponent_160_6,[],null),this._text_162=this.renderer.createText(this._el_158,"\n ",null),this._text_163=this.renderer.createText(this._el_152,"\n ",null),this._text_164=this.renderer.createText(this._el_117,"\n \n ",null),this._anchor_165=this.renderer.createTemplateAnchor(this._el_117,null),this._appEl_165=new l.a(165,117,this,this._anchor_165),this._TemplateRef_165_5=new q.a(this._appEl_165,a),this._NgIf_165_6=new k.a(this._appEl_165.vcRef,this._TemplateRef_165_5),this._text_166=this.renderer.createText(this._el_117,"\n ",null),this._text_167=this.renderer.createText(this._el_117,"\n \n ",null),this._text_168=this.renderer.createText(this._el_117,"\n \n ",null),this._el_169=this.renderer.createElement(this._el_117,"ion-row",null),this.renderer.setElementAttribute(this._el_169,"class","controls-container"),this._NgClass_169_3=new J.a(this.parent.parentInjector.get(V.a),this.parent.parentInjector.get(Z.a),new F.a(this._el_169),this.renderer),this._Row_169_4=new I.c,this._text_170=this.renderer.createText(this._el_169,"\n ",null),this._el_171=this.renderer.createElement(this._el_169,"ion-col",null),this.renderer.setElementAttribute(this._el_171,"center",""),this.renderer.setElementAttribute(this._el_171,"class","vpd-label-col"),this._Col_171_3=new I.a,this._text_172=this.renderer.createText(this._el_171,"\n Location\n ",null),this._text_173=this.renderer.createText(this._el_169,"\n ",null),this._el_174=this.renderer.createElement(this._el_169,"ion-col",null),this.renderer.setElementAttribute(this._el_174,"center",""),this.renderer.setElementAttribute(this._el_174,"class","vpd-input-col no-button-col"),this.renderer.setElementAttribute(this._el_174,"text-center",""),this._Col_174_3=new I.a,this._text_175=this.renderer.createText(this._el_174,"\n ",null),this._el_176=this.renderer.createElement(this._el_174,"dropdown-popover",null),this.renderer.setElementAttribute(this._el_176,"tooltipPlacement","top"),this._appEl_176=new l.a(176,174,this,this._el_176);var d=j.b(this.viewUtils,this.injector(176),this._appEl_176);this._Tooltip_176_5=new S.a(this._appEl_176.vcRef,this.parent.parentInjector.get(M.a),this.parent.parentInjector.get(L.f)),this._DropdownPopoverComponent_176_6=new O.a(this.parent.parentInjector.get(B.a),new F.a(this._el_176),this.parent.parentInjector.get(L.f)),this._appEl_176.initComponent(this._DropdownPopoverComponent_176_6,[],d),this._text_177=this.renderer.createText(null,"\n ",null),d.create(this._DropdownPopoverComponent_176_6,[],null),this._text_178=this.renderer.createText(this._el_174,"\n ",null), this._text_179=this.renderer.createText(this._el_169,"\n ",null),this._text_180=this.renderer.createText(this._el_117,"\n \n ",null),this._text_181=this.renderer.createText(this._el_26,"\n \n ",null),this._el_182=this.renderer.createElement(this._el_26,"ion-row",null),this.renderer.setElementAttribute(this._el_182,"class","controls-container"),this._NgClass_182_3=new J.a(this.parent.parentInjector.get(V.a),this.parent.parentInjector.get(Z.a),new F.a(this._el_182),this.renderer),this._Row_182_4=new I.c,this._text_183=this.renderer.createText(this._el_182,"\n ",null),this._el_184=this.renderer.createElement(this._el_182,"ion-col",null),this.renderer.setElementAttribute(this._el_184,"center",""),this.renderer.setElementAttribute(this._el_184,"class","vpd-label-col"),this._Col_184_3=new I.a,this._text_185=this.renderer.createText(this._el_184,"",null),this._text_186=this.renderer.createText(this._el_182,"\n ",null),this._el_187=this.renderer.createElement(this._el_182,"ion-col",null),this.renderer.setElementAttribute(this._el_187,"center",""),this.renderer.setElementAttribute(this._el_187,"class","vpd-input-col no-button-col"),this.renderer.setElementAttribute(this._el_187,"text-center",""),this._Col_187_3=new I.a,this._text_188=this.renderer.createText(this._el_187,"\n ",null),this._el_189=this.renderer.createElement(this._el_187,"input",null),this.renderer.setElementAttribute(this._el_189,"class","custom-input"),this.renderer.setElementAttribute(this._el_189,"placeholder","logData1"),this.renderer.setElementAttribute(this._el_189,"step","any"),this.renderer.setElementAttribute(this._el_189,"tooltipPlacement","top"),this._appEl_189=new l.a(189,187,this,this._el_189),this._DefaultValueAccessor_189_5=new H.a(this.renderer,new F.a(this._el_189)),this._NG_VALUE_ACCESSOR_189_6=[this._DefaultValueAccessor_189_5],this._NgModel_189_7=new U.a(null,null,null,this._NG_VALUE_ACCESSOR_189_6),this._NgControl_189_8=this._NgModel_189_7,this._NgControlStatus_189_9=new z.a(this._NgControl_189_8),this._Tooltip_189_10=new S.a(this._appEl_189.vcRef,this.parent.parentInjector.get(M.a),this.parent.parentInjector.get(L.f)),this._text_190=this.renderer.createText(this._el_187,"\n ",null),this._text_191=this.renderer.createText(this._el_182,"\n ",null),this._text_192=this.renderer.createText(this._el_26,"\n \n ",null),this._text_193=this.renderer.createText(this._el_0,"\n ",null);var f=this.renderer.listen(this._el_0,"tap",this.eventHandler(this._handle_tap_0_0.bind(this))),m=this.renderer.listen(this._el_8,"tap",this.eventHandler(this._handle_tap_8_0.bind(this)));this._expr_2=p.n,this._expr_3=p.n,this._map_0=c.h(function(t){return{rotateOn:t}}),this._expr_4=p.n,this._expr_5=p.n,this._expr_6=p.n,this._map_1=c.h(function(t){return{"display-none":t}}),this._expr_7=p.n,this._expr_13=p.n;var v=this.renderer.listen(this._el_35,"onSelection",this.eventHandler(this._handle_onSelection_35_0.bind(this))),x=this.renderer.listen(this._el_35,"focusin",this.eventHandler(this._handle_focusin_35_1.bind(this))),y=this.renderer.listen(this._el_35,"mouseenter",this.eventHandler(this._handle_mouseenter_35_2.bind(this))),b=this.renderer.listen(this._el_35,"focusout",this.eventHandler(this._handle_focusout_35_3.bind(this))),w=this.renderer.listen(this._el_35,"mouseleave",this.eventHandler(this._handle_mouseleave_35_4.bind(this)));this._expr_14=p.n,this._expr_15=p.n,this._expr_16=p.n,this._expr_17=p.n,this._expr_18=p.n;var C=this._DropdownPopoverComponent_35_6.onSelection.subscribe(this.eventHandler(this._handle_onSelection_35_0.bind(this))),E=this.renderer.listen(this._el_47,"ngModelChange",this.eventHandler(this._handle_ngModelChange_47_0.bind(this))),T=this.renderer.listen(this._el_47,"input",this.eventHandler(this._handle_input_47_1.bind(this))),A=this.renderer.listen(this._el_47,"blur",this.eventHandler(this._handle_blur_47_2.bind(this))),N=this.renderer.listen(this._el_47,"focusin",this.eventHandler(this._handle_focusin_47_3.bind(this))),P=this.renderer.listen(this._el_47,"mouseenter",this.eventHandler(this._handle_mouseenter_47_4.bind(this))),R=this.renderer.listen(this._el_47,"focusout",this.eventHandler(this._handle_focusout_47_5.bind(this))),D=this.renderer.listen(this._el_47,"mouseleave",this.eventHandler(this._handle_mouseleave_47_6.bind(this)));this._expr_26=p.n,this._expr_27=p.n;var $=this._NgModel_47_7.update.subscribe(this.eventHandler(this._handle_ngModelChange_47_0.bind(this)));this._expr_28=p.n,this._expr_29=p.n,this._expr_30=p.n,this._expr_31=p.n,this._expr_32=p.n,this._expr_33=p.n,this._expr_34=p.n,this._expr_35=p.n,this._expr_36=p.n,this._expr_38=p.n;var X=this.renderer.listen(this._el_60,"tap",this.eventHandler(this._handle_tap_60_0.bind(this))),K=this.renderer.listen(this._el_69,"valChange",this.eventHandler(this._handle_valChange_69_0.bind(this))),tt=this.renderer.listen(this._el_69,"mousewheel",this.eventHandler(this._handle_mousewheel_69_1.bind(this))),et=this.renderer.listen(this._el_69,"input",this.eventHandler(this._handle_input_69_2.bind(this))),nt=this.renderer.listen(this._el_69,"blur",this.eventHandler(this._handle_blur_69_3.bind(this))),it=this.renderer.listen(this._el_69,"focusin",this.eventHandler(this._handle_focusin_69_4.bind(this))),rt=this.renderer.listen(this._el_69,"mouseenter",this.eventHandler(this._handle_mouseenter_69_5.bind(this))),st=this.renderer.listen(this._el_69,"focusout",this.eventHandler(this._handle_focusout_69_6.bind(this))),ot=this.renderer.listen(this._el_69,"mouseleave",this.eventHandler(this._handle_mouseleave_69_7.bind(this))),at=this.renderer.listen(this._el_69,"keypress",this.eventHandler(this._handle_keypress_69_8.bind(this)));this._pipe_unitFormat_0_0=c.i(this.parent._pipe_unitFormat_0.transform.bind(this.parent._pipe_unitFormat_0)),this._expr_49=p.n,this._expr_50=p.n,this._expr_51=p.n,this._expr_52=p.n,this._expr_53=p.n,this._expr_54=p.n,this._expr_55=p.n,this._expr_56=p.n,this._expr_57=p.n,this._expr_58=p.n;var _t=this._FormatInputDirective_69_11.valChange.subscribe(this.eventHandler(this._handle_valChange_69_0.bind(this)));this._expr_60=p.n;var lt=this.renderer.listen(this._el_76,"tap",this.eventHandler(this._handle_tap_76_0.bind(this))),ht=this.renderer.listen(this._el_93,"tap",this.eventHandler(this._handle_tap_93_0.bind(this))),ct=this.renderer.listen(this._el_102,"valChange",this.eventHandler(this._handle_valChange_102_0.bind(this))),ut=this.renderer.listen(this._el_102,"mousewheel",this.eventHandler(this._handle_mousewheel_102_1.bind(this))),pt=this.renderer.listen(this._el_102,"input",this.eventHandler(this._handle_input_102_2.bind(this))),dt=this.renderer.listen(this._el_102,"blur",this.eventHandler(this._handle_blur_102_3.bind(this))),ft=this.renderer.listen(this._el_102,"focusin",this.eventHandler(this._handle_focusin_102_4.bind(this))),mt=this.renderer.listen(this._el_102,"mouseenter",this.eventHandler(this._handle_mouseenter_102_5.bind(this))),gt=this.renderer.listen(this._el_102,"focusout",this.eventHandler(this._handle_focusout_102_6.bind(this))),vt=this.renderer.listen(this._el_102,"mouseleave",this.eventHandler(this._handle_mouseleave_102_7.bind(this))),xt=this.renderer.listen(this._el_102,"keypress",this.eventHandler(this._handle_keypress_102_8.bind(this)));this._pipe_unitFormat_0_1=c.i(this.parent._pipe_unitFormat_0.transform.bind(this.parent._pipe_unitFormat_0)),this._expr_72=p.n,this._expr_73=p.n,this._expr_74=p.n,this._expr_75=p.n,this._expr_76=p.n,this._expr_77=p.n,this._expr_78=p.n,this._expr_79=p.n,this._expr_80=p.n,this._expr_81=p.n;var yt=this._FormatInputDirective_102_11.valChange.subscribe(this.eventHandler(this._handle_valChange_102_0.bind(this))),bt=this.renderer.listen(this._el_109,"tap",this.eventHandler(this._handle_tap_109_0.bind(this)));this._map_2=c.h(function(t){return{"display-none":t}}),this._expr_83=p.n,this._expr_85=p.n;var wt=this.renderer.listen(this._el_128,"tap",this.eventHandler(this._handle_tap_128_0.bind(this))),Ct=this.renderer.listen(this._el_137,"valChange",this.eventHandler(this._handle_valChange_137_0.bind(this))),Et=this.renderer.listen(this._el_137,"mousewheel",this.eventHandler(this._handle_mousewheel_137_1.bind(this))),Tt=this.renderer.listen(this._el_137,"input",this.eventHandler(this._handle_input_137_2.bind(this))),At=this.renderer.listen(this._el_137,"blur",this.eventHandler(this._handle_blur_137_3.bind(this))),It=this.renderer.listen(this._el_137,"focusin",this.eventHandler(this._handle_focusin_137_4.bind(this))),St=this.renderer.listen(this._el_137,"mouseenter",this.eventHandler(this._handle_mouseenter_137_5.bind(this))),Ot=this.renderer.listen(this._el_137,"focusout",this.eventHandler(this._handle_focusout_137_6.bind(this))),kt=this.renderer.listen(this._el_137,"mouseleave",this.eventHandler(this._handle_mouseleave_137_7.bind(this))),Nt=this.renderer.listen(this._el_137,"keypress",this.eventHandler(this._handle_keypress_137_8.bind(this)));this._expr_96=p.n,this._pipe_unitFormat_0_2=c.i(this.parent._pipe_unitFormat_0.transform.bind(this.parent._pipe_unitFormat_0)),this._expr_97=p.n,this._expr_98=p.n,this._expr_99=p.n,this._expr_100=p.n,this._expr_101=p.n,this._expr_102=p.n,this._expr_103=p.n,this._expr_104=p.n,this._expr_105=p.n,this._expr_106=p.n;var Pt=this._FormatInputDirective_137_11.valChange.subscribe(this.eventHandler(this._handle_valChange_137_0.bind(this)));this._expr_108=p.n;var Rt=this.renderer.listen(this._el_144,"tap",this.eventHandler(this._handle_tap_144_0.bind(this)));this._expr_114=p.n;var Dt=this.renderer.listen(this._el_160,"onSelection",this.eventHandler(this._handle_onSelection_160_0.bind(this))),jt=this.renderer.listen(this._el_160,"focusin",this.eventHandler(this._handle_focusin_160_1.bind(this))),Mt=this.renderer.listen(this._el_160,"mouseenter",this.eventHandler(this._handle_mouseenter_160_2.bind(this))),Lt=this.renderer.listen(this._el_160,"focusout",this.eventHandler(this._handle_focusout_160_3.bind(this))),Bt=this.renderer.listen(this._el_160,"mouseleave",this.eventHandler(this._handle_mouseleave_160_4.bind(this)));this._expr_115=p.n,this._expr_116=p.n,this._expr_117=p.n,this._expr_118=p.n,this._expr_119=p.n;var Ft=this._DropdownPopoverComponent_160_6.onSelection.subscribe(this.eventHandler(this._handle_onSelection_160_0.bind(this)));this._expr_120=p.n,this._expr_121=p.n,this._map_3=c.h(function(t){return{"display-none":t}}),this._expr_122=p.n,this._expr_128=p.n;var qt=this.renderer.listen(this._el_176,"onSelection",this.eventHandler(this._handle_onSelection_176_0.bind(this))),Vt=this.renderer.listen(this._el_176,"focusin",this.eventHandler(this._handle_focusin_176_1.bind(this))),Ht=this.renderer.listen(this._el_176,"mouseenter",this.eventHandler(this._handle_mouseenter_176_2.bind(this))),Ut=this.renderer.listen(this._el_176,"focusout",this.eventHandler(this._handle_focusout_176_3.bind(this))),zt=this.renderer.listen(this._el_176,"mouseleave",this.eventHandler(this._handle_mouseleave_176_4.bind(this)));this._expr_129=p.n,this._expr_130=p.n,this._expr_131=p.n,this._expr_132=p.n,this._expr_133=p.n;var Gt=this._DropdownPopoverComponent_176_6.onSelection.subscribe(this.eventHandler(this._handle_onSelection_176_0.bind(this)));this._expr_134=p.n,this._map_4=c.h(function(t){return{"display-none":t}}),this._expr_135=p.n,this._expr_136=p.n;var Wt=this.renderer.listen(this._el_189,"ngModelChange",this.eventHandler(this._handle_ngModelChange_189_0.bind(this))),Yt=this.renderer.listen(this._el_189,"input",this.eventHandler(this._handle_input_189_1.bind(this))),$t=this.renderer.listen(this._el_189,"blur",this.eventHandler(this._handle_blur_189_2.bind(this))),Xt=this.renderer.listen(this._el_189,"focusin",this.eventHandler(this._handle_focusin_189_3.bind(this))),Jt=this.renderer.listen(this._el_189,"mouseenter",this.eventHandler(this._handle_mouseenter_189_4.bind(this))),Qt=this.renderer.listen(this._el_189,"focusout",this.eventHandler(this._handle_focusout_189_5.bind(this))),Zt=this.renderer.listen(this._el_189,"mouseleave",this.eventHandler(this._handle_mouseleave_189_6.bind(this)));this._expr_144=p.n,this._expr_145=p.n;var Kt=this._NgModel_189_7.update.subscribe(this.eventHandler(this._handle_ngModelChange_189_0.bind(this)));return this._expr_146=p.n,this._expr_147=p.n,this._expr_148=p.n,this._expr_149=p.n,this._expr_150=p.n,this._expr_151=p.n,this._expr_152=p.n,this._expr_153=p.n,this._expr_154=p.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9,this._el_10,this._text_11,this._text_12,this._text_13,this._el_14,this._text_15,this._el_16,this._text_17,this._text_18,this._text_19,this._el_20,this._text_21,this._text_22,this._text_23,this._text_24,this._text_25,this._el_26,this._text_27,this._el_28,this._text_29,this._el_30,this._text_31,this._text_32,this._el_33,this._text_34,this._el_35,this._text_36,this._text_37,this._text_38,this._text_39,this._el_40,this._text_41,this._el_42,this._text_43,this._text_44,this._el_45,this._text_46,this._el_47,this._text_48,this._text_49,this._text_50,this._el_51,this._text_52,this._el_53,this._text_54,this._text_55,this._el_56,this._text_57,this._el_58,this._text_59,this._el_60,this._text_61,this._el_62,this._text_63,this._text_64,this._text_65,this._text_66,this._el_67,this._text_68,this._el_69,this._text_70,this._text_71,this._el_72,this._text_73,this._el_74,this._text_75,this._el_76,this._text_77,this._el_78,this._text_79,this._text_80,this._text_81,this._text_82,this._text_83,this._el_84,this._text_85,this._el_86,this._text_87,this._text_88,this._el_89,this._text_90,this._el_91,this._text_92,this._el_93,this._text_94,this._el_95,this._text_96,this._text_97,this._text_98,this._text_99,this._el_100,this._text_101,this._el_102,this._text_103,this._text_104,this._el_105,this._text_106,this._el_107,this._text_108,this._el_109,this._text_110,this._el_111,this._text_112,this._text_113,this._text_114,this._text_115,this._text_116,this._el_117,this._text_118,this._el_119,this._text_120,this._el_121,this._text_122,this._text_123,this._el_124,this._text_125,this._el_126,this._text_127,this._el_128,this._text_129,this._el_130,this._text_131,this._text_132,this._text_133,this._text_134,this._el_135,this._text_136,this._el_137,this._text_138,this._text_139,this._el_140,this._text_141,this._el_142,this._text_143,this._el_144,this._text_145,this._el_146,this._text_147,this._text_148,this._text_149,this._text_150,this._text_151,this._el_152,this._text_153,this._el_154,this._text_155,this._text_156,this._text_157,this._el_158,this._text_159,this._el_160,this._text_161,this._text_162,this._text_163,this._text_164,this._anchor_165,this._text_166,this._text_167,this._text_168,this._el_169,this._text_170,this._el_171,this._text_172,this._text_173,this._el_174,this._text_175,this._el_176,this._text_177,this._text_178,this._text_179,this._text_180,this._text_181,this._el_182,this._text_183,this._el_184,this._text_185,this._text_186,this._el_187,this._text_188,this._el_189,this._text_190,this._text_191,this._text_192,this._text_193],[f,m,v,x,y,b,w,E,T,A,N,P,R,D,X,K,tt,et,nt,it,rt,st,ot,at,lt,ht,ct,ut,pt,dt,ft,mt,gt,vt,xt,bt,wt,Ct,Et,Tt,At,It,St,Ot,kt,Nt,Rt,Dt,jt,Mt,Lt,Bt,qt,Vt,Ht,Ut,zt,Wt,Yt,$t,Xt,Jt,Qt,Zt],[C,$,_t,yt,Pt,Ft,Gt,Kt]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===J.a&&10===e?this._NgClass_10_3:t===G.a&&8<=e&&e<=11?this._Button_8_4:t===I.a&&6<=e&&e<=12?this._Col_6_3:t===I.a&&14<=e&&e<=18?this._Col_14_3:t===I.a&&20<=e&&e<=21?this._Col_20_3:t===I.c&&4<=e&&e<=22?this._Row_4_3:t===I.a&&30<=e&&e<=31?this._Col_30_3:t===S.a&&35<=e&&e<=36?this._Tooltip_35_5:t===O.a&&35<=e&&e<=36?this._DropdownPopoverComponent_35_6:t===I.a&&33<=e&&e<=37?this._Col_33_3:t===I.c&&28<=e&&e<=38?this._Row_28_3:t===I.a&&42<=e&&e<=43?this._Col_42_3:t===H.a&&47===e?this._DefaultValueAccessor_47_5:t===$.a&&47===e?this._NG_VALUE_ACCESSOR_47_6:t===U.a&&47===e?this._NgModel_47_7:t===X.a&&47===e?this._NgControl_47_8:t===z.a&&47===e?this._NgControlStatus_47_9:t===S.a&&47===e?this._Tooltip_47_10:t===I.a&&45<=e&&e<=48?this._Col_45_3:t===I.c&&40<=e&&e<=49?this._Row_40_3:t===I.a&&53<=e&&e<=54?this._Col_53_3:t===G.a&&60<=e&&e<=63?this._Button_60_4:t===I.a&&56<=e&&e<=65?this._Col_56_3:t===H.a&&69===e?this._DefaultValueAccessor_69_5:t===$.a&&69===e?this._NG_VALUE_ACCESSOR_69_6:t===U.a&&69===e?this._NgModel_69_7:t===X.a&&69===e?this._NgControl_69_8:t===z.a&&69===e?this._NgControlStatus_69_9:t===S.a&&69===e?this._Tooltip_69_10:t===Q.a&&69===e?this._FormatInputDirective_69_11:t===I.a&&67<=e&&e<=70?this._Col_67_3:t===G.a&&76<=e&&e<=79?this._Button_76_4:t===I.a&&72<=e&&e<=81?this._Col_72_3:t===I.c&&51<=e&&e<=82?this._Row_51_3:t===I.a&&86<=e&&e<=87?this._Col_86_3:t===G.a&&93<=e&&e<=96?this._Button_93_4:t===I.a&&89<=e&&e<=98?this._Col_89_3:t===H.a&&102===e?this._DefaultValueAccessor_102_5:t===$.a&&102===e?this._NG_VALUE_ACCESSOR_102_6:t===U.a&&102===e?this._NgModel_102_7:t===X.a&&102===e?this._NgControl_102_8:t===z.a&&102===e?this._NgControlStatus_102_9:t===S.a&&102===e?this._Tooltip_102_10:t===Q.a&&102===e?this._FormatInputDirective_102_11:t===I.a&&100<=e&&e<=103?this._Col_100_3:t===G.a&&109<=e&&e<=112?this._Button_109_4:t===I.a&&105<=e&&e<=114?this._Col_105_3:t===I.c&&84<=e&&e<=115?this._Row_84_3:t===I.a&&121<=e&&e<=122?this._Col_121_3:t===G.a&&128<=e&&e<=131?this._Button_128_4:t===I.a&&124<=e&&e<=133?this._Col_124_3:t===H.a&&137===e?this._DefaultValueAccessor_137_5:t===$.a&&137===e?this._NG_VALUE_ACCESSOR_137_6:t===U.a&&137===e?this._NgModel_137_7:t===X.a&&137===e?this._NgControl_137_8:t===z.a&&137===e?this._NgControlStatus_137_9:t===S.a&&137===e?this._Tooltip_137_10:t===Q.a&&137===e?this._FormatInputDirective_137_11:t===I.a&&135<=e&&e<=138?this._Col_135_3:t===G.a&&144<=e&&e<=147?this._Button_144_4:t===I.a&&140<=e&&e<=149?this._Col_140_3:t===I.c&&119<=e&&e<=150?this._Row_119_3:t===I.a&&154<=e&&e<=155?this._Col_154_3:t===S.a&&160<=e&&e<=161?this._Tooltip_160_5:t===O.a&&160<=e&&e<=161?this._DropdownPopoverComponent_160_6:t===I.a&&158<=e&&e<=162?this._Col_158_3:t===I.c&&152<=e&&e<=163?this._Row_152_3:t===q.b&&165===e?this._TemplateRef_165_5:t===k.a&&165===e?this._NgIf_165_6:t===I.a&&171<=e&&e<=172?this._Col_171_3:t===S.a&&176<=e&&e<=177?this._Tooltip_176_5:t===O.a&&176<=e&&e<=177?this._DropdownPopoverComponent_176_6:t===I.a&&174<=e&&e<=178?this._Col_174_3:t===J.a&&169<=e&&e<=179?this._NgClass_169_3:t===I.c&&169<=e&&e<=179?this._Row_169_4:t===J.a&&117<=e&&e<=180?this._NgClass_117_3:t===I.a&&184<=e&&e<=185?this._Col_184_3:t===H.a&&189===e?this._DefaultValueAccessor_189_5:t===$.a&&189===e?this._NG_VALUE_ACCESSOR_189_6:t===U.a&&189===e?this._NgModel_189_7:t===X.a&&189===e?this._NgControl_189_8:t===z.a&&189===e?this._NgControlStatus_189_9:t===S.a&&189===e?this._Tooltip_189_10:t===I.a&&187<=e&&e<=190?this._Col_187_3:t===J.a&&182<=e&&e<=191?this._NgClass_182_3:t===I.c&&182<=e&&e<=191?this._Row_182_4:t===J.a&&26<=e&&e<=192?this._NgClass_26_3:n},e.prototype.detectChangesInternal=function(t){var e=!0,n=null,i=new p.o;e=!1;var r="";c.c(t,this._expr_2,r)&&(this._Button_8_4.clear=r,e=!0,this._expr_2=r),e&&this._appEl_8.componentView.markAsCheckOnce();var s="custom-dropdown-img";c.c(t,this._expr_3,s)&&(this._NgClass_10_3.klass=s,this._expr_3=s);var o=this._map_0(this.parent.context.showAnalogChan[this.context.index]);c.c(t,this._expr_4,o)&&(this._NgClass_10_3.ngClass=o,this._expr_4=o),t||this._NgClass_10_3.ngDoCheck();var a="button-info-container";c.c(t,this._expr_6,a)&&(this._NgClass_26_3.klass=a,this._expr_6=a);var _=this._map_1(!this.parent.context.showAnalogChan[this.context.index]);c.c(t,this._expr_7,_)&&(this._NgClass_26_3.ngClass=_,this._expr_7=_),t||this._NgClass_26_3.ngDoCheck(),n=null;var l=this.parent.context.tooltipService.getTooltip("logLink").message;c.c(t,this._expr_14,l)&&(this._Tooltip_35_5.content=l,null===n&&(n={}),n.content=new p.m(this._expr_14,l),this._expr_14=l);var h=!0;c.c(t,this._expr_15,h)&&(this._Tooltip_35_5.tooltipAnimation=h,null===n&&(n={}),n.tooltipAnimation=new p.m(this._expr_15,h),this._expr_15=h);var u="top";c.c(t,this._expr_16,u)&&(this._Tooltip_35_5.tooltipPlacement=u,null===n&&(n={}),n.tooltipPlacement=new p.m(this._expr_16,u),this._expr_16=u),null!==n&&this._Tooltip_35_5.ngOnChanges(n),n=null;var d=this.parent.context.analogLinkOptions[this.context.index];c.c(t,this._expr_17,d)&&(this._DropdownPopoverComponent_35_6.dataArray=d,null===n&&(n={}),n.dataArray=new p.m(this._expr_17,d),this._expr_17=d);var f=this.parent.context.running;c.c(t,this._expr_18,f)&&(this._DropdownPopoverComponent_35_6.disabled=f,null===n&&(n={}),n.disabled=new p.m(this._expr_18,f),this._expr_18=f),null!==n&&this._DropdownPopoverComponent_35_6.ngOnChanges(n),n=null;var m="true";c.c(t,this._expr_26,m)&&(this._NgModel_47_7.isDisabled=m,null===n&&(n={}),n.isDisabled=new p.m(this._expr_26,m),this._expr_26=m);var g=this.context.$implicit.state;c.c(t,this._expr_27,g)&&(this._NgModel_47_7.model=g,null===n&&(n={}),n.model=new p.m(this._expr_27,g),this._expr_27=g),null!==n&&this._NgModel_47_7.ngOnChanges(n),n=null;var v=this.parent.context.tooltipService.getTooltip("logState").message;c.c(t,this._expr_34,v)&&(this._Tooltip_47_10.content=v,null===n&&(n={}),n.content=new p.m(this._expr_34,v),this._expr_34=v);var x=!0;c.c(t,this._expr_35,x)&&(this._Tooltip_47_10.tooltipAnimation=x,null===n&&(n={}),n.tooltipAnimation=new p.m(this._expr_35,x),this._expr_35=x);var y="top";c.c(t,this._expr_36,y)&&(this._Tooltip_47_10.tooltipPlacement=y,null===n&&(n={}),n.tooltipPlacement=new p.m(this._expr_36,y),this._expr_36=y),null!==n&&this._Tooltip_47_10.ngOnChanges(n),n=null,i.reset();var b=i.unwrap(c.r(this._pipe_unitFormat_0_0,this.parent._pipe_unitFormat_0.transform)(this.parent.context.loggerPlotService.vpdArray[this.parent.context.loggerPlotService.vpdIndices[this.context.index]],"V/"));(i.hasWrappedValue||c.c(t,this._expr_49,b))&&(this._NgModel_69_7.model=b,null===n&&(n={}),n.model=new p.m(this._expr_49,b),this._expr_49=b),null!==n&&this._NgModel_69_7.ngOnChanges(n),n=null;var w=this.parent.context.tooltipService.getTooltip("oscVpd").message;c.c(t,this._expr_56,w)&&(this._Tooltip_69_10.content=w,null===n&&(n={}),n.content=new p.m(this._expr_56,w),this._expr_56=w);var C=!0;c.c(t,this._expr_57,C)&&(this._Tooltip_69_10.tooltipAnimation=C,null===n&&(n={}),n.tooltipAnimation=new p.m(this._expr_57,C),this._expr_57=C);var E="top";c.c(t,this._expr_58,E)&&(this._Tooltip_69_10.tooltipPlacement=E,null===n&&(n={}),n.tooltipPlacement=new p.m(this._expr_58,E),this._expr_58=E),null!==n&&this._Tooltip_69_10.ngOnChanges(n),n=null,i.reset();var T=i.unwrap(c.r(this._pipe_unitFormat_0_1,this.parent._pipe_unitFormat_0.transform)(this.context.$implicit.vOffset,"V"));(i.hasWrappedValue||c.c(t,this._expr_72,T))&&(this._NgModel_102_7.model=T,null===n&&(n={}),n.model=new p.m(this._expr_72,T),this._expr_72=T),null!==n&&this._NgModel_102_7.ngOnChanges(n),n=null;var A=this.parent.context.tooltipService.getTooltip("oscOffset").message;c.c(t,this._expr_79,A)&&(this._Tooltip_102_10.content=A,null===n&&(n={}),n.content=new p.m(this._expr_79,A),this._expr_79=A);var I=!0;c.c(t,this._expr_80,I)&&(this._Tooltip_102_10.tooltipAnimation=I,null===n&&(n={}),n.tooltipAnimation=new p.m(this._expr_80,I),this._expr_80=I);var S="top";c.c(t,this._expr_81,S)&&(this._Tooltip_102_10.tooltipPlacement=S,null===n&&(n={}),n.tooltipPlacement=new p.m(this._expr_81,S),this._expr_81=S),null!==n&&this._Tooltip_102_10.ngOnChanges(n);var O=this._map_2(this.context.$implicit.linked);c.c(t,this._expr_83,O)&&(this._NgClass_117_3.ngClass=O,this._expr_83=O),t||this._NgClass_117_3.ngDoCheck(),n=null;var k=this.parent.context.running;c.c(t,this._expr_96,k)&&(this._NgModel_137_7.isDisabled=k,null===n&&(n={}),n.isDisabled=new p.m(this._expr_96,k),this._expr_96=k),i.reset();var N=i.unwrap(c.r(this._pipe_unitFormat_0_2,this.parent._pipe_unitFormat_0.transform)(this.context.$implicit.sampleFreq,"S/s"));(i.hasWrappedValue||c.c(t,this._expr_97,N))&&(this._NgModel_137_7.model=N,null===n&&(n={}),n.model=new p.m(this._expr_97,N),this._expr_97=N),null!==n&&this._NgModel_137_7.ngOnChanges(n),n=null;var P=this.parent.context.tooltipService.getTooltip("logSampleFreq").message;c.c(t,this._expr_104,P)&&(this._Tooltip_137_10.content=P,null===n&&(n={}),n.content=new p.m(this._expr_104,P),this._expr_104=P);var R=!0;c.c(t,this._expr_105,R)&&(this._Tooltip_137_10.tooltipAnimation=R,null===n&&(n={}),n.tooltipAnimation=new p.m(this._expr_105,R),this._expr_105=R);var D="top";c.c(t,this._expr_106,D)&&(this._Tooltip_137_10.tooltipPlacement=D,null===n&&(n={}),n.tooltipPlacement=new p.m(this._expr_106,D),this._expr_106=D),null!==n&&this._Tooltip_137_10.ngOnChanges(n),n=null;var j=this.parent.context.tooltipService.getTooltip("logSampleType").message;c.c(t,this._expr_115,j)&&(this._Tooltip_160_5.content=j,null===n&&(n={}),n.content=new p.m(this._expr_115,j),this._expr_115=j);var M=!0;c.c(t,this._expr_116,M)&&(this._Tooltip_160_5.tooltipAnimation=M,null===n&&(n={}),n.tooltipAnimation=new p.m(this._expr_116,M),this._expr_116=M);var L="top";c.c(t,this._expr_117,L)&&(this._Tooltip_160_5.tooltipPlacement=L,null===n&&(n={}),n.tooltipPlacement=new p.m(this._expr_117,L),this._expr_117=L),null!==n&&this._Tooltip_160_5.ngOnChanges(n),n=null;var B=this.parent.context.samples;c.c(t,this._expr_118,B)&&(this._DropdownPopoverComponent_160_6.dataArray=B,null===n&&(n={}),n.dataArray=new p.m(this._expr_118,B),this._expr_118=B);var F=this.parent.context.running;c.c(t,this._expr_119,F)&&(this._DropdownPopoverComponent_160_6.disabled=F,null===n&&(n={}),n.disabled=new p.m(this._expr_119,F),this._expr_119=F),null!==n&&this._DropdownPopoverComponent_160_6.ngOnChanges(n);var q=this.parent.context.analogChans[this.context.index].maxSampleCount!==-1;c.c(t,this._expr_120,q)&&(this._NgIf_165_6.ngIf=q,this._expr_120=q);var V="controls-container";c.c(t,this._expr_121,V)&&(this._NgClass_169_3.klass=V,this._expr_121=V);var H=this._map_3("stream"===this.parent.context.selectedMode);c.c(t,this._expr_122,H)&&(this._NgClass_169_3.ngClass=H,this._expr_122=H),t||this._NgClass_169_3.ngDoCheck(),n=null;var U=this.parent.context.tooltipService.getTooltip("logStorageLocation").message;c.c(t,this._expr_129,U)&&(this._Tooltip_176_5.content=U,null===n&&(n={}),n.content=new p.m(this._expr_129,U),this._expr_129=U);var z=!0;c.c(t,this._expr_130,z)&&(this._Tooltip_176_5.tooltipAnimation=z,null===n&&(n={}),n.tooltipAnimation=new p.m(this._expr_130,z),this._expr_130=z);var G="top";c.c(t,this._expr_131,G)&&(this._Tooltip_176_5.tooltipPlacement=G,null===n&&(n={}),n.tooltipPlacement=new p.m(this._expr_131,G),this._expr_131=G),null!==n&&this._Tooltip_176_5.ngOnChanges(n),n=null;var W=this.parent.context.storageLocations;c.c(t,this._expr_132,W)&&(this._DropdownPopoverComponent_176_6.dataArray=W,null===n&&(n={}),n.dataArray=new p.m(this._expr_132,W),this._expr_132=W);var Y=this.parent.context.running;c.c(t,this._expr_133,Y)&&(this._DropdownPopoverComponent_176_6.disabled=Y,null===n&&(n={}),n.disabled=new p.m(this._expr_133,Y),this._expr_133=Y),null!==n&&this._DropdownPopoverComponent_176_6.ngOnChanges(n);var $="controls-container";c.c(t,this._expr_134,$)&&(this._NgClass_182_3.klass=$,this._expr_134=$);var X=this._map_4("stream"===this.parent.context.selectedMode);c.c(t,this._expr_135,X)&&(this._NgClass_182_3.ngClass=X,this._expr_135=X),t||this._NgClass_182_3.ngDoCheck(),n=null;var J=this.parent.context.running;c.c(t,this._expr_144,J)&&(this._NgModel_189_7.isDisabled=J,null===n&&(n={}),n.isDisabled=new p.m(this._expr_144,J),this._expr_144=J);var Q=this.context.$implicit.uri;c.c(t,this._expr_145,Q)&&(this._NgModel_189_7.model=Q,null===n&&(n={}),n.model=new p.m(this._expr_145,Q),this._expr_145=Q),null!==n&&this._NgModel_189_7.ngOnChanges(n),n=null;var Z=this.parent.context.tooltipService.getTooltip("logFileName").message;c.c(t,this._expr_152,Z)&&(this._Tooltip_189_10.content=Z,null===n&&(n={}),n.content=new p.m(this._expr_152,Z),this._expr_152=Z);var K=!0;c.c(t,this._expr_153,K)&&(this._Tooltip_189_10.tooltipAnimation=K,null===n&&(n={}),n.tooltipAnimation=new p.m(this._expr_153,K),this._expr_153=K);var tt="top";c.c(t,this._expr_154,tt)&&(this._Tooltip_189_10.tooltipPlacement=tt,null===n&&(n={}),n.tooltipPlacement=new p.m(this._expr_154,tt),this._expr_154=tt),null!==n&&this._Tooltip_189_10.ngOnChanges(n),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_8_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_60_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_76_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_93_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_109_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_128_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_144_4.ngAfterContentInit());var et=c.e(1,"Analog Ch ",this.context.index+1,"");c.c(t,this._expr_5,et)&&(this.renderer.setText(this._text_17,et),this._expr_5=et);var nt="link"+this.context.index;c.c(t,this._expr_13,nt)&&(this.renderer.setElementProperty(this._el_35,"id",nt),this._expr_13=nt);var it=this._NgControlStatus_47_9.ngClassUntouched;c.c(t,this._expr_28,it)&&(this.renderer.setElementClass(this._el_47,"ng-untouched",it),this._expr_28=it);var rt=this._NgControlStatus_47_9.ngClassTouched;c.c(t,this._expr_29,rt)&&(this.renderer.setElementClass(this._el_47,"ng-touched",rt),this._expr_29=rt);var st=this._NgControlStatus_47_9.ngClassPristine;c.c(t,this._expr_30,st)&&(this.renderer.setElementClass(this._el_47,"ng-pristine",st),this._expr_30=st);var ot=this._NgControlStatus_47_9.ngClassDirty;c.c(t,this._expr_31,ot)&&(this.renderer.setElementClass(this._el_47,"ng-dirty",ot),this._expr_31=ot);var at=this._NgControlStatus_47_9.ngClassValid;c.c(t,this._expr_32,at)&&(this.renderer.setElementClass(this._el_47,"ng-valid",at),this._expr_32=at);var _t=this._NgControlStatus_47_9.ngClassInvalid;c.c(t,this._expr_33,_t)&&(this.renderer.setElementClass(this._el_47,"ng-invalid",_t),this._expr_33=_t);var lt=this.parent.context.loggerPlotService.vpdIndices[this.context.index]>this.parent.context.loggerPlotService.vpdArray.length-2;c.c(t,this._expr_38,lt)&&(this.renderer.setElementProperty(this._el_60,"disabled",lt),this._expr_38=lt);var ht=this._NgControlStatus_69_9.ngClassUntouched;c.c(t,this._expr_50,ht)&&(this.renderer.setElementClass(this._el_69,"ng-untouched",ht),this._expr_50=ht);var ct=this._NgControlStatus_69_9.ngClassTouched;c.c(t,this._expr_51,ct)&&(this.renderer.setElementClass(this._el_69,"ng-touched",ct),this._expr_51=ct);var ut=this._NgControlStatus_69_9.ngClassPristine;c.c(t,this._expr_52,ut)&&(this.renderer.setElementClass(this._el_69,"ng-pristine",ut),this._expr_52=ut);var pt=this._NgControlStatus_69_9.ngClassDirty;c.c(t,this._expr_53,pt)&&(this.renderer.setElementClass(this._el_69,"ng-dirty",pt),this._expr_53=pt);var dt=this._NgControlStatus_69_9.ngClassValid;c.c(t,this._expr_54,dt)&&(this.renderer.setElementClass(this._el_69,"ng-valid",dt),this._expr_54=dt);var ft=this._NgControlStatus_69_9.ngClassInvalid;c.c(t,this._expr_55,ft)&&(this.renderer.setElementClass(this._el_69,"ng-invalid",ft),this._expr_55=ft);var mt=this.parent.context.loggerPlotService.vpdIndices[this.context.index]<1;c.c(t,this._expr_60,mt)&&(this.renderer.setElementProperty(this._el_76,"disabled",mt),this._expr_60=mt);var gt=this._NgControlStatus_102_9.ngClassUntouched;c.c(t,this._expr_73,gt)&&(this.renderer.setElementClass(this._el_102,"ng-untouched",gt),this._expr_73=gt);var vt=this._NgControlStatus_102_9.ngClassTouched;c.c(t,this._expr_74,vt)&&(this.renderer.setElementClass(this._el_102,"ng-touched",vt),this._expr_74=vt);var xt=this._NgControlStatus_102_9.ngClassPristine;c.c(t,this._expr_75,xt)&&(this.renderer.setElementClass(this._el_102,"ng-pristine",xt),this._expr_75=xt);var yt=this._NgControlStatus_102_9.ngClassDirty;c.c(t,this._expr_76,yt)&&(this.renderer.setElementClass(this._el_102,"ng-dirty",yt), this._expr_76=yt);var bt=this._NgControlStatus_102_9.ngClassValid;c.c(t,this._expr_77,bt)&&(this.renderer.setElementClass(this._el_102,"ng-valid",bt),this._expr_77=bt);var wt=this._NgControlStatus_102_9.ngClassInvalid;c.c(t,this._expr_78,wt)&&(this.renderer.setElementClass(this._el_102,"ng-invalid",wt),this._expr_78=wt);var Ct=this.parent.context.running;c.c(t,this._expr_85,Ct)&&(this.renderer.setElementProperty(this._el_128,"disabled",Ct),this._expr_85=Ct);var Et=this._NgControlStatus_137_9.ngClassUntouched;c.c(t,this._expr_98,Et)&&(this.renderer.setElementClass(this._el_137,"ng-untouched",Et),this._expr_98=Et);var Tt=this._NgControlStatus_137_9.ngClassTouched;c.c(t,this._expr_99,Tt)&&(this.renderer.setElementClass(this._el_137,"ng-touched",Tt),this._expr_99=Tt);var At=this._NgControlStatus_137_9.ngClassPristine;c.c(t,this._expr_100,At)&&(this.renderer.setElementClass(this._el_137,"ng-pristine",At),this._expr_100=At);var It=this._NgControlStatus_137_9.ngClassDirty;c.c(t,this._expr_101,It)&&(this.renderer.setElementClass(this._el_137,"ng-dirty",It),this._expr_101=It);var St=this._NgControlStatus_137_9.ngClassValid;c.c(t,this._expr_102,St)&&(this.renderer.setElementClass(this._el_137,"ng-valid",St),this._expr_102=St);var Ot=this._NgControlStatus_137_9.ngClassInvalid;c.c(t,this._expr_103,Ot)&&(this.renderer.setElementClass(this._el_137,"ng-invalid",Ot),this._expr_103=Ot);var kt=this.parent.context.running;c.c(t,this._expr_108,kt)&&(this.renderer.setElementProperty(this._el_144,"disabled",kt),this._expr_108=kt);var Nt="samples"+this.context.index;c.c(t,this._expr_114,Nt)&&(this.renderer.setElementProperty(this._el_160,"id",Nt),this._expr_114=Nt);var Pt="location"+this.context.index;c.c(t,this._expr_128,Pt)&&(this.renderer.setElementProperty(this._el_176,"id",Pt),this._expr_128=Pt);var Rt=c.e(1,"\n ","cloud"===this.context.$implicit.storageLocation?"Topic":"File Name","\n ");c.c(t,this._expr_136,Rt)&&(this.renderer.setText(this._text_185,Rt),this._expr_136=Rt);var Dt=this._NgControlStatus_189_9.ngClassUntouched;c.c(t,this._expr_146,Dt)&&(this.renderer.setElementClass(this._el_189,"ng-untouched",Dt),this._expr_146=Dt);var jt=this._NgControlStatus_189_9.ngClassTouched;c.c(t,this._expr_147,jt)&&(this.renderer.setElementClass(this._el_189,"ng-touched",jt),this._expr_147=jt);var Mt=this._NgControlStatus_189_9.ngClassPristine;c.c(t,this._expr_148,Mt)&&(this.renderer.setElementClass(this._el_189,"ng-pristine",Mt),this._expr_148=Mt);var Lt=this._NgControlStatus_189_9.ngClassDirty;c.c(t,this._expr_149,Lt)&&(this.renderer.setElementClass(this._el_189,"ng-dirty",Lt),this._expr_149=Lt);var Bt=this._NgControlStatus_189_9.ngClassValid;c.c(t,this._expr_150,Bt)&&(this.renderer.setElementClass(this._el_189,"ng-valid",Bt),this._expr_150=Bt);var Ft=this._NgControlStatus_189_9.ngClassInvalid;c.c(t,this._expr_151,Ft)&&(this.renderer.setElementClass(this._el_189,"ng-invalid",Ft),this._expr_151=Ft),this.detectViewChildrenChanges(t),t||(0===this.numberOfChecks&&this._DropdownPopoverComponent_35_6.ngAfterViewInit(),0===this.numberOfChecks&&this._DropdownPopoverComponent_160_6.ngAfterViewInit(),0===this.numberOfChecks&&this._DropdownPopoverComponent_176_6.ngAfterViewInit())},e.prototype.dirtyParentQueriesInternal=function(){this.parent._viewQuery_dropPopLink_2.setDirty(),this.parent._viewQuery_dropPopSamples_0.setDirty(),this.parent._viewQuery_dropPopLocation_1.setDirty()},e.prototype.destroyInternal=function(){this._NgModel_47_7.ngOnDestroy(),this._NgModel_69_7.ngOnDestroy(),this._NgModel_102_7.ngOnDestroy(),this._NgModel_137_7.ngOnDestroy(),this._NgModel_189_7.ngOnDestroy()},e.prototype._handle_tap_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.setActiveSeries("analog",this.context.index)!==!1;return e},e.prototype._handle_tap_8_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.toggleSeriesSettings("analog",this.context.index)!==!1;return e},e.prototype._handle_onSelection_35_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.linkSelect(t,"analog",this.context.index)!==!1;return e},e.prototype._handle_focusin_35_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_35_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_35_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_35_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_35_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_35_5.hide()!==!1;return e},e.prototype._handle_mouseleave_35_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_35_5.hide()!==!1;return e},e.prototype._handle_ngModelChange_47_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.context.$implicit.state=t)!==!1;return e},e.prototype._handle_input_47_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_47_5.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_47_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_47_5.onTouched()!==!1;return e},e.prototype._handle_focusin_47_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_47_10.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_47_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_47_10.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_47_5=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_47_10.hide()!==!1;return e},e.prototype._handle_mouseleave_47_6=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_47_10.hide()!==!1;return e},e.prototype._handle_tap_60_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.incrementVpd(this.context.index)!==!1;return e},e.prototype._handle_valChange_69_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.yAxisValChange(t,this.context.index)!==!1;return e},e.prototype._handle_mousewheel_69_1=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.mousewheel(t,"analog",this.context.index,"vpd")!==!1;return e},e.prototype._handle_input_69_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_69_5.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_69_3=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_69_5.onTouched()!==!1;return e},e.prototype._handle_focusin_69_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_69_10.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_69_5=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_69_10.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_69_6=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_69_10.hide()!==!1,n=this._FormatInputDirective_69_11.onFocusOut(t)!==!1;return e&&n},e.prototype._handle_mouseleave_69_7=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_69_10.hide()!==!1;return e},e.prototype._handle_keypress_69_8=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_69_11.onkeypress(t)!==!1;return e},e.prototype._handle_tap_76_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.decrementVpd(this.context.index)!==!1;return e},e.prototype._handle_tap_93_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.buttonChangeOffset(this.context.index,"decrement")!==!1;return e},e.prototype._handle_valChange_102_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.formatInputAndUpdate(t,"analog","offset",this.context.index)!==!1;return e},e.prototype._handle_mousewheel_102_1=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.mousewheel(t,"analog",this.context.index,"offset")!==!1;return e},e.prototype._handle_input_102_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_102_5.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_102_3=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_102_5.onTouched()!==!1;return e},e.prototype._handle_focusin_102_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_102_10.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_102_5=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_102_10.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_102_6=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_102_10.hide()!==!1,n=this._FormatInputDirective_102_11.onFocusOut(t)!==!1;return e&&n},e.prototype._handle_mouseleave_102_7=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_102_10.hide()!==!1;return e},e.prototype._handle_keypress_102_8=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_102_11.onkeypress(t)!==!1;return e},e.prototype._handle_tap_109_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.buttonChangeOffset(this.context.index,"increment")!==!1;return e},e.prototype._handle_tap_128_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.decrementFrequency("analog",this.context.index,"sampleFreq")!==!1;return e},e.prototype._handle_valChange_137_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.formatInputAndUpdate(t,"analog","sampleFreq",this.context.index)!==!1;return e},e.prototype._handle_mousewheel_137_1=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.mousewheel(t,"analog",this.context.index,"sampleFreq")!==!1;return e},e.prototype._handle_input_137_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_137_5.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_137_3=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_137_5.onTouched()!==!1;return e},e.prototype._handle_focusin_137_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_137_10.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_137_5=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_137_10.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_137_6=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_137_10.hide()!==!1,n=this._FormatInputDirective_137_11.onFocusOut(t)!==!1;return e&&n},e.prototype._handle_mouseleave_137_7=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_137_10.hide()!==!1;return e},e.prototype._handle_keypress_137_8=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_137_11.onkeypress(t)!==!1;return e},e.prototype._handle_tap_144_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.incrementFrequency("analog",this.context.index,"sampleFreq")!==!1;return e},e.prototype._handle_onSelection_160_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.samplesSelect(t,"analog",this.context.index)!==!1;return e},e.prototype._handle_focusin_160_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_160_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_160_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_160_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_160_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_160_5.hide()!==!1;return e},e.prototype._handle_mouseleave_160_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_160_5.hide()!==!1;return e},e.prototype._handle_onSelection_176_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.locationSelect(t,"analog",this.context.index)!==!1;return e},e.prototype._handle_focusin_176_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_176_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_176_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_176_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_176_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_176_5.hide()!==!1;return e},e.prototype._handle_mouseleave_176_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_176_5.hide()!==!1;return e},e.prototype._handle_ngModelChange_189_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.context.$implicit.uri=t)!==!1;return e},e.prototype._handle_input_189_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_189_5.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_189_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_189_5.onTouched()!==!1;return e},e.prototype._handle_focusin_189_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_189_10.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_189_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_189_10.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_189_5=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_189_10.hide()!==!1;return e},e.prototype._handle_mouseleave_189_6=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_189_10.hide()!==!1;return e},e}(_.a),at=function(t){function e(n,i,r){t.call(this,e,it,u.a.EMBEDDED,n,i,r,p.b.CheckAlways)}return K(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-row",null),this.renderer.setElementAttribute(this._el_0,"class","controls-container"),this._Row_0_3=new I.c,this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_2,"center",""),this.renderer.setElementAttribute(this._el_2,"class","vpd-label-col"),this._Col_2_3=new I.a,this._text_3=this.renderer.createText(this._el_2,"\n Samples\n ",null),this._text_4=this.renderer.createText(this._el_0,"\n ",null),this._el_5=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_5,"center",""),this.renderer.setElementAttribute(this._el_5,"class","vpd-button-col"),this.renderer.setElementAttribute(this._el_5,"text-right",""),this._Col_5_3=new I.a,this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._el_7=this.renderer.createElement(this._el_5,"div",null),this.renderer.setElementAttribute(this._el_7,"style","display:inline-block"),this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"button",null),this.renderer.setElementAttribute(this._el_9,"class","icon-only-button-side disable-hover"),this.renderer.setElementAttribute(this._el_9,"ion-button",""),this._appEl_9=new l.a(9,7,this,this._el_9);var e=W.a(this.viewUtils,this.injector(9),this._appEl_9);this._Button_9_4=new G.a(null,"",this.parent.parent.parentInjector.get(Y.c),new F.a(this._el_9),this.renderer),this._appEl_9.initComponent(this._Button_9_4,[],e),this._text_10=this.renderer.createText(null,"\n ",null),this._el_11=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_11,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_11,"src","assets/img/remove.svg"),this._text_12=this.renderer.createText(null,"\n ",null),e.create(this._Button_9_4,[[].concat([this._text_10,this._el_11,this._text_12])],null),this._text_13=this.renderer.createText(this._el_7,"\n ",null),this._text_14=this.renderer.createText(this._el_5,"\n ",null),this._text_15=this.renderer.createText(this._el_0,"\n ",null),this._el_16=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_16,"center",""),this.renderer.setElementAttribute(this._el_16,"class","vpd-val-col"),this.renderer.setElementAttribute(this._el_16,"text-center",""),this._Col_16_3=new I.a,this._text_17=this.renderer.createText(this._el_16,"\n ",null),this._el_18=this.renderer.createElement(this._el_16,"input",null),this.renderer.setElementAttribute(this._el_18,"class","custom-input"),this.renderer.setElementAttribute(this._el_18,"formatInput",""),this.renderer.setElementAttribute(this._el_18,"step","any"),this.renderer.setElementAttribute(this._el_18,"tooltipPlacement","top"),this._appEl_18=new l.a(18,16,this,this._el_18),this._DefaultValueAccessor_18_5=new H.a(this.renderer,new F.a(this._el_18)),this._NG_VALUE_ACCESSOR_18_6=[this._DefaultValueAccessor_18_5],this._NgModel_18_7=new U.a(null,null,null,this._NG_VALUE_ACCESSOR_18_6),this._NgControl_18_8=this._NgModel_18_7,this._NgControlStatus_18_9=new z.a(this._NgControl_18_8),this._Tooltip_18_10=new S.a(this._appEl_18.vcRef,this.parent.parent.parentInjector.get(M.a),this.parent.parent.parentInjector.get(L.f)),this._FormatInputDirective_18_11=new Q.a(this.parent.parent.parentInjector.get(g.a)),this._text_19=this.renderer.createText(this._el_16,"\n ",null),this._text_20=this.renderer.createText(this._el_0,"\n ",null),this._el_21=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_21,"center",""),this.renderer.setElementAttribute(this._el_21,"class","vpd-button-col margin-right"),this.renderer.setElementAttribute(this._el_21,"text-left",""),this._Col_21_3=new I.a,this._text_22=this.renderer.createText(this._el_21,"\n ",null),this._el_23=this.renderer.createElement(this._el_21,"div",null),this.renderer.setElementAttribute(this._el_23,"style","display:inline-block"),this._text_24=this.renderer.createText(this._el_23,"\n ",null),this._el_25=this.renderer.createElement(this._el_23,"button",null),this.renderer.setElementAttribute(this._el_25,"class","icon-only-button-side disable-hover"),this.renderer.setElementAttribute(this._el_25,"ion-button",""),this._appEl_25=new l.a(25,23,this,this._el_25);var n=W.a(this.viewUtils,this.injector(25),this._appEl_25);this._Button_25_4=new G.a(null,"",this.parent.parent.parentInjector.get(Y.c),new F.a(this._el_25),this.renderer),this._appEl_25.initComponent(this._Button_25_4,[],n),this._text_26=this.renderer.createText(null,"\n ",null),this._el_27=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_27,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_27,"src","assets/img/add.svg"),this._text_28=this.renderer.createText(null,"\n ",null),n.create(this._Button_25_4,[[].concat([this._text_26,this._el_27,this._text_28])],null),this._text_29=this.renderer.createText(this._el_23,"\n ",null),this._text_30=this.renderer.createText(this._el_21,"\n ",null),this._text_31=this.renderer.createText(this._el_0,"\n ",null),this._expr_1=p.n;var i=this.renderer.listen(this._el_9,"tap",this.eventHandler(this._handle_tap_9_0.bind(this))),r=this.renderer.listen(this._el_18,"valChange",this.eventHandler(this._handle_valChange_18_0.bind(this))),s=this.renderer.listen(this._el_18,"mousewheel",this.eventHandler(this._handle_mousewheel_18_1.bind(this))),o=this.renderer.listen(this._el_18,"input",this.eventHandler(this._handle_input_18_2.bind(this))),a=this.renderer.listen(this._el_18,"blur",this.eventHandler(this._handle_blur_18_3.bind(this))),_=this.renderer.listen(this._el_18,"focusin",this.eventHandler(this._handle_focusin_18_4.bind(this))),h=this.renderer.listen(this._el_18,"mouseenter",this.eventHandler(this._handle_mouseenter_18_5.bind(this))),u=this.renderer.listen(this._el_18,"focusout",this.eventHandler(this._handle_focusout_18_6.bind(this))),d=this.renderer.listen(this._el_18,"mouseleave",this.eventHandler(this._handle_mouseleave_18_7.bind(this))),f=this.renderer.listen(this._el_18,"keypress",this.eventHandler(this._handle_keypress_18_8.bind(this)));this._expr_12=p.n,this._pipe_unitFormat_0_3=c.i(this.parent.parent._pipe_unitFormat_0.transform.bind(this.parent.parent._pipe_unitFormat_0)),this._expr_13=p.n,this._expr_14=p.n,this._expr_15=p.n,this._expr_16=p.n,this._expr_17=p.n,this._expr_18=p.n,this._expr_19=p.n,this._expr_20=p.n,this._expr_21=p.n,this._expr_22=p.n;var m=this._FormatInputDirective_18_11.valChange.subscribe(this.eventHandler(this._handle_valChange_18_0.bind(this)));this._expr_24=p.n;var v=this.renderer.listen(this._el_25,"tap",this.eventHandler(this._handle_tap_25_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._el_11,this._text_12,this._text_13,this._text_14,this._text_15,this._el_16,this._text_17,this._el_18,this._text_19,this._text_20,this._el_21,this._text_22,this._el_23,this._text_24,this._el_25,this._text_26,this._el_27,this._text_28,this._text_29,this._text_30,this._text_31],[i,r,s,o,a,_,h,u,d,f,v],[m]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===I.a&&2<=e&&e<=3?this._Col_2_3:t===G.a&&9<=e&&e<=12?this._Button_9_4:t===I.a&&5<=e&&e<=14?this._Col_5_3:t===H.a&&18===e?this._DefaultValueAccessor_18_5:t===$.a&&18===e?this._NG_VALUE_ACCESSOR_18_6:t===U.a&&18===e?this._NgModel_18_7:t===X.a&&18===e?this._NgControl_18_8:t===z.a&&18===e?this._NgControlStatus_18_9:t===S.a&&18===e?this._Tooltip_18_10:t===Q.a&&18===e?this._FormatInputDirective_18_11:t===I.a&&16<=e&&e<=19?this._Col_16_3:t===G.a&&25<=e&&e<=28?this._Button_25_4:t===I.a&&21<=e&&e<=30?this._Col_21_3:t===I.c&&0<=e&&e<=31?this._Row_0_3:n},e.prototype.detectChangesInternal=function(t){var e=null,n=new p.o;e=null;var i=this.parent.parent.context.running;c.c(t,this._expr_12,i)&&(this._NgModel_18_7.isDisabled=i,null===e&&(e={}),e.isDisabled=new p.m(this._expr_12,i),this._expr_12=i),n.reset();var r=n.unwrap(c.r(this._pipe_unitFormat_0_3,this.parent.parent._pipe_unitFormat_0.transform)(this.parent.context.$implicit.maxSampleCount,"S"));(n.hasWrappedValue||c.c(t,this._expr_13,r))&&(this._NgModel_18_7.model=r,null===e&&(e={}),e.model=new p.m(this._expr_13,r),this._expr_13=r),null!==e&&this._NgModel_18_7.ngOnChanges(e),e=null;var s=this.parent.parent.context.tooltipService.getTooltip("logSamples").message;c.c(t,this._expr_20,s)&&(this._Tooltip_18_10.content=s,null===e&&(e={}),e.content=new p.m(this._expr_20,s),this._expr_20=s);var o=!0;c.c(t,this._expr_21,o)&&(this._Tooltip_18_10.tooltipAnimation=o,null===e&&(e={}),e.tooltipAnimation=new p.m(this._expr_21,o),this._expr_21=o);var a="top";c.c(t,this._expr_22,a)&&(this._Tooltip_18_10.tooltipPlacement=a,null===e&&(e={}),e.tooltipPlacement=new p.m(this._expr_22,a),this._expr_22=a),null!==e&&this._Tooltip_18_10.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_9_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_25_4.ngAfterContentInit());var _=this.parent.parent.context.running;c.c(t,this._expr_1,_)&&(this.renderer.setElementProperty(this._el_9,"disabled",_),this._expr_1=_);var l=this._NgControlStatus_18_9.ngClassUntouched;c.c(t,this._expr_14,l)&&(this.renderer.setElementClass(this._el_18,"ng-untouched",l),this._expr_14=l);var h=this._NgControlStatus_18_9.ngClassTouched;c.c(t,this._expr_15,h)&&(this.renderer.setElementClass(this._el_18,"ng-touched",h),this._expr_15=h);var u=this._NgControlStatus_18_9.ngClassPristine;c.c(t,this._expr_16,u)&&(this.renderer.setElementClass(this._el_18,"ng-pristine",u),this._expr_16=u);var d=this._NgControlStatus_18_9.ngClassDirty;c.c(t,this._expr_17,d)&&(this.renderer.setElementClass(this._el_18,"ng-dirty",d),this._expr_17=d);var f=this._NgControlStatus_18_9.ngClassValid;c.c(t,this._expr_18,f)&&(this.renderer.setElementClass(this._el_18,"ng-valid",f),this._expr_18=f);var m=this._NgControlStatus_18_9.ngClassInvalid;c.c(t,this._expr_19,m)&&(this.renderer.setElementClass(this._el_18,"ng-invalid",m),this._expr_19=m);var g=this.parent.parent.context.running;c.c(t,this._expr_24,g)&&(this.renderer.setElementProperty(this._el_25,"disabled",g),this._expr_24=g),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_18_7.ngOnDestroy()},e.prototype._handle_tap_9_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.decrementFrequency("analog",this.parent.context.index,"samples")!==!1;return e},e.prototype._handle_valChange_18_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.formatInputAndUpdate(t,"analog","samples",this.parent.context.index)!==!1;return e},e.prototype._handle_mousewheel_18_1=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.mousewheel(t,"analog",this.parent.context.index,"samples")!==!1;return e},e.prototype._handle_input_18_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_18_5.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_18_3=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_18_5.onTouched()!==!1;return e},e.prototype._handle_focusin_18_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_10.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_18_5=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_10.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_18_6=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_10.hide()!==!1,n=this._FormatInputDirective_18_11.onFocusOut(t)!==!1;return e&&n},e.prototype._handle_mouseleave_18_7=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_10.hide()!==!1;return e},e.prototype._handle_keypress_18_8=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_18_11.onkeypress(t)!==!1;return e},e.prototype._handle_tap_25_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.incrementFrequency("analog",this.parent.context.index,"samples")!==!1;return e},e}(_.a)},function(t,e,n){"use strict";function i(t,e,n){return null===I&&(I=t.createRenderComponentType("",0,m.c.None,[],{})),new S(t,e,n)}function r(t,e,n){return null===N&&(N=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/components/math-popover/math-popover.html",0,m.c.None,k,{})),new P(t,e,n)}function s(t,e,n){return new R(t,e,n)}function o(t,e,n){return new D(t,e,n)}var a=n(10),_=n(6),l=n(278),h=n(11),c=n(5),u=n(4),p=n(13),d=n(27),f=n(47),m=n(8),g=n(7),v=n(20),x=n(55),y=n(25),b=n(2),w=n(14),C=n(21),E=n(37),T=n(35);n.d(e,"a",function(){return O});var A=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},I=null,S=function(t){function e(n,i,r){t.call(this,e,I,c.a.HOST,n,i,r,u.b.CheckAlways)}return A(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ng-component",t,null),this._appEl_0=new _.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._MathPopoverComponent_0_4=new l.a(this.parentInjector.get(p.a),this.parentInjector.get(d.a),this.parentInjector.get(f.a)),this._appEl_0.initComponent(this._MathPopoverComponent_0_4,[],e),e.create(this._MathPopoverComponent_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===l.a&&0===e?this._MathPopoverComponent_0_4:n},e}(a.a),O=new g.a("ng-component",i,l.a),k=[],N=null,P=function(t){function e(n,i,r){t.call(this,e,N,c.a.COMPONENT,n,i,r,u.b.CheckAlways)}return A(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","math-modal-wrapper"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_2,"class","channel-separator"),this.renderer.setElementAttribute(this._el_2,"text-center",""),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"button",null),this.renderer.setElementAttribute(this._el_4,"class","select-button disable-hover"),this.renderer.setElementAttribute(this._el_4,"icon-right",""),this.renderer.setElementAttribute(this._el_4,"ion-button",""),this._appEl_4=new _.a(4,2,this,this._el_4);var n=y.a(this.viewUtils,this.injector(4),this._appEl_4);this._Button_4_4=new v.a(null,"",this.parentInjector.get(b.c),new w.a(this._el_4),this.renderer),this._appEl_4.initComponent(this._Button_4_4,[],n),this._text_5=this.renderer.createText(null,"",null),this._el_6=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_6,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_6,"src","assets/img/arrow-dropdown.svg"),this._text_7=this.renderer.createText(null,"\n ",null),n.create(this._Button_4_4,[[].concat([this._text_5,this._el_6,this._text_7])],null),this._text_8=this.renderer.createText(this._el_2,"\n ",null),this._text_9=this.renderer.createText(this._el_0,"\n ",null),this._text_10=this.renderer.createText(this._el_0,"\n ",null),this._anchor_11=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_11=new _.a(11,0,this,this._anchor_11),this._TemplateRef_11_5=new C.a(this._appEl_11,s),this._NgFor_11_6=new x.a(this._appEl_11.vcRef,this._TemplateRef_11_5,this.parentInjector.get(E.a),this.ref),this._text_12=this.renderer.createText(this._el_0,"\n",null);var i=this.renderer.listen(this._el_4,"click",this.eventHandler(this._handle_click_4_0.bind(this)));return this._expr_1=u.n,this._expr_2=u.n,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._text_8,this._text_9,this._text_10,this._anchor_11,this._text_12],[i],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===v.a&&4<=e&&e<=7?this._Button_4_4:t===C.b&&11===e?this._TemplateRef_11_5:t===x.a&&11===e?this._NgFor_11_6:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.context.buttonNames;h.c(t,this._expr_2,n)&&(this._NgFor_11_6.ngForOf=n,null===e&&(e={}),e.ngForOf=new u.m(this._expr_2,n),this._expr_2=n),null!==e&&this._NgFor_11_6.ngOnChanges(e),t||this._NgFor_11_6.ngDoCheck(),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_4_4.ngAfterContentInit();var i=h.e(2,"\n ",this.context.selectedChan.instrument," Ch ",this.context.selectedChan.channel,"\n ");h.c(t,this._expr_1,i)&&(this.renderer.setText(this._text_5,i),this._expr_1=i),this.detectViewChildrenChanges(t)},e.prototype._handle_click_4_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.openChannelSelect(t)!==!1;return e},e}(a.a),R=function(t){function e(n,i,r){t.call(this,e,N,c.a.EMBEDDED,n,i,r,u.b.CheckAlways)}return A(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"ion-row",null),this._Row_0_3=new T.c,this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._anchor_2=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_2=new _.a(2,0,this,this._anchor_2),this._TemplateRef_2_5=new C.a(this._appEl_2,o),this._NgFor_2_6=new x.a(this._appEl_2.vcRef,this._TemplateRef_2_5,this.parent.parentInjector.get(E.a),this.parent.ref),this._text_3=this.renderer.createText(this._el_0,"\n ",null),this._expr_0=u.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._anchor_2,this._text_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===C.b&&2===e?this._TemplateRef_2_5:t===x.a&&2===e?this._NgFor_2_6:t===T.c&&0<=e&&e<=3?this._Row_0_3:n; },e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.context.$implicit;h.c(t,this._expr_0,n)&&(this._NgFor_2_6.ngForOf=n,null===e&&(e={}),e.ngForOf=new u.m(this._expr_0,n),this._expr_0=n),null!==e&&this._NgFor_2_6.ngOnChanges(e),t||this._NgFor_2_6.ngDoCheck(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(a.a),D=function(t){function e(n,i,r){t.call(this,e,N,c.a.EMBEDDED,n,i,r,u.b.CheckAlways)}return A(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-col",null),this.renderer.setElementAttribute(this._el_0,"text-center",""),this._Col_0_3=new T.a,this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"div",null),this._el_3=this.renderer.createElement(this._el_2,"button",null),this.renderer.setElementAttribute(this._el_3,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_3,"ion-button",""),this._appEl_3=new _.a(3,2,this,this._el_3);var e=y.a(this.viewUtils,this.injector(3),this._appEl_3);this._Button_3_4=new v.a(null,"",this.parent.parent.parentInjector.get(b.c),new w.a(this._el_3),this.renderer),this._appEl_3.initComponent(this._Button_3_4,[],e),this._text_4=this.renderer.createText(null,"",null),e.create(this._Button_3_4,[[].concat([this._text_4])],null),this._text_5=this.renderer.createText(this._el_0,"\n ",null),this._el_6=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_6,"class","center"),this._text_7=this.renderer.createText(this._el_6,"",null),this._text_8=this.renderer.createText(this._el_0,"\n ",null);var n=this.renderer.listen(this._el_3,"click",this.eventHandler(this._handle_click_3_0.bind(this)));return this._expr_1=u.n,this._expr_2=u.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._el_3,this._text_4,this._text_5,this._el_6,this._text_7,this._text_8],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===v.a&&3<=e&&e<=4?this._Button_3_4:t===T.a&&0<=e&&e<=8?this._Col_0_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_3_4.ngAfterContentInit();var e=h.e(1,"",this.context.$implicit,"");h.c(t,this._expr_1,e)&&(this.renderer.setText(this._text_4,e),this._expr_1=e);var n=h.e(1,"",this.parent.parent.context.getMetrics(this.context.$implicit),"");h.c(t,this._expr_2,n)&&(this.renderer.setText(this._text_7,n),this._expr_2=n),this.detectViewChildrenChanges(t)},e.prototype._handle_click_3_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.exportMathInfoToChart(this.context.$implicit)!==!1;return e},e}(a.a)},function(t,e,n){"use strict";function i(t,e,n){return null===g&&(g=t.createRenderComponentType("",0,p.c.None,[],{})),new v(t,e,n)}function r(t,e,n){return null===b&&(b=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/components/pinout-popover/pinout-popover.html",0,p.c.None,y,{})),new w(t,e,n)}var s=n(10),o=n(6),a=n(191),_=n(11),l=n(5),h=n(4),c=n(13),u=n(43),p=n(8),d=n(7),f=n(73);n.d(e,"a",function(){return x});var m=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},g=null,v=function(t){function e(n,i,r){t.call(this,e,g,l.a.HOST,n,i,r,h.b.CheckAlways)}return m(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ng-component",t,null),this._appEl_0=new o.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._PinoutPopover_0_4=new a.a(this.parentInjector.get(c.a),this.parentInjector.get(u.DeviceManagerService)),this._appEl_0.initComponent(this._PinoutPopover_0_4,[],e),e.create(this._PinoutPopover_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===a.a&&0===e?this._PinoutPopover_0_4:n},e}(s.a),x=new d.a("ng-component",i,a.a),y=[],b=null,w=function(t){function e(n,i,r){t.call(this,e,b,l.a.COMPONENT,n,i,r,h.b.CheckAlways)}return m(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","series-popover-container"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_2,"class","pinout-container"),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"img",null),this._text_5=this.renderer.createText(this._el_2,"\n ",null),this._text_6=this.renderer.createText(this._el_0,"\n",null),this._expr_0=h.n,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this.context.pinoutAddress;_.c(t,this._expr_0,e)&&(this.renderer.setElementProperty(this._el_4,"src",this.viewUtils.sanitizer.sanitize(f.b.URL,e)),this._expr_0=e),this.detectViewChildrenChanges(t)},e}(s.a)},function(t,e,n){"use strict";function i(t,e,n){return null===j&&(j=t.createRenderComponentType("",0,m.c.None,[],{})),new M(t,e,n)}function r(t,e,n){return null===F&&(F=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/components/profile-popover/profile-popover.html",0,m.c.None,B,{})),new q(t,e,n)}function s(t,e,n){return new V(t,e,n)}var o=n(10),a=n(6),_=n(368),l=n(11),h=n(5),c=n(4),u=n(13),p=n(27),d=n(104),f=n(38),m=n(8),g=n(7),v=n(35),x=n(60),y=n(62),b=n(61),w=n(151),C=n(33),E=n(20),T=n(14),A=n(221),I=n(2),S=n(39),O=n(44),k=n(21),N=n(25),P=n(41),R=n(53);n.d(e,"a",function(){return L});var D=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},j=null,M=function(t){function e(n,i,r){t.call(this,e,j,h.a.HOST,n,i,r,c.b.CheckAlways)}return D(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("profile-popover",t,null),this._appEl_0=new a.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._ProfilePopover_0_4=new _.a(this.parentInjector.get(u.a),this.parentInjector.get(p.a),this.parentInjector.get(d.a),this.parentInjector.get(f.a)),this._appEl_0.initComponent(this._ProfilePopover_0_4,[],e),e.create(this._ProfilePopover_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===_.a&&0===e?this._ProfilePopover_0_4:n},e}(o.a),L=new g.a("profile-popover",i,_.a),B=[],F=null,q=function(t){function e(n,i,r){t.call(this,e,F,h.a.COMPONENT,n,i,r,c.b.CheckAlways)}return D(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","profile-container"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-row",null),this._Row_2_3=new v.c,this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-col",null),this.renderer.setElementAttribute(this._el_4,"center",""),this.renderer.setElementAttribute(this._el_4,"class","header"),this.renderer.setElementAttribute(this._el_4,"text-center",""),this._Col_4_3=new v.a,this._text_5=this.renderer.createText(this._el_4,"\n Profile\n ",null),this._text_6=this.renderer.createText(this._el_2,"\n ",null),this._text_7=this.renderer.createText(this._el_0,"\n\n ",null),this._el_8=this.renderer.createElement(this._el_0,"ion-row",null),this._Row_8_3=new v.c,this._text_9=this.renderer.createText(this._el_8,"\n ",null),this._el_10=this.renderer.createElement(this._el_8,"ion-col",null),this.renderer.setElementAttribute(this._el_10,"class","input-label"),this._Col_10_3=new v.a,this._text_11=this.renderer.createText(this._el_10,"Name",null),this._text_12=this.renderer.createText(this._el_8,"\n ",null),this._el_13=this.renderer.createElement(this._el_8,"ion-col",null),this._Col_13_3=new v.a,this._text_14=this.renderer.createText(this._el_13,"\n ",null),this._el_15=this.renderer.createElement(this._el_13,"input",null),this.renderer.setElementAttribute(this._el_15,"class","custom-input"),this._DefaultValueAccessor_15_3=new x.a(this.renderer,new T.a(this._el_15)),this._NG_VALUE_ACCESSOR_15_4=[this._DefaultValueAccessor_15_3],this._NgModel_15_5=new y.a(null,null,null,this._NG_VALUE_ACCESSOR_15_4),this._NgControl_15_6=this._NgModel_15_5,this._NgControlStatus_15_7=new b.a(this._NgControl_15_6),this._text_16=this.renderer.createText(this._el_13,"\n ",null),this._text_17=this.renderer.createText(this._el_8,"\n ",null),this._text_18=this.renderer.createText(this._el_0,"\n\n ",null),this._el_19=this.renderer.createElement(this._el_0,"ion-row",null),this._Row_19_3=new v.c,this._text_20=this.renderer.createText(this._el_19,"\n ",null),this._el_21=this.renderer.createElement(this._el_19,"ion-col",null),this.renderer.setElementAttribute(this._el_21,"class","checkbox-container"),this._Col_21_3=new v.a,this._text_22=this.renderer.createText(this._el_21,"\n ",null),this._el_23=this.renderer.createElement(this._el_21,"ion-checkbox",null),this._appEl_23=new a.a(23,21,this,this._el_23);var n=A.a(this.viewUtils,this.injector(23),this._appEl_23);this._Checkbox_23_4=new w.a(this.parentInjector.get(I.c),this.parentInjector.get(S.a),this.parentInjector.get(O.a,null),new T.a(this._el_23),this.renderer),this._NG_VALUE_ACCESSOR_23_5=[this._Checkbox_23_4],this._NgModel_23_6=new y.a(null,null,null,this._NG_VALUE_ACCESSOR_23_5),this._NgControl_23_7=this._NgModel_23_6,this._NgControlStatus_23_8=new b.a(this._NgControl_23_7),this._appEl_23.initComponent(this._Checkbox_23_4,[],n),n.create(this._Checkbox_23_4,[],null),this._text_24=this.renderer.createText(this._el_21," ",null),this._el_25=this.renderer.createElement(this._el_21,"span",null),this.renderer.setElementAttribute(this._el_25,"class","checkbox-label"),this._text_26=this.renderer.createText(this._el_25,"Logger Parameters",null),this._text_27=this.renderer.createText(this._el_21,"\n ",null),this._text_28=this.renderer.createText(this._el_19,"\n ",null),this._text_29=this.renderer.createText(this._el_0,"\n\n ",null),this._el_30=this.renderer.createElement(this._el_0,"ion-row",null),this._Row_30_3=new v.c,this._text_31=this.renderer.createText(this._el_30,"\n ",null),this._el_32=this.renderer.createElement(this._el_30,"ion-col",null),this.renderer.setElementAttribute(this._el_32,"class","checkbox-container"),this._Col_32_3=new v.a,this._text_33=this.renderer.createText(this._el_32,"\n ",null),this._el_34=this.renderer.createElement(this._el_32,"ion-checkbox",null),this._appEl_34=new a.a(34,32,this,this._el_34);var i=A.a(this.viewUtils,this.injector(34),this._appEl_34);this._Checkbox_34_4=new w.a(this.parentInjector.get(I.c),this.parentInjector.get(S.a),this.parentInjector.get(O.a,null),new T.a(this._el_34),this.renderer),this._NG_VALUE_ACCESSOR_34_5=[this._Checkbox_34_4],this._NgModel_34_6=new y.a(null,null,null,this._NG_VALUE_ACCESSOR_34_5),this._NgControl_34_7=this._NgModel_34_6,this._NgControlStatus_34_8=new b.a(this._NgControl_34_7),this._appEl_34.initComponent(this._Checkbox_34_4,[],i),i.create(this._Checkbox_34_4,[],null),this._text_35=this.renderer.createText(this._el_32," ",null),this._el_36=this.renderer.createElement(this._el_32,"span",null),this.renderer.setElementAttribute(this._el_36,"class","checkbox-label"),this._text_37=this.renderer.createText(this._el_36,"Chart Settings",null),this._text_38=this.renderer.createText(this._el_32,"\n ",null),this._text_39=this.renderer.createText(this._el_30,"\n ",null),this._text_40=this.renderer.createText(this._el_0,"\n\n ",null),this._el_41=this.renderer.createElement(this._el_0,"ion-row",null),this.renderer.setElementAttribute(this._el_41,"margin-top",""),this._Row_41_3=new v.c,this._text_42=this.renderer.createText(this._el_41,"\n ",null),this._el_43=this.renderer.createElement(this._el_41,"ion-col",null),this.renderer.setElementAttribute(this._el_43,"text-left",""),this._Col_43_3=new v.a,this._text_44=this.renderer.createText(this._el_43,"\n ",null),this._anchor_45=this.renderer.createTemplateAnchor(this._el_43,null),this._appEl_45=new a.a(45,43,this,this._anchor_45),this._TemplateRef_45_5=new k.a(this._appEl_45,s),this._NgIf_45_6=new C.a(this._appEl_45.vcRef,this._TemplateRef_45_5),this._text_46=this.renderer.createText(this._el_43,"\n ",null),this._text_47=this.renderer.createText(this._el_41,"\n\n ",null),this._el_48=this.renderer.createElement(this._el_41,"ion-col",null),this.renderer.setElementAttribute(this._el_48,"text-right",""),this._Col_48_3=new v.a,this._text_49=this.renderer.createText(this._el_48,"\n ",null),this._el_50=this.renderer.createElement(this._el_48,"button",null),this.renderer.setElementAttribute(this._el_50,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_50,"ion-button",""),this._appEl_50=new a.a(50,48,this,this._el_50);var r=N.a(this.viewUtils,this.injector(50),this._appEl_50);this._Button_50_4=new E.a(null,"",this.parentInjector.get(I.c),new T.a(this._el_50),this.renderer),this._appEl_50.initComponent(this._Button_50_4,[],r),this._text_51=this.renderer.createText(null,"",null),r.create(this._Button_50_4,[[].concat([this._text_51])],null),this._text_52=this.renderer.createText(this._el_48,"\n ",null),this._text_53=this.renderer.createText(this._el_41,"\n ",null),this._text_54=this.renderer.createText(this._el_0,"\n",null);var o=this.renderer.listen(this._el_15,"ngModelChange",this.eventHandler(this._handle_ngModelChange_15_0.bind(this))),_=this.renderer.listen(this._el_15,"input",this.eventHandler(this._handle_input_15_1.bind(this))),l=this.renderer.listen(this._el_15,"blur",this.eventHandler(this._handle_blur_15_2.bind(this)));this._expr_3=c.n;var h=this._NgModel_15_5.update.subscribe(this.eventHandler(this._handle_ngModelChange_15_0.bind(this)));this._expr_4=c.n,this._expr_5=c.n,this._expr_6=c.n,this._expr_7=c.n,this._expr_8=c.n,this._expr_9=c.n;var u=this.renderer.listen(this._el_23,"ngModelChange",this.eventHandler(this._handle_ngModelChange_23_0.bind(this))),p=this.renderer.listen(this._el_23,"click",this.eventHandler(this._handle_click_23_1.bind(this)));this._expr_12=c.n,this._expr_13=c.n;var d=this._NgModel_23_6.update.subscribe(this.eventHandler(this._handle_ngModelChange_23_0.bind(this)));this._expr_14=c.n,this._expr_15=c.n,this._expr_16=c.n,this._expr_17=c.n,this._expr_18=c.n,this._expr_19=c.n;var f=this.renderer.listen(this._el_34,"ngModelChange",this.eventHandler(this._handle_ngModelChange_34_0.bind(this))),m=this.renderer.listen(this._el_34,"click",this.eventHandler(this._handle_click_34_1.bind(this)));this._expr_22=c.n,this._expr_23=c.n;var g=this._NgModel_34_6.update.subscribe(this.eventHandler(this._handle_ngModelChange_34_0.bind(this)));this._expr_24=c.n,this._expr_25=c.n,this._expr_26=c.n,this._expr_27=c.n,this._expr_28=c.n,this._expr_29=c.n,this._expr_30=c.n,this._expr_32=c.n;var P=this.renderer.listen(this._el_50,"click",this.eventHandler(this._handle_click_50_0.bind(this)));return this._expr_33=c.n,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._text_7,this._el_8,this._text_9,this._el_10,this._text_11,this._text_12,this._el_13,this._text_14,this._el_15,this._text_16,this._text_17,this._text_18,this._el_19,this._text_20,this._el_21,this._text_22,this._el_23,this._text_24,this._el_25,this._text_26,this._text_27,this._text_28,this._text_29,this._el_30,this._text_31,this._el_32,this._text_33,this._el_34,this._text_35,this._el_36,this._text_37,this._text_38,this._text_39,this._text_40,this._el_41,this._text_42,this._el_43,this._text_44,this._anchor_45,this._text_46,this._text_47,this._el_48,this._text_49,this._el_50,this._text_51,this._text_52,this._text_53,this._text_54],[o,_,l,u,p,f,m,P],[h,d,g]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===v.a&&4<=e&&e<=5?this._Col_4_3:t===v.c&&2<=e&&e<=6?this._Row_2_3:t===v.a&&10<=e&&e<=11?this._Col_10_3:t===x.a&&15===e?this._DefaultValueAccessor_15_3:t===P.a&&15===e?this._NG_VALUE_ACCESSOR_15_4:t===y.a&&15===e?this._NgModel_15_5:t===R.a&&15===e?this._NgControl_15_6:t===b.a&&15===e?this._NgControlStatus_15_7:t===v.a&&13<=e&&e<=16?this._Col_13_3:t===v.c&&8<=e&&e<=17?this._Row_8_3:t===w.a&&23===e?this._Checkbox_23_4:t===P.a&&23===e?this._NG_VALUE_ACCESSOR_23_5:t===y.a&&23===e?this._NgModel_23_6:t===R.a&&23===e?this._NgControl_23_7:t===b.a&&23===e?this._NgControlStatus_23_8:t===v.a&&21<=e&&e<=27?this._Col_21_3:t===v.c&&19<=e&&e<=28?this._Row_19_3:t===w.a&&34===e?this._Checkbox_34_4:t===P.a&&34===e?this._NG_VALUE_ACCESSOR_34_5:t===y.a&&34===e?this._NgModel_34_6:t===R.a&&34===e?this._NgControl_34_7:t===b.a&&34===e?this._NgControlStatus_34_8:t===v.a&&32<=e&&e<=38?this._Col_32_3:t===v.c&&30<=e&&e<=39?this._Row_30_3:t===k.b&&45===e?this._TemplateRef_45_5:t===C.a&&45===e?this._NgIf_45_6:t===v.a&&43<=e&&e<=46?this._Col_43_3:t===E.a&&50<=e&&e<=51?this._Button_50_4:t===v.a&&48<=e&&e<=52?this._Col_48_3:t===v.c&&41<=e&&e<=53?this._Row_41_3:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.context.profileName;l.c(t,this._expr_3,n)&&(this._NgModel_15_5.model=n,null===e&&(e={}),e.model=new c.m(this._expr_3,n),this._expr_3=n),null!==e&&this._NgModel_15_5.ngOnChanges(e),e=null;var i=this.context.saveDaq;l.c(t,this._expr_13,i)&&(this._NgModel_23_6.model=i,null===e&&(e={}),e.model=new c.m(this._expr_13,i),this._expr_13=i),null!==e&&this._NgModel_23_6.ngOnChanges(e),e=null;var r=this.context.saveChart;l.c(t,this._expr_23,r)&&(this._NgModel_34_6.model=r,null===e&&(e={}),e.model=new c.m(this._expr_23,r),this._expr_23=r),null!==e&&this._NgModel_34_6.ngOnChanges(e);var s=""!=this.context.initialName;l.c(t,this._expr_30,s)&&(this._NgIf_45_6.ngIf=s,this._expr_30=s),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Checkbox_23_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Checkbox_34_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_50_4.ngAfterContentInit());var o=this._NgControlStatus_15_7.ngClassUntouched;l.c(t,this._expr_4,o)&&(this.renderer.setElementClass(this._el_15,"ng-untouched",o),this._expr_4=o);var a=this._NgControlStatus_15_7.ngClassTouched;l.c(t,this._expr_5,a)&&(this.renderer.setElementClass(this._el_15,"ng-touched",a),this._expr_5=a);var _=this._NgControlStatus_15_7.ngClassPristine;l.c(t,this._expr_6,_)&&(this.renderer.setElementClass(this._el_15,"ng-pristine",_),this._expr_6=_);var h=this._NgControlStatus_15_7.ngClassDirty;l.c(t,this._expr_7,h)&&(this.renderer.setElementClass(this._el_15,"ng-dirty",h),this._expr_7=h);var u=this._NgControlStatus_15_7.ngClassValid;l.c(t,this._expr_8,u)&&(this.renderer.setElementClass(this._el_15,"ng-valid",u),this._expr_8=u);var p=this._NgControlStatus_15_7.ngClassInvalid;l.c(t,this._expr_9,p)&&(this.renderer.setElementClass(this._el_15,"ng-invalid",p),this._expr_9=p);var d=this._Checkbox_23_4._disabled;l.c(t,this._expr_12,d)&&(this.renderer.setElementClass(this._el_23,"checkbox-disabled",d),this._expr_12=d);var f=this._NgControlStatus_23_8.ngClassUntouched;l.c(t,this._expr_14,f)&&(this.renderer.setElementClass(this._el_23,"ng-untouched",f),this._expr_14=f);var m=this._NgControlStatus_23_8.ngClassTouched;l.c(t,this._expr_15,m)&&(this.renderer.setElementClass(this._el_23,"ng-touched",m),this._expr_15=m);var g=this._NgControlStatus_23_8.ngClassPristine;l.c(t,this._expr_16,g)&&(this.renderer.setElementClass(this._el_23,"ng-pristine",g),this._expr_16=g);var v=this._NgControlStatus_23_8.ngClassDirty;l.c(t,this._expr_17,v)&&(this.renderer.setElementClass(this._el_23,"ng-dirty",v),this._expr_17=v);var x=this._NgControlStatus_23_8.ngClassValid;l.c(t,this._expr_18,x)&&(this.renderer.setElementClass(this._el_23,"ng-valid",x),this._expr_18=x);var y=this._NgControlStatus_23_8.ngClassInvalid;l.c(t,this._expr_19,y)&&(this.renderer.setElementClass(this._el_23,"ng-invalid",y),this._expr_19=y);var b=this._Checkbox_34_4._disabled;l.c(t,this._expr_22,b)&&(this.renderer.setElementClass(this._el_34,"checkbox-disabled",b),this._expr_22=b);var w=this._NgControlStatus_34_8.ngClassUntouched;l.c(t,this._expr_24,w)&&(this.renderer.setElementClass(this._el_34,"ng-untouched",w),this._expr_24=w);var C=this._NgControlStatus_34_8.ngClassTouched;l.c(t,this._expr_25,C)&&(this.renderer.setElementClass(this._el_34,"ng-touched",C),this._expr_25=C);var E=this._NgControlStatus_34_8.ngClassPristine;l.c(t,this._expr_26,E)&&(this.renderer.setElementClass(this._el_34,"ng-pristine",E),this._expr_26=E);var T=this._NgControlStatus_34_8.ngClassDirty;l.c(t,this._expr_27,T)&&(this.renderer.setElementClass(this._el_34,"ng-dirty",T),this._expr_27=T);var A=this._NgControlStatus_34_8.ngClassValid;l.c(t,this._expr_28,A)&&(this.renderer.setElementClass(this._el_34,"ng-valid",A),this._expr_28=A);var I=this._NgControlStatus_34_8.ngClassInvalid;l.c(t,this._expr_29,I)&&(this.renderer.setElementClass(this._el_34,"ng-invalid",I),this._expr_29=I);var S=!this.context.saveDaq&&!this.context.saveChart;l.c(t,this._expr_32,S)&&(this.renderer.setElementProperty(this._el_50,"disabled",S),this._expr_32=S);var O=l.e(1,"\n ",""==this.context.initialName?"Save":"Save Changes","\n ");l.c(t,this._expr_33,O)&&(this.renderer.setText(this._text_51,O),this._expr_33=O),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_15_5.ngOnDestroy(),this._Checkbox_23_4.ngOnDestroy(),this._NgModel_23_6.ngOnDestroy(),this._Checkbox_34_4.ngOnDestroy(),this._NgModel_34_6.ngOnDestroy()},e.prototype._handle_ngModelChange_15_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.context.profileName=t)!==!1;return e},e.prototype._handle_input_15_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_15_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_15_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_15_3.onTouched()!==!1;return e},e.prototype._handle_ngModelChange_23_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.context.saveDaq=t)!==!1;return e},e.prototype._handle_click_23_1=function(t){this._appEl_23.componentView.markPathToRootAsCheckOnce();var e=this._Checkbox_23_4._click(t)!==!1;return e},e.prototype._handle_ngModelChange_34_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.context.saveChart=t)!==!1;return e},e.prototype._handle_click_34_1=function(t){this._appEl_34.componentView.markPathToRootAsCheckOnce();var e=this._Checkbox_34_4._click(t)!==!1;return e},e.prototype._handle_click_50_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.saveProfile()!==!1;return e},e}(o.a),V=function(t){function e(n,i,r){t.call(this,e,F,h.a.EMBEDDED,n,i,r,c.b.CheckAlways)}return D(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new a.a(0,null,this,this._el_0);var e=N.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new E.a(null,"",this.parent.parentInjector.get(I.c),new T.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"\n Delete\n ",null),e.create(this._Button_0_4,[[].concat([this._text_1])],null);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===E.a&&0<=e&&e<=1?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.deleteProfile()!==!1;return e},e}(o.a)},function(t,e,n){"use strict";function i(t,e,n){return null===f&&(f=t.createRenderComponentType("",0,h.c.None,[],{})),new m(t,e,n)}function r(t,e,n){return null===v&&(v=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/components/timeline-chart/timeline-chart.html",0,h.c.None,g,{})),new x(t,e,n)}var s=n(10),o=n(6),a=n(369),_=n(5),l=n(4),h=n(8),c=n(7),u=n(34),p=n(14);e.a=r;var d=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},f=null,m=function(t){function e(n,i,r){t.call(this,e,f,_.a.HOST,n,i,r,l.b.CheckAlways)}return d(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("timeline-chart",t,null),this._appEl_0=new o.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._TimelineChartComponent_0_4=new a.a,this._appEl_0.initComponent(this._TimelineChartComponent_0_4,[],e),e.create(this._TimelineChartComponent_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===a.a&&0===e?this._TimelineChartComponent_0_4:n},e}(s.a),g=(new c.a("timeline-chart",i,a.a),[]),v=null,x=function(t){function e(n,i,r){t.call(this,e,v,_.a.COMPONENT,n,i,r,l.b.CheckAlways)}return d(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._viewQuery_timelineChartInner_0=new u.a,this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","timeline-chart-container"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_2,"class","timeline-wrapper"),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"div",null),this.renderer.setElementAttribute(this._el_4,"id","timelineContainer"),this._text_5=this.renderer.createText(this._el_2,"\n ",null),this._text_6=this.renderer.createText(this._el_0,"\n",null),this._viewQuery_timelineChartInner_0.reset([new p.a(this._el_2)]),this.context.timelineChartInner=this._viewQuery_timelineChartInner_0.first,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6],[],[]),null},e}(s.a)},function(t,e,n){"use strict";function i(t,e,n){return null===$&&($=t.createRenderComponentType("",0,x.c.None,[],{})),new X(t,e,n)}function r(t,e,n){return null===Q&&(Q=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/components/trigger/trigger.html",0,x.c.None,J,{})),new Z(t,e,n)}function s(t,e,n){return new K(t,e,n)}function o(t,e,n){return new tt(t,e,n)}function a(t,e,n){return new et(t,e,n)}var _=n(10),l=n(6),h=n(280),c=n(11),u=n(5),p=n(4),d=n(47),f=n(43),m=n(28),g=n(38),v=n(110),x=n(8),y=n(7),b=n(34),w=n(168),C=n(20),E=n(35),T=n(58),A=n(33),I=n(63),S=n(282),O=n(14),k=n(25),N=n(2),P=n(37),R=n(52),D=n(21),j=n(70),M=n(65),L=n(60),B=n(62),F=n(61),q=n(129),V=n(51),H=n(23),U=n(98),z=n(66),G=n(41),W=n(53);e.a=r;var Y=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},$=null,X=function(t){function e(n,i,r){t.call(this,e,$,u.a.HOST,n,i,r,p.b.CheckAlways)}return Y(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("trigger",t,null),this._appEl_0=new l.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._TriggerComponent_0_4=new h.a(this.parentInjector.get(d.a),this.parentInjector.get(f.DeviceManagerService),this.parentInjector.get(m.a),this.parentInjector.get(g.a),this.parentInjector.get(v.a)),this._appEl_0.initComponent(this._TriggerComponent_0_4,[],e),e.create(this._TriggerComponent_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===h.a&&0===e?this._TriggerComponent_0_4:n},e}(_.a),J=(new y.a("trigger",i,h.a),[]),Q=null,Z=function(t){function e(n,i,r){t.call(this,e,Q,u.a.COMPONENT,n,i,r,p.b.CheckAlways)}return Y(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_dropPopSource_0=new b.a,this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","trigger-container"),this._text_1=this.renderer.createText(this._el_0,"\n\n\t",null),this._el_2=this.renderer.createElement(this._el_0,"tooltip-content",null),this.renderer.setElementAttribute(this._el_2,"class","tutorial-ok-button"),this._appEl_2=new l.a(2,0,this,this._el_2);var n=S.b(this.viewUtils,this.injector(2),this._appEl_2);this._TooltipContent_2_4=new w.a(new O.a(this._el_2),n.ref),this._appEl_2.initComponent(this._TooltipContent_2_4,[],n),this._text_3=this.renderer.createText(null,"\n\t\t",null),this._el_4=this.renderer.createElement(null,"div",null),this._text_5=this.renderer.createText(this._el_4,"",null),this._text_6=this.renderer.createText(null,"\n\t\t",null),this._el_7=this.renderer.createElement(null,"div",null),this._text_8=this.renderer.createText(this._el_7,"\n\t\t\t",null),this._el_9=this.renderer.createElement(this._el_7,"button",null),this.renderer.setElementAttribute(this._el_9,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_9,"ion-button",""),this._appEl_9=new l.a(9,7,this,this._el_9);var i=k.a(this.viewUtils,this.injector(9),this._appEl_9);this._Button_9_4=new C.a(null,"",this.parentInjector.get(N.c),new O.a(this._el_9),this.renderer),this._appEl_9.initComponent(this._Button_9_4,[],i),this._text_10=this.renderer.createText(null,"ok",null),i.create(this._Button_9_4,[[].concat([this._text_10])],null),this._text_11=this.renderer.createText(this._el_7,"\n\t\t",null),this._text_12=this.renderer.createText(null,"\n\t",null),n.create(this._TooltipContent_2_4,[[].concat([this._text_3,this._el_4,this._text_6,this._el_7,this._text_12])],null),this._text_13=this.renderer.createText(this._el_0,"\n\n\t",null),this._el_14=this.renderer.createElement(this._el_0,"tooltip-content",null),this.renderer.setElementAttribute(this._el_14,"class","tutorial-ok-button"),this._appEl_14=new l.a(14,0,this,this._el_14);var r=S.b(this.viewUtils,this.injector(14),this._appEl_14);this._TooltipContent_14_4=new w.a(new O.a(this._el_14),r.ref),this._appEl_14.initComponent(this._TooltipContent_14_4,[],r),this._text_15=this.renderer.createText(null,"\n\t\t",null),this._el_16=this.renderer.createElement(null,"div",null),this._text_17=this.renderer.createText(this._el_16,"",null),this._text_18=this.renderer.createText(null,"\n\t\t",null),this._el_19=this.renderer.createElement(null,"div",null),this._text_20=this.renderer.createText(this._el_19,"\n\t\t\t",null),this._el_21=this.renderer.createElement(this._el_19,"button",null),this.renderer.setElementAttribute(this._el_21,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_21,"ion-button",""), this._appEl_21=new l.a(21,19,this,this._el_21);var o=k.a(this.viewUtils,this.injector(21),this._appEl_21);this._Button_21_4=new C.a(null,"",this.parentInjector.get(N.c),new O.a(this._el_21),this.renderer),this._appEl_21.initComponent(this._Button_21_4,[],o),this._text_22=this.renderer.createText(null,"ok",null),o.create(this._Button_21_4,[[].concat([this._text_22])],null),this._text_23=this.renderer.createText(this._el_19,"\n\t\t",null),this._text_24=this.renderer.createText(null,"\n\t",null),r.create(this._TooltipContent_14_4,[[].concat([this._text_15,this._el_16,this._text_18,this._el_19,this._text_24])],null),this._text_25=this.renderer.createText(this._el_0,"\n\n\t",null),this._el_26=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_26,"class","header-bar-side"),this._text_27=this.renderer.createText(this._el_26,"\n\t\t",null),this._el_28=this.renderer.createElement(this._el_26,"ion-row",null),this._Row_28_3=new E.c,this._text_29=this.renderer.createText(this._el_28,"\n\t\t\t",null),this._el_30=this.renderer.createElement(this._el_28,"ion-col",null),this.renderer.setElementAttribute(this._el_30,"center",""),this.renderer.setElementAttribute(this._el_30,"class","header-side-col"),this.renderer.setElementAttribute(this._el_30,"text-left",""),this._Col_30_3=new E.a,this._text_31=this.renderer.createText(this._el_30,"\n\t\t\t\t",null),this._el_32=this.renderer.createElement(this._el_30,"button",null),this.renderer.setElementAttribute(this._el_32,"class","dropdown-image-button"),this.renderer.setElementAttribute(this._el_32,"clear",""),this.renderer.setElementAttribute(this._el_32,"ion-button",""),this._appEl_32=new l.a(32,30,this,this._el_32);var a=k.a(this.viewUtils,this.injector(32),this._appEl_32);this._Button_32_4=new C.a(null,"",this.parentInjector.get(N.c),new O.a(this._el_32),this.renderer),this._appEl_32.initComponent(this._Button_32_4,[],a),this._text_33=this.renderer.createText(null,"\n\t\t\t\t\t",null),this._el_34=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_34,"class","custom-dropdown-img"),this.renderer.setElementAttribute(this._el_34,"src","assets/img/collapse-arrow-right.svg"),this._NgClass_34_3=new T.a(this.parentInjector.get(P.a),this.parentInjector.get(R.a),new O.a(this._el_34),this.renderer),this._text_35=this.renderer.createText(null,"\n\t\t\t\t",null),a.create(this._Button_32_4,[[].concat([this._text_33,this._el_34,this._text_35])],null),this._text_36=this.renderer.createText(this._el_30,"\n\t\t\t",null),this._text_37=this.renderer.createText(this._el_28,"\n\t\t\t",null),this._el_38=this.renderer.createElement(this._el_28,"ion-col",null),this.renderer.setElementAttribute(this._el_38,"center",""),this.renderer.setElementAttribute(this._el_38,"text-center",""),this._Col_38_3=new E.a,this._text_39=this.renderer.createText(this._el_38,"\n\t\t\t\t",null),this._el_40=this.renderer.createElement(this._el_38,"span",null),this.renderer.setElementAttribute(this._el_40,"class","header-bar-title instrument-header"),this._text_41=this.renderer.createText(this._el_40,"Trigger",null),this._text_42=this.renderer.createText(this._el_38,"\n\t\t\t",null),this._text_43=this.renderer.createText(this._el_28,"\n\t\t\t",null),this._el_44=this.renderer.createElement(this._el_28,"ion-col",null),this.renderer.setElementAttribute(this._el_44,"center",""),this.renderer.setElementAttribute(this._el_44,"class","header-side-col"),this.renderer.setElementAttribute(this._el_44,"text-right",""),this._Col_44_3=new E.a,this._text_45=this.renderer.createText(this._el_44,"\n\t\t\t",null),this._text_46=this.renderer.createText(this._el_28,"\n\t\t",null),this._text_47=this.renderer.createText(this._el_26,"\n\t",null),this._text_48=this.renderer.createText(this._el_0,"\n\t",null),this._anchor_49=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_49=new l.a(49,0,this,this._anchor_49),this._TemplateRef_49_5=new D.a(this._appEl_49,s),this._NgIf_49_6=new A.a(this._appEl_49.vcRef,this._TemplateRef_49_5),this._text_50=this.renderer.createText(this._el_0,"\n",null),this._expr_0=p.n,this._expr_1=p.n;var _=this.renderer.listen(this._el_9,"tap",this.eventHandler(this._handle_tap_9_0.bind(this)));this._expr_3=p.n,this._expr_4=p.n;var h=this.renderer.listen(this._el_21,"tap",this.eventHandler(this._handle_tap_21_0.bind(this))),u=this.renderer.listen(this._el_32,"tap",this.eventHandler(this._handle_tap_32_0.bind(this)));return this._expr_7=p.n,this._expr_8=p.n,this._map_0=c.h(function(t){return{rotateOn:t}}),this._expr_9=p.n,this._expr_10=p.n,this._pipe_unitFormat_0=new I.a,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._text_11,this._text_12,this._text_13,this._el_14,this._text_15,this._el_16,this._text_17,this._text_18,this._el_19,this._text_20,this._el_21,this._text_22,this._text_23,this._text_24,this._text_25,this._el_26,this._text_27,this._el_28,this._text_29,this._el_30,this._text_31,this._el_32,this._text_33,this._el_34,this._text_35,this._text_36,this._text_37,this._el_38,this._text_39,this._el_40,this._text_41,this._text_42,this._text_43,this._el_44,this._text_45,this._text_46,this._text_47,this._text_48,this._anchor_49,this._text_50],[_,h,u],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===C.a&&9<=e&&e<=10?this._Button_9_4:t===w.a&&2<=e&&e<=12?this._TooltipContent_2_4:t===C.a&&21<=e&&e<=22?this._Button_21_4:t===w.a&&14<=e&&e<=24?this._TooltipContent_14_4:t===T.a&&34===e?this._NgClass_34_3:t===C.a&&32<=e&&e<=35?this._Button_32_4:t===E.a&&30<=e&&e<=36?this._Col_30_3:t===E.a&&38<=e&&e<=42?this._Col_38_3:t===E.a&&44<=e&&e<=45?this._Col_44_3:t===E.c&&28<=e&&e<=46?this._Row_28_3:t===D.b&&49===e?this._TemplateRef_49_5:t===A.a&&49===e?this._NgIf_49_6:n},e.prototype.detectChangesInternal=function(t){var e=!0,n=!0;c.c(t,this._expr_0,n)&&(this._TooltipContent_2_4.animation=n,this._expr_0=n);var i=!0;c.c(t,this._expr_3,i)&&(this._TooltipContent_14_4.animation=i,this._expr_3=i),e=!1;var r="";c.c(t,this._expr_7,r)&&(this._Button_32_4.clear=r,e=!0,this._expr_7=r),e&&this._appEl_32.componentView.markAsCheckOnce();var s="custom-dropdown-img";c.c(t,this._expr_8,s)&&(this._NgClass_34_3.klass=s,this._expr_8=s);var o=this._map_0(this.context.showTriggerSettings);c.c(t,this._expr_9,o)&&(this._NgClass_34_3.ngClass=o,this._expr_9=o),t||this._NgClass_34_3.ngDoCheck();var a=this.context.showTriggerSettings;c.c(t,this._expr_10,a)&&(this._NgIf_49_6.ngIf=a,this._expr_10=a),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_9_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_21_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_32_4.ngAfterContentInit());var _=c.e(1,"\n\t\t\t",this.context.tooltipService.getTooltip("tutorialTriggerLevel").message,"\n\t\t");c.c(t,this._expr_1,_)&&(this.renderer.setText(this._text_5,_),this._expr_1=_);var l=c.e(1,"\n\t\t\t",this.context.tooltipService.getTooltip("tutorialTriggerType").message,"\n\t\t");c.c(t,this._expr_4,l)&&(this.renderer.setText(this._text_17,l),this._expr_4=l),this.detectViewChildrenChanges(t),t||(this._viewQuery_dropPopSource_0.dirty&&(this._viewQuery_dropPopSource_0.reset([this._appEl_49.mapNestedViews(K,function(t){return[t._DropdownPopoverComponent_37_4]})]),this.context.dropPopSource=this._viewQuery_dropPopSource_0.first),0===this.numberOfChecks&&this._TooltipContent_2_4.ngAfterViewInit(),0===this.numberOfChecks&&this._TooltipContent_14_4.ngAfterViewInit())},e.prototype._handle_tap_9_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.tutorialToEdge()!==!1;return e},e.prototype._handle_tap_21_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.endTutorial()!==!1;return e},e.prototype._handle_tap_32_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.toggleTriggerShow()!==!1;return e},e}(_.a),K=function(t){function e(n,i,r){t.call(this,e,Q,u.a.EMBEDDED,n,i,r,p.b.CheckAlways)}return Y(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","controls-container"),this._text_1=this.renderer.createText(this._el_0,"\n\t\t",null),this._el_2=this.renderer.createElement(this._el_0,"ion-grid",null),this.renderer.setElementAttribute(this._el_2,"class","ion-grid-no-padding"),this._Grid_2_3=new E.b,this._text_3=this.renderer.createText(this._el_2,"\n\t\t\t",null),this._el_4=this.renderer.createElement(this._el_2,"ion-row",null),this.renderer.setElementAttribute(this._el_4,"class","button-row"),this._Row_4_3=new E.c,this._text_5=this.renderer.createText(this._el_4,"\n\t\t\t\t",null),this._el_6=this.renderer.createElement(this._el_4,"ion-col",null),this.renderer.setElementAttribute(this._el_6,"center",""),this.renderer.setElementAttribute(this._el_6,"class","interact-button-col"),this.renderer.setElementAttribute(this._el_6,"text-center",""),this._Col_6_3=new E.a,this._text_7=this.renderer.createText(this._el_6,"\n\t\t\t\t\t",null),this._anchor_8=this.renderer.createTemplateAnchor(this._el_6,null),this._appEl_8=new l.a(8,6,this,this._anchor_8),this._TemplateRef_8_5=new D.a(this._appEl_8,o),this._NgIf_8_6=new A.a(this._appEl_8.vcRef,this._TemplateRef_8_5),this._text_9=this.renderer.createText(this._el_6,"\n\t\t\t\t\t",null),this._anchor_10=this.renderer.createTemplateAnchor(this._el_6,null),this._appEl_10=new l.a(10,6,this,this._anchor_10),this._TemplateRef_10_5=new D.a(this._appEl_10,a),this._NgIf_10_6=new A.a(this._appEl_10.vcRef,this._TemplateRef_10_5),this._text_11=this.renderer.createText(this._el_6,"\n\t\t\t\t",null),this._text_12=this.renderer.createText(this._el_4,"\n\t\t\t\t",null),this._el_13=this.renderer.createElement(this._el_4,"ion-col",null),this.renderer.setElementAttribute(this._el_13,"center",""),this.renderer.setElementAttribute(this._el_13,"class","interact-button-col"),this.renderer.setElementAttribute(this._el_13,"text-center",""),this._Col_13_3=new E.a,this._text_14=this.renderer.createText(this._el_13,"\n\t\t\t\t\t",null),this._el_15=this.renderer.createElement(this._el_13,"div",null),this._text_16=this.renderer.createText(this._el_15,"\n\t\t\t\t\t\t",null),this._el_17=this.renderer.createElement(this._el_15,"button",null),this.renderer.setElementAttribute(this._el_17,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_17,"ion-button",""),this.renderer.setElementAttribute(this._el_17,"tooltipPlacement","top"),this._appEl_17=new l.a(17,15,this,this._el_17);var e=k.a(this.viewUtils,this.injector(17),this._appEl_17);this._Tooltip_17_5=new j.a(this._appEl_17.vcRef,this.parent.parentInjector.get(V.a),this.parent.parentInjector.get(H.f)),this._Button_17_6=new C.a(null,"",this.parent.parentInjector.get(N.c),new O.a(this._el_17),this.renderer),this._appEl_17.initComponent(this._Button_17_6,[],e),this._text_18=this.renderer.createText(null,"\n\t\t\t\t\t\t\tForce\n\t\t\t\t\t\t",null),e.create(this._Button_17_6,[[].concat([this._text_18])],null),this._text_19=this.renderer.createText(this._el_15,"\n\t\t\t\t\t",null),this._text_20=this.renderer.createText(this._el_13,"\n\t\t\t\t",null),this._text_21=this.renderer.createText(this._el_4,"\n\t\t\t",null),this._text_22=this.renderer.createText(this._el_2,"\n\t\t\t",null),this._el_23=this.renderer.createElement(this._el_2,"ion-row",null),this.renderer.setElementAttribute(this._el_23,"class","item-row"),this._Row_23_3=new E.c,this._text_24=this.renderer.createText(this._el_23,"\n\t\t\t\t",null),this._el_25=this.renderer.createElement(this._el_23,"ion-col",null),this.renderer.setElementAttribute(this._el_25,"center",""),this.renderer.setElementAttribute(this._el_25,"class","input-label"),this._Col_25_3=new E.a,this._text_26=this.renderer.createText(this._el_25,"\n\t\t\t\t\t",null),this._el_27=this.renderer.createElement(this._el_25,"span",null),this.renderer.setElementAttribute(this._el_27,"tooltipPlacement","right"),this._appEl_27=new l.a(27,25,this,this._el_27),this._Tooltip_27_5=new j.a(this._appEl_27.vcRef,this.parent.parentInjector.get(V.a),this.parent.parentInjector.get(H.f)),this._text_28=this.renderer.createText(this._el_27,"Source",null),this._text_29=this.renderer.createText(this._el_25,"\n\t\t\t\t",null),this._text_30=this.renderer.createText(this._el_23,"\n\t\t\t\t",null),this._el_31=this.renderer.createElement(this._el_23,"ion-col",null),this.renderer.setElementAttribute(this._el_31,"center",""),this.renderer.setElementAttribute(this._el_31,"class","input-col"),this._Col_31_3=new E.a,this._text_32=this.renderer.createText(this._el_31,"\n ",null),this._el_33=this.renderer.createElement(this._el_31,"div",null),this.renderer.setElementAttribute(this._el_33,"class","label-flex"),this._text_34=this.renderer.createText(this._el_33,"\n ",null),this._el_35=this.renderer.createElement(this._el_33,"div",null),this.renderer.setElementAttribute(this._el_35,"class","label-left"),this.renderer.setElementAttribute(this._el_35,"tooltipPlacement","top"),this._appEl_35=new l.a(35,33,this,this._el_35),this._Tooltip_35_5=new j.a(this._appEl_35.vcRef,this.parent.parentInjector.get(V.a),this.parent.parentInjector.get(H.f)),this._text_36=this.renderer.createText(this._el_35,"\n\t\t\t\t\t\t\t",null),this._el_37=this.renderer.createElement(this._el_35,"dropdown-popover",null),this._appEl_37=new l.a(37,35,this,this._el_37);var n=U.b(this.viewUtils,this.injector(37),this._appEl_37);this._DropdownPopoverComponent_37_4=new M.a(this.parent.parentInjector.get(d.a),new O.a(this._el_37),this.parent.parentInjector.get(H.f)),this._appEl_37.initComponent(this._DropdownPopoverComponent_37_4,[],n),n.create(this._DropdownPopoverComponent_37_4,[],null),this._text_38=this.renderer.createText(this._el_35,"\n ",null),this._text_39=this.renderer.createText(this._el_33,"\n ",null),this._text_40=this.renderer.createText(this._el_31,"\n\t\t\t\t",null),this._text_41=this.renderer.createText(this._el_23,"\n\t\t\t",null),this._text_42=this.renderer.createText(this._el_2,"\n\t\t\t",null),this._el_43=this.renderer.createElement(this._el_2,"ion-row",null),this.renderer.setElementAttribute(this._el_43,"class","item-row"),this._Row_43_3=new E.c,this._text_44=this.renderer.createText(this._el_43,"\n\t\t\t\t",null),this._el_45=this.renderer.createElement(this._el_43,"ion-col",null),this.renderer.setElementAttribute(this._el_45,"center",""),this.renderer.setElementAttribute(this._el_45,"class","input-label"),this._Col_45_3=new E.a,this._text_46=this.renderer.createText(this._el_45,"\n\t\t\t\t\t",null),this._el_47=this.renderer.createElement(this._el_45,"span",null),this.renderer.setElementAttribute(this._el_47,"tooltipPlacement","right"),this._appEl_47=new l.a(47,45,this,this._el_47),this._Tooltip_47_5=new j.a(this._appEl_47.vcRef,this.parent.parentInjector.get(V.a),this.parent.parentInjector.get(H.f)),this._text_48=this.renderer.createText(this._el_47,"Level",null),this._text_49=this.renderer.createText(this._el_45,"\n\t\t\t\t",null),this._text_50=this.renderer.createText(this._el_43,"\n\t\t\t\t",null),this._el_51=this.renderer.createElement(this._el_43,"ion-col",null),this.renderer.setElementAttribute(this._el_51,"center",""),this.renderer.setElementAttribute(this._el_51,"class","input-col"),this._Col_51_3=new E.a,this._text_52=this.renderer.createText(this._el_51,"\n ",null),this._el_53=this.renderer.createElement(this._el_51,"div",null),this.renderer.setElementAttribute(this._el_53,"class","label-flex"),this._text_54=this.renderer.createText(this._el_53,"\n ",null),this._el_55=this.renderer.createElement(this._el_53,"div",null),this.renderer.setElementAttribute(this._el_55,"class","label-left"),this.renderer.setElementAttribute(this._el_55,"tooltipPlacement","top"),this._appEl_55=new l.a(55,53,this,this._el_55),this._NgClass_55_5=new T.a(this.parent.parentInjector.get(P.a),this.parent.parentInjector.get(R.a),new O.a(this._el_55),this.renderer),this._Tooltip_55_6=new j.a(this._appEl_55.vcRef,this.parent.parentInjector.get(V.a),this.parent.parentInjector.get(H.f)),this._text_56=this.renderer.createText(this._el_55,"\n ",null),this._el_57=this.renderer.createElement(this._el_55,"input",null),this.renderer.setElementAttribute(this._el_57,"class","custom-input"),this.renderer.setElementAttribute(this._el_57,"formatInput",""),this.renderer.setElementAttribute(this._el_57,"step","any"),this._DefaultValueAccessor_57_3=new L.a(this.renderer,new O.a(this._el_57)),this._NG_VALUE_ACCESSOR_57_4=[this._DefaultValueAccessor_57_3],this._NgModel_57_5=new B.a(null,null,null,this._NG_VALUE_ACCESSOR_57_4),this._NgControl_57_6=this._NgModel_57_5,this._NgControlStatus_57_7=new F.a(this._NgControl_57_6),this._FormatInputDirective_57_8=new q.a(this.parent.parentInjector.get(z.a)),this._text_58=this.renderer.createText(this._el_55,"\n ",null),this._text_59=this.renderer.createText(this._el_53,"\n ",null),this._text_60=this.renderer.createText(this._el_51,"\n\t\t\t\t",null),this._text_61=this.renderer.createText(this._el_43,"\n\t\t\t",null),this._text_62=this.renderer.createText(this._el_2,"\n\t\t",null),this._text_63=this.renderer.createText(this._el_0,"\n\t",null),this._expr_0=p.n,this._expr_1=p.n;var i=this.renderer.listen(this._el_17,"tap",this.eventHandler(this._handle_tap_17_0.bind(this))),r=this.renderer.listen(this._el_17,"focusin",this.eventHandler(this._handle_focusin_17_1.bind(this))),s=this.renderer.listen(this._el_17,"mouseenter",this.eventHandler(this._handle_mouseenter_17_2.bind(this))),_=this.renderer.listen(this._el_17,"focusout",this.eventHandler(this._handle_focusout_17_3.bind(this))),h=this.renderer.listen(this._el_17,"mouseleave",this.eventHandler(this._handle_mouseleave_17_4.bind(this)));this._expr_7=p.n,this._expr_8=p.n,this._expr_9=p.n;var u=this.renderer.listen(this._el_27,"focusin",this.eventHandler(this._handle_focusin_27_0.bind(this))),f=this.renderer.listen(this._el_27,"mouseenter",this.eventHandler(this._handle_mouseenter_27_1.bind(this))),m=this.renderer.listen(this._el_27,"focusout",this.eventHandler(this._handle_focusout_27_2.bind(this))),g=this.renderer.listen(this._el_27,"mouseleave",this.eventHandler(this._handle_mouseleave_27_3.bind(this)));this._expr_14=p.n,this._expr_15=p.n,this._expr_16=p.n;var v=this.renderer.listen(this._el_35,"focusin",this.eventHandler(this._handle_focusin_35_0.bind(this))),x=this.renderer.listen(this._el_35,"mouseenter",this.eventHandler(this._handle_mouseenter_35_1.bind(this))),y=this.renderer.listen(this._el_35,"focusout",this.eventHandler(this._handle_focusout_35_2.bind(this))),b=this.renderer.listen(this._el_35,"mouseleave",this.eventHandler(this._handle_mouseleave_35_3.bind(this)));this._expr_21=p.n,this._expr_22=p.n,this._expr_23=p.n;var w=this.renderer.listen(this._el_37,"onSelection",this.eventHandler(this._handle_onSelection_37_0.bind(this)));this._expr_25=p.n;var I=this._DropdownPopoverComponent_37_4.onSelection.subscribe(this.eventHandler(this._handle_onSelection_37_0.bind(this))),S=this.renderer.listen(this._el_47,"focusin",this.eventHandler(this._handle_focusin_47_0.bind(this))),G=this.renderer.listen(this._el_47,"mouseenter",this.eventHandler(this._handle_mouseenter_47_1.bind(this))),W=this.renderer.listen(this._el_47,"focusout",this.eventHandler(this._handle_focusout_47_2.bind(this))),Y=this.renderer.listen(this._el_47,"mouseleave",this.eventHandler(this._handle_mouseleave_47_3.bind(this)));this._expr_30=p.n,this._expr_31=p.n,this._expr_32=p.n;var $=this.renderer.listen(this._el_55,"focusin",this.eventHandler(this._handle_focusin_55_0.bind(this))),X=this.renderer.listen(this._el_55,"mouseenter",this.eventHandler(this._handle_mouseenter_55_1.bind(this))),J=this.renderer.listen(this._el_55,"focusout",this.eventHandler(this._handle_focusout_55_2.bind(this))),Q=this.renderer.listen(this._el_55,"mouseleave",this.eventHandler(this._handle_mouseleave_55_3.bind(this)));this._expr_37=p.n,this._map_0=c.h(function(t){return{"move-feature-to-front":t}}),this._expr_38=p.n,this._expr_39=p.n,this._expr_40=p.n,this._expr_41=p.n,this._expr_42=p.n;var Z=this.renderer.listen(this._el_57,"valChange",this.eventHandler(this._handle_valChange_57_0.bind(this))),K=this.renderer.listen(this._el_57,"input",this.eventHandler(this._handle_input_57_1.bind(this))),tt=this.renderer.listen(this._el_57,"blur",this.eventHandler(this._handle_blur_57_2.bind(this))),et=this.renderer.listen(this._el_57,"focusout",this.eventHandler(this._handle_focusout_57_3.bind(this))),nt=this.renderer.listen(this._el_57,"keypress",this.eventHandler(this._handle_keypress_57_4.bind(this)));this._pipe_unitFormat_0_0=c.i(this.parent._pipe_unitFormat_0.transform.bind(this.parent._pipe_unitFormat_0)),this._expr_48=p.n,this._expr_49=p.n,this._expr_50=p.n,this._expr_51=p.n,this._expr_52=p.n,this._expr_53=p.n,this._expr_54=p.n;var it=this._FormatInputDirective_57_8.valChange.subscribe(this.eventHandler(this._handle_valChange_57_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._anchor_8,this._text_9,this._anchor_10,this._text_11,this._text_12,this._el_13,this._text_14,this._el_15,this._text_16,this._el_17,this._text_18,this._text_19,this._text_20,this._text_21,this._text_22,this._el_23,this._text_24,this._el_25,this._text_26,this._el_27,this._text_28,this._text_29,this._text_30,this._el_31,this._text_32,this._el_33,this._text_34,this._el_35,this._text_36,this._el_37,this._text_38,this._text_39,this._text_40,this._text_41,this._text_42,this._el_43,this._text_44,this._el_45,this._text_46,this._el_47,this._text_48,this._text_49,this._text_50,this._el_51,this._text_52,this._el_53,this._text_54,this._el_55,this._text_56,this._el_57,this._text_58,this._text_59,this._text_60,this._text_61,this._text_62,this._text_63],[i,r,s,_,h,u,f,m,g,v,x,y,b,w,S,G,W,Y,$,X,J,Q,Z,K,tt,et,nt],[I,it]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===D.b&&8===e?this._TemplateRef_8_5:t===A.a&&8===e?this._NgIf_8_6:t===D.b&&10===e?this._TemplateRef_10_5:t===A.a&&10===e?this._NgIf_10_6:t===E.a&&6<=e&&e<=11?this._Col_6_3:t===j.a&&17<=e&&e<=18?this._Tooltip_17_5:t===C.a&&17<=e&&e<=18?this._Button_17_6:t===E.a&&13<=e&&e<=20?this._Col_13_3:t===E.c&&4<=e&&e<=21?this._Row_4_3:t===j.a&&27<=e&&e<=28?this._Tooltip_27_5:t===E.a&&25<=e&&e<=29?this._Col_25_3:t===M.a&&37===e?this._DropdownPopoverComponent_37_4:t===j.a&&35<=e&&e<=38?this._Tooltip_35_5:t===E.a&&31<=e&&e<=40?this._Col_31_3:t===E.c&&23<=e&&e<=41?this._Row_23_3:t===j.a&&47<=e&&e<=48?this._Tooltip_47_5:t===E.a&&45<=e&&e<=49?this._Col_45_3:t===L.a&&57===e?this._DefaultValueAccessor_57_3:t===G.a&&57===e?this._NG_VALUE_ACCESSOR_57_4:t===B.a&&57===e?this._NgModel_57_5:t===W.a&&57===e?this._NgControl_57_6:t===F.a&&57===e?this._NgControlStatus_57_7:t===q.a&&57===e?this._FormatInputDirective_57_8:t===T.a&&55<=e&&e<=58?this._NgClass_55_5:t===j.a&&55<=e&&e<=58?this._Tooltip_55_6:t===E.a&&51<=e&&e<=60?this._Col_51_3:t===E.c&&43<=e&&e<=61?this._Row_43_3:t===E.b&&2<=e&&e<=62?this._Grid_2_3:n},e.prototype.detectChangesInternal=function(t){var e=null,n=new p.o,i="LA"!==this.parent.context.triggerSource;c.c(t,this._expr_0,i)&&(this._NgIf_8_6.ngIf=i,this._expr_0=i);var r="LA"===this.parent.context.triggerSource;c.c(t,this._expr_1,r)&&(this._NgIf_10_6.ngIf=r,this._expr_1=r),e=null;var s=this.parent.context.tooltipService.getTooltip("triggerForce").message;c.c(t,this._expr_7,s)&&(this._Tooltip_17_5.content=s,null===e&&(e={}),e.content=new p.m(this._expr_7,s),this._expr_7=s);var o=!0;c.c(t,this._expr_8,o)&&(this._Tooltip_17_5.tooltipAnimation=o,null===e&&(e={}),e.tooltipAnimation=new p.m(this._expr_8,o),this._expr_8=o);var a="top";c.c(t,this._expr_9,a)&&(this._Tooltip_17_5.tooltipPlacement=a,null===e&&(e={}),e.tooltipPlacement=new p.m(this._expr_9,a),this._expr_9=a),null!==e&&this._Tooltip_17_5.ngOnChanges(e),e=null;var _=this.parent.context.tooltipService.getTooltip("triggerSource").message;c.c(t,this._expr_14,_)&&(this._Tooltip_27_5.content=_,null===e&&(e={}),e.content=new p.m(this._expr_14,_),this._expr_14=_);var l=!0;c.c(t,this._expr_15,l)&&(this._Tooltip_27_5.tooltipAnimation=l,null===e&&(e={}),e.tooltipAnimation=new p.m(this._expr_15,l),this._expr_15=l);var h="right";c.c(t,this._expr_16,h)&&(this._Tooltip_27_5.tooltipPlacement=h,null===e&&(e={}),e.tooltipPlacement=new p.m(this._expr_16,h),this._expr_16=h),null!==e&&this._Tooltip_27_5.ngOnChanges(e),e=null;var u=this.parent.context.tooltipService.getTooltip("triggerSource").message;c.c(t,this._expr_21,u)&&(this._Tooltip_35_5.content=u,null===e&&(e={}),e.content=new p.m(this._expr_21,u),this._expr_21=u);var d=!0;c.c(t,this._expr_22,d)&&(this._Tooltip_35_5.tooltipAnimation=d,null===e&&(e={}),e.tooltipAnimation=new p.m(this._expr_22,d),this._expr_22=d);var f="top";c.c(t,this._expr_23,f)&&(this._Tooltip_35_5.tooltipPlacement=f,null===e&&(e={}),e.tooltipPlacement=new p.m(this._expr_23,f),this._expr_23=f),null!==e&&this._Tooltip_35_5.ngOnChanges(e),e=null;var m=this.parent.context.triggerSources;c.c(t,this._expr_25,m)&&(this._DropdownPopoverComponent_37_4.dataArray=m,null===e&&(e={}),e.dataArray=new p.m(this._expr_25,m),this._expr_25=m),null!==e&&this._DropdownPopoverComponent_37_4.ngOnChanges(e),e=null;var g=this.parent.context.tooltipService.getTooltip("triggerLevel").message;c.c(t,this._expr_30,g)&&(this._Tooltip_47_5.content=g,null===e&&(e={}),e.content=new p.m(this._expr_30,g),this._expr_30=g);var v=!0;c.c(t,this._expr_31,v)&&(this._Tooltip_47_5.tooltipAnimation=v,null===e&&(e={}),e.tooltipAnimation=new p.m(this._expr_31,v),this._expr_31=v);var x="right";c.c(t,this._expr_32,x)&&(this._Tooltip_47_5.tooltipPlacement=x,null===e&&(e={}),e.tooltipPlacement=new p.m(this._expr_32,x),this._expr_32=x),null!==e&&this._Tooltip_47_5.ngOnChanges(e);var y="label-left";c.c(t,this._expr_37,y)&&(this._NgClass_55_5.klass=y,this._expr_37=y);var b=this._map_0(this.parent.context.tutorialMode&&"level"===this.parent.context.tutorialStage);c.c(t,this._expr_38,b)&&(this._NgClass_55_5.ngClass=b,this._expr_38=b),t||this._NgClass_55_5.ngDoCheck(),e=null;var w=this.parent.context.tutorialMode?this.parent._TooltipContent_2_4:this.parent.context.tooltipService.getTooltip("triggerLevel").message;c.c(t,this._expr_39,w)&&(this._Tooltip_55_6.content=w,null===e&&(e={}),e.content=new p.m(this._expr_39,w),this._expr_39=w);var C=!0;c.c(t,this._expr_40,C)&&(this._Tooltip_55_6.tooltipAnimation=C,null===e&&(e={}),e.tooltipAnimation=new p.m(this._expr_40,C),this._expr_40=C);var E="top";c.c(t,this._expr_41,E)&&(this._Tooltip_55_6.tooltipPlacement=E,null===e&&(e={}),e.tooltipPlacement=new p.m(this._expr_41,E),this._expr_41=E);var T="level"===this.parent.context.tutorialStage&&this.parent.context.tutorialMode;c.c(t,this._expr_42,T)&&(this._Tooltip_55_6.forceShow=T,null===e&&(e={}),e.forceShow=new p.m(this._expr_42,T),this._expr_42=T),null!==e&&this._Tooltip_55_6.ngOnChanges(e),e=null,n.reset();var A=n.unwrap(c.r(this._pipe_unitFormat_0_0,this.parent._pipe_unitFormat_0.transform)(this.parent.context.deviceDataTransferService.triggerLevel,"V"));(n.hasWrappedValue||c.c(t,this._expr_48,A))&&(this._NgModel_57_5.model=A,null===e&&(e={}),e.model=new p.m(this._expr_48,A),this._expr_48=A),null!==e&&this._NgModel_57_5.ngOnChanges(e),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_17_6.ngAfterContentInit();var I=this._NgControlStatus_57_7.ngClassUntouched;c.c(t,this._expr_49,I)&&(this.renderer.setElementClass(this._el_57,"ng-untouched",I),this._expr_49=I);var S=this._NgControlStatus_57_7.ngClassTouched;c.c(t,this._expr_50,S)&&(this.renderer.setElementClass(this._el_57,"ng-touched",S),this._expr_50=S);var O=this._NgControlStatus_57_7.ngClassPristine;c.c(t,this._expr_51,O)&&(this.renderer.setElementClass(this._el_57,"ng-pristine",O),this._expr_51=O);var k=this._NgControlStatus_57_7.ngClassDirty;c.c(t,this._expr_52,k)&&(this.renderer.setElementClass(this._el_57,"ng-dirty",k),this._expr_52=k);var N=this._NgControlStatus_57_7.ngClassValid;c.c(t,this._expr_53,N)&&(this.renderer.setElementClass(this._el_57,"ng-valid",N),this._expr_53=N);var P=this._NgControlStatus_57_7.ngClassInvalid;c.c(t,this._expr_54,P)&&(this.renderer.setElementClass(this._el_57,"ng-invalid",P),this._expr_54=P),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._DropdownPopoverComponent_37_4.ngAfterViewInit()},e.prototype.dirtyParentQueriesInternal=function(){this.parent._viewQuery_dropPopSource_0.setDirty()},e.prototype.destroyInternal=function(){this._NgModel_57_5.ngOnDestroy()},e.prototype._handle_tap_17_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.forceTrigger()!==!1;return e},e.prototype._handle_focusin_17_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_17_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_17_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_17_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_17_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_17_5.hide()!==!1;return e},e.prototype._handle_mouseleave_17_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_17_5.hide()!==!1;return e},e.prototype._handle_focusin_27_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_27_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_27_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_27_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_27_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_27_5.hide()!==!1;return e},e.prototype._handle_mouseleave_27_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_27_5.hide()!==!1;return e},e.prototype._handle_focusin_35_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_35_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_35_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_35_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_35_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_35_5.hide()!==!1;return e},e.prototype._handle_mouseleave_35_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_35_5.hide()!==!1;return e},e.prototype._handle_onSelection_37_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.sourceSelect(t)!==!1;return e},e.prototype._handle_focusin_47_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_47_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_47_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_47_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_47_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_47_5.hide()!==!1;return e},e.prototype._handle_mouseleave_47_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_47_5.hide()!==!1;return e},e.prototype._handle_focusin_55_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_55_6.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_55_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_55_6.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_55_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_55_6.hide()!==!1;return e},e.prototype._handle_mouseleave_55_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_55_6.hide()!==!1;return e},e.prototype._handle_valChange_57_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.formatInputAndUpdate(t)!==!1;return e},e.prototype._handle_input_57_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_57_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_57_2=function(t){ this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_57_3.onTouched()!==!1;return e},e.prototype._handle_focusout_57_3=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_57_8.onFocusOut(t)!==!1;return e},e.prototype._handle_keypress_57_4=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_57_8.onkeypress(t)!==!1;return e},e}(_.a),tt=function(t){function e(n,i,r){t.call(this,e,Q,u.a.EMBEDDED,n,i,r,p.b.CheckAlways)}return Y(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","trigger-image-container"),this.renderer.setElementAttribute(this._el_0,"onlyForceShow","true"),this.renderer.setElementAttribute(this._el_0,"tooltipPlacement","top"),this._appEl_0=new l.a(0,null,this,this._el_0),this._NgClass_0_5=new T.a(this.parent.parent.parentInjector.get(P.a),this.parent.parent.parentInjector.get(R.a),new O.a(this._el_0),this.renderer),this._Tooltip_0_6=new j.a(this._appEl_0.vcRef,this.parent.parent.parentInjector.get(V.a),this.parent.parent.parentInjector.get(H.f)),this._text_1=this.renderer.createText(this._el_0,"\n\n\t\t\t\t\t\t",null),this._el_2=this.renderer.createElement(this._el_0,"button",null),this.renderer.setElementAttribute(this._el_2,"class","off-button disable-hover"),this.renderer.setElementAttribute(this._el_2,"ion-button",""),this.renderer.setElementAttribute(this._el_2,"tooltipPlacement","top"),this._appEl_2=new l.a(2,0,this,this._el_2);var e=k.a(this.viewUtils,this.injector(2),this._appEl_2);this._NgClass_2_5=new T.a(this.parent.parent.parentInjector.get(P.a),this.parent.parent.parentInjector.get(R.a),new O.a(this._el_2),this.renderer),this._Tooltip_2_6=new j.a(this._appEl_2.vcRef,this.parent.parent.parentInjector.get(V.a),this.parent.parent.parentInjector.get(H.f)),this._Button_2_7=new C.a(null,"",this.parent.parent.parentInjector.get(N.c),new O.a(this._el_2),this.renderer),this._appEl_2.initComponent(this._Button_2_7,[],e),this._text_3=this.renderer.createText(null,"\n\t\t\t\t\t\t\t",null),this._el_4=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_4,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_4,"src","assets/img/rising.svg"),this._text_5=this.renderer.createText(null,"\n\t\t\t\t\t\t",null),e.create(this._Button_2_7,[[].concat([this._text_3,this._el_4,this._text_5])],null),this._text_6=this.renderer.createText(this._el_0,"\n\t\t\t\t\t\t",null),this._el_7=this.renderer.createElement(this._el_0,"button",null),this.renderer.setElementAttribute(this._el_7,"class","off-button disable-hover"),this.renderer.setElementAttribute(this._el_7,"ion-button",""),this.renderer.setElementAttribute(this._el_7,"tooltipPlacement","top"),this._appEl_7=new l.a(7,0,this,this._el_7);var n=k.a(this.viewUtils,this.injector(7),this._appEl_7);this._NgClass_7_5=new T.a(this.parent.parent.parentInjector.get(P.a),this.parent.parent.parentInjector.get(R.a),new O.a(this._el_7),this.renderer),this._Tooltip_7_6=new j.a(this._appEl_7.vcRef,this.parent.parent.parentInjector.get(V.a),this.parent.parent.parentInjector.get(H.f)),this._Button_7_7=new C.a(null,"",this.parent.parent.parentInjector.get(N.c),new O.a(this._el_7),this.renderer),this._appEl_7.initComponent(this._Button_7_7,[],n),this._text_8=this.renderer.createText(null,"\n\t\t\t\t\t\t\t",null),this._el_9=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_9,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_9,"src","assets/img/falling.svg"),this._text_10=this.renderer.createText(null,"\n\t\t\t\t\t\t",null),n.create(this._Button_7_7,[[].concat([this._text_8,this._el_9,this._text_10])],null),this._text_11=this.renderer.createText(this._el_0,"\n\t\t\t\t\t\t\n\t\t\t\t\t\t",null),this._el_12=this.renderer.createElement(this._el_0,"button",null),this.renderer.setElementAttribute(this._el_12,"class","off-button disable-hover off-button-right"),this.renderer.setElementAttribute(this._el_12,"ion-button",""),this.renderer.setElementAttribute(this._el_12,"tooltipPlacement","top"),this._appEl_12=new l.a(12,0,this,this._el_12);var i=k.a(this.viewUtils,this.injector(12),this._appEl_12);this._NgClass_12_5=new T.a(this.parent.parent.parentInjector.get(P.a),this.parent.parent.parentInjector.get(R.a),new O.a(this._el_12),this.renderer),this._Tooltip_12_6=new j.a(this._appEl_12.vcRef,this.parent.parent.parentInjector.get(V.a),this.parent.parent.parentInjector.get(H.f)),this._Button_12_7=new C.a(null,"",this.parent.parent.parentInjector.get(N.c),new O.a(this._el_12),this.renderer),this._appEl_12.initComponent(this._Button_12_7,[],i),this._text_13=this.renderer.createText(null,"\n\t\t\t\t\t\t\tOff\n\t\t\t\t\t\t",null),i.create(this._Button_12_7,[[].concat([this._text_13])],null),this._text_14=this.renderer.createText(this._el_0,"\n\t\t\t\t\t",null);var r=this.renderer.listen(this._el_0,"focusin",this.eventHandler(this._handle_focusin_0_0.bind(this))),s=this.renderer.listen(this._el_0,"mouseenter",this.eventHandler(this._handle_mouseenter_0_1.bind(this))),o=this.renderer.listen(this._el_0,"focusout",this.eventHandler(this._handle_focusout_0_2.bind(this))),a=this.renderer.listen(this._el_0,"mouseleave",this.eventHandler(this._handle_mouseleave_0_3.bind(this)));this._expr_4=p.n,this._map_0=c.h(function(t){return{"move-feature-to-front":t}}),this._expr_5=p.n,this._expr_6=p.n,this._expr_7=p.n,this._expr_8=p.n,this._expr_9=p.n,this._expr_10=p.n,this._expr_16=p.n;var _=this.renderer.listen(this._el_2,"tap",this.eventHandler(this._handle_tap_2_0.bind(this))),h=this.renderer.listen(this._el_2,"focusin",this.eventHandler(this._handle_focusin_2_1.bind(this))),u=this.renderer.listen(this._el_2,"mouseenter",this.eventHandler(this._handle_mouseenter_2_2.bind(this))),d=this.renderer.listen(this._el_2,"focusout",this.eventHandler(this._handle_focusout_2_3.bind(this))),f=this.renderer.listen(this._el_2,"mouseleave",this.eventHandler(this._handle_mouseleave_2_4.bind(this)));this._expr_17=p.n,this._map_1=c.h(function(t){return{"selected-mode":t}}),this._expr_18=p.n,this._expr_19=p.n,this._expr_20=p.n,this._expr_21=p.n,this._expr_27=p.n;var m=this.renderer.listen(this._el_7,"tap",this.eventHandler(this._handle_tap_7_0.bind(this))),g=this.renderer.listen(this._el_7,"focusin",this.eventHandler(this._handle_focusin_7_1.bind(this))),v=this.renderer.listen(this._el_7,"mouseenter",this.eventHandler(this._handle_mouseenter_7_2.bind(this))),x=this.renderer.listen(this._el_7,"focusout",this.eventHandler(this._handle_focusout_7_3.bind(this))),y=this.renderer.listen(this._el_7,"mouseleave",this.eventHandler(this._handle_mouseleave_7_4.bind(this)));this._expr_28=p.n,this._map_2=c.h(function(t){return{"selected-mode":t}}),this._expr_29=p.n,this._expr_30=p.n,this._expr_31=p.n,this._expr_32=p.n,this._expr_38=p.n;var b=this.renderer.listen(this._el_12,"tap",this.eventHandler(this._handle_tap_12_0.bind(this))),w=this.renderer.listen(this._el_12,"focusin",this.eventHandler(this._handle_focusin_12_1.bind(this))),E=this.renderer.listen(this._el_12,"mouseenter",this.eventHandler(this._handle_mouseenter_12_2.bind(this))),A=this.renderer.listen(this._el_12,"focusout",this.eventHandler(this._handle_focusout_12_3.bind(this))),I=this.renderer.listen(this._el_12,"mouseleave",this.eventHandler(this._handle_mouseleave_12_4.bind(this)));return this._expr_39=p.n,this._map_3=c.h(function(t){return{"selected-mode":t}}),this._expr_40=p.n,this._expr_41=p.n,this._expr_42=p.n,this._expr_43=p.n,this.init([].concat([this._appEl_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._text_11,this._el_12,this._text_13,this._text_14],[r,s,o,a,_,h,u,d,f,m,g,v,x,y,b,w,E,A,I],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===T.a&&2<=e&&e<=5?this._NgClass_2_5:t===j.a&&2<=e&&e<=5?this._Tooltip_2_6:t===C.a&&2<=e&&e<=5?this._Button_2_7:t===T.a&&7<=e&&e<=10?this._NgClass_7_5:t===j.a&&7<=e&&e<=10?this._Tooltip_7_6:t===C.a&&7<=e&&e<=10?this._Button_7_7:t===T.a&&12<=e&&e<=13?this._NgClass_12_5:t===j.a&&12<=e&&e<=13?this._Tooltip_12_6:t===C.a&&12<=e&&e<=13?this._Button_12_7:t===T.a&&0<=e&&e<=14?this._NgClass_0_5:t===j.a&&0<=e&&e<=14?this._Tooltip_0_6:n},e.prototype.detectChangesInternal=function(t){var e=null,n="trigger-image-container";c.c(t,this._expr_4,n)&&(this._NgClass_0_5.klass=n,this._expr_4=n);var i=this._map_0(this.parent.parent.context.tutorialMode&&"type"===this.parent.parent.context.tutorialStage);c.c(t,this._expr_5,i)&&(this._NgClass_0_5.ngClass=i,this._expr_5=i),t||this._NgClass_0_5.ngDoCheck(),e=null;var r=this.parent.parent._TooltipContent_14_4;c.c(t,this._expr_6,r)&&(this._Tooltip_0_6.content=r,null===e&&(e={}),e.content=new p.m(this._expr_6,r),this._expr_6=r);var s=!0;c.c(t,this._expr_7,s)&&(this._Tooltip_0_6.tooltipAnimation=s,null===e&&(e={}),e.tooltipAnimation=new p.m(this._expr_7,s),this._expr_7=s);var o="top";c.c(t,this._expr_8,o)&&(this._Tooltip_0_6.tooltipPlacement=o,null===e&&(e={}),e.tooltipPlacement=new p.m(this._expr_8,o),this._expr_8=o);var a="type"===this.parent.parent.context.tutorialStage&&this.parent.parent.context.tutorialMode;c.c(t,this._expr_9,a)&&(this._Tooltip_0_6.forceShow=a,null===e&&(e={}),e.forceShow=new p.m(this._expr_9,a),this._expr_9=a);var _="true";c.c(t,this._expr_10,_)&&(this._Tooltip_0_6.onlyForceShow=_,null===e&&(e={}),e.onlyForceShow=new p.m(this._expr_10,_),this._expr_10=_),null!==e&&this._Tooltip_0_6.ngOnChanges(e);var l="off-button disable-hover";c.c(t,this._expr_17,l)&&(this._NgClass_2_5.klass=l,this._expr_17=l);var h=this._map_1("rising"===this.parent.parent.context.edgeDirection);c.c(t,this._expr_18,h)&&(this._NgClass_2_5.ngClass=h,this._expr_18=h),t||this._NgClass_2_5.ngDoCheck(),e=null;var u=this.parent.parent.context.tooltipService.getTooltip("triggerRisingEdge").message;c.c(t,this._expr_19,u)&&(this._Tooltip_2_6.content=u,null===e&&(e={}),e.content=new p.m(this._expr_19,u),this._expr_19=u);var d=!0;c.c(t,this._expr_20,d)&&(this._Tooltip_2_6.tooltipAnimation=d,null===e&&(e={}),e.tooltipAnimation=new p.m(this._expr_20,d),this._expr_20=d);var f="top";c.c(t,this._expr_21,f)&&(this._Tooltip_2_6.tooltipPlacement=f,null===e&&(e={}),e.tooltipPlacement=new p.m(this._expr_21,f),this._expr_21=f),null!==e&&this._Tooltip_2_6.ngOnChanges(e);var m="off-button disable-hover";c.c(t,this._expr_28,m)&&(this._NgClass_7_5.klass=m,this._expr_28=m);var g=this._map_2("falling"===this.parent.parent.context.edgeDirection);c.c(t,this._expr_29,g)&&(this._NgClass_7_5.ngClass=g,this._expr_29=g),t||this._NgClass_7_5.ngDoCheck(),e=null;var v=this.parent.parent.context.tooltipService.getTooltip("triggerFallingEdge").message;c.c(t,this._expr_30,v)&&(this._Tooltip_7_6.content=v,null===e&&(e={}),e.content=new p.m(this._expr_30,v),this._expr_30=v);var x=!0;c.c(t,this._expr_31,x)&&(this._Tooltip_7_6.tooltipAnimation=x,null===e&&(e={}),e.tooltipAnimation=new p.m(this._expr_31,x),this._expr_31=x);var y="top";c.c(t,this._expr_32,y)&&(this._Tooltip_7_6.tooltipPlacement=y,null===e&&(e={}),e.tooltipPlacement=new p.m(this._expr_32,y),this._expr_32=y),null!==e&&this._Tooltip_7_6.ngOnChanges(e);var b="off-button disable-hover off-button-right";c.c(t,this._expr_39,b)&&(this._NgClass_12_5.klass=b,this._expr_39=b);var w=this._map_3("off"===this.parent.parent.context.edgeDirection);c.c(t,this._expr_40,w)&&(this._NgClass_12_5.ngClass=w,this._expr_40=w),t||this._NgClass_12_5.ngDoCheck(),e=null;var C=this.parent.parent.context.tooltipService.getTooltip("triggerOff").message;c.c(t,this._expr_41,C)&&(this._Tooltip_12_6.content=C,null===e&&(e={}),e.content=new p.m(this._expr_41,C),this._expr_41=C);var E=!0;c.c(t,this._expr_42,E)&&(this._Tooltip_12_6.tooltipAnimation=E,null===e&&(e={}),e.tooltipAnimation=new p.m(this._expr_42,E),this._expr_42=E);var T="top";c.c(t,this._expr_43,T)&&(this._Tooltip_12_6.tooltipPlacement=T,null===e&&(e={}),e.tooltipPlacement=new p.m(this._expr_43,T),this._expr_43=T),null!==e&&this._Tooltip_12_6.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_2_7.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_7_7.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_12_7.ngAfterContentInit());var A=this.parent.parent.context.running;c.c(t,this._expr_16,A)&&(this.renderer.setElementProperty(this._el_2,"disabled",A),this._expr_16=A);var I=this.parent.parent.context.running;c.c(t,this._expr_27,I)&&(this.renderer.setElementProperty(this._el_7,"disabled",I),this._expr_27=I);var S=this.parent.parent.context.running;c.c(t,this._expr_38,S)&&(this.renderer.setElementProperty(this._el_12,"disabled",S),this._expr_38=S),this.detectViewChildrenChanges(t)},e.prototype._handle_focusin_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_0_6.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_0_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_0_6.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_0_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_0_6.hide()!==!1;return e},e.prototype._handle_mouseleave_0_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_0_6.hide()!==!1;return e},e.prototype._handle_tap_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.setTrigType("rising")!==!1;return e},e.prototype._handle_focusin_2_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_2_6.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_2_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_2_6.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_2_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_2_6.hide()!==!1;return e},e.prototype._handle_mouseleave_2_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_2_6.hide()!==!1;return e},e.prototype._handle_tap_7_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.setTrigType("falling")!==!1;return e},e.prototype._handle_focusin_7_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_7_6.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_7_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_7_6.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_7_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_7_6.hide()!==!1;return e},e.prototype._handle_mouseleave_7_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_7_6.hide()!==!1;return e},e.prototype._handle_tap_12_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.setTrigType("off")!==!1;return e},e.prototype._handle_focusin_12_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_12_6.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_12_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_12_6.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_12_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_12_6.hide()!==!1;return e},e.prototype._handle_mouseleave_12_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_12_6.hide()!==!1;return e},e}(_.a),et=function(t){function e(n,i,r){t.call(this,e,Q,u.a.EMBEDDED,n,i,r,p.b.CheckAlways)}return Y(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this._text_1=this.renderer.createText(this._el_0,"\n\t\t\t\t\t\t",null),this._el_2=this.renderer.createElement(this._el_0,"button",null),this.renderer.setElementAttribute(this._el_2,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_2,"ion-button",""),this._appEl_2=new l.a(2,0,this,this._el_2);var e=k.a(this.viewUtils,this.injector(2),this._appEl_2);this._Button_2_4=new C.a(null,"",this.parent.parent.parentInjector.get(N.c),new O.a(this._el_2),this.renderer),this._appEl_2.initComponent(this._Button_2_4,[],e),this._text_3=this.renderer.createText(null,"\n\t\t\t\t\t\t\tConfigure\n\t\t\t\t\t\t",null),e.create(this._Button_2_4,[[].concat([this._text_3])],null),this._text_4=this.renderer.createText(this._el_0,"\n\t\t\t\t\t",null),this._expr_1=p.n;var n=this.renderer.listen(this._el_2,"click",this.eventHandler(this._handle_click_2_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===C.a&&2<=e&&e<=3?this._Button_2_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_2_4.ngAfterContentInit();var e=this.parent.parent.context.running;c.c(t,this._expr_1,e)&&(this.renderer.setElementProperty(this._el_2,"disabled",e),this._expr_1=e),this.detectViewChildrenChanges(t)},e.prototype._handle_click_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.openLaPopover(t)!==!1;return e},e}(_.a)},function(t,e,n){"use strict";function i(t,e,n){return null===D&&(D=t.createRenderComponentType("",0,p.c.None,[],{})),new j(t,e,n)}function r(t,e,n){return null===L&&(L=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/components/xaxis-controls/xaxis-controls.html",0,p.c.None,M,{})),new B(t,e,n)}function s(t,e,n){return new F(t,e,n)}var o=n(10),a=n(6),_=n(370),l=n(11),h=n(5),c=n(4),u=n(28),p=n(8),d=n(7),f=n(33),m=n(63),g=n(21),v=n(35),x=n(20),y=n(70),b=n(60),w=n(62),C=n(61),E=n(129),T=n(25),A=n(2),I=n(14),S=n(51),O=n(23),k=n(66),N=n(41),P=n(53);e.a=r;var R=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},D=null,j=function(t){function e(n,i,r){t.call(this,e,D,h.a.HOST,n,i,r,c.b.CheckAlways)}return R(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("xaxis-controls",t,null),this._appEl_0=new a.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._XAxisComponent_0_4=new _.a(this.parentInjector.get(u.a)),this._appEl_0.initComponent(this._XAxisComponent_0_4,[],e),e.create(this._XAxisComponent_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===_.a&&0===e?this._XAxisComponent_0_4:n},e}(o.a),M=(new d.a("xaxis-controls",i,_.a),[]),L=null,B=function(t){function e(n,i,r){t.call(this,e,L,h.a.COMPONENT,n,i,r,c.b.CheckAlways)}return R(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","xaxis-component-wrapper"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._anchor_2=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_2=new a.a(2,0,this,this._anchor_2),this._TemplateRef_2_5=new g.a(this._appEl_2,s),this._NgIf_2_6=new f.a(this._appEl_2.vcRef,this._TemplateRef_2_5),this._text_3=this.renderer.createText(this._el_0,"\n",null),this._expr_0=c.n,this._pipe_unitFormat_0=new m.a,this.init([],[this._el_0,this._text_1,this._anchor_2,this._text_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===g.b&&2===e?this._TemplateRef_2_5:t===f.a&&2===e?this._NgIf_2_6:n},e.prototype.detectChangesInternal=function(t){var e=this.context.showTimeSettings;l.c(t,this._expr_0,e)&&(this._NgIf_2_6.ngIf=e,this._expr_0=e),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(o.a),F=function(t){function e(n,i,r){t.call(this,e,L,h.a.EMBEDDED,n,i,r,c.b.CheckAlways)}return R(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-row",null),this.renderer.setElementAttribute(this._el_0,"class","controls-container time-base-row"),this._Row_0_3=new v.c,this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_2,"center",""),this.renderer.setElementAttribute(this._el_2,"class","tpd-label-col"),this._Col_2_3=new v.a,this._text_3=this.renderer.createText(this._el_2,"\n Time/\n ",null),this._text_4=this.renderer.createText(this._el_0,"\n ",null),this._el_5=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_5,"center",""),this.renderer.setElementAttribute(this._el_5,"class","xaxis-left"),this._Col_5_3=new v.a,this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._el_7=this.renderer.createElement(this._el_5,"div",null),this.renderer.setElementAttribute(this._el_7,"style","display:inline-block"),this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"button",null),this.renderer.setElementAttribute(this._el_9,"class","img-button disable-hover"),this.renderer.setElementAttribute(this._el_9,"ion-button",""),this._appEl_9=new a.a(9,7,this,this._el_9);var e=T.a(this.viewUtils,this.injector(9),this._appEl_9);this._Button_9_4=new x.a(null,"",this.parent.parentInjector.get(A.c),new I.a(this._el_9),this.renderer),this._appEl_9.initComponent(this._Button_9_4,[],e),this._text_10=this.renderer.createText(null,"\n ",null),this._el_11=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_11,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_11,"src","assets/img/zoom-out.svg"),this._text_12=this.renderer.createText(null,"\n ",null),e.create(this._Button_9_4,[[].concat([this._text_10,this._el_11,this._text_12])],null),this._text_13=this.renderer.createText(this._el_7,"\n ",null),this._text_14=this.renderer.createText(this._el_5,"\n ",null),this._text_15=this.renderer.createText(this._el_0,"\n ",null),this._el_16=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_16,"center",""),this.renderer.setElementAttribute(this._el_16,"class","xaxis-center"),this.renderer.setElementAttribute(this._el_16,"text-center",""),this._Col_16_3=new v.a,this._text_17=this.renderer.createText(this._el_16,"\n ",null),this._el_18=this.renderer.createElement(this._el_16,"div",null),this.renderer.setElementAttribute(this._el_18,"style","display:inline-block;"),this.renderer.setElementAttribute(this._el_18,"tooltipPlacement","bottom"),this._appEl_18=new a.a(18,16,this,this._el_18),this._Tooltip_18_5=new y.a(this._appEl_18.vcRef,this.parent.parentInjector.get(S.a),this.parent.parentInjector.get(O.f)),this._text_19=this.renderer.createText(this._el_18,"\n ",null),this._el_20=this.renderer.createElement(this._el_18,"input",null),this.renderer.setElementAttribute(this._el_20,"class","custom-input highlight-input"),this.renderer.setElementAttribute(this._el_20,"formatInput",""),this.renderer.setElementAttribute(this._el_20,"step","any"),this._DefaultValueAccessor_20_3=new b.a(this.renderer,new I.a(this._el_20)),this._NG_VALUE_ACCESSOR_20_4=[this._DefaultValueAccessor_20_3],this._NgModel_20_5=new w.a(null,null,null,this._NG_VALUE_ACCESSOR_20_4),this._NgControl_20_6=this._NgModel_20_5,this._NgControlStatus_20_7=new C.a(this._NgControl_20_6),this._FormatInputDirective_20_8=new E.a(this.parent.parentInjector.get(k.a)),this._text_21=this.renderer.createText(this._el_18,"\n ",null),this._text_22=this.renderer.createText(this._el_16,"\n ",null),this._text_23=this.renderer.createText(this._el_0,"\n ",null),this._el_24=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_24,"center",""),this.renderer.setElementAttribute(this._el_24,"class","xaxis-right"),this._Col_24_3=new v.a,this._text_25=this.renderer.createText(this._el_24,"\n ",null),this._el_26=this.renderer.createElement(this._el_24,"div",null),this.renderer.setElementAttribute(this._el_26,"style","display:inline-block"),this._text_27=this.renderer.createText(this._el_26,"\n ",null),this._el_28=this.renderer.createElement(this._el_26,"button",null),this.renderer.setElementAttribute(this._el_28,"class","img-button disable-hover"),this.renderer.setElementAttribute(this._el_28,"ion-button",""),this._appEl_28=new a.a(28,26,this,this._el_28);var n=T.a(this.viewUtils,this.injector(28),this._appEl_28);this._Button_28_4=new x.a(null,"",this.parent.parentInjector.get(A.c),new I.a(this._el_28),this.renderer),this._appEl_28.initComponent(this._Button_28_4,[],n),this._text_29=this.renderer.createText(null,"\n ",null),this._el_30=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_30,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_30,"src","assets/img/zoom-in.svg"),this._text_31=this.renderer.createText(null,"\n ",null),n.create(this._Button_28_4,[[].concat([this._text_29,this._el_30,this._text_31])],null),this._text_32=this.renderer.createText(this._el_26,"\n ",null),this._text_33=this.renderer.createText(this._el_24,"\n ",null),this._text_34=this.renderer.createText(this._el_0,"\n ",null),this._expr_1=c.n;var i=this.renderer.listen(this._el_9,"tap",this.eventHandler(this._handle_tap_9_0.bind(this))),r=this.renderer.listen(this._el_18,"focusin",this.eventHandler(this._handle_focusin_18_0.bind(this))),s=this.renderer.listen(this._el_18,"mouseenter",this.eventHandler(this._handle_mouseenter_18_1.bind(this))),o=this.renderer.listen(this._el_18,"focusout",this.eventHandler(this._handle_focusout_18_2.bind(this))),_=this.renderer.listen(this._el_18,"mouseleave",this.eventHandler(this._handle_mouseleave_18_3.bind(this)));this._expr_6=c.n,this._expr_7=c.n,this._expr_8=c.n;var h=this.renderer.listen(this._el_20,"valChange",this.eventHandler(this._handle_valChange_20_0.bind(this))),u=this.renderer.listen(this._el_20,"input",this.eventHandler(this._handle_input_20_1.bind(this))),p=this.renderer.listen(this._el_20,"blur",this.eventHandler(this._handle_blur_20_2.bind(this))),d=this.renderer.listen(this._el_20,"focusout",this.eventHandler(this._handle_focusout_20_3.bind(this))),f=this.renderer.listen(this._el_20,"keypress",this.eventHandler(this._handle_keypress_20_4.bind(this)));this._pipe_unitFormat_0_0=l.i(this.parent._pipe_unitFormat_0.transform.bind(this.parent._pipe_unitFormat_0)),this._expr_14=c.n,this._expr_15=c.n,this._expr_16=c.n,this._expr_17=c.n,this._expr_18=c.n,this._expr_19=c.n,this._expr_20=c.n;var m=this._FormatInputDirective_20_8.valChange.subscribe(this.eventHandler(this._handle_valChange_20_0.bind(this)));this._expr_22=c.n;var g=this.renderer.listen(this._el_28,"tap",this.eventHandler(this._handle_tap_28_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._el_11,this._text_12,this._text_13,this._text_14,this._text_15,this._el_16,this._text_17,this._el_18,this._text_19,this._el_20,this._text_21,this._text_22,this._text_23,this._el_24,this._text_25,this._el_26,this._text_27,this._el_28,this._text_29,this._el_30,this._text_31,this._text_32,this._text_33,this._text_34],[i,r,s,o,_,h,u,p,d,f,g],[m]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===v.a&&2<=e&&e<=3?this._Col_2_3:t===x.a&&9<=e&&e<=12?this._Button_9_4:t===v.a&&5<=e&&e<=14?this._Col_5_3:t===b.a&&20===e?this._DefaultValueAccessor_20_3:t===N.a&&20===e?this._NG_VALUE_ACCESSOR_20_4:t===w.a&&20===e?this._NgModel_20_5:t===P.a&&20===e?this._NgControl_20_6:t===C.a&&20===e?this._NgControlStatus_20_7:t===E.a&&20===e?this._FormatInputDirective_20_8:t===y.a&&18<=e&&e<=21?this._Tooltip_18_5:t===v.a&&16<=e&&e<=22?this._Col_16_3:t===x.a&&28<=e&&e<=31?this._Button_28_4:t===v.a&&24<=e&&e<=33?this._Col_24_3:t===v.c&&0<=e&&e<=34?this._Row_0_3:n},e.prototype.detectChangesInternal=function(t){var e=null,n=new c.o;e=null;var i=this.parent.context.tooltipService.getTooltip("xAxisTpd").message;l.c(t,this._expr_6,i)&&(this._Tooltip_18_5.content=i,null===e&&(e={}),e.content=new c.m(this._expr_6,i),this._expr_6=i);var r=!0;l.c(t,this._expr_7,r)&&(this._Tooltip_18_5.tooltipAnimation=r,null===e&&(e={}),e.tooltipAnimation=new c.m(this._expr_7,r),this._expr_7=r);var s="bottom";l.c(t,this._expr_8,s)&&(this._Tooltip_18_5.tooltipPlacement=s,null===e&&(e={}),e.tooltipPlacement=new c.m(this._expr_8,s),this._expr_8=s),null!==e&&this._Tooltip_18_5.ngOnChanges(e),e=null,n.reset();var o=n.unwrap(l.r(this._pipe_unitFormat_0_0,this.parent._pipe_unitFormat_0.transform)(this.parent.context.chart.timeDivision,"s/"));(n.hasWrappedValue||l.c(t,this._expr_14,o))&&(this._NgModel_20_5.model=o,null===e&&(e={}),e.model=new c.m(this._expr_14,o),this._expr_14=o),null!==e&&this._NgModel_20_5.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_9_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_28_4.ngAfterContentInit());var a=this.parent.context.chart.activeTPDIndex==this.parent.context.chart.secsPerDivVals.length-1;l.c(t,this._expr_1,a)&&(this.renderer.setElementProperty(this._el_9,"disabled",a),this._expr_1=a);var _=this._NgControlStatus_20_7.ngClassUntouched;l.c(t,this._expr_15,_)&&(this.renderer.setElementClass(this._el_20,"ng-untouched",_),this._expr_15=_);var h=this._NgControlStatus_20_7.ngClassTouched;l.c(t,this._expr_16,h)&&(this.renderer.setElementClass(this._el_20,"ng-touched",h),this._expr_16=h);var u=this._NgControlStatus_20_7.ngClassPristine;l.c(t,this._expr_17,u)&&(this.renderer.setElementClass(this._el_20,"ng-pristine",u),this._expr_17=u);var p=this._NgControlStatus_20_7.ngClassDirty;l.c(t,this._expr_18,p)&&(this.renderer.setElementClass(this._el_20,"ng-dirty",p),this._expr_18=p);var d=this._NgControlStatus_20_7.ngClassValid;l.c(t,this._expr_19,d)&&(this.renderer.setElementClass(this._el_20,"ng-valid",d),this._expr_19=d);var f=this._NgControlStatus_20_7.ngClassInvalid;l.c(t,this._expr_20,f)&&(this.renderer.setElementClass(this._el_20,"ng-invalid",f),this._expr_20=f);var m=0==this.parent.context.chart.activeTPDIndex;l.c(t,this._expr_22,m)&&(this.renderer.setElementProperty(this._el_28,"disabled",m),this._expr_22=m),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_20_5.ngOnDestroy()},e.prototype._handle_tap_9_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.chart.incrementTPD()!==!1;return e},e.prototype._handle_focusin_18_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_18_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_18_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_5.hide()!==!1;return e},e.prototype._handle_mouseleave_18_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_5.hide()!==!1;return e},e.prototype._handle_valChange_20_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.valChange(t)!==!1;return e},e.prototype._handle_input_20_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_20_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_20_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_20_3.onTouched()!==!1;return e},e.prototype._handle_focusout_20_3=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_20_8.onFocusOut(t)!==!1;return e},e.prototype._handle_keypress_20_4=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_20_8.onkeypress(t)!==!1; return e},e.prototype._handle_tap_28_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.chart.decrementTPD()!==!1;return e},e}(o.a)},function(t,e,n){"use strict";function i(t,e,n){return null===W&&(W=t.createRenderComponentType("",0,y.c.None,[],{})),new Y(t,e,n)}function r(t,e,n){return null===X&&(X=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/components/yaxis-controls/yaxis-controls.html",0,y.c.None,$,{})),new J(t,e,n)}function s(t,e,n){return new Q(t,e,n)}function o(t,e,n){return new Z(t,e,n)}function a(t,e,n){return new K(t,e,n)}function _(t,e,n){return new tt(t,e,n)}var l=n(10),h=n(6),c=n(281),u=n(11),p=n(5),d=n(4),f=n(13),m=n(27),g=n(47),v=n(31),x=n(28),y=n(8),b=n(7),w=n(33),C=n(63),E=n(21),T=n(58),A=n(37),I=n(52),S=n(14),O=n(55),k=n(35),N=n(20),P=n(25),R=n(2),D=n(73),j=n(70),M=n(60),L=n(62),B=n(61),F=n(129),q=n(51),V=n(23),H=n(66),U=n(41),z=n(53);e.a=r;var G=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},W=null,Y=function(t){function e(n,i,r){t.call(this,e,W,p.a.HOST,n,i,r,d.b.CheckAlways)}return G(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("yaxis-controls",t,null),this._appEl_0=new h.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._YAxisComponent_0_4=new c.a(this.parentInjector.get(f.a),this.parentInjector.get(m.a),this.parentInjector.get(g.a),this.parentInjector.get(v.a),this.parentInjector.get(x.a)),this._appEl_0.initComponent(this._YAxisComponent_0_4,[],e),e.create(this._YAxisComponent_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===c.a&&0===e?this._YAxisComponent_0_4:n},e.prototype.detectChangesInternal=function(t){0!==this.numberOfChecks||t||this._YAxisComponent_0_4.ngOnInit(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(l.a),$=(new b.a("yaxis-controls",i,c.a),[]),X=null,J=function(t){function e(n,i,r){t.call(this,e,X,p.a.COMPONENT,n,i,r,d.b.CheckAlways)}return G(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);return this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","yaxis-component-container"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._anchor_2=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_2=new h.a(2,0,this,this._anchor_2),this._TemplateRef_2_5=new E.a(this._appEl_2,s),this._NgIf_2_6=new w.a(this._appEl_2.vcRef,this._TemplateRef_2_5),this._text_3=this.renderer.createText(this._el_0,"\n ",null),this._anchor_4=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_4=new h.a(4,0,this,this._anchor_4),this._TemplateRef_4_5=new E.a(this._appEl_4,o),this._NgIf_4_6=new w.a(this._appEl_4.vcRef,this._TemplateRef_4_5),this._text_5=this.renderer.createText(this._el_0,"\n",null),this._expr_0=d.n,this._expr_1=d.n,this._pipe_unitFormat_0=new C.a,this.init([],[this._el_0,this._text_1,this._anchor_2,this._text_3,this._anchor_4,this._text_5],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===E.b&&2===e?this._TemplateRef_2_5:t===w.a&&2===e?this._NgIf_2_6:t===E.b&&4===e?this._TemplateRef_4_5:t===w.a&&4===e?this._NgIf_4_6:n},e.prototype.detectChangesInternal=function(t){var e=this.context.settingsService.nestedChannels;u.c(t,this._expr_0,e)&&(this._NgIf_2_6.ngIf=e,this._expr_0=e);var n=this.context.showOscSettings;u.c(t,this._expr_1,n)&&(this._NgIf_4_6.ngIf=n,this._expr_1=n),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(l.a),Q=function(t){function e(n,i,r){t.call(this,e,X,p.a.EMBEDDED,n,i,r,d.b.CheckAlways)}return G(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"center",""),this.renderer.setElementAttribute(this._el_0,"class","header-bar-side"),this.renderer.setElementAttribute(this._el_0,"text-center",""),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"img",null),this.renderer.setElementAttribute(this._el_2,"class","custom-dropdown-img"),this.renderer.setElementAttribute(this._el_2,"src","assets/img/collapse-arrow-right.svg"),this._NgClass_2_3=new T.a(this.parent.parentInjector.get(A.a),this.parent.parentInjector.get(I.a),new S.a(this._el_2),this.renderer),this._text_3=this.renderer.createText(this._el_0,"\n ",null),this._el_4=this.renderer.createElement(this._el_0,"span",null),this.renderer.setElementAttribute(this._el_4,"class","header-bar-title instrument-header"),this._text_5=this.renderer.createText(this._el_4,"Oscilloscope",null),this._text_6=this.renderer.createText(this._el_0,"\n ",null),this._el_7=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_7,"style","width:26px;height:26px;display:inline-block;"),this._text_8=this.renderer.createText(this._el_0,"\n ",null);var e=this.renderer.listen(this._el_2,"click",this.eventHandler(this._handle_click_2_0.bind(this)));return this._expr_1=d.n,this._map_0=u.h(function(t){return{rotateOn:t}}),this._expr_2=d.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8],[e],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===T.a&&2===e?this._NgClass_2_3:n},e.prototype.detectChangesInternal=function(t){var e="custom-dropdown-img";u.c(t,this._expr_1,e)&&(this._NgClass_2_3.klass=e,this._expr_1=e);var n=this._map_0(this.parent.context.showOscSettings);u.c(t,this._expr_2,n)&&(this._NgClass_2_3.ngClass=n,this._expr_2=n),t||this._NgClass_2_3.ngDoCheck(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e.prototype._handle_click_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.toggleOscSettings()!==!1;return e},e}(l.a),Z=function(t){function e(n,i,r){t.call(this,e,X,p.a.EMBEDDED,n,i,r,d.b.CheckAlways)}return G(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._anchor_2=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_2=new h.a(2,0,this,this._anchor_2),this._TemplateRef_2_5=new E.a(this._appEl_2,a),this._NgFor_2_6=new O.a(this._appEl_2.vcRef,this._TemplateRef_2_5,this.parent.parentInjector.get(A.a),this.parent.ref),this._text_3=this.renderer.createText(this._el_0,"\n ",null),this._expr_0=d.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._anchor_2,this._text_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===E.b&&2===e?this._TemplateRef_2_5:t===O.a&&2===e?this._NgFor_2_6:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.context.chart.deviceDescriptor.instruments.osc.chans;u.c(t,this._expr_0,n)&&(this._NgFor_2_6.ngForOf=n,null===e&&(e={}),e.ngForOf=new d.m(this._expr_0,n),this._expr_0=n),null!==e&&this._NgFor_2_6.ngOnChanges(e),t||this._NgFor_2_6.ngDoCheck(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(l.a),K=function(t){function e(n,i,r){t.call(this,e,X,p.a.EMBEDDED,n,i,r,d.b.CheckAlways)}return G(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this._NgClass_0_3=new T.a(this.parent.parent.parentInjector.get(A.a),this.parent.parent.parentInjector.get(I.a),new S.a(this._el_0),this.renderer),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_2,"class","header-bar-side"),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-row",null),this._Row_4_3=new k.c,this._text_5=this.renderer.createText(this._el_4,"\n ",null),this._el_6=this.renderer.createElement(this._el_4,"ion-col",null),this.renderer.setElementAttribute(this._el_6,"center",""),this.renderer.setElementAttribute(this._el_6,"class","header-side-col"),this.renderer.setElementAttribute(this._el_6,"text-left",""),this._Col_6_3=new k.a,this._text_7=this.renderer.createText(this._el_6,"\n ",null),this._el_8=this.renderer.createElement(this._el_6,"button",null),this.renderer.setElementAttribute(this._el_8,"class","dropdown-image-button"),this.renderer.setElementAttribute(this._el_8,"clear",""),this.renderer.setElementAttribute(this._el_8,"ion-button",""),this._appEl_8=new h.a(8,6,this,this._el_8);var e=P.a(this.viewUtils,this.injector(8),this._appEl_8);this._Button_8_4=new N.a(null,"",this.parent.parent.parentInjector.get(R.c),new S.a(this._el_8),this.renderer),this._appEl_8.initComponent(this._Button_8_4,[],e),this._text_9=this.renderer.createText(null,"\n ",null),this._el_10=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_10,"class","custom-dropdown-img"),this.renderer.setElementAttribute(this._el_10,"src","assets/img/collapse-arrow-right.svg"),this._NgClass_10_3=new T.a(this.parent.parent.parentInjector.get(A.a),this.parent.parent.parentInjector.get(I.a),new S.a(this._el_10),this.renderer),this._text_11=this.renderer.createText(null,"\n ",null),e.create(this._Button_8_4,[[].concat([this._text_9,this._el_10,this._text_11])],null),this._text_12=this.renderer.createText(this._el_6,"\n ",null),this._text_13=this.renderer.createText(this._el_4,"\n ",null),this._el_14=this.renderer.createElement(this._el_4,"ion-col",null),this.renderer.setElementAttribute(this._el_14,"center",""),this.renderer.setElementAttribute(this._el_14,"text-center",""),this._Col_14_3=new k.a,this._text_15=this.renderer.createText(this._el_14,"\n ",null),this._el_16=this.renderer.createElement(this._el_14,"div",null),this._NgClass_16_3=new T.a(this.parent.parent.parentInjector.get(A.a),this.parent.parent.parentInjector.get(I.a),new S.a(this._el_16),this.renderer),this._text_17=this.renderer.createText(this._el_16,"",null),this._text_18=this.renderer.createText(this._el_14,"\n ",null),this._text_19=this.renderer.createText(this._el_4,"\n ",null),this._el_20=this.renderer.createElement(this._el_4,"ion-col",null),this.renderer.setElementAttribute(this._el_20,"center",""),this.renderer.setElementAttribute(this._el_20,"class","header-side-col"),this.renderer.setElementAttribute(this._el_20,"text-right",""),this._Col_20_3=new k.a,this._text_21=this.renderer.createText(this._el_20,"\n ",null),this._el_22=this.renderer.createElement(this._el_20,"button",null),this.renderer.setElementAttribute(this._el_22,"class","header-button disable-hover"),this.renderer.setElementAttribute(this._el_22,"clear",""),this.renderer.setElementAttribute(this._el_22,"ion-button",""),this._appEl_22=new h.a(22,20,this,this._el_22);var n=P.a(this.viewUtils,this.injector(22),this._appEl_22);this._NgClass_22_4=new T.a(this.parent.parent.parentInjector.get(A.a),this.parent.parent.parentInjector.get(I.a),new S.a(this._el_22),this.renderer),this._Button_22_5=new N.a(null,"",this.parent.parent.parentInjector.get(R.c),new S.a(this._el_22),this.renderer),this._appEl_22.initComponent(this._Button_22_5,[],n),this._text_23=this.renderer.createText(null,"\n ",null),this._el_24=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_24,"class","button-side-svg"),this.renderer.setElementAttribute(this._el_24,"src","assets/img/power.svg"),this._text_25=this.renderer.createText(null,"\n ",null),n.create(this._Button_22_5,[[].concat([this._text_23,this._el_24,this._text_25])],null),this._text_26=this.renderer.createText(this._el_20,"\n ",null),this._text_27=this.renderer.createText(this._el_4,"\n ",null),this._text_28=this.renderer.createText(this._el_2,"\n \n ",null),this._text_29=this.renderer.createText(this._el_0,"\n ",null),this._anchor_30=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_30=new h.a(30,0,this,this._anchor_30),this._TemplateRef_30_5=new E.a(this._appEl_30,_),this._NgIf_30_6=new w.a(this._appEl_30.vcRef,this._TemplateRef_30_5),this._text_31=this.renderer.createText(this._el_0,"\n ",null);var i=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));this._map_0=u.i(function(t,e){return{"yaxis-component-wrapper":t,"set-top-border":e}}),this._expr_1=d.n;var r=this.renderer.listen(this._el_8,"tap",this.eventHandler(this._handle_tap_8_0.bind(this)));this._expr_3=d.n,this._expr_4=d.n,this._map_1=u.h(function(t){return{rotateOn:t}}),this._expr_5=d.n,this._map_2=u.h(function(t){return{"instrument-header":t}}),this._expr_6=d.n,this._expr_7=d.n,this._expr_9=d.n,this._expr_10=d.n;var s=this.renderer.listen(this._el_22,"tap",this.eventHandler(this._handle_tap_22_0.bind(this)));return this._expr_11=d.n,this._map_3=u.h(function(t){return{"series-on":t}}),this._expr_12=d.n,this._expr_13=d.n,this._expr_14=d.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9,this._el_10,this._text_11,this._text_12,this._text_13,this._el_14,this._text_15,this._el_16,this._text_17,this._text_18,this._text_19,this._el_20,this._text_21,this._el_22,this._text_23,this._el_24,this._text_25,this._text_26,this._text_27,this._text_28,this._text_29,this._anchor_30,this._text_31],[i,r,s],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===T.a&&10===e?this._NgClass_10_3:t===N.a&&8<=e&&e<=11?this._Button_8_4:t===k.a&&6<=e&&e<=12?this._Col_6_3:t===T.a&&16<=e&&e<=17?this._NgClass_16_3:t===k.a&&14<=e&&e<=18?this._Col_14_3:t===T.a&&22<=e&&e<=25?this._NgClass_22_4:t===N.a&&22<=e&&e<=25?this._Button_22_5:t===k.a&&20<=e&&e<=26?this._Col_20_3:t===k.c&&4<=e&&e<=27?this._Row_4_3:t===E.b&&30===e?this._TemplateRef_30_5:t===w.a&&30===e?this._NgIf_30_6:t===T.a&&0<=e&&e<=31?this._NgClass_0_3:n},e.prototype.detectChangesInternal=function(t){var e=!0,n=this._map_0(this.parent.parent.context.settingsService.nestedChannels,0!=this.context.index);u.c(t,this._expr_1,n)&&(this._NgClass_0_3.ngClass=n,this._expr_1=n),t||this._NgClass_0_3.ngDoCheck(),e=!1;var i="";u.c(t,this._expr_3,i)&&(this._Button_8_4.clear=i,e=!0,this._expr_3=i),e&&this._appEl_8.componentView.markAsCheckOnce();var r="custom-dropdown-img";u.c(t,this._expr_4,r)&&(this._NgClass_10_3.klass=r,this._expr_4=r);var s=this._map_1(this.parent.parent.context.showSeriesSettings[this.context.index]);u.c(t,this._expr_5,s)&&(this._NgClass_10_3.ngClass=s,this._expr_5=s),t||this._NgClass_10_3.ngDoCheck();var o=this._map_2(!this.parent.parent.context.settingsService.nestedChannels);u.c(t,this._expr_6,o)&&(this._NgClass_16_3.ngClass=o,this._expr_6=o),t||this._NgClass_16_3.ngDoCheck();var a="header-button disable-hover";u.c(t,this._expr_11,a)&&(this._NgClass_22_4.klass=a,this._expr_11=a);var _=this._map_3(this.parent.parent.context.chart.oscopeChansActive[this.context.index]);u.c(t,this._expr_12,_)&&(this._NgClass_22_4.ngClass=_,this._expr_12=_),t||this._NgClass_22_4.ngDoCheck(),e=!1;var l="";u.c(t,this._expr_13,l)&&(this._Button_22_5.clear=l,e=!0,this._expr_13=l),e&&this._appEl_22.componentView.markAsCheckOnce();var h=this.parent.parent.context.showSeriesSettings[this.context.index];u.c(t,this._expr_14,h)&&(this._NgIf_30_6.ngIf=h,this._expr_14=h),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_8_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_22_5.ngAfterContentInit());var c=u.e(2,"",this.parent.parent.context.settingsService.nestedChannels===!1?"Osc":""," ",this.parent.parent.context.names[this.context.index],"");u.c(t,this._expr_7,c)&&(this.renderer.setText(this._text_17,c),this._expr_7=c);var p=this.parent.parent.context.running;u.c(t,this._expr_9,p)&&(this.renderer.setElementProperty(this._el_22,"disabled",p),this._expr_9=p);var d=this.parent.parent.context.getSeriesColor(this.context.index);u.c(t,this._expr_10,d)&&(this.renderer.setElementStyle(this._el_22,"background-color",null==this.viewUtils.sanitizer.sanitize(D.b.STYLE,d)?null:this.viewUtils.sanitizer.sanitize(D.b.STYLE,d).toString()),this._expr_10=d),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.setActiveSeries(this.context.index)!==!1;return e},e.prototype._handle_tap_8_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.toggleSeriesSettings(this.context.index)!==!1;return e},e.prototype._handle_tap_22_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.toggleVisibility(this.context.index,t)!==!1;return e},e}(l.a),tt=function(t){function e(n,i,r){t.call(this,e,X,p.a.EMBEDDED,n,i,r,d.b.CheckAlways)}return G(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","button-info-container"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-row",null),this.renderer.setElementAttribute(this._el_2,"class","controls-container"),this._Row_2_3=new k.c,this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-col",null),this.renderer.setElementAttribute(this._el_4,"center",""),this.renderer.setElementAttribute(this._el_4,"class","vpd-label-col"),this._Col_4_3=new k.a,this._text_5=this.renderer.createText(this._el_4,"\n Volts/\n ",null),this._text_6=this.renderer.createText(this._el_2,"\n ",null),this._el_7=this.renderer.createElement(this._el_2,"ion-col",null),this.renderer.setElementAttribute(this._el_7,"center",""),this.renderer.setElementAttribute(this._el_7,"class","vpd-button-col"),this.renderer.setElementAttribute(this._el_7,"text-right",""),this._Col_7_3=new k.a,this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"div",null),this.renderer.setElementAttribute(this._el_9,"style","display:inline-block"),this._text_10=this.renderer.createText(this._el_9,"\n ",null),this._el_11=this.renderer.createElement(this._el_9,"button",null),this.renderer.setElementAttribute(this._el_11,"class","img-button disable-hover"),this.renderer.setElementAttribute(this._el_11,"ion-button",""),this._appEl_11=new h.a(11,9,this,this._el_11);var e=P.a(this.viewUtils,this.injector(11),this._appEl_11);this._Button_11_4=new N.a(null,"",this.parent.parent.parent.parentInjector.get(R.c),new S.a(this._el_11),this.renderer),this._appEl_11.initComponent(this._Button_11_4,[],e),this._text_12=this.renderer.createText(null,"\n ",null),this._el_13=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_13,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_13,"src","assets/img/zoom-out.svg"),this._text_14=this.renderer.createText(null,"\n ",null),e.create(this._Button_11_4,[[].concat([this._text_12,this._el_13,this._text_14])],null),this._text_15=this.renderer.createText(this._el_9,"\n ",null),this._text_16=this.renderer.createText(this._el_7,"\n ",null),this._text_17=this.renderer.createText(this._el_2,"\n ",null),this._el_18=this.renderer.createElement(this._el_2,"ion-col",null),this.renderer.setElementAttribute(this._el_18,"center",""),this.renderer.setElementAttribute(this._el_18,"class","vpd-val-col"),this.renderer.setElementAttribute(this._el_18,"text-center",""),this.renderer.setElementAttribute(this._el_18,"tooltipPlacement","top"),this._appEl_18=new h.a(18,2,this,this._el_18),this._Tooltip_18_5=new j.a(this._appEl_18.vcRef,this.parent.parent.parent.parentInjector.get(q.a),this.parent.parent.parent.parentInjector.get(V.f)),this._Col_18_6=new k.a,this._text_19=this.renderer.createText(this._el_18,"\n ",null),this._el_20=this.renderer.createElement(this._el_18,"input",null),this.renderer.setElementAttribute(this._el_20,"class","custom-input highlight-input"),this.renderer.setElementAttribute(this._el_20,"formatInput",""),this.renderer.setElementAttribute(this._el_20,"step","any"),this._DefaultValueAccessor_20_3=new M.a(this.renderer,new S.a(this._el_20)),this._NG_VALUE_ACCESSOR_20_4=[this._DefaultValueAccessor_20_3],this._NgModel_20_5=new L.a(null,null,null,this._NG_VALUE_ACCESSOR_20_4),this._NgControl_20_6=this._NgModel_20_5,this._NgControlStatus_20_7=new B.a(this._NgControl_20_6),this._FormatInputDirective_20_8=new F.a(this.parent.parent.parent.parentInjector.get(H.a)),this._text_21=this.renderer.createText(this._el_18,"\n ",null),this._text_22=this.renderer.createText(this._el_2,"\n ",null),this._el_23=this.renderer.createElement(this._el_2,"ion-col",null),this.renderer.setElementAttribute(this._el_23,"center",""),this.renderer.setElementAttribute(this._el_23,"class","vpd-button-col margin-right"),this.renderer.setElementAttribute(this._el_23,"text-left",""),this._Col_23_3=new k.a,this._text_24=this.renderer.createText(this._el_23,"\n ",null),this._el_25=this.renderer.createElement(this._el_23,"div",null),this.renderer.setElementAttribute(this._el_25,"style","display:inline-block"),this._text_26=this.renderer.createText(this._el_25,"\n ",null),this._el_27=this.renderer.createElement(this._el_25,"button",null),this.renderer.setElementAttribute(this._el_27,"class","img-button disable-hover"),this.renderer.setElementAttribute(this._el_27,"ion-button",""),this._appEl_27=new h.a(27,25,this,this._el_27);var n=P.a(this.viewUtils,this.injector(27),this._appEl_27);this._Button_27_4=new N.a(null,"",this.parent.parent.parent.parentInjector.get(R.c),new S.a(this._el_27),this.renderer),this._appEl_27.initComponent(this._Button_27_4,[],n),this._text_28=this.renderer.createText(null,"\n ",null),this._el_29=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_29,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_29,"src","assets/img/zoom-in.svg"),this._text_30=this.renderer.createText(null,"\n ",null),n.create(this._Button_27_4,[[].concat([this._text_28,this._el_29,this._text_30])],null),this._text_31=this.renderer.createText(this._el_25,"\n ",null),this._text_32=this.renderer.createText(this._el_23,"\n ",null),this._text_33=this.renderer.createText(this._el_2,"\n ",null),this._text_34=this.renderer.createText(this._el_0,"\n\n ",null),this._el_35=this.renderer.createElement(this._el_0,"ion-row",null),this.renderer.setElementAttribute(this._el_35,"class","controls-container"),this._Row_35_3=new k.c,this._text_36=this.renderer.createText(this._el_35,"\n ",null),this._el_37=this.renderer.createElement(this._el_35,"ion-col",null),this.renderer.setElementAttribute(this._el_37,"center",""),this.renderer.setElementAttribute(this._el_37,"class","vpd-label-col"),this._Col_37_3=new k.a,this._text_38=this.renderer.createText(this._el_37,"\n Offset\n ",null),this._text_39=this.renderer.createText(this._el_35,"\n ",null),this._el_40=this.renderer.createElement(this._el_35,"ion-col",null),this.renderer.setElementAttribute(this._el_40,"center",""),this.renderer.setElementAttribute(this._el_40,"class","vpd-button-col"),this.renderer.setElementAttribute(this._el_40,"text-right",""),this._Col_40_3=new k.a,this._text_41=this.renderer.createText(this._el_40,"\n ",null),this._el_42=this.renderer.createElement(this._el_40,"button",null),this.renderer.setElementAttribute(this._el_42,"class","icon-only-button-side disable-hover offset-button"),this.renderer.setElementAttribute(this._el_42,"ion-button",""),this._appEl_42=new h.a(42,40,this,this._el_42);var i=P.a(this.viewUtils,this.injector(42),this._appEl_42);this._Button_42_4=new N.a(null,"",this.parent.parent.parent.parentInjector.get(R.c),new S.a(this._el_42),this.renderer),this._appEl_42.initComponent(this._Button_42_4,[],i),this._text_43=this.renderer.createText(null,"\n ",null),this._el_44=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_44,"class","button-side-svg"),this.renderer.setElementAttribute(this._el_44,"src","assets/img/remove.svg"),this._text_45=this.renderer.createText(null,"\n ",null),i.create(this._Button_42_4,[[].concat([this._text_43,this._el_44,this._text_45])],null),this._text_46=this.renderer.createText(this._el_40,"\n ",null),this._text_47=this.renderer.createText(this._el_35,"\n ",null),this._el_48=this.renderer.createElement(this._el_35,"ion-col",null),this.renderer.setElementAttribute(this._el_48,"center",""),this.renderer.setElementAttribute(this._el_48,"class","vpd-val-col"),this.renderer.setElementAttribute(this._el_48,"text-center",""),this.renderer.setElementAttribute(this._el_48,"tooltipPlacement","top"),this._appEl_48=new h.a(48,35,this,this._el_48),this._Tooltip_48_5=new j.a(this._appEl_48.vcRef,this.parent.parent.parent.parentInjector.get(q.a),this.parent.parent.parent.parentInjector.get(V.f)),this._Col_48_6=new k.a,this._text_49=this.renderer.createText(this._el_48,"\n ",null),this._el_50=this.renderer.createElement(this._el_48,"input",null),this.renderer.setElementAttribute(this._el_50,"class","custom-input"),this.renderer.setElementAttribute(this._el_50,"formatInput",""),this.renderer.setElementAttribute(this._el_50,"step","any"),this._DefaultValueAccessor_50_3=new M.a(this.renderer,new S.a(this._el_50)),this._NG_VALUE_ACCESSOR_50_4=[this._DefaultValueAccessor_50_3],this._NgModel_50_5=new L.a(null,null,null,this._NG_VALUE_ACCESSOR_50_4),this._NgControl_50_6=this._NgModel_50_5,this._NgControlStatus_50_7=new B.a(this._NgControl_50_6),this._FormatInputDirective_50_8=new F.a(this.parent.parent.parent.parentInjector.get(H.a)),this._text_51=this.renderer.createText(this._el_48,"\n ",null),this._text_52=this.renderer.createText(this._el_35,"\n ",null),this._el_53=this.renderer.createElement(this._el_35,"ion-col",null),this.renderer.setElementAttribute(this._el_53,"center",""),this.renderer.setElementAttribute(this._el_53,"class","vpd-button-col margin-right"),this.renderer.setElementAttribute(this._el_53,"text-left",""),this._Col_53_3=new k.a,this._text_54=this.renderer.createText(this._el_53,"\n ",null),this._el_55=this.renderer.createElement(this._el_53,"button",null),this.renderer.setElementAttribute(this._el_55,"class","icon-only-button-side disable-hover offset-button"),this.renderer.setElementAttribute(this._el_55,"ion-button",""),this._appEl_55=new h.a(55,53,this,this._el_55);var r=P.a(this.viewUtils,this.injector(55),this._appEl_55);this._Button_55_4=new N.a(null,"",this.parent.parent.parent.parentInjector.get(R.c),new S.a(this._el_55),this.renderer),this._appEl_55.initComponent(this._Button_55_4,[],r),this._text_56=this.renderer.createText(null,"\n ",null),this._el_57=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_57,"class","button-side-svg"),this.renderer.setElementAttribute(this._el_57,"src","assets/img/add.svg"),this._text_58=this.renderer.createText(null,"\n ",null),r.create(this._Button_55_4,[[].concat([this._text_56,this._el_57,this._text_58])],null),this._text_59=this.renderer.createText(this._el_53,"\n ",null),this._text_60=this.renderer.createText(this._el_35,"\n ",null),this._text_61=this.renderer.createText(this._el_0,"\n \n ",null),this._el_62=this.renderer.createElement(this._el_0,"ion-row",null),this.renderer.setElementAttribute(this._el_62,"class","controls-container"),this._Row_62_3=new k.c,this._text_63=this.renderer.createText(this._el_62,"\n ",null),this._el_64=this.renderer.createElement(this._el_62,"ion-col",null),this.renderer.setElementAttribute(this._el_64,"center",""),this.renderer.setElementAttribute(this._el_64,"class","vpd-label-col"),this.renderer.setElementAttribute(this._el_64,"tooltipPlacement","top"),this._appEl_64=new h.a(64,62,this,this._el_64),this._Tooltip_64_5=new j.a(this._appEl_64.vcRef,this.parent.parent.parent.parentInjector.get(q.a),this.parent.parent.parent.parentInjector.get(V.f)),this._Col_64_6=new k.a,this._text_65=this.renderer.createText(this._el_64,"\n Samples/\n ",null),this._text_66=this.renderer.createText(this._el_62,"\n ",null),this._el_67=this.renderer.createElement(this._el_62,"ion-col",null),this.renderer.setElementAttribute(this._el_67,"center",""),this.renderer.setElementAttribute(this._el_67,"class","vpd-button-col"),this.renderer.setElementAttribute(this._el_67,"text-right",""),this._Col_67_3=new k.a,this._text_68=this.renderer.createText(this._el_67,"\n ",null),this._text_69=this.renderer.createText(this._el_62,"\n ",null),this._el_70=this.renderer.createElement(this._el_62,"ion-col",null),this.renderer.setElementAttribute(this._el_70,"center",""),this.renderer.setElementAttribute(this._el_70,"class","samplefreq-val-col"),this.renderer.setElementAttribute(this._el_70,"text-center",""),this._Col_70_3=new k.a,this._text_71=this.renderer.createText(this._el_70,"\n ",null),this._el_72=this.renderer.createElement(this._el_70,"input",null),this.renderer.setElementAttribute(this._el_72,"class","custom-input"),this.renderer.setElementAttribute(this._el_72,"formatInput",""),this.renderer.setElementAttribute(this._el_72,"step","any"),this._DefaultValueAccessor_72_3=new M.a(this.renderer,new S.a(this._el_72)),this._NG_VALUE_ACCESSOR_72_4=[this._DefaultValueAccessor_72_3],this._NgModel_72_5=new L.a(null,null,null,this._NG_VALUE_ACCESSOR_72_4),this._NgControl_72_6=this._NgModel_72_5,this._NgControlStatus_72_7=new B.a(this._NgControl_72_6),this._FormatInputDirective_72_8=new F.a(this.parent.parent.parent.parentInjector.get(H.a)),this._text_73=this.renderer.createText(this._el_70,"\n ",null),this._text_74=this.renderer.createText(this._el_62,"\n ",null),this._el_75=this.renderer.createElement(this._el_62,"ion-col",null),this.renderer.setElementAttribute(this._el_75,"center",""),this.renderer.setElementAttribute(this._el_75,"class","vpd-button-col margin-right"),this.renderer.setElementAttribute(this._el_75,"text-left",""),this._Col_75_3=new k.a,this._text_76=this.renderer.createText(this._el_75," \n ",null),this._el_77=this.renderer.createElement(this._el_75,"button",null),this.renderer.setElementAttribute(this._el_77,"class","icon-only-button-side disable-hover offset-button"),this.renderer.setElementAttribute(this._el_77,"ion-button",""),this._appEl_77=new h.a(77,75,this,this._el_77);var s=P.a(this.viewUtils,this.injector(77),this._appEl_77); this._Button_77_4=new N.a(null,"",this.parent.parent.parent.parentInjector.get(R.c),new S.a(this._el_77),this.renderer),this._appEl_77.initComponent(this._Button_77_4,[],s),this._text_78=this.renderer.createText(null,"\n ",null),this._el_79=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_79,"class","button-side-svg"),this._text_80=this.renderer.createText(null,"\n ",null),s.create(this._Button_77_4,[[].concat([this._text_78,this._el_79,this._text_80])],null),this._text_81=this.renderer.createText(this._el_75,"\n ",null),this._text_82=this.renderer.createText(this._el_62,"\n ",null),this._text_83=this.renderer.createText(this._el_0,"\n \n ",null),this._el_84=this.renderer.createElement(this._el_0,"ion-row",null),this.renderer.setElementAttribute(this._el_84,"class","controls-container"),this._Row_84_3=new k.c,this._text_85=this.renderer.createText(this._el_84,"\n ",null),this._el_86=this.renderer.createElement(this._el_84,"ion-col",null),this.renderer.setElementAttribute(this._el_86,"center",""),this.renderer.setElementAttribute(this._el_86,"class","vpd-label-col"),this.renderer.setElementAttribute(this._el_86,"tooltipPlacement","top"),this._appEl_86=new h.a(86,84,this,this._el_86),this._Tooltip_86_5=new j.a(this._appEl_86.vcRef,this.parent.parent.parent.parentInjector.get(q.a),this.parent.parent.parent.parentInjector.get(V.f)),this._Col_86_6=new k.a,this._text_87=this.renderer.createText(this._el_86,"\n Samples\n ",null),this._text_88=this.renderer.createText(this._el_84,"\n ",null),this._el_89=this.renderer.createElement(this._el_84,"ion-col",null),this.renderer.setElementAttribute(this._el_89,"center",""),this.renderer.setElementAttribute(this._el_89,"class","vpd-button-col"),this.renderer.setElementAttribute(this._el_89,"text-right",""),this._Col_89_3=new k.a,this._text_90=this.renderer.createText(this._el_89,"\n ",null),this._text_91=this.renderer.createText(this._el_84,"\n ",null),this._el_92=this.renderer.createElement(this._el_84,"ion-col",null),this.renderer.setElementAttribute(this._el_92,"center",""),this.renderer.setElementAttribute(this._el_92,"class","samplefreq-val-col"),this.renderer.setElementAttribute(this._el_92,"text-center",""),this._Col_92_3=new k.a,this._text_93=this.renderer.createText(this._el_92,"\n ",null),this._el_94=this.renderer.createElement(this._el_92,"input",null),this.renderer.setElementAttribute(this._el_94,"class","custom-input"),this.renderer.setElementAttribute(this._el_94,"formatInput",""),this.renderer.setElementAttribute(this._el_94,"step","any"),this._DefaultValueAccessor_94_3=new M.a(this.renderer,new S.a(this._el_94)),this._NG_VALUE_ACCESSOR_94_4=[this._DefaultValueAccessor_94_3],this._NgModel_94_5=new L.a(null,null,null,this._NG_VALUE_ACCESSOR_94_4),this._NgControl_94_6=this._NgModel_94_5,this._NgControlStatus_94_7=new B.a(this._NgControl_94_6),this._FormatInputDirective_94_8=new F.a(this.parent.parent.parent.parentInjector.get(H.a)),this._text_95=this.renderer.createText(this._el_92,"\n ",null),this._text_96=this.renderer.createText(this._el_84,"\n ",null),this._el_97=this.renderer.createElement(this._el_84,"ion-col",null),this.renderer.setElementAttribute(this._el_97,"center",""),this.renderer.setElementAttribute(this._el_97,"class","vpd-button-col margin-right"),this.renderer.setElementAttribute(this._el_97,"text-left",""),this._Col_97_3=new k.a,this._text_98=this.renderer.createText(this._el_97,"\n ",null),this._el_99=this.renderer.createElement(this._el_97,"button",null),this.renderer.setElementAttribute(this._el_99,"class","icon-only-button-side disable-hover offset-button"),this.renderer.setElementAttribute(this._el_99,"ion-button",""),this._appEl_99=new h.a(99,97,this,this._el_99);var o=P.a(this.viewUtils,this.injector(99),this._appEl_99);this._Button_99_4=new N.a(null,"",this.parent.parent.parent.parentInjector.get(R.c),new S.a(this._el_99),this.renderer),this._appEl_99.initComponent(this._Button_99_4,[],o),this._text_100=this.renderer.createText(null,"\n ",null),this._el_101=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_101,"class","button-side-svg"),this._text_102=this.renderer.createText(null,"\n ",null),o.create(this._Button_99_4,[[].concat([this._text_100,this._el_101,this._text_102])],null),this._text_103=this.renderer.createText(this._el_97,"\n ",null),this._text_104=this.renderer.createText(this._el_84,"\n ",null),this._text_105=this.renderer.createText(this._el_0,"\n ",null),this._expr_1=d.n;var a=this.renderer.listen(this._el_11,"tap",this.eventHandler(this._handle_tap_11_0.bind(this))),_=this.renderer.listen(this._el_18,"focusin",this.eventHandler(this._handle_focusin_18_0.bind(this))),l=this.renderer.listen(this._el_18,"mouseenter",this.eventHandler(this._handle_mouseenter_18_1.bind(this))),c=this.renderer.listen(this._el_18,"focusout",this.eventHandler(this._handle_focusout_18_2.bind(this))),p=this.renderer.listen(this._el_18,"mouseleave",this.eventHandler(this._handle_mouseleave_18_3.bind(this)));this._expr_6=d.n,this._expr_7=d.n,this._expr_8=d.n;var f=this.renderer.listen(this._el_20,"valChange",this.eventHandler(this._handle_valChange_20_0.bind(this))),m=this.renderer.listen(this._el_20,"input",this.eventHandler(this._handle_input_20_1.bind(this))),g=this.renderer.listen(this._el_20,"blur",this.eventHandler(this._handle_blur_20_2.bind(this))),v=this.renderer.listen(this._el_20,"focusout",this.eventHandler(this._handle_focusout_20_3.bind(this))),x=this.renderer.listen(this._el_20,"keypress",this.eventHandler(this._handle_keypress_20_4.bind(this)));this._pipe_unitFormat_0_0=u.i(this.parent.parent.parent._pipe_unitFormat_0.transform.bind(this.parent.parent.parent._pipe_unitFormat_0)),this._expr_14=d.n,this._expr_15=d.n,this._expr_16=d.n,this._expr_17=d.n,this._expr_18=d.n,this._expr_19=d.n,this._expr_20=d.n;var y=this._FormatInputDirective_20_8.valChange.subscribe(this.eventHandler(this._handle_valChange_20_0.bind(this)));this._expr_22=d.n;var b=this.renderer.listen(this._el_27,"tap",this.eventHandler(this._handle_tap_27_0.bind(this))),w=this.renderer.listen(this._el_42,"tap",this.eventHandler(this._handle_tap_42_0.bind(this))),C=this.renderer.listen(this._el_48,"focusin",this.eventHandler(this._handle_focusin_48_0.bind(this))),E=this.renderer.listen(this._el_48,"mouseenter",this.eventHandler(this._handle_mouseenter_48_1.bind(this))),T=this.renderer.listen(this._el_48,"focusout",this.eventHandler(this._handle_focusout_48_2.bind(this))),A=this.renderer.listen(this._el_48,"mouseleave",this.eventHandler(this._handle_mouseleave_48_3.bind(this)));this._expr_28=d.n,this._expr_29=d.n,this._expr_30=d.n;var I=this.renderer.listen(this._el_50,"valChange",this.eventHandler(this._handle_valChange_50_0.bind(this))),O=this.renderer.listen(this._el_50,"input",this.eventHandler(this._handle_input_50_1.bind(this))),D=this.renderer.listen(this._el_50,"blur",this.eventHandler(this._handle_blur_50_2.bind(this))),U=this.renderer.listen(this._el_50,"focusout",this.eventHandler(this._handle_focusout_50_3.bind(this))),z=this.renderer.listen(this._el_50,"keypress",this.eventHandler(this._handle_keypress_50_4.bind(this)));this._pipe_unitFormat_0_1=u.i(this.parent.parent.parent._pipe_unitFormat_0.transform.bind(this.parent.parent.parent._pipe_unitFormat_0)),this._expr_36=d.n,this._expr_37=d.n,this._expr_38=d.n,this._expr_39=d.n,this._expr_40=d.n,this._expr_41=d.n,this._expr_42=d.n;var G=this._FormatInputDirective_50_8.valChange.subscribe(this.eventHandler(this._handle_valChange_50_0.bind(this))),W=this.renderer.listen(this._el_55,"tap",this.eventHandler(this._handle_tap_55_0.bind(this))),Y=this.renderer.listen(this._el_64,"focusin",this.eventHandler(this._handle_focusin_64_0.bind(this))),$=this.renderer.listen(this._el_64,"mouseenter",this.eventHandler(this._handle_mouseenter_64_1.bind(this))),X=this.renderer.listen(this._el_64,"focusout",this.eventHandler(this._handle_focusout_64_2.bind(this))),J=this.renderer.listen(this._el_64,"mouseleave",this.eventHandler(this._handle_mouseleave_64_3.bind(this)));this._expr_48=d.n,this._expr_49=d.n,this._expr_50=d.n;var Q=this.renderer.listen(this._el_72,"valChange",this.eventHandler(this._handle_valChange_72_0.bind(this))),Z=this.renderer.listen(this._el_72,"input",this.eventHandler(this._handle_input_72_1.bind(this))),K=this.renderer.listen(this._el_72,"blur",this.eventHandler(this._handle_blur_72_2.bind(this))),tt=this.renderer.listen(this._el_72,"focusout",this.eventHandler(this._handle_focusout_72_3.bind(this))),et=this.renderer.listen(this._el_72,"keypress",this.eventHandler(this._handle_keypress_72_4.bind(this)));this._expr_56=d.n,this._pipe_unitFormat_0_2=u.i(this.parent.parent.parent._pipe_unitFormat_0.transform.bind(this.parent.parent.parent._pipe_unitFormat_0)),this._expr_57=d.n,this._expr_58=d.n,this._expr_59=d.n,this._expr_60=d.n,this._expr_61=d.n,this._expr_62=d.n,this._expr_63=d.n;var nt=this._FormatInputDirective_72_8.valChange.subscribe(this.eventHandler(this._handle_valChange_72_0.bind(this))),it=this.renderer.listen(this._el_77,"tap",this.eventHandler(this._handle_tap_77_0.bind(this)));this._expr_65=d.n;var rt=this.renderer.listen(this._el_86,"focusin",this.eventHandler(this._handle_focusin_86_0.bind(this))),st=this.renderer.listen(this._el_86,"mouseenter",this.eventHandler(this._handle_mouseenter_86_1.bind(this))),ot=this.renderer.listen(this._el_86,"focusout",this.eventHandler(this._handle_focusout_86_2.bind(this))),at=this.renderer.listen(this._el_86,"mouseleave",this.eventHandler(this._handle_mouseleave_86_3.bind(this)));this._expr_70=d.n,this._expr_71=d.n,this._expr_72=d.n;var _t=this.renderer.listen(this._el_94,"valChange",this.eventHandler(this._handle_valChange_94_0.bind(this))),lt=this.renderer.listen(this._el_94,"input",this.eventHandler(this._handle_input_94_1.bind(this))),ht=this.renderer.listen(this._el_94,"blur",this.eventHandler(this._handle_blur_94_2.bind(this))),ct=this.renderer.listen(this._el_94,"focusout",this.eventHandler(this._handle_focusout_94_3.bind(this))),ut=this.renderer.listen(this._el_94,"keypress",this.eventHandler(this._handle_keypress_94_4.bind(this)));this._expr_78=d.n,this._pipe_unitFormat_0_3=u.i(this.parent.parent.parent._pipe_unitFormat_0.transform.bind(this.parent.parent.parent._pipe_unitFormat_0)),this._expr_79=d.n,this._expr_80=d.n,this._expr_81=d.n,this._expr_82=d.n,this._expr_83=d.n,this._expr_84=d.n,this._expr_85=d.n;var pt=this._FormatInputDirective_94_8.valChange.subscribe(this.eventHandler(this._handle_valChange_94_0.bind(this))),dt=this.renderer.listen(this._el_99,"tap",this.eventHandler(this._handle_tap_99_0.bind(this)));return this._expr_87=d.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._el_11,this._text_12,this._el_13,this._text_14,this._text_15,this._text_16,this._text_17,this._el_18,this._text_19,this._el_20,this._text_21,this._text_22,this._el_23,this._text_24,this._el_25,this._text_26,this._el_27,this._text_28,this._el_29,this._text_30,this._text_31,this._text_32,this._text_33,this._text_34,this._el_35,this._text_36,this._el_37,this._text_38,this._text_39,this._el_40,this._text_41,this._el_42,this._text_43,this._el_44,this._text_45,this._text_46,this._text_47,this._el_48,this._text_49,this._el_50,this._text_51,this._text_52,this._el_53,this._text_54,this._el_55,this._text_56,this._el_57,this._text_58,this._text_59,this._text_60,this._text_61,this._el_62,this._text_63,this._el_64,this._text_65,this._text_66,this._el_67,this._text_68,this._text_69,this._el_70,this._text_71,this._el_72,this._text_73,this._text_74,this._el_75,this._text_76,this._el_77,this._text_78,this._el_79,this._text_80,this._text_81,this._text_82,this._text_83,this._el_84,this._text_85,this._el_86,this._text_87,this._text_88,this._el_89,this._text_90,this._text_91,this._el_92,this._text_93,this._el_94,this._text_95,this._text_96,this._el_97,this._text_98,this._el_99,this._text_100,this._el_101,this._text_102,this._text_103,this._text_104,this._text_105],[a,_,l,c,p,f,m,g,v,x,b,w,C,E,T,A,I,O,D,U,z,W,Y,$,X,J,Q,Z,K,tt,et,it,rt,st,ot,at,_t,lt,ht,ct,ut,dt],[y,G,nt,pt]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===k.a&&4<=e&&e<=5?this._Col_4_3:t===N.a&&11<=e&&e<=14?this._Button_11_4:t===k.a&&7<=e&&e<=16?this._Col_7_3:t===M.a&&20===e?this._DefaultValueAccessor_20_3:t===U.a&&20===e?this._NG_VALUE_ACCESSOR_20_4:t===L.a&&20===e?this._NgModel_20_5:t===z.a&&20===e?this._NgControl_20_6:t===B.a&&20===e?this._NgControlStatus_20_7:t===F.a&&20===e?this._FormatInputDirective_20_8:t===j.a&&18<=e&&e<=21?this._Tooltip_18_5:t===k.a&&18<=e&&e<=21?this._Col_18_6:t===N.a&&27<=e&&e<=30?this._Button_27_4:t===k.a&&23<=e&&e<=32?this._Col_23_3:t===k.c&&2<=e&&e<=33?this._Row_2_3:t===k.a&&37<=e&&e<=38?this._Col_37_3:t===N.a&&42<=e&&e<=45?this._Button_42_4:t===k.a&&40<=e&&e<=46?this._Col_40_3:t===M.a&&50===e?this._DefaultValueAccessor_50_3:t===U.a&&50===e?this._NG_VALUE_ACCESSOR_50_4:t===L.a&&50===e?this._NgModel_50_5:t===z.a&&50===e?this._NgControl_50_6:t===B.a&&50===e?this._NgControlStatus_50_7:t===F.a&&50===e?this._FormatInputDirective_50_8:t===j.a&&48<=e&&e<=51?this._Tooltip_48_5:t===k.a&&48<=e&&e<=51?this._Col_48_6:t===N.a&&55<=e&&e<=58?this._Button_55_4:t===k.a&&53<=e&&e<=59?this._Col_53_3:t===k.c&&35<=e&&e<=60?this._Row_35_3:t===j.a&&64<=e&&e<=65?this._Tooltip_64_5:t===k.a&&64<=e&&e<=65?this._Col_64_6:t===k.a&&67<=e&&e<=68?this._Col_67_3:t===M.a&&72===e?this._DefaultValueAccessor_72_3:t===U.a&&72===e?this._NG_VALUE_ACCESSOR_72_4:t===L.a&&72===e?this._NgModel_72_5:t===z.a&&72===e?this._NgControl_72_6:t===B.a&&72===e?this._NgControlStatus_72_7:t===F.a&&72===e?this._FormatInputDirective_72_8:t===k.a&&70<=e&&e<=73?this._Col_70_3:t===N.a&&77<=e&&e<=80?this._Button_77_4:t===k.a&&75<=e&&e<=81?this._Col_75_3:t===k.c&&62<=e&&e<=82?this._Row_62_3:t===j.a&&86<=e&&e<=87?this._Tooltip_86_5:t===k.a&&86<=e&&e<=87?this._Col_86_6:t===k.a&&89<=e&&e<=90?this._Col_89_3:t===M.a&&94===e?this._DefaultValueAccessor_94_3:t===U.a&&94===e?this._NG_VALUE_ACCESSOR_94_4:t===L.a&&94===e?this._NgModel_94_5:t===z.a&&94===e?this._NgControl_94_6:t===B.a&&94===e?this._NgControlStatus_94_7:t===F.a&&94===e?this._FormatInputDirective_94_8:t===k.a&&92<=e&&e<=95?this._Col_92_3:t===N.a&&99<=e&&e<=102?this._Button_99_4:t===k.a&&97<=e&&e<=103?this._Col_97_3:t===k.c&&84<=e&&e<=104?this._Row_84_3:n},e.prototype.detectChangesInternal=function(t){var e=null,n=new d.o;e=null;var i=this.parent.parent.parent.context.tooltipService.getTooltip("oscVpd").message;u.c(t,this._expr_6,i)&&(this._Tooltip_18_5.content=i,null===e&&(e={}),e.content=new d.m(this._expr_6,i),this._expr_6=i);var r=!0;u.c(t,this._expr_7,r)&&(this._Tooltip_18_5.tooltipAnimation=r,null===e&&(e={}),e.tooltipAnimation=new d.m(this._expr_7,r),this._expr_7=r);var s="top";u.c(t,this._expr_8,s)&&(this._Tooltip_18_5.tooltipPlacement=s,null===e&&(e={}),e.tooltipPlacement=new d.m(this._expr_8,s),this._expr_8=s),null!==e&&this._Tooltip_18_5.ngOnChanges(e),e=null,n.reset();var o=n.unwrap(u.r(this._pipe_unitFormat_0_0,this.parent.parent.parent._pipe_unitFormat_0.transform)(this.parent.parent.parent.context.chart.voltDivision[this.parent.context.index],"V/"));(n.hasWrappedValue||u.c(t,this._expr_14,o))&&(this._NgModel_20_5.model=o,null===e&&(e={}),e.model=new d.m(this._expr_14,o),this._expr_14=o),null!==e&&this._NgModel_20_5.ngOnChanges(e),e=null;var a=this.parent.parent.parent.context.tooltipService.getTooltip("oscOffset").message;u.c(t,this._expr_28,a)&&(this._Tooltip_48_5.content=a,null===e&&(e={}),e.content=new d.m(this._expr_28,a),this._expr_28=a);var _=!0;u.c(t,this._expr_29,_)&&(this._Tooltip_48_5.tooltipAnimation=_,null===e&&(e={}),e.tooltipAnimation=new d.m(this._expr_29,_),this._expr_29=_);var l="top";u.c(t,this._expr_30,l)&&(this._Tooltip_48_5.tooltipPlacement=l,null===e&&(e={}),e.tooltipPlacement=new d.m(this._expr_30,l),this._expr_30=l),null!==e&&this._Tooltip_48_5.ngOnChanges(e),e=null,n.reset();var h=n.unwrap(u.r(this._pipe_unitFormat_0_1,this.parent.parent.parent._pipe_unitFormat_0.transform)(this.parent.parent.parent.context.chart.voltBase[this.parent.context.index],"V"));(n.hasWrappedValue||u.c(t,this._expr_36,h))&&(this._NgModel_50_5.model=h,null===e&&(e={}),e.model=new d.m(this._expr_36,h),this._expr_36=h),null!==e&&this._NgModel_50_5.ngOnChanges(e),e=null;var c=this.parent.parent.parent.context.tooltipService.getTooltip("oscSamplingFreq").message;u.c(t,this._expr_48,c)&&(this._Tooltip_64_5.content=c,null===e&&(e={}),e.content=new d.m(this._expr_48,c),this._expr_48=c);var p=!0;u.c(t,this._expr_49,p)&&(this._Tooltip_64_5.tooltipAnimation=p,null===e&&(e={}),e.tooltipAnimation=new d.m(this._expr_49,p),this._expr_49=p);var f="top";u.c(t,this._expr_50,f)&&(this._Tooltip_64_5.tooltipPlacement=f,null===e&&(e={}),e.tooltipPlacement=new d.m(this._expr_50,f),this._expr_50=f),null!==e&&this._Tooltip_64_5.ngOnChanges(e),e=null;var m=this.parent.parent.parent.context.lockedSampleState[this.parent.context.index].sampleFreqLocked;u.c(t,this._expr_56,m)&&(this._NgModel_72_5.isDisabled=m,null===e&&(e={}),e.isDisabled=new d.m(this._expr_56,m),this._expr_56=m),n.reset();var g=n.unwrap(u.r(this._pipe_unitFormat_0_2,this.parent.parent.parent._pipe_unitFormat_0.transform)(this.parent.parent.parent.context.lockedSampleState[this.parent.context.index].sampleFreqLocked?this.parent.parent.parent.context.chart.calculateDataFromWindow().sampleFreq:this.parent.parent.parent.context.lockedSampleState[this.parent.context.index].manualSampleFreq,"S/s"));(n.hasWrappedValue||u.c(t,this._expr_57,g))&&(this._NgModel_72_5.model=g,null===e&&(e={}),e.model=new d.m(this._expr_57,g),this._expr_57=g),null!==e&&this._NgModel_72_5.ngOnChanges(e),e=null;var v=this.parent.parent.parent.context.tooltipService.getTooltip("oscSampleSize").message;u.c(t,this._expr_70,v)&&(this._Tooltip_86_5.content=v,null===e&&(e={}),e.content=new d.m(this._expr_70,v),this._expr_70=v);var x=!0;u.c(t,this._expr_71,x)&&(this._Tooltip_86_5.tooltipAnimation=x,null===e&&(e={}),e.tooltipAnimation=new d.m(this._expr_71,x),this._expr_71=x);var y="top";u.c(t,this._expr_72,y)&&(this._Tooltip_86_5.tooltipPlacement=y,null===e&&(e={}),e.tooltipPlacement=new d.m(this._expr_72,y),this._expr_72=y),null!==e&&this._Tooltip_86_5.ngOnChanges(e),e=null;var b=this.parent.parent.parent.context.lockedSampleState[this.parent.context.index].sampleSizeLocked;u.c(t,this._expr_78,b)&&(this._NgModel_94_5.isDisabled=b,null===e&&(e={}),e.isDisabled=new d.m(this._expr_78,b),this._expr_78=b),n.reset();var w=n.unwrap(u.r(this._pipe_unitFormat_0_3,this.parent.parent.parent._pipe_unitFormat_0.transform)(this.parent.parent.parent.context.lockedSampleState[this.parent.context.index].sampleSizeLocked?this.parent.parent.parent.context.chart.calculateDataFromWindow().bufferSize:this.parent.parent.parent.context.lockedSampleState[this.parent.context.index].manualSampleSize,"S"));(n.hasWrappedValue||u.c(t,this._expr_79,w))&&(this._NgModel_94_5.model=w,null===e&&(e={}),e.model=new d.m(this._expr_79,w),this._expr_79=w),null!==e&&this._NgModel_94_5.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_11_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_27_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_42_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_55_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_77_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_99_4.ngAfterContentInit());var C=this.parent.parent.parent.context.chart.activeVPDIndex[this.parent.context.index]==this.parent.parent.parent.context.chart.voltsPerDivVals.length-1;u.c(t,this._expr_1,C)&&(this.renderer.setElementProperty(this._el_11,"disabled",C),this._expr_1=C);var E=this._NgControlStatus_20_7.ngClassUntouched;u.c(t,this._expr_15,E)&&(this.renderer.setElementClass(this._el_20,"ng-untouched",E),this._expr_15=E);var T=this._NgControlStatus_20_7.ngClassTouched;u.c(t,this._expr_16,T)&&(this.renderer.setElementClass(this._el_20,"ng-touched",T),this._expr_16=T);var A=this._NgControlStatus_20_7.ngClassPristine;u.c(t,this._expr_17,A)&&(this.renderer.setElementClass(this._el_20,"ng-pristine",A),this._expr_17=A);var I=this._NgControlStatus_20_7.ngClassDirty;u.c(t,this._expr_18,I)&&(this.renderer.setElementClass(this._el_20,"ng-dirty",I),this._expr_18=I);var S=this._NgControlStatus_20_7.ngClassValid;u.c(t,this._expr_19,S)&&(this.renderer.setElementClass(this._el_20,"ng-valid",S),this._expr_19=S);var O=this._NgControlStatus_20_7.ngClassInvalid;u.c(t,this._expr_20,O)&&(this.renderer.setElementClass(this._el_20,"ng-invalid",O),this._expr_20=O);var k=0==this.parent.parent.parent.context.chart.activeVPDIndex[this.parent.context.index];u.c(t,this._expr_22,k)&&(this.renderer.setElementProperty(this._el_27,"disabled",k),this._expr_22=k);var N=this._NgControlStatus_50_7.ngClassUntouched;u.c(t,this._expr_37,N)&&(this.renderer.setElementClass(this._el_50,"ng-untouched",N),this._expr_37=N);var P=this._NgControlStatus_50_7.ngClassTouched;u.c(t,this._expr_38,P)&&(this.renderer.setElementClass(this._el_50,"ng-touched",P),this._expr_38=P);var R=this._NgControlStatus_50_7.ngClassPristine;u.c(t,this._expr_39,R)&&(this.renderer.setElementClass(this._el_50,"ng-pristine",R),this._expr_39=R);var j=this._NgControlStatus_50_7.ngClassDirty;u.c(t,this._expr_40,j)&&(this.renderer.setElementClass(this._el_50,"ng-dirty",j),this._expr_40=j);var M=this._NgControlStatus_50_7.ngClassValid;u.c(t,this._expr_41,M)&&(this.renderer.setElementClass(this._el_50,"ng-valid",M),this._expr_41=M);var L=this._NgControlStatus_50_7.ngClassInvalid;u.c(t,this._expr_42,L)&&(this.renderer.setElementClass(this._el_50,"ng-invalid",L),this._expr_42=L);var B=this._NgControlStatus_72_7.ngClassUntouched;u.c(t,this._expr_58,B)&&(this.renderer.setElementClass(this._el_72,"ng-untouched",B),this._expr_58=B);var F=this._NgControlStatus_72_7.ngClassTouched;u.c(t,this._expr_59,F)&&(this.renderer.setElementClass(this._el_72,"ng-touched",F),this._expr_59=F);var q=this._NgControlStatus_72_7.ngClassPristine;u.c(t,this._expr_60,q)&&(this.renderer.setElementClass(this._el_72,"ng-pristine",q),this._expr_60=q);var V=this._NgControlStatus_72_7.ngClassDirty;u.c(t,this._expr_61,V)&&(this.renderer.setElementClass(this._el_72,"ng-dirty",V),this._expr_61=V);var H=this._NgControlStatus_72_7.ngClassValid;u.c(t,this._expr_62,H)&&(this.renderer.setElementClass(this._el_72,"ng-valid",H),this._expr_62=H);var U=this._NgControlStatus_72_7.ngClassInvalid;u.c(t,this._expr_63,U)&&(this.renderer.setElementClass(this._el_72,"ng-invalid",U),this._expr_63=U);var z=this.parent.parent.parent.context.lockedSampleState[this.parent.context.index].sampleFreqLocked?"assets/img/close-lock.svg":"assets/img/open-lock.svg";u.c(t,this._expr_65,z)&&(this.renderer.setElementProperty(this._el_79,"src",this.viewUtils.sanitizer.sanitize(D.b.URL,z)),this._expr_65=z);var G=this._NgControlStatus_94_7.ngClassUntouched;u.c(t,this._expr_80,G)&&(this.renderer.setElementClass(this._el_94,"ng-untouched",G),this._expr_80=G);var W=this._NgControlStatus_94_7.ngClassTouched;u.c(t,this._expr_81,W)&&(this.renderer.setElementClass(this._el_94,"ng-touched",W),this._expr_81=W);var Y=this._NgControlStatus_94_7.ngClassPristine;u.c(t,this._expr_82,Y)&&(this.renderer.setElementClass(this._el_94,"ng-pristine",Y),this._expr_82=Y);var $=this._NgControlStatus_94_7.ngClassDirty;u.c(t,this._expr_83,$)&&(this.renderer.setElementClass(this._el_94,"ng-dirty",$),this._expr_83=$);var X=this._NgControlStatus_94_7.ngClassValid;u.c(t,this._expr_84,X)&&(this.renderer.setElementClass(this._el_94,"ng-valid",X),this._expr_84=X);var J=this._NgControlStatus_94_7.ngClassInvalid;u.c(t,this._expr_85,J)&&(this.renderer.setElementClass(this._el_94,"ng-invalid",J),this._expr_85=J);var Q=this.parent.parent.parent.context.lockedSampleState[this.parent.context.index].sampleSizeLocked?"assets/img/close-lock.svg":"assets/img/open-lock.svg";u.c(t,this._expr_87,Q)&&(this.renderer.setElementProperty(this._el_101,"src",this.viewUtils.sanitizer.sanitize(D.b.URL,Q)),this._expr_87=Q),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_20_5.ngOnDestroy(),this._NgModel_50_5.ngOnDestroy(),this._NgModel_72_5.ngOnDestroy(),this._NgModel_94_5.ngOnDestroy()},e.prototype._handle_tap_11_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.chart.incrementVPD(this.parent.context.index)!==!1;return e},e.prototype._handle_focusin_18_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_18_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_18_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_5.hide()!==!1;return e},e.prototype._handle_mouseleave_18_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_18_5.hide()!==!1;return e},e.prototype._handle_valChange_20_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.formatInputAndUpdate(t,this.parent.context.index,"vpd")!==!1;return e},e.prototype._handle_input_20_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_20_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_20_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_20_3.onTouched()!==!1;return e},e.prototype._handle_focusout_20_3=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_20_8.onFocusOut(t)!==!1;return e},e.prototype._handle_keypress_20_4=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_20_8.onkeypress(t)!==!1;return e},e.prototype._handle_tap_27_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.chart.decrementVPD(this.parent.context.index)!==!1;return e},e.prototype._handle_tap_42_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.chart.decrementOffset(this.parent.context.index)!==!1;return e},e.prototype._handle_focusin_48_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_48_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_48_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_48_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_48_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_48_5.hide()!==!1;return e},e.prototype._handle_mouseleave_48_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_48_5.hide()!==!1;return e},e.prototype._handle_valChange_50_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.formatInputAndUpdate(t,this.parent.context.index,"offset")!==!1;return e},e.prototype._handle_input_50_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_50_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_50_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_50_3.onTouched()!==!1;return e},e.prototype._handle_focusout_50_3=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_50_8.onFocusOut(t)!==!1;return e},e.prototype._handle_keypress_50_4=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_50_8.onkeypress(t)!==!1;return e},e.prototype._handle_tap_55_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.chart.incrementOffset(this.parent.context.index)!==!1;return e},e.prototype._handle_focusin_64_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_64_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_64_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_64_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_64_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_64_5.hide()!==!1;return e},e.prototype._handle_mouseleave_64_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_64_5.hide()!==!1;return e},e.prototype._handle_valChange_72_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.formatInputAndUpdate(t,this.parent.context.index,"sampleFreq")!==!1;return e},e.prototype._handle_input_72_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_72_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_72_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_72_3.onTouched()!==!1;return e},e.prototype._handle_focusout_72_3=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_72_8.onFocusOut(t)!==!1;return e},e.prototype._handle_keypress_72_4=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_72_8.onkeypress(t)!==!1;return e},e.prototype._handle_tap_77_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.toggleSampleFreqLock(this.parent.context.index)!==!1;return e},e.prototype._handle_focusin_86_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_86_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_86_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_86_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_86_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_86_5.hide()!==!1;return e},e.prototype._handle_mouseleave_86_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_86_5.hide()!==!1;return e},e.prototype._handle_valChange_94_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.formatInputAndUpdate(t,this.parent.context.index,"numSamples")!==!1;return e},e.prototype._handle_input_94_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_94_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_94_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_94_3.onTouched()!==!1;return e},e.prototype._handle_focusout_94_3=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_94_8.onFocusOut(t)!==!1;return e},e.prototype._handle_keypress_94_4=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_94_8.onkeypress(t)!==!1;return e},e.prototype._handle_tap_99_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.toggleSampleLock(this.parent.context.index)!==!1;return e},e}(l.a)},function(t,e,n){"use strict";function i(t,e,n){return null===L&&(L=t.createRenderComponentType("",0,f.c.None,[],{})),new B(t,e,n)}function r(t,e,n){return null===V&&(V=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/pages/bode-modal/bode-modal.html",0,f.c.None,q,{})),new H(t,e,n)}function s(t,e,n){return new U(t,e,n)}var o=n(10),a=n(6),_=n(371),l=n(11),h=n(5),c=n(4),u=n(13),p=n(27),d=n(83),f=n(8),m=n(7),g=n(34),v=n(46),x=n(139),y=n(35),b=n(20),w=n(55),C=n(63),E=n(81),T=n(2),A=n(14),I=n(22),S=n(49),O=n(56),k=n(67),N=n(186),P=n(25),R=n(21),D=n(37),j=n(73);n.d(e,"a",function(){return F});var M=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},L=null,B=function(t){function e(n,i,r){t.call(this,e,L,h.a.HOST,n,i,r,c.b.CheckAlways)}return M(e,t), e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ng-component",t,null),this._appEl_0=new a.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._BodeModalPage_0_4=new _.a(this.parentInjector.get(u.a),this.parentInjector.get(p.a),this.parentInjector.get(d.a)),this._appEl_0.initComponent(this._BodeModalPage_0_4,[],e),e.create(this._BodeModalPage_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===_.a&&0===e?this._BodeModalPage_0_4:n},e}(o.a),F=new m.a("ng-component",i,_.a),q=[],V=null,H=function(t){function e(n,i,r){t.call(this,e,V,h.a.COMPONENT,n,i,r,c.b.CheckAlways)}return M(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_bodeSlider_0=new g.a,this._el_0=this.renderer.createElement(e,"ion-content",null),this.renderer.setElementAttribute(this._el_0,"class","calibration-container"),this._appEl_0=new a.a(0,null,this,this._el_0);var n=E.a(this.viewUtils,this.injector(0),this._appEl_0);this._Content_0_4=new v.a(this.parentInjector.get(T.c),new A.a(this._el_0),this.renderer,this.parentInjector.get(I.a),this.parentInjector.get(S.a),this.parentInjector.get(O.a),this.parentInjector.get(u.a,null),this.parentInjector.get(k.a,null)),this._appEl_0.initComponent(this._Content_0_4,[],n),this._text_1=this.renderer.createText(null,"\n\n ",null),this._el_2=this.renderer.createElement(null,"ion-slides",null),this._appEl_2=new a.a(2,0,this,this._el_2);var i=N.a(this.viewUtils,this.injector(2),this._appEl_2);this._Slides_2_4=new x.b(this.parentInjector.get(T.c),new A.a(this._el_2),this.renderer),this._appEl_2.initComponent(this._Slides_2_4,[],i),this._text_3=this.renderer.createText(null,"\n\n ",null),this._el_4=this.renderer.createElement(null,"ion-slide",null),this.renderer.setElementAttribute(this._el_4,"class","slide-container"),this._appEl_4=new a.a(4,2,this,this._el_4);var r=N.b(this.viewUtils,this.injector(4),this._appEl_4);this._Slide_4_4=new x.a(new A.a(this._el_4),this._Slides_2_4),this._appEl_4.initComponent(this._Slide_4_4,[],r),this._text_5=this.renderer.createText(null,"\n ",null),this._el_6=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_6,"class","content-container"),this._text_7=this.renderer.createText(this._el_6,"\n ",null),this._el_8=this.renderer.createElement(this._el_6,"div",null),this.renderer.setElementAttribute(this._el_8,"class","slide-header"),this._text_9=this.renderer.createText(this._el_8,"Bode Calibration",null),this._text_10=this.renderer.createText(this._el_6,"\n ",null),this._el_11=this.renderer.createElement(this._el_6,"div",null),this.renderer.setElementAttribute(this._el_11,"class","bode-slide-content"),this._text_12=this.renderer.createText(this._el_11,"\n Please connect Osc Ch 1 (solid orange wire) to Wavegen Ch 1 (solid yellow wire) and click calibrate.\n ",null),this._text_13=this.renderer.createText(this._el_6,"\n ",null),this._el_14=this.renderer.createElement(this._el_6,"ion-row",null),this._Row_14_3=new y.c,this._text_15=this.renderer.createText(this._el_14,"\n ",null),this._el_16=this.renderer.createElement(this._el_14,"ion-col",null),this.renderer.setElementAttribute(this._el_16,"center",""),this.renderer.setElementAttribute(this._el_16,"class","icon-col"),this.renderer.setElementAttribute(this._el_16,"text-center",""),this._Col_16_3=new y.a,this._text_17=this.renderer.createText(this._el_16,"\n ",null),this._el_18=this.renderer.createElement(this._el_16,"img",null),this.renderer.setElementAttribute(this._el_18,"class","calibration-connection-image"),this.renderer.setElementAttribute(this._el_18,"src","assets/img/openscope_bode_calibration.svg"),this._text_19=this.renderer.createText(this._el_16,"\n ",null),this._text_20=this.renderer.createText(this._el_14,"\n ",null),this._text_21=this.renderer.createText(this._el_6,"\n ",null),this._el_22=this.renderer.createElement(this._el_6,"div",null),this.renderer.setElementAttribute(this._el_22,"class","navigation-button-container"),this._text_23=this.renderer.createText(this._el_22,"\n ",null),this._el_24=this.renderer.createElement(this._el_22,"ion-row",null),this._Row_24_3=new y.c,this._text_25=this.renderer.createText(this._el_24,"\n ",null),this._el_26=this.renderer.createElement(this._el_24,"ion-col",null),this.renderer.setElementAttribute(this._el_26,"text-left",""),this._Col_26_3=new y.a,this._text_27=this.renderer.createText(this._el_26,"\n ",null),this._el_28=this.renderer.createElement(this._el_26,"button",null),this.renderer.setElementAttribute(this._el_28,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_28,"icon-left",""),this.renderer.setElementAttribute(this._el_28,"ion-button",""),this._appEl_28=new a.a(28,26,this,this._el_28);var o=P.a(this.viewUtils,this.injector(28),this._appEl_28);this._Button_28_4=new b.a(null,"",this.parentInjector.get(T.c),new A.a(this._el_28),this.renderer),this._appEl_28.initComponent(this._Button_28_4,[],o),this._text_29=this.renderer.createText(null,"\n ",null),this._el_30=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_30,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_30,"src","assets/img/close.svg"),this._text_31=this.renderer.createText(null,"\n Close\n ",null),o.create(this._Button_28_4,[[].concat([this._text_29,this._el_30,this._text_31])],null),this._text_32=this.renderer.createText(this._el_26,"\n ",null),this._text_33=this.renderer.createText(this._el_24,"\n ",null),this._el_34=this.renderer.createElement(this._el_24,"ion-col",null),this.renderer.setElementAttribute(this._el_34,"text-right",""),this._Col_34_3=new y.a,this._text_35=this.renderer.createText(this._el_34,"\n ",null),this._el_36=this.renderer.createElement(this._el_34,"button",null),this.renderer.setElementAttribute(this._el_36,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_36,"icon-right",""),this.renderer.setElementAttribute(this._el_36,"ion-button",""),this._appEl_36=new a.a(36,34,this,this._el_36);var _=P.a(this.viewUtils,this.injector(36),this._appEl_36);this._Button_36_4=new b.a(null,"",this.parentInjector.get(T.c),new A.a(this._el_36),this.renderer),this._appEl_36.initComponent(this._Button_36_4,[],_),this._text_37=this.renderer.createText(null,"\n Calibrate\n ",null),this._el_38=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_38,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_38,"src","assets/img/arrow-forward.svg"),this._text_39=this.renderer.createText(null,"\n ",null),_.create(this._Button_36_4,[[].concat([this._text_37,this._el_38,this._text_39])],null),this._text_40=this.renderer.createText(this._el_34,"\n ",null),this._text_41=this.renderer.createText(this._el_24,"\n ",null),this._text_42=this.renderer.createText(this._el_22,"\n ",null),this._text_43=this.renderer.createText(this._el_6,"\n ",null),this._text_44=this.renderer.createText(null,"\n ",null),r.create(this._Slide_4_4,[[].concat([this._text_5,this._el_6,this._text_44])],null),this._text_45=this.renderer.createText(null,"\n\n ",null),this._el_46=this.renderer.createElement(null,"ion-slide",null),this.renderer.setElementAttribute(this._el_46,"class","slide-container"),this._appEl_46=new a.a(46,2,this,this._el_46);var l=N.b(this.viewUtils,this.injector(46),this._appEl_46);this._Slide_46_4=new x.a(new A.a(this._el_46),this._Slides_2_4),this._appEl_46.initComponent(this._Slide_46_4,[],l),this._text_47=this.renderer.createText(null,"\n ",null),this._el_48=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_48,"class","content-container"),this._text_49=this.renderer.createText(this._el_48,"\n ",null),this._el_50=this.renderer.createElement(this._el_48,"div",null),this.renderer.setElementAttribute(this._el_50,"class","slide-header"),this._text_51=this.renderer.createText(this._el_50,"Calibration Complete",null),this._text_52=this.renderer.createText(this._el_48,"\n ",null),this._el_53=this.renderer.createElement(this._el_48,"div",null),this.renderer.setElementAttribute(this._el_53,"class","bode-slide-content"),this._text_54=this.renderer.createText(this._el_53,"",null),this._text_55=this.renderer.createText(this._el_48,"\n ",null),this._el_56=this.renderer.createElement(this._el_48,"div",null),this.renderer.setElementAttribute(this._el_56,"class","bode-calibration-results"),this._text_57=this.renderer.createText(this._el_56,"\n ",null),this._el_58=this.renderer.createElement(this._el_56,"ion-row",null),this.renderer.setElementAttribute(this._el_58,"class","bode-header-row"),this._Row_58_3=new y.c,this._text_59=this.renderer.createText(this._el_58,"\n ",null),this._el_60=this.renderer.createElement(this._el_58,"ion-col",null),this._Col_60_3=new y.a,this._text_61=this.renderer.createText(this._el_60,"\n Frequency\n ",null),this._text_62=this.renderer.createText(this._el_58,"\n ",null),this._el_63=this.renderer.createElement(this._el_58,"ion-col",null),this._Col_63_3=new y.a,this._text_64=this.renderer.createText(this._el_63,"\n Amplitude\n ",null),this._text_65=this.renderer.createText(this._el_58,"\n ",null),this._text_66=this.renderer.createText(this._el_56,"\n ",null),this._anchor_67=this.renderer.createTemplateAnchor(this._el_56,null),this._appEl_67=new a.a(67,56,this,this._anchor_67),this._TemplateRef_67_5=new R.a(this._appEl_67,s),this._NgFor_67_6=new w.a(this._appEl_67.vcRef,this._TemplateRef_67_5,this.parentInjector.get(D.a),this.ref),this._text_68=this.renderer.createText(this._el_56,"\n ",null),this._text_69=this.renderer.createText(this._el_48,"\n ",null),this._el_70=this.renderer.createElement(this._el_48,"div",null),this.renderer.setElementAttribute(this._el_70,"class","navigation-button-container"),this._text_71=this.renderer.createText(this._el_70,"\n ",null),this._el_72=this.renderer.createElement(this._el_70,"ion-row",null),this._Row_72_3=new y.c,this._text_73=this.renderer.createText(this._el_72,"\n ",null),this._el_74=this.renderer.createElement(this._el_72,"ion-col",null),this.renderer.setElementAttribute(this._el_74,"text-right",""),this._Col_74_3=new y.a,this._text_75=this.renderer.createText(this._el_74,"\n ",null),this._el_76=this.renderer.createElement(this._el_74,"button",null),this.renderer.setElementAttribute(this._el_76,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_76,"icon-right",""),this.renderer.setElementAttribute(this._el_76,"ion-button",""),this._appEl_76=new a.a(76,74,this,this._el_76);var h=P.a(this.viewUtils,this.injector(76),this._appEl_76);this._Button_76_4=new b.a(null,"",this.parentInjector.get(T.c),new A.a(this._el_76),this.renderer),this._appEl_76.initComponent(this._Button_76_4,[],h),this._text_77=this.renderer.createText(null,"",null),this._el_78=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_78,"class","custom-image-button"),this._text_79=this.renderer.createText(null,"\n ",null),h.create(this._Button_76_4,[[].concat([this._text_77,this._el_78,this._text_79])],null),this._text_80=this.renderer.createText(this._el_74,"\n ",null),this._text_81=this.renderer.createText(this._el_72,"\n ",null),this._text_82=this.renderer.createText(this._el_70,"\n ",null),this._text_83=this.renderer.createText(this._el_48,"\n ",null),this._text_84=this.renderer.createText(null,"\n ",null),l.create(this._Slide_46_4,[[].concat([this._text_47,this._el_48,this._text_84])],null),this._text_85=this.renderer.createText(null,"\n\n ",null),i.create(this._Slides_2_4,[[].concat([this._text_3,this._el_4,this._text_45,this._el_46,this._text_85])],null),this._text_86=this.renderer.createText(null,"\n\n",null),n.create(this._Content_0_4,[[],[].concat([this._text_1,this._el_2,this._text_86]),[]],null),this._expr_0=c.n;var p=this.renderer.listen(this._el_28,"click",this.eventHandler(this._handle_click_28_0.bind(this))),d=this.renderer.listen(this._el_36,"click",this.eventHandler(this._handle_click_36_0.bind(this)));this._expr_3=c.n,this._expr_4=c.n,this._pipe_unitFormat_0=new C.a;var f=this.renderer.listen(this._el_76,"click",this.eventHandler(this._handle_click_76_0.bind(this)));return this._expr_6=c.n,this._expr_7=c.n,this._viewQuery_bodeSlider_0.reset([this._Slides_2_4]),this.context.slider=this._viewQuery_bodeSlider_0.first,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9,this._text_10,this._el_11,this._text_12,this._text_13,this._el_14,this._text_15,this._el_16,this._text_17,this._el_18,this._text_19,this._text_20,this._text_21,this._el_22,this._text_23,this._el_24,this._text_25,this._el_26,this._text_27,this._el_28,this._text_29,this._el_30,this._text_31,this._text_32,this._text_33,this._el_34,this._text_35,this._el_36,this._text_37,this._el_38,this._text_39,this._text_40,this._text_41,this._text_42,this._text_43,this._text_44,this._text_45,this._el_46,this._text_47,this._el_48,this._text_49,this._el_50,this._text_51,this._text_52,this._el_53,this._text_54,this._text_55,this._el_56,this._text_57,this._el_58,this._text_59,this._el_60,this._text_61,this._text_62,this._el_63,this._text_64,this._text_65,this._text_66,this._anchor_67,this._text_68,this._text_69,this._el_70,this._text_71,this._el_72,this._text_73,this._el_74,this._text_75,this._el_76,this._text_77,this._el_78,this._text_79,this._text_80,this._text_81,this._text_82,this._text_83,this._text_84,this._text_85,this._text_86],[p,d,f],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===y.a&&16<=e&&e<=19?this._Col_16_3:t===y.c&&14<=e&&e<=20?this._Row_14_3:t===b.a&&28<=e&&e<=31?this._Button_28_4:t===y.a&&26<=e&&e<=32?this._Col_26_3:t===b.a&&36<=e&&e<=39?this._Button_36_4:t===y.a&&34<=e&&e<=40?this._Col_34_3:t===y.c&&24<=e&&e<=41?this._Row_24_3:t===x.a&&4<=e&&e<=44?this._Slide_4_4:t===y.a&&60<=e&&e<=61?this._Col_60_3:t===y.a&&63<=e&&e<=64?this._Col_63_3:t===y.c&&58<=e&&e<=65?this._Row_58_3:t===R.b&&67===e?this._TemplateRef_67_5:t===w.a&&67===e?this._NgFor_67_6:t===b.a&&76<=e&&e<=79?this._Button_76_4:t===y.a&&74<=e&&e<=80?this._Col_74_3:t===y.c&&72<=e&&e<=81?this._Row_72_3:t===x.a&&46<=e&&e<=84?this._Slide_46_4:t===x.b&&2<=e&&e<=85?this._Slides_2_4:t===v.a&&0<=e&&e<=86?this._Content_0_4:n},e.prototype.detectChangesInternal=function(t){var e=null;0!==this.numberOfChecks||t||this._Content_0_4.ngOnInit(),0!==this.numberOfChecks||t||this._Slides_2_4.ngOnInit(),e=null;var n=this.context.bodePlotComponent.calibrationData;l.c(t,this._expr_4,n)&&(this._NgFor_67_6.ngForOf=n,null===e&&(e={}),e.ngForOf=new c.m(this._expr_4,n),this._expr_4=n),null!==e&&this._NgFor_67_6.ngOnChanges(e),t||this._NgFor_67_6.ngDoCheck(),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_28_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_36_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_76_4.ngAfterContentInit());var i=this._Content_0_4._sbPadding;l.c(t,this._expr_0,i)&&(this.renderer.setElementClass(this._el_0,"statusbar-padding",i),this._expr_0=i);var r=l.e(1,"\n See calibration data below. ",this.context.exitAfterCalibration?"":"Connect Osc Ch 1 and Wavegen Ch 1 back to your circuit and click start.","\n ");l.c(t,this._expr_3,r)&&(this.renderer.setText(this._text_54,r),this._expr_3=r);var s=l.e(1,"\n ",this.context.exitAfterCalibration?"Done":"Start","\n ");l.c(t,this._expr_6,s)&&(this.renderer.setText(this._text_77,s),this._expr_6=s);var o=this.context.exitAfterCalibration?"assets/img/check.svg":"assets/img/arrow-forward.svg";l.c(t,this._expr_7,o)&&(this.renderer.setElementProperty(this._el_78,"src",this.viewUtils.sanitizer.sanitize(j.b.URL,o)),this._expr_7=o),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Slide_4_4.ngOnDestroy(),this._Slide_46_4.ngOnDestroy(),this._Content_0_4.ngOnDestroy()},e.prototype._handle_click_28_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.closeModal(!1)!==!1;return e},e.prototype._handle_click_36_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.runBodeInit()!==!1;return e},e.prototype._handle_click_76_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.closeModal(!0)!==!1;return e},e}(o.a),U=function(t){function e(n,i,r){t.call(this,e,V,h.a.EMBEDDED,n,i,r,c.b.CheckAlways)}return M(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"ion-row",null),this._Row_0_3=new y.c,this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-col",null),this._Col_2_3=new y.a,this._text_3=this.renderer.createText(this._el_2,"",null),this._text_4=this.renderer.createText(this._el_0,"\n ",null),this._el_5=this.renderer.createElement(this._el_0,"ion-col",null),this._Col_5_3=new y.a,this._text_6=this.renderer.createText(this._el_5,"",null),this._text_7=this.renderer.createText(this._el_0,"\n ",null),this._pipe_unitFormat_0_0=l.i(this.parent._pipe_unitFormat_0.transform.bind(this.parent._pipe_unitFormat_0)),this._expr_0=c.n,this._pipe_unitFormat_0_1=l.i(this.parent._pipe_unitFormat_0.transform.bind(this.parent._pipe_unitFormat_0)),this._expr_1=c.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._text_7],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===y.a&&2<=e&&e<=3?this._Col_2_3:t===y.a&&5<=e&&e<=6?this._Col_5_3:t===y.c&&0<=e&&e<=7?this._Row_0_3:n},e.prototype.detectChangesInternal=function(t){var e=new c.o;this.detectContentChildrenChanges(t),e.reset();var n=l.e(1,"\n ",e.unwrap(l.r(this._pipe_unitFormat_0_0,this.parent._pipe_unitFormat_0.transform)(this.context.$implicit[0],"Hz"))," \n ");(e.hasWrappedValue||l.c(t,this._expr_0,n))&&(this.renderer.setText(this._text_3,n),this._expr_0=n),e.reset();var i=l.e(1,"\n ",e.unwrap(l.r(this._pipe_unitFormat_0_1,this.parent._pipe_unitFormat_0.transform)(this.context.$implicit[1],"V")),"\n ");(e.hasWrappedValue||l.c(t,this._expr_1,i))&&(this.renderer.setText(this._text_6,i),this._expr_1=i),this.detectViewChildrenChanges(t)},e}(o.a)},function(t,e,n){"use strict";function i(t,e,n){return null===J&&(J=t.createRenderComponentType("",0,m.c.None,[],{})),new Q(t,e,n)}function r(t,e,n){return null===tt&&(tt=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/pages/bode/bode.html",0,m.c.None,K,{})),new et(t,e,n)}var s=n(10),o=n(6),a=n(372),_=n(11),l=n(5),h=n(4),c=n(71),u=n(66),p=n(43),d=n(38),f=n(27),m=n(8),g=n(7),v=n(34),x=n(46),y=n(35),b=n(20),w=n(274),C=n(60),E=n(62),T=n(61),A=n(129),I=n(65),S=n(63),O=n(81),k=n(2),N=n(14),P=n(22),R=n(49),D=n(56),j=n(13),M=n(67),L=n(25),B=n(794),F=n(28),q=n(121),V=n(83),H=n(59),U=n(82),z=n(47),G=n(98),W=n(23),Y=n(41),$=n(53);n.d(e,"a",function(){return Z});var X=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},J=null,Q=function(t){function e(n,i,r){t.call(this,e,J,l.a.HOST,n,i,r,h.b.CheckAlways)}return X(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ng-component",t,null),this._appEl_0=new o.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._BodePage_0_4=new a.a(this.parentInjector.get(c.a),this.parentInjector.get(u.a),this.parentInjector.get(p.DeviceManagerService),this.parentInjector.get(d.a),this.parentInjector.get(f.a)),this._appEl_0.initComponent(this._BodePage_0_4,[],e),e.create(this._BodePage_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===a.a&&0===e?this._BodePage_0_4:n},e}(s.a),Z=new g.a("ng-component",i,a.a),K=[],tt=null,et=function(t){function e(n,i,r){t.call(this,e,tt,l.a.COMPONENT,n,i,r,h.b.CheckAlways)}return X(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_bodeComponent_0=new v.a,this._el_0=this.renderer.createElement(e,"ion-content",null),this.renderer.setElementAttribute(this._el_0,"class","bode-container"),this._appEl_0=new o.a(0,null,this,this._el_0);var n=O.a(this.viewUtils,this.injector(0),this._appEl_0);this._Content_0_4=new x.a(this.parentInjector.get(k.c),new N.a(this._el_0),this.renderer,this.parentInjector.get(P.a),this.parentInjector.get(R.a),this.parentInjector.get(D.a),this.parentInjector.get(j.a,null),this.parentInjector.get(M.a,null)),this._appEl_0.initComponent(this._Content_0_4,[],n),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"div",null),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-row",null),this._Row_4_3=new y.c,this._text_5=this.renderer.createText(this._el_4,"\n ",null),this._el_6=this.renderer.createElement(this._el_4,"ion-col",null),this.renderer.setElementAttribute(this._el_6,"center",""),this.renderer.setElementAttribute(this._el_6,"class","back-button-col"),this._Col_6_3=new y.a,this._text_7=this.renderer.createText(this._el_6,"\n ",null),this._el_8=this.renderer.createElement(this._el_6,"button",null),this.renderer.setElementAttribute(this._el_8,"class","custom-back-button disable-hover"),this.renderer.setElementAttribute(this._el_8,"ion-button",""),this._appEl_8=new o.a(8,6,this,this._el_8);var i=L.a(this.viewUtils,this.injector(8),this._appEl_8);this._Button_8_4=new b.a(null,"",this.parentInjector.get(k.c),new N.a(this._el_8),this.renderer),this._appEl_8.initComponent(this._Button_8_4,[],i),this._text_9=this.renderer.createText(null,"\n ",null),this._el_10=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_10,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_10,"src","assets/img/arrow-back.svg"),this._text_11=this.renderer.createText(null,"\n ",null),i.create(this._Button_8_4,[[].concat([this._text_9,this._el_10,this._text_11])],null),this._text_12=this.renderer.createText(this._el_6,"\n ",null),this._text_13=this.renderer.createText(this._el_4,"\n ",null),this._el_14=this.renderer.createElement(this._el_4,"ion-col",null),this.renderer.setElementAttribute(this._el_14,"center",""),this.renderer.setElementAttribute(this._el_14,"class","config-title-menu-col"),this._Col_14_3=new y.a,this._text_15=this.renderer.createText(this._el_14,"\n Bode Plot\n ",null),this._text_16=this.renderer.createText(this._el_4,"\n ",null),this._text_17=this.renderer.createText(this._el_2,"\n ",null),this._text_18=this.renderer.createText(null,"\n ",null),this._el_19=this.renderer.createElement(null,"ion-row",null),this.renderer.setElementAttribute(this._el_19,"class","page-row"),this._Row_19_3=new y.c,this._text_20=this.renderer.createText(this._el_19,"\n ",null),this._el_21=this.renderer.createElement(this._el_19,"ion-col",null),this._Col_21_3=new y.a,this._text_22=this.renderer.createText(this._el_21,"\n ",null),this._el_23=this.renderer.createElement(this._el_21,"div",null),this.renderer.setElementAttribute(this._el_23,"class","bode-component-wrapper"),this._text_24=this.renderer.createText(this._el_23,"\n ",null),this._el_25=this.renderer.createElement(this._el_23,"bode-plot",null),this._appEl_25=new o.a(25,23,this,this._el_25);var r=B.a(this.viewUtils,this.injector(25),this._appEl_25);this._BodePlotComponent_25_4=new w.a(this.parentInjector.get(p.DeviceManagerService),this.parentInjector.get(F.a),this.parentInjector.get(q.a),this.parentInjector.get(V.a),this.parentInjector.get(H.a),this.parentInjector.get(U.a),this.parentInjector.get(z.a)),this._appEl_25.initComponent(this._BodePlotComponent_25_4,[],r),r.create(this._BodePlotComponent_25_4,[],null),this._text_26=this.renderer.createText(this._el_23,"\n ",null),this._text_27=this.renderer.createText(this._el_21,"\n ",null),this._text_28=this.renderer.createText(this._el_19,"\n ",null),this._el_29=this.renderer.createElement(this._el_19,"ion-col",null),this.renderer.setElementAttribute(this._el_29,"class","controls-container"),this._Col_29_3=new y.a,this._text_30=this.renderer.createText(this._el_29,"\n\n ",null),this._el_31=this.renderer.createElement(this._el_29,"ion-grid",null),this.renderer.setElementAttribute(this._el_31,"class","ion-grid-no-padding"),this._Grid_31_3=new y.b,this._text_32=this.renderer.createText(this._el_31,"\n\n ",null),this._el_33=this.renderer.createElement(this._el_31,"ion-row",null),this.renderer.setElementAttribute(this._el_33,"class","item-row"),this._Row_33_3=new y.c,this._text_34=this.renderer.createText(this._el_33,"\n ",null),this._el_35=this.renderer.createElement(this._el_33,"ion-col",null),this.renderer.setElementAttribute(this._el_35,"center",""),this.renderer.setElementAttribute(this._el_35,"class","input-label"),this._Col_35_3=new y.a,this._text_36=this.renderer.createText(this._el_35,"\n ",null),this._el_37=this.renderer.createElement(this._el_35,"span",null),this._text_38=this.renderer.createText(this._el_37,"Start Freq",null),this._text_39=this.renderer.createText(this._el_35,"\n ",null),this._text_40=this.renderer.createText(this._el_33,"\n ",null),this._el_41=this.renderer.createElement(this._el_33,"ion-col",null),this.renderer.setElementAttribute(this._el_41,"center",""),this.renderer.setElementAttribute(this._el_41,"class","input-col"),this._Col_41_3=new y.a,this._text_42=this.renderer.createText(this._el_41,"\n ",null),this._el_43=this.renderer.createElement(this._el_41,"div",null),this.renderer.setElementAttribute(this._el_43,"class","label-flex"),this._text_44=this.renderer.createText(this._el_43,"\n ",null),this._el_45=this.renderer.createElement(this._el_43,"div",null),this.renderer.setElementAttribute(this._el_45,"class","label-left"),this._text_46=this.renderer.createText(this._el_45,"\n ",null),this._el_47=this.renderer.createElement(this._el_45,"input",null),this.renderer.setElementAttribute(this._el_47,"class","custom-input"),this.renderer.setElementAttribute(this._el_47,"formatInput",""),this.renderer.setElementAttribute(this._el_47,"step","any"),this._DefaultValueAccessor_47_3=new C.a(this.renderer,new N.a(this._el_47)),this._NG_VALUE_ACCESSOR_47_4=[this._DefaultValueAccessor_47_3],this._NgModel_47_5=new E.a(null,null,null,this._NG_VALUE_ACCESSOR_47_4),this._NgControl_47_6=this._NgModel_47_5,this._NgControlStatus_47_7=new T.a(this._NgControl_47_6),this._FormatInputDirective_47_8=new A.a(this.parentInjector.get(u.a)),this._text_48=this.renderer.createText(this._el_45,"\n ",null),this._text_49=this.renderer.createText(this._el_43,"\n ",null),this._text_50=this.renderer.createText(this._el_41,"\n ",null),this._text_51=this.renderer.createText(this._el_33,"\n ",null),this._text_52=this.renderer.createText(this._el_31,"\n\n ",null),this._el_53=this.renderer.createElement(this._el_31,"ion-row",null),this.renderer.setElementAttribute(this._el_53,"class","item-row"),this._Row_53_3=new y.c,this._text_54=this.renderer.createText(this._el_53,"\n ",null),this._el_55=this.renderer.createElement(this._el_53,"ion-col",null),this.renderer.setElementAttribute(this._el_55,"center",""),this.renderer.setElementAttribute(this._el_55,"class","input-label"),this._Col_55_3=new y.a,this._text_56=this.renderer.createText(this._el_55,"\n ",null),this._el_57=this.renderer.createElement(this._el_55,"span",null),this._text_58=this.renderer.createText(this._el_57,"Stop Freq",null),this._text_59=this.renderer.createText(this._el_55,"\n ",null),this._text_60=this.renderer.createText(this._el_53,"\n ",null),this._el_61=this.renderer.createElement(this._el_53,"ion-col",null),this.renderer.setElementAttribute(this._el_61,"center",""),this.renderer.setElementAttribute(this._el_61,"class","input-col"),this._Col_61_3=new y.a,this._text_62=this.renderer.createText(this._el_61,"\n ",null),this._el_63=this.renderer.createElement(this._el_61,"div",null),this.renderer.setElementAttribute(this._el_63,"class","label-flex"),this._text_64=this.renderer.createText(this._el_63,"\n ",null),this._el_65=this.renderer.createElement(this._el_63,"div",null),this.renderer.setElementAttribute(this._el_65,"class","label-left"),this._text_66=this.renderer.createText(this._el_65,"\n ",null),this._el_67=this.renderer.createElement(this._el_65,"input",null),this.renderer.setElementAttribute(this._el_67,"class","custom-input"),this.renderer.setElementAttribute(this._el_67,"formatInput",""),this.renderer.setElementAttribute(this._el_67,"step","any"),this._DefaultValueAccessor_67_3=new C.a(this.renderer,new N.a(this._el_67)),this._NG_VALUE_ACCESSOR_67_4=[this._DefaultValueAccessor_67_3],this._NgModel_67_5=new E.a(null,null,null,this._NG_VALUE_ACCESSOR_67_4),this._NgControl_67_6=this._NgModel_67_5,this._NgControlStatus_67_7=new T.a(this._NgControl_67_6),this._FormatInputDirective_67_8=new A.a(this.parentInjector.get(u.a)),this._text_68=this.renderer.createText(this._el_65,"\n ",null),this._text_69=this.renderer.createText(this._el_63,"\n ",null),this._text_70=this.renderer.createText(this._el_61,"\n ",null),this._text_71=this.renderer.createText(this._el_53,"\n ",null),this._text_72=this.renderer.createText(this._el_31,"\n\n ",null),this._el_73=this.renderer.createElement(this._el_31,"ion-row",null),this.renderer.setElementAttribute(this._el_73,"class","item-row"),this._Row_73_3=new y.c,this._text_74=this.renderer.createText(this._el_73,"\n ",null),this._el_75=this.renderer.createElement(this._el_73,"ion-col",null),this.renderer.setElementAttribute(this._el_75,"center",""),this.renderer.setElementAttribute(this._el_75,"class","input-label"),this._Col_75_3=new y.a, this._text_76=this.renderer.createText(this._el_75,"\n ",null),this._el_77=this.renderer.createElement(this._el_75,"span",null),this._text_78=this.renderer.createText(this._el_77,"Steps/",null),this._text_79=this.renderer.createText(this._el_75,"\n ",null),this._text_80=this.renderer.createText(this._el_73,"\n ",null),this._el_81=this.renderer.createElement(this._el_73,"ion-col",null),this.renderer.setElementAttribute(this._el_81,"center",""),this.renderer.setElementAttribute(this._el_81,"class","input-col"),this._Col_81_3=new y.a,this._text_82=this.renderer.createText(this._el_81,"\n ",null),this._el_83=this.renderer.createElement(this._el_81,"div",null),this.renderer.setElementAttribute(this._el_83,"class","label-flex"),this._text_84=this.renderer.createText(this._el_83,"\n ",null),this._el_85=this.renderer.createElement(this._el_83,"div",null),this.renderer.setElementAttribute(this._el_85,"class","label-left"),this._text_86=this.renderer.createText(this._el_85,"\n ",null),this._el_87=this.renderer.createElement(this._el_85,"input",null),this.renderer.setElementAttribute(this._el_87,"class","custom-input"),this.renderer.setElementAttribute(this._el_87,"step","any"),this._DefaultValueAccessor_87_3=new C.a(this.renderer,new N.a(this._el_87)),this._NG_VALUE_ACCESSOR_87_4=[this._DefaultValueAccessor_87_3],this._NgModel_87_5=new E.a(null,null,null,this._NG_VALUE_ACCESSOR_87_4),this._NgControl_87_6=this._NgModel_87_5,this._NgControlStatus_87_7=new T.a(this._NgControl_87_6),this._text_88=this.renderer.createText(this._el_85,"\n ",null),this._text_89=this.renderer.createText(this._el_83,"\n ",null),this._text_90=this.renderer.createText(this._el_81,"\n ",null),this._text_91=this.renderer.createText(this._el_73,"\n ",null),this._text_92=this.renderer.createText(this._el_31,"\n\n ",null),this._el_93=this.renderer.createElement(this._el_31,"ion-row",null),this.renderer.setElementAttribute(this._el_93,"class","item-row"),this._Row_93_3=new y.c,this._text_94=this.renderer.createText(this._el_93,"\n ",null),this._el_95=this.renderer.createElement(this._el_93,"ion-col",null),this.renderer.setElementAttribute(this._el_95,"center",""),this.renderer.setElementAttribute(this._el_95,"class","input-label"),this._Col_95_3=new y.a,this._text_96=this.renderer.createText(this._el_95,"\n ",null),this._el_97=this.renderer.createElement(this._el_95,"span",null),this._text_98=this.renderer.createText(this._el_97,"Sweep Type",null),this._text_99=this.renderer.createText(this._el_95,"\n ",null),this._text_100=this.renderer.createText(this._el_93,"\n ",null),this._el_101=this.renderer.createElement(this._el_93,"ion-col",null),this.renderer.setElementAttribute(this._el_101,"center",""),this.renderer.setElementAttribute(this._el_101,"class","input-col"),this._Col_101_3=new y.a,this._text_102=this.renderer.createText(this._el_101,"\n ",null),this._el_103=this.renderer.createElement(this._el_101,"div",null),this.renderer.setElementAttribute(this._el_103,"class","label-flex"),this._text_104=this.renderer.createText(this._el_103,"\n ",null),this._el_105=this.renderer.createElement(this._el_103,"div",null),this.renderer.setElementAttribute(this._el_105,"class","label-left"),this._text_106=this.renderer.createText(this._el_105,"\n ",null),this._el_107=this.renderer.createElement(this._el_105,"dropdown-popover",null),this._appEl_107=new o.a(107,105,this,this._el_107);var s=G.b(this.viewUtils,this.injector(107),this._appEl_107);this._DropdownPopoverComponent_107_4=new I.a(this.parentInjector.get(z.a),new N.a(this._el_107),this.parentInjector.get(W.f)),this._appEl_107.initComponent(this._DropdownPopoverComponent_107_4,[],s),s.create(this._DropdownPopoverComponent_107_4,[],null),this._text_108=this.renderer.createText(this._el_105,"\n ",null),this._text_109=this.renderer.createText(this._el_103,"\n ",null),this._text_110=this.renderer.createText(this._el_101,"\n ",null),this._text_111=this.renderer.createText(this._el_93,"\n ",null),this._text_112=this.renderer.createText(this._el_31,"\n ",null),this._el_113=this.renderer.createElement(this._el_31,"ion-row",null),this.renderer.setElementAttribute(this._el_113,"class","item-row"),this._Row_113_3=new y.c,this._text_114=this.renderer.createText(this._el_113,"\n ",null),this._el_115=this.renderer.createElement(this._el_113,"ion-col",null),this.renderer.setElementAttribute(this._el_115,"center",""),this.renderer.setElementAttribute(this._el_115,"class","input-label"),this._Col_115_3=new y.a,this._text_116=this.renderer.createText(this._el_115,"\n ",null),this._el_117=this.renderer.createElement(this._el_115,"span",null),this._text_118=this.renderer.createText(this._el_117,"Y Axis Type",null),this._text_119=this.renderer.createText(this._el_115,"\n ",null),this._text_120=this.renderer.createText(this._el_113,"\n ",null),this._el_121=this.renderer.createElement(this._el_113,"ion-col",null),this.renderer.setElementAttribute(this._el_121,"center",""),this.renderer.setElementAttribute(this._el_121,"class","input-col"),this._Col_121_3=new y.a,this._text_122=this.renderer.createText(this._el_121,"\n ",null),this._el_123=this.renderer.createElement(this._el_121,"div",null),this.renderer.setElementAttribute(this._el_123,"class","label-flex"),this._text_124=this.renderer.createText(this._el_123,"\n ",null),this._el_125=this.renderer.createElement(this._el_123,"div",null),this.renderer.setElementAttribute(this._el_125,"class","label-left"),this._text_126=this.renderer.createText(this._el_125,"\n ",null),this._el_127=this.renderer.createElement(this._el_125,"dropdown-popover",null),this._appEl_127=new o.a(127,125,this,this._el_127);var a=G.b(this.viewUtils,this.injector(127),this._appEl_127);this._DropdownPopoverComponent_127_4=new I.a(this.parentInjector.get(z.a),new N.a(this._el_127),this.parentInjector.get(W.f)),this._appEl_127.initComponent(this._DropdownPopoverComponent_127_4,[],a),a.create(this._DropdownPopoverComponent_127_4,[],null),this._text_128=this.renderer.createText(this._el_125,"\n ",null),this._text_129=this.renderer.createText(this._el_123,"\n ",null),this._text_130=this.renderer.createText(this._el_121,"\n ",null),this._text_131=this.renderer.createText(this._el_113,"\n ",null),this._text_132=this.renderer.createText(this._el_31,"\n ",null),this._text_133=this.renderer.createText(this._el_29,"\n\n ",null),this._el_134=this.renderer.createElement(this._el_29,"div",null),this.renderer.setElementAttribute(this._el_134,"text-right",""),this._text_135=this.renderer.createText(this._el_134,"\n ",null),this._el_136=this.renderer.createElement(this._el_134,"button",null),this.renderer.setElementAttribute(this._el_136,"class","text-button-side disable-hover start-button"),this.renderer.setElementAttribute(this._el_136,"ion-button",""),this._appEl_136=new o.a(136,134,this,this._el_136);var l=L.a(this.viewUtils,this.injector(136),this._appEl_136);this._Button_136_4=new b.a(null,"",this.parentInjector.get(k.c),new N.a(this._el_136),this.renderer),this._appEl_136.initComponent(this._Button_136_4,[],l),this._text_137=this.renderer.createText(null,"Start",null),l.create(this._Button_136_4,[[].concat([this._text_137])],null),this._text_138=this.renderer.createText(this._el_134,"\n ",null),this._text_139=this.renderer.createText(this._el_29,"\n\n ",null),this._text_140=this.renderer.createText(this._el_19,"\n ",null),this._text_141=this.renderer.createText(null,"\n",null),n.create(this._Content_0_4,[[],[].concat([this._text_1,this._el_2,this._text_18,this._el_19,this._text_141]),[]],null),this._expr_0=h.n;var c=this.renderer.listen(this._el_8,"click",this.eventHandler(this._handle_click_8_0.bind(this))),d=this.renderer.listen(this._el_47,"mousewheel",this.eventHandler(this._handle_mousewheel_47_0.bind(this))),f=this.renderer.listen(this._el_47,"valChange",this.eventHandler(this._handle_valChange_47_1.bind(this))),m=this.renderer.listen(this._el_47,"input",this.eventHandler(this._handle_input_47_2.bind(this))),g=this.renderer.listen(this._el_47,"blur",this.eventHandler(this._handle_blur_47_3.bind(this))),Y=this.renderer.listen(this._el_47,"focusout",this.eventHandler(this._handle_focusout_47_4.bind(this))),$=this.renderer.listen(this._el_47,"keypress",this.eventHandler(this._handle_keypress_47_5.bind(this)));this._pipe_unitFormat_0=new S.a,this._pipe_unitFormat_0_0=_.i(this._pipe_unitFormat_0.transform.bind(this._pipe_unitFormat_0)),this._expr_8=h.n,this._expr_9=h.n,this._expr_10=h.n,this._expr_11=h.n,this._expr_12=h.n,this._expr_13=h.n,this._expr_14=h.n;var X=this._FormatInputDirective_47_8.valChange.subscribe(this.eventHandler(this._handle_valChange_47_1.bind(this))),J=this.renderer.listen(this._el_67,"mousewheel",this.eventHandler(this._handle_mousewheel_67_0.bind(this))),Q=this.renderer.listen(this._el_67,"valChange",this.eventHandler(this._handle_valChange_67_1.bind(this))),Z=this.renderer.listen(this._el_67,"input",this.eventHandler(this._handle_input_67_2.bind(this))),K=this.renderer.listen(this._el_67,"blur",this.eventHandler(this._handle_blur_67_3.bind(this))),tt=this.renderer.listen(this._el_67,"focusout",this.eventHandler(this._handle_focusout_67_4.bind(this))),et=this.renderer.listen(this._el_67,"keypress",this.eventHandler(this._handle_keypress_67_5.bind(this)));this._pipe_unitFormat_0_1=_.i(this._pipe_unitFormat_0.transform.bind(this._pipe_unitFormat_0)),this._expr_21=h.n,this._expr_22=h.n,this._expr_23=h.n,this._expr_24=h.n,this._expr_25=h.n,this._expr_26=h.n,this._expr_27=h.n;var nt=this._FormatInputDirective_67_8.valChange.subscribe(this.eventHandler(this._handle_valChange_67_1.bind(this))),it=this.renderer.listen(this._el_87,"ngModelChange",this.eventHandler(this._handle_ngModelChange_87_0.bind(this))),rt=this.renderer.listen(this._el_87,"mousewheel",this.eventHandler(this._handle_mousewheel_87_1.bind(this))),st=this.renderer.listen(this._el_87,"input",this.eventHandler(this._handle_input_87_2.bind(this))),ot=this.renderer.listen(this._el_87,"blur",this.eventHandler(this._handle_blur_87_3.bind(this)));this._expr_32=h.n;var at=this._NgModel_87_5.update.subscribe(this.eventHandler(this._handle_ngModelChange_87_0.bind(this)));this._expr_33=h.n,this._expr_34=h.n,this._expr_35=h.n,this._expr_36=h.n,this._expr_37=h.n,this._expr_38=h.n;var _t=this.renderer.listen(this._el_107,"onSelection",this.eventHandler(this._handle_onSelection_107_0.bind(this)));this._expr_40=h.n;var lt=this._DropdownPopoverComponent_107_4.onSelection.subscribe(this.eventHandler(this._handle_onSelection_107_0.bind(this))),ht=this.renderer.listen(this._el_127,"onSelection",this.eventHandler(this._handle_onSelection_127_0.bind(this)));this._expr_42=h.n;var ct=this._DropdownPopoverComponent_127_4.onSelection.subscribe(this.eventHandler(this._handle_onSelection_127_0.bind(this))),ut=this.renderer.listen(this._el_136,"click",this.eventHandler(this._handle_click_136_0.bind(this)));return this._viewQuery_bodeComponent_0.reset([this._BodePlotComponent_25_4]),this.context.bodeComponent=this._viewQuery_bodeComponent_0.first,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9,this._el_10,this._text_11,this._text_12,this._text_13,this._el_14,this._text_15,this._text_16,this._text_17,this._text_18,this._el_19,this._text_20,this._el_21,this._text_22,this._el_23,this._text_24,this._el_25,this._text_26,this._text_27,this._text_28,this._el_29,this._text_30,this._el_31,this._text_32,this._el_33,this._text_34,this._el_35,this._text_36,this._el_37,this._text_38,this._text_39,this._text_40,this._el_41,this._text_42,this._el_43,this._text_44,this._el_45,this._text_46,this._el_47,this._text_48,this._text_49,this._text_50,this._text_51,this._text_52,this._el_53,this._text_54,this._el_55,this._text_56,this._el_57,this._text_58,this._text_59,this._text_60,this._el_61,this._text_62,this._el_63,this._text_64,this._el_65,this._text_66,this._el_67,this._text_68,this._text_69,this._text_70,this._text_71,this._text_72,this._el_73,this._text_74,this._el_75,this._text_76,this._el_77,this._text_78,this._text_79,this._text_80,this._el_81,this._text_82,this._el_83,this._text_84,this._el_85,this._text_86,this._el_87,this._text_88,this._text_89,this._text_90,this._text_91,this._text_92,this._el_93,this._text_94,this._el_95,this._text_96,this._el_97,this._text_98,this._text_99,this._text_100,this._el_101,this._text_102,this._el_103,this._text_104,this._el_105,this._text_106,this._el_107,this._text_108,this._text_109,this._text_110,this._text_111,this._text_112,this._el_113,this._text_114,this._el_115,this._text_116,this._el_117,this._text_118,this._text_119,this._text_120,this._el_121,this._text_122,this._el_123,this._text_124,this._el_125,this._text_126,this._el_127,this._text_128,this._text_129,this._text_130,this._text_131,this._text_132,this._text_133,this._el_134,this._text_135,this._el_136,this._text_137,this._text_138,this._text_139,this._text_140,this._text_141],[c,d,f,m,g,Y,$,J,Q,Z,K,tt,et,it,rt,st,ot,_t,ht,ut],[X,nt,at,lt,ct]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===b.a&&8<=e&&e<=11?this._Button_8_4:t===y.a&&6<=e&&e<=12?this._Col_6_3:t===y.a&&14<=e&&e<=15?this._Col_14_3:t===y.c&&4<=e&&e<=16?this._Row_4_3:t===w.a&&25===e?this._BodePlotComponent_25_4:t===y.a&&21<=e&&e<=27?this._Col_21_3:t===y.a&&35<=e&&e<=39?this._Col_35_3:t===C.a&&47===e?this._DefaultValueAccessor_47_3:t===Y.a&&47===e?this._NG_VALUE_ACCESSOR_47_4:t===E.a&&47===e?this._NgModel_47_5:t===$.a&&47===e?this._NgControl_47_6:t===T.a&&47===e?this._NgControlStatus_47_7:t===A.a&&47===e?this._FormatInputDirective_47_8:t===y.a&&41<=e&&e<=50?this._Col_41_3:t===y.c&&33<=e&&e<=51?this._Row_33_3:t===y.a&&55<=e&&e<=59?this._Col_55_3:t===C.a&&67===e?this._DefaultValueAccessor_67_3:t===Y.a&&67===e?this._NG_VALUE_ACCESSOR_67_4:t===E.a&&67===e?this._NgModel_67_5:t===$.a&&67===e?this._NgControl_67_6:t===T.a&&67===e?this._NgControlStatus_67_7:t===A.a&&67===e?this._FormatInputDirective_67_8:t===y.a&&61<=e&&e<=70?this._Col_61_3:t===y.c&&53<=e&&e<=71?this._Row_53_3:t===y.a&&75<=e&&e<=79?this._Col_75_3:t===C.a&&87===e?this._DefaultValueAccessor_87_3:t===Y.a&&87===e?this._NG_VALUE_ACCESSOR_87_4:t===E.a&&87===e?this._NgModel_87_5:t===$.a&&87===e?this._NgControl_87_6:t===T.a&&87===e?this._NgControlStatus_87_7:t===y.a&&81<=e&&e<=90?this._Col_81_3:t===y.c&&73<=e&&e<=91?this._Row_73_3:t===y.a&&95<=e&&e<=99?this._Col_95_3:t===I.a&&107===e?this._DropdownPopoverComponent_107_4:t===y.a&&101<=e&&e<=110?this._Col_101_3:t===y.c&&93<=e&&e<=111?this._Row_93_3:t===y.a&&115<=e&&e<=119?this._Col_115_3:t===I.a&&127===e?this._DropdownPopoverComponent_127_4:t===y.a&&121<=e&&e<=130?this._Col_121_3:t===y.c&&113<=e&&e<=131?this._Row_113_3:t===y.b&&31<=e&&e<=132?this._Grid_31_3:t===b.a&&136<=e&&e<=137?this._Button_136_4:t===y.a&&29<=e&&e<=139?this._Col_29_3:t===y.c&&19<=e&&e<=140?this._Row_19_3:t===x.a&&0<=e&&e<=141?this._Content_0_4:n},e.prototype.detectChangesInternal=function(t){var e=null,n=new h.o;0!==this.numberOfChecks||t||this._Content_0_4.ngOnInit(),e=null,n.reset();var i=n.unwrap(_.r(this._pipe_unitFormat_0_0,this._pipe_unitFormat_0.transform)(this.context.startFreq,"Hz"));(n.hasWrappedValue||_.c(t,this._expr_8,i))&&(this._NgModel_47_5.model=i,null===e&&(e={}),e.model=new h.m(this._expr_8,i),this._expr_8=i),null!==e&&this._NgModel_47_5.ngOnChanges(e),e=null,n.reset();var r=n.unwrap(_.r(this._pipe_unitFormat_0_1,this._pipe_unitFormat_0.transform)(this.context.stopFreq,"Hz"));(n.hasWrappedValue||_.c(t,this._expr_21,r))&&(this._NgModel_67_5.model=r,null===e&&(e={}),e.model=new h.m(this._expr_21,r),this._expr_21=r),null!==e&&this._NgModel_67_5.ngOnChanges(e),e=null;var s=this.context.stepsPerDec;_.c(t,this._expr_32,s)&&(this._NgModel_87_5.model=s,null===e&&(e={}),e.model=new h.m(this._expr_32,s),this._expr_32=s),null!==e&&this._NgModel_87_5.ngOnChanges(e),e=null;var o=this.context.sweepTypeArray;_.c(t,this._expr_40,o)&&(this._DropdownPopoverComponent_107_4.dataArray=o,null===e&&(e={}),e.dataArray=new h.m(this._expr_40,o),this._expr_40=o),null!==e&&this._DropdownPopoverComponent_107_4.ngOnChanges(e),e=null;var a=this.context.sweepTypeArray;_.c(t,this._expr_42,a)&&(this._DropdownPopoverComponent_127_4.dataArray=a,null===e&&(e={}),e.dataArray=new h.m(this._expr_42,a),this._expr_42=a),null!==e&&this._DropdownPopoverComponent_127_4.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_8_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_136_4.ngAfterContentInit());var l=this._Content_0_4._sbPadding;_.c(t,this._expr_0,l)&&(this.renderer.setElementClass(this._el_0,"statusbar-padding",l),this._expr_0=l);var c=this._NgControlStatus_47_7.ngClassUntouched;_.c(t,this._expr_9,c)&&(this.renderer.setElementClass(this._el_47,"ng-untouched",c),this._expr_9=c);var u=this._NgControlStatus_47_7.ngClassTouched;_.c(t,this._expr_10,u)&&(this.renderer.setElementClass(this._el_47,"ng-touched",u),this._expr_10=u);var p=this._NgControlStatus_47_7.ngClassPristine;_.c(t,this._expr_11,p)&&(this.renderer.setElementClass(this._el_47,"ng-pristine",p),this._expr_11=p);var d=this._NgControlStatus_47_7.ngClassDirty;_.c(t,this._expr_12,d)&&(this.renderer.setElementClass(this._el_47,"ng-dirty",d),this._expr_12=d);var f=this._NgControlStatus_47_7.ngClassValid;_.c(t,this._expr_13,f)&&(this.renderer.setElementClass(this._el_47,"ng-valid",f),this._expr_13=f);var m=this._NgControlStatus_47_7.ngClassInvalid;_.c(t,this._expr_14,m)&&(this.renderer.setElementClass(this._el_47,"ng-invalid",m),this._expr_14=m);var g=this._NgControlStatus_67_7.ngClassUntouched;_.c(t,this._expr_22,g)&&(this.renderer.setElementClass(this._el_67,"ng-untouched",g),this._expr_22=g);var v=this._NgControlStatus_67_7.ngClassTouched;_.c(t,this._expr_23,v)&&(this.renderer.setElementClass(this._el_67,"ng-touched",v),this._expr_23=v);var x=this._NgControlStatus_67_7.ngClassPristine;_.c(t,this._expr_24,x)&&(this.renderer.setElementClass(this._el_67,"ng-pristine",x),this._expr_24=x);var y=this._NgControlStatus_67_7.ngClassDirty;_.c(t,this._expr_25,y)&&(this.renderer.setElementClass(this._el_67,"ng-dirty",y),this._expr_25=y);var b=this._NgControlStatus_67_7.ngClassValid;_.c(t,this._expr_26,b)&&(this.renderer.setElementClass(this._el_67,"ng-valid",b),this._expr_26=b);var w=this._NgControlStatus_67_7.ngClassInvalid;_.c(t,this._expr_27,w)&&(this.renderer.setElementClass(this._el_67,"ng-invalid",w),this._expr_27=w);var C=this._NgControlStatus_87_7.ngClassUntouched;_.c(t,this._expr_33,C)&&(this.renderer.setElementClass(this._el_87,"ng-untouched",C),this._expr_33=C);var E=this._NgControlStatus_87_7.ngClassTouched;_.c(t,this._expr_34,E)&&(this.renderer.setElementClass(this._el_87,"ng-touched",E),this._expr_34=E);var T=this._NgControlStatus_87_7.ngClassPristine;_.c(t,this._expr_35,T)&&(this.renderer.setElementClass(this._el_87,"ng-pristine",T),this._expr_35=T);var A=this._NgControlStatus_87_7.ngClassDirty;_.c(t,this._expr_36,A)&&(this.renderer.setElementClass(this._el_87,"ng-dirty",A),this._expr_36=A);var I=this._NgControlStatus_87_7.ngClassValid;_.c(t,this._expr_37,I)&&(this.renderer.setElementClass(this._el_87,"ng-valid",I),this._expr_37=I);var S=this._NgControlStatus_87_7.ngClassInvalid;_.c(t,this._expr_38,S)&&(this.renderer.setElementClass(this._el_87,"ng-invalid",S),this._expr_38=S),this.detectViewChildrenChanges(t),t||(0===this.numberOfChecks&&this._DropdownPopoverComponent_107_4.ngAfterViewInit(),0===this.numberOfChecks&&this._DropdownPopoverComponent_127_4.ngAfterViewInit())},e.prototype.destroyInternal=function(){this._BodePlotComponent_25_4.ngOnDestroy(),this._NgModel_47_5.ngOnDestroy(),this._NgModel_67_5.ngOnDestroy(),this._NgModel_87_5.ngOnDestroy(),this._Content_0_4.ngOnDestroy()},e.prototype._handle_click_8_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.done()!==!1;return e},e.prototype._handle_mousewheel_47_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.frequencyMousewheel(t,"startFreq")!==!1;return e},e.prototype._handle_valChange_47_1=function(t){this.markPathToRootAsCheckOnce();var e=this.context.formatInputAndUpdate(t,"startFreq")!==!1;return e},e.prototype._handle_input_47_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_47_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_47_3=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_47_3.onTouched()!==!1;return e},e.prototype._handle_focusout_47_4=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_47_8.onFocusOut(t)!==!1;return e},e.prototype._handle_keypress_47_5=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_47_8.onkeypress(t)!==!1;return e},e.prototype._handle_mousewheel_67_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.frequencyMousewheel(t,"stopFreq")!==!1;return e},e.prototype._handle_valChange_67_1=function(t){this.markPathToRootAsCheckOnce();var e=this.context.formatInputAndUpdate(t,"stopFreq")!==!1;return e},e.prototype._handle_input_67_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_67_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_67_3=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_67_3.onTouched()!==!1;return e},e.prototype._handle_focusout_67_4=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_67_8.onFocusOut(t)!==!1;return e},e.prototype._handle_keypress_67_5=function(t){this.markPathToRootAsCheckOnce();var e=this._FormatInputDirective_67_8.onkeypress(t)!==!1;return e},e.prototype._handle_ngModelChange_87_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.context.stepsPerDec=t)!==!1;return e},e.prototype._handle_mousewheel_87_1=function(t){this.markPathToRootAsCheckOnce();var e=this.context.stepMousewheel(t)!==!1;return e},e.prototype._handle_input_87_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_87_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_87_3=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_87_3.onTouched()!==!1;return e},e.prototype._handle_onSelection_107_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.select(t,"sweep")!==!1;return e},e.prototype._handle_onSelection_127_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.select(t,"vert")!==!1;return e},e.prototype._handle_click_136_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.start()!==!1;return e},e}(s.a)},function(t,e,n){"use strict";function i(t,e,n){return null===Et&&(Et=t.createRenderComponentType("",0,j.c.None,[],{})),new Tt(t,e,n)}function r(t,e,n,i){t.cancelActiveAnimation(e,"expand","void"==i);var r={},s=null,o=0,a=St["*"],_=St[n];null==_&&(_=a);var l=St[i];null==l&&(l=a),L.e(e,t.renderer,L.d(_)),null==s&&"void"==n&&(s=new B.a([t.renderer.animate(e,new F.a(L.f(r,[_])),[new q.a(0,new F.a(L.f(r,[{}]))),new q.a(1,new F.a(L.f(r,[{}])))],0,0,null)]),o=0),null==s&&(s=new B.a([t.renderer.animate(e,new F.a(L.f(r,[_])),L.b(r,l,[new q.a(0,new F.a(L.f(r,[{}]))),new q.a(1,new F.a(L.f(r,[{}])))]),250,0,"ease-in-out")]),o=250),null==s&&(s=new V.a),s.onDone(function(){L.e(e,t.renderer,L.a(_,l))}),t.queueAnimation(e,"expand",s,o,n,i)}function s(t,e,n,i){t.cancelActiveAnimation(e,"rotate","void"==i);var r={},s=null,o=0,a=Ot["*"],_=Ot[n];null==_&&(_=a);var l=Ot[i];null==l&&(l=a),L.e(e,t.renderer,L.d(_)),null==s&&"void"==n&&(s=new B.a([t.renderer.animate(e,new F.a(L.f(r,[_])),[new q.a(0,new F.a(L.f(r,[{}]))),new q.a(1,new F.a(L.f(r,[{}])))],0,0,null)]),o=0),null==s&&(s=new B.a([t.renderer.animate(e,new F.a(L.f(r,[_])),L.b(r,l,[new q.a(0,new F.a(L.f(r,[{}]))),new q.a(1,new F.a(L.f(r,[{}])))]),250,0,"ease-in-out")]),o=250),null==s&&(s=new V.a),s.onDone(function(){L.e(e,t.renderer,L.a(_,l))}),t.queueAnimation(e,"rotate",s,o,n,i)}function o(t,e,n,i){t.cancelActiveAnimation(e,"expandMoreInfo","void"==i);var r={},s=null,o=0,a=kt["*"],_=kt[n];null==_&&(_=a);var l=kt[i];null==l&&(l=a),L.e(e,t.renderer,L.d(_)),null==s&&"void"==n&&(s=new B.a([t.renderer.animate(e,new F.a(L.f(r,[_])),[new q.a(0,new F.a(L.f(r,[{}]))),new q.a(1,new F.a(L.f(r,[{}])))],0,0,null)]),o=0),null==s&&(s=new B.a([t.renderer.animate(e,new F.a(L.f(r,[_])),L.b(r,l,[new q.a(0,new F.a(L.f(r,[{}]))),new q.a(1,new F.a(L.f(r,[{}])))]),250,0,"ease-in-out")]),o=250),null==s&&(s=new V.a),s.onDone(function(){L.e(e,t.renderer,L.a(_,l))}),t.queueAnimation(e,"expandMoreInfo",s,o,n,i)}function a(t,e,n){return null===Nt&&(Nt=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/pages/calibrate/calibrate.html",0,j.c.None,It,{expand:r,rotate:s,expandMoreInfo:o})),new Pt(t,e,n)}function _(t,e,n){return new Rt(t,e,n)}function l(t,e,n){return new Dt(t,e,n)}function h(t,e,n){return new jt(t,e,n)}function c(t,e,n){return new Mt(t,e,n)}function u(t,e,n){return new Lt(t,e,n)}function p(t,e,n){return new Bt(t,e,n)}function d(t,e,n){return new Ft(t,e,n)}function f(t,e,n){return new qt(t,e,n)}function m(t,e,n){return new Vt(t,e,n)}function g(t,e,n){return new Ht(t,e,n)}function v(t,e,n){return new Ut(t,e,n)}function x(t,e,n){return new zt(t,e,n)}function y(t,e,n){return new Gt(t,e,n)}var b=n(10),w=n(6),C=n(283),E=n(11),T=n(5),A=n(4),I=n(59),S=n(31),O=n(27),k=n(13),N=n(43),P=n(120),R=n(103),D=n(47),j=n(8),M=n(7),L=n(164),B=n(163),F=n(165),q=n(162),V=n(136),H=n(34),U=n(46),z=n(139),G=n(55),W=n(44),Y=n(20),$=n(60),X=n(62),J=n(61),Q=n(111),Z=n(151),K=n(65),tt=n(35),et=n(33),nt=n(81),it=n(2),rt=n(14),st=n(22),ot=n(49),at=n(56),_t=n(67),lt=n(186),ht=n(21),ct=n(37),ut=n(118),pt=n(39),dt=n(25),ft=n(221),mt=n(98),gt=n(23),vt=n(41),xt=n(53),yt=n(167),bt=n(279),wt=n(73);n.d(e,"a",function(){return At});var Ct=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Et=null,Tt=function(t){function e(n,i,r){t.call(this,e,Et,T.a.HOST,n,i,r,A.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ng-component",t,null),this._appEl_0=new w.a(0,null,this,this._el_0);var e=a(this.viewUtils,this.injector(0),this._appEl_0);return this._CalibratePage_0_4=new C.a(this.parentInjector.get(I.a),this.parentInjector.get(S.a),this.parentInjector.get(O.a),this.parentInjector.get(k.a),this.parentInjector.get(N.DeviceManagerService),this.parentInjector.get(P.a),this.parentInjector.get(R.a),this.parentInjector.get(D.a)),this._appEl_0.initComponent(this._CalibratePage_0_4,[],e),e.create(this._CalibratePage_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===C.a&&0===e?this._CalibratePage_0_4:n},e}(b.a),At=new M.a("ng-component",i,C.a),It=[],St={true:{height:"150px",visibility:"visible"},false:{height:"0",visibility:"hidden"},"*":{},void:{}},Ot={true:{transform:"rotate(-180deg)"},false:{transform:"rotate(0deg)"},"*":{},void:{}},kt={true:{visibility:"visible"},false:{height:"0",visibility:"hidden"},"*":{},void:{}},Nt=null,Pt=function(t){function e(n,i,r){t.call(this,e,Nt,T.a.COMPONENT,n,i,r,A.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_calibrationSlider_0=new H.a,this._viewQuery_digilentProgressBar_1=new H.a,this._el_0=this.renderer.createElement(e,"ion-content",null),this.renderer.setElementAttribute(this._el_0,"class","calibration-container"),this._appEl_0=new w.a(0,null,this,this._el_0);var n=nt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Content_0_4=new U.a(this.parentInjector.get(it.c),new rt.a(this._el_0),this.renderer,this.parentInjector.get(st.a),this.parentInjector.get(ot.a),this.parentInjector.get(at.a),this.parentInjector.get(k.a,null),this.parentInjector.get(_t.a,null)),this._appEl_0.initComponent(this._Content_0_4,[],n),this._text_1=this.renderer.createText(null,"\n\n ",null),this._el_2=this.renderer.createElement(null,"ion-slides",null),this._appEl_2=new w.a(2,0,this,this._el_2);var i=lt.a(this.viewUtils,this.injector(2),this._appEl_2);this._Slides_2_4=new z.b(this.parentInjector.get(it.c),new rt.a(this._el_2),this.renderer),this._appEl_2.initComponent(this._Slides_2_4,[],i),this._text_3=this.renderer.createText(null,"\n\n ",null),this._anchor_4=this.renderer.createTemplateAnchor(null,null),this._appEl_4=new w.a(4,2,this,this._anchor_4),this._TemplateRef_4_5=new ht.a(this._appEl_4,_),this._NgFor_4_6=new G.a(this._appEl_4.vcRef,this._TemplateRef_4_5,this.parentInjector.get(ct.a),this.ref),this._text_5=this.renderer.createText(null,"\n\n ",null),this._el_6=this.renderer.createElement(null,"ion-slide",null),this.renderer.setElementAttribute(this._el_6,"class","slide-container"),this._appEl_6=new w.a(6,2,this,this._el_6);var r=lt.b(this.viewUtils,this.injector(6),this._appEl_6);this._Slide_6_4=new z.a(new rt.a(this._el_6),this._Slides_2_4),this._appEl_6.initComponent(this._Slide_6_4,[],r),this._text_7=this.renderer.createText(null,"\n ",null),this._el_8=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_8,"class","content-container"),this._text_9=this.renderer.createText(this._el_8,"\n ",null),this._el_10=this.renderer.createElement(this._el_8,"div",null),this._text_11=this.renderer.createText(this._el_10,"\n ",null),this._el_12=this.renderer.createElement(this._el_10,"div",null),this.renderer.setElementAttribute(this._el_12,"class","slide-header"),this._text_13=this.renderer.createText(this._el_12,"Calibration Complete",null),this._text_14=this.renderer.createText(this._el_10,"\n\n ",null),this._el_15=this.renderer.createElement(this._el_10,"div",null),this.renderer.setElementAttribute(this._el_15,"class","calibration-info-container"),this._text_16=this.renderer.createText(this._el_15,"\n ",null),this._el_17=this.renderer.createElement(this._el_15,"div",null),this.renderer.setElementAttribute(this._el_17,"class","results-indicator-wrapper"),this._text_18=this.renderer.createText(this._el_17,"\n ",null),this._el_19=this.renderer.createElement(this._el_17,"ion-item",null),this.renderer.setElementAttribute(this._el_19,"class","configure-item item item-block"),this._appEl_19=new w.a(19,17,this,this._el_19);var s=ut.a(this.viewUtils,this.injector(19),this._appEl_19);this._Item_19_4=new W.a(this.parentInjector.get(pt.a),this.parentInjector.get(it.c),new rt.a(this._el_19),this.renderer),this._ItemContent_19_5=new W.b,this._query_Label_19_0=new H.a,this._query_Button_19_1=new H.a,this._query_Icon_19_2=new H.a,this._appEl_19.initComponent(this._Item_19_4,[],s),this._text_20=this.renderer.createText(null,"\n ",null),this._el_21=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_21,"class","results-indicator"),this._text_22=this.renderer.createText(this._el_21,"",null),this._text_23=this.renderer.createText(null,"\n ",null), this._query_Label_19_0.reset([]),this._Item_19_4.contentLabel=this._query_Label_19_0.first,s.create(this._Item_19_4,[[],[],[].concat([this._text_20,this._el_21,this._text_23]),[],[]],null),this._text_24=this.renderer.createText(this._el_17,"\n ",null),this._text_25=this.renderer.createText(this._el_15,"\n\n ",null),this._el_26=this.renderer.createElement(this._el_15,"div",null),this.renderer.setElementAttribute(this._el_26,"text-center",""),this._text_27=this.renderer.createText(this._el_26,"\n ",null),this._el_28=this.renderer.createElement(this._el_26,"button",null),this.renderer.setElementAttribute(this._el_28,"class","advanced-button"),this.renderer.setElementAttribute(this._el_28,"clear",""),this.renderer.setElementAttribute(this._el_28,"icon-right",""),this.renderer.setElementAttribute(this._el_28,"ion-button",""),this._appEl_28=new w.a(28,26,this,this._el_28);var o=dt.a(this.viewUtils,this.injector(28),this._appEl_28);this._Button_28_4=new Y.a(null,"",this.parentInjector.get(it.c),new rt.a(this._el_28),this.renderer),this._appEl_28.initComponent(this._Button_28_4,[],o),this._text_29=this.renderer.createText(null,"\n Advanced\n ",null),this._el_30=this.renderer.createElement(null,"div",null),this._text_31=this.renderer.createText(this._el_30,"\n ",null),this._el_32=this.renderer.createElement(this._el_30,"img",null),this.renderer.setElementAttribute(this._el_32,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_32,"src","assets/img/arrow-dropdown-white.svg"),this._text_33=this.renderer.createText(this._el_30,"\n ",null),this._text_34=this.renderer.createText(null,"\n ",null),o.create(this._Button_28_4,[[].concat([this._text_29,this._el_30,this._text_34])],null),this._text_35=this.renderer.createText(this._el_26,"\n ",null),this._text_36=this.renderer.createText(this._el_15,"\n\n ",null),this._el_37=this.renderer.createElement(this._el_15,"div",null),this.renderer.setElementAttribute(this._el_37,"class","calibration-instructions calibration-results"),this._text_38=this.renderer.createText(this._el_37,"\n ",null),this._el_39=this.renderer.createElement(this._el_37,"textarea",null),this.renderer.setElementAttribute(this._el_39,"class","calibration-results-container"),this._DefaultValueAccessor_39_3=new $.a(this.renderer,new rt.a(this._el_39)),this._NG_VALUE_ACCESSOR_39_4=[this._DefaultValueAccessor_39_3],this._NgModel_39_5=new X.a(null,null,null,this._NG_VALUE_ACCESSOR_39_4),this._NgControl_39_6=this._NgModel_39_5,this._NgControlStatus_39_7=new J.a(this._NgControl_39_6),this._text_40=this.renderer.createText(this._el_37,"\n ",null),this._text_41=this.renderer.createText(this._el_15,"\n\n ",null),this._el_42=this.renderer.createElement(this._el_15,"div",null),this._text_43=this.renderer.createText(this._el_42,"\n ",null),this._el_44=this.renderer.createElement(this._el_42,"ion-item",null),this.renderer.setElementAttribute(this._el_44,"class","card-info collapse-card item item-block"),this._appEl_44=new w.a(44,42,this,this._el_44);var a=ut.a(this.viewUtils,this.injector(44),this._appEl_44);this._Item_44_4=new W.a(this.parentInjector.get(pt.a),this.parentInjector.get(it.c),new rt.a(this._el_44),this.renderer),this._ItemContent_44_5=new W.b,this._query_Label_44_0=new H.a,this._query_Button_44_1=new H.a,this._query_Icon_44_2=new H.a,this._appEl_44.initComponent(this._Item_44_4,[],a),this._text_45=this.renderer.createText(null,"\n ",null),this._el_46=this.renderer.createElement(null,"ion-label",null),this._Label_46_3=new Q.a(this.parentInjector.get(it.c),new rt.a(this._el_46),this.renderer,null,null,null,null),this._text_47=this.renderer.createText(this._el_46,"Apply this calibration on boot",null),this._text_48=this.renderer.createText(null,"\n ",null),this._el_49=this.renderer.createElement(null,"ion-checkbox",null),this.renderer.setElementAttribute(this._el_49,"item-right",""),this._appEl_49=new w.a(49,44,this,this._el_49);var l=ft.a(this.viewUtils,this.injector(49),this._appEl_49);this._Checkbox_49_4=new Z.a(this.parentInjector.get(it.c),this.parentInjector.get(pt.a),this._Item_44_4,new rt.a(this._el_49),this.renderer),this._NG_VALUE_ACCESSOR_49_5=[this._Checkbox_49_4],this._NgModel_49_6=new X.a(null,null,null,this._NG_VALUE_ACCESSOR_49_5),this._NgControl_49_7=this._NgModel_49_6,this._NgControlStatus_49_8=new J.a(this._NgControl_49_7),this._appEl_49.initComponent(this._Checkbox_49_4,[],l),l.create(this._Checkbox_49_4,[],null),this._text_50=this.renderer.createText(null,"\n ",null),this._query_Label_44_0.reset([this._Label_46_3]),this._Item_44_4.contentLabel=this._query_Label_44_0.first,a.create(this._Item_44_4,[[],[].concat([this._el_46]),[].concat([this._text_45,this._text_48,this._text_50]),[],[].concat([this._el_49])],null),this._text_51=this.renderer.createText(this._el_42,"\n ",null),this._el_52=this.renderer.createElement(this._el_42,"ion-item",null),this.renderer.setElementAttribute(this._el_52,"class","calibration-dropdown-popover-container item item-block"),this._appEl_52=new w.a(52,42,this,this._el_52);var h=ut.a(this.viewUtils,this.injector(52),this._appEl_52);this._Item_52_4=new W.a(this.parentInjector.get(pt.a),this.parentInjector.get(it.c),new rt.a(this._el_52),this.renderer),this._ItemContent_52_5=new W.b,this._query_Label_52_0=new H.a,this._query_Button_52_1=new H.a,this._query_Icon_52_2=new H.a,this._appEl_52.initComponent(this._Item_52_4,[],h),this._text_53=this.renderer.createText(null,"\n ",null),this._el_54=this.renderer.createElement(null,"span",null),this.renderer.setElementAttribute(this._el_54,"class","storage-label"),this._text_55=this.renderer.createText(this._el_54,"Storage Location",null),this._text_56=this.renderer.createText(null,"\n ",null),this._el_57=this.renderer.createElement(null,"dropdown-popover",null),this._appEl_57=new w.a(57,52,this,this._el_57);var c=mt.b(this.viewUtils,this.injector(57),this._appEl_57);this._DropdownPopoverComponent_57_4=new K.a(this.parentInjector.get(D.a),new rt.a(this._el_57),this.parentInjector.get(gt.f)),this._appEl_57.initComponent(this._DropdownPopoverComponent_57_4,[],c),c.create(this._DropdownPopoverComponent_57_4,[],null),this._text_58=this.renderer.createText(null,"\n ",null),this._el_59=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_59,"class","storage-refresh-button icon-only-button-side disable-hover"),this.renderer.setElementAttribute(this._el_59,"ion-button",""),this.renderer.setElementAttribute(this._el_59,"item-right",""),this._appEl_59=new w.a(59,52,this,this._el_59);var u=dt.a(this.viewUtils,this.injector(59),this._appEl_59);this._Button_59_4=new Y.a(null,"",this.parentInjector.get(it.c),new rt.a(this._el_59),this.renderer),this._appEl_59.initComponent(this._Button_59_4,[],u),this._text_60=this.renderer.createText(null,"\n ",null),this._el_61=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_61,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_61,"src","assets/img/refresh.svg"),this._text_62=this.renderer.createText(null,"\n ",null),u.create(this._Button_59_4,[[].concat([this._text_60,this._el_61,this._text_62])],null),this._text_63=this.renderer.createText(null,"\n ",null),this._query_Label_52_0.reset([]),this._Item_52_4.contentLabel=this._query_Label_52_0.first,h.create(this._Item_52_4,[[],[],[].concat([this._text_53,this._el_54,this._text_56,this._el_57,this._text_58,this._text_63]),[],[].concat([this._el_59])],null),this._text_64=this.renderer.createText(this._el_42,"\n ",null),this._text_65=this.renderer.createText(this._el_15,"\n ",null),this._text_66=this.renderer.createText(this._el_10,"\n ",null),this._text_67=this.renderer.createText(this._el_8,"\n\n ",null),this._el_68=this.renderer.createElement(this._el_8,"div",null),this.renderer.setElementAttribute(this._el_68,"class","navigation-button-container"),this._text_69=this.renderer.createText(this._el_68,"\n ",null),this._el_70=this.renderer.createElement(this._el_68,"ion-row",null),this._Row_70_3=new tt.c,this._text_71=this.renderer.createText(this._el_70,"\n ",null),this._el_72=this.renderer.createElement(this._el_70,"ion-col",null),this.renderer.setElementAttribute(this._el_72,"text-left",""),this._Col_72_3=new tt.a,this._text_73=this.renderer.createText(this._el_72,"\n ",null),this._anchor_74=this.renderer.createTemplateAnchor(this._el_72,null),this._appEl_74=new w.a(74,72,this,this._anchor_74),this._TemplateRef_74_5=new ht.a(this._appEl_74,y),this._NgIf_74_6=new et.a(this._appEl_74.vcRef,this._TemplateRef_74_5),this._text_75=this.renderer.createText(this._el_72,"\n ",null),this._text_76=this.renderer.createText(this._el_70,"\n ",null),this._el_77=this.renderer.createElement(this._el_70,"ion-col",null),this.renderer.setElementAttribute(this._el_77,"text-center",""),this._Col_77_3=new tt.a,this._text_78=this.renderer.createText(this._el_77,"\n ",null),this._text_79=this.renderer.createText(this._el_70,"\n ",null),this._el_80=this.renderer.createElement(this._el_70,"ion-col",null),this.renderer.setElementAttribute(this._el_80,"text-right",""),this._Col_80_3=new tt.a,this._text_81=this.renderer.createText(this._el_80,"\n ",null),this._el_82=this.renderer.createElement(this._el_80,"button",null),this.renderer.setElementAttribute(this._el_82,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_82,"icon-right",""),this.renderer.setElementAttribute(this._el_82,"ion-button",""),this._appEl_82=new w.a(82,80,this,this._el_82);var p=dt.a(this.viewUtils,this.injector(82),this._appEl_82);this._Button_82_4=new Y.a(null,"",this.parentInjector.get(it.c),new rt.a(this._el_82),this.renderer),this._appEl_82.initComponent(this._Button_82_4,[],p),this._text_83=this.renderer.createText(null,"\n Done\n ",null),this._el_84=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_84,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_84,"src","assets/img/check.svg"),this._text_85=this.renderer.createText(null,"\n ",null),p.create(this._Button_82_4,[[].concat([this._text_83,this._el_84,this._text_85])],null),this._text_86=this.renderer.createText(this._el_80,"\n ",null),this._text_87=this.renderer.createText(this._el_70,"\n ",null),this._text_88=this.renderer.createText(this._el_68,"\n ",null),this._text_89=this.renderer.createText(this._el_8,"\n ",null),this._text_90=this.renderer.createText(null,"\n ",null),r.create(this._Slide_6_4,[[].concat([this._text_7,this._el_8,this._text_90])],null),this._text_91=this.renderer.createText(null,"\n\n ",null),this._el_92=this.renderer.createElement(null,"ion-slide",null),this.renderer.setElementAttribute(this._el_92,"class","slide-container"),this._appEl_92=new w.a(92,2,this,this._el_92);var d=lt.b(this.viewUtils,this.injector(92),this._appEl_92);this._Slide_92_4=new z.a(new rt.a(this._el_92),this._Slides_2_4),this._appEl_92.initComponent(this._Slide_92_4,[],d),this._text_93=this.renderer.createText(null,"\n ",null),this._el_94=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_94,"class","content-container"),this._text_95=this.renderer.createText(this._el_94,"\n ",null),this._el_96=this.renderer.createElement(this._el_94,"div",null),this.renderer.setElementAttribute(this._el_96,"text-center",""),this._text_97=this.renderer.createText(this._el_96,"\n ",null),this._el_98=this.renderer.createElement(this._el_96,"div",null),this.renderer.setElementAttribute(this._el_98,"class","slide-header"),this._text_99=this.renderer.createText(this._el_98,"Load Calibration",null),this._text_100=this.renderer.createText(this._el_96,"\n ",null),this._el_101=this.renderer.createElement(this._el_96,"ion-item",null),this.renderer.setElementAttribute(this._el_101,"class","calibration-dropdown-popover-container item item-block"),this._appEl_101=new w.a(101,96,this,this._el_101);var f=ut.a(this.viewUtils,this.injector(101),this._appEl_101);this._Item_101_4=new W.a(this.parentInjector.get(pt.a),this.parentInjector.get(it.c),new rt.a(this._el_101),this.renderer),this._ItemContent_101_5=new W.b,this._query_Label_101_0=new H.a,this._query_Button_101_1=new H.a,this._query_Icon_101_2=new H.a,this._appEl_101.initComponent(this._Item_101_4,[],f),this._text_102=this.renderer.createText(null,"\n ",null),this._el_103=this.renderer.createElement(null,"span",null),this.renderer.setElementAttribute(this._el_103,"class","storage-label"),this._text_104=this.renderer.createText(this._el_103,"Storage Location",null),this._text_105=this.renderer.createText(null,"\n ",null),this._el_106=this.renderer.createElement(null,"dropdown-popover",null),this._appEl_106=new w.a(106,101,this,this._el_106);var m=mt.b(this.viewUtils,this.injector(106),this._appEl_106);this._DropdownPopoverComponent_106_4=new K.a(this.parentInjector.get(D.a),new rt.a(this._el_106),this.parentInjector.get(gt.f)),this._appEl_106.initComponent(this._DropdownPopoverComponent_106_4,[],m),m.create(this._DropdownPopoverComponent_106_4,[],null),this._text_107=this.renderer.createText(null,"\n ",null),this._el_108=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_108,"class","storage-refresh-button icon-only-button-side disable-hover"),this.renderer.setElementAttribute(this._el_108,"ion-button",""),this.renderer.setElementAttribute(this._el_108,"item-right",""),this._appEl_108=new w.a(108,101,this,this._el_108);var g=dt.a(this.viewUtils,this.injector(108),this._appEl_108);this._Button_108_4=new Y.a(null,"",this.parentInjector.get(it.c),new rt.a(this._el_108),this.renderer),this._appEl_108.initComponent(this._Button_108_4,[],g),this._text_109=this.renderer.createText(null,"\n ",null),this._el_110=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_110,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_110,"src","assets/img/refresh.svg"),this._text_111=this.renderer.createText(null,"\n ",null),g.create(this._Button_108_4,[[].concat([this._text_109,this._el_110,this._text_111])],null),this._text_112=this.renderer.createText(null,"\n ",null),this._el_113=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_113,"class","load-calibration-button text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_113,"icon-right",""),this.renderer.setElementAttribute(this._el_113,"ion-button",""),this.renderer.setElementAttribute(this._el_113,"item-right",""),this._appEl_113=new w.a(113,101,this,this._el_113);var v=dt.a(this.viewUtils,this.injector(113),this._appEl_113);this._Button_113_4=new Y.a(null,"",this.parentInjector.get(it.c),new rt.a(this._el_113),this.renderer),this._appEl_113.initComponent(this._Button_113_4,[],v),this._text_114=this.renderer.createText(null,"\n Load\n ",null),this._el_115=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_115,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_115,"src","assets/img/archive.svg"),this._text_116=this.renderer.createText(null,"\n ",null),v.create(this._Button_113_4,[[].concat([this._text_114,this._el_115,this._text_116])],null),this._text_117=this.renderer.createText(null,"\n ",null),this._query_Label_101_0.reset([]),this._Item_101_4.contentLabel=this._query_Label_101_0.first,f.create(this._Item_101_4,[[],[],[].concat([this._text_102,this._el_103,this._text_105,this._el_106,this._text_107,this._text_112,this._text_117]),[],[].concat([this._el_108,this._el_113])],null),this._text_118=this.renderer.createText(this._el_96,"\n ",null),this._text_119=this.renderer.createText(this._el_94,"\n\n ",null),this._el_120=this.renderer.createElement(this._el_94,"div",null),this.renderer.setElementAttribute(this._el_120,"class","calibration-instructions calibration-results"),this._text_121=this.renderer.createText(this._el_120,"\n ",null),this._el_122=this.renderer.createElement(this._el_120,"div",null),this.renderer.setElementAttribute(this._el_122,"class","pad-below"),this._text_123=this.renderer.createText(this._el_122,"\n Current Calibration:\n ",null),this._text_124=this.renderer.createText(this._el_120,"\n ",null),this._el_125=this.renderer.createElement(this._el_120,"textarea",null),this.renderer.setElementAttribute(this._el_125,"class","calibration-results-container"),this._DefaultValueAccessor_125_3=new $.a(this.renderer,new rt.a(this._el_125)),this._NG_VALUE_ACCESSOR_125_4=[this._DefaultValueAccessor_125_3],this._NgModel_125_5=new X.a(null,null,null,this._NG_VALUE_ACCESSOR_125_4),this._NgControl_125_6=this._NgModel_125_5,this._NgControlStatus_125_7=new J.a(this._NgControl_125_6),this._text_126=this.renderer.createText(this._el_120,"\n ",null),this._text_127=this.renderer.createText(this._el_94,"\n\n ",null),this._el_128=this.renderer.createElement(this._el_94,"div",null),this._text_129=this.renderer.createText(this._el_128,"\n ",null),this._el_130=this.renderer.createElement(this._el_128,"ion-item",null),this.renderer.setElementAttribute(this._el_130,"class","configure-item item item-block"),this._appEl_130=new w.a(130,128,this,this._el_130);var x=ut.a(this.viewUtils,this.injector(130),this._appEl_130);this._Item_130_4=new W.a(this.parentInjector.get(pt.a),this.parentInjector.get(it.c),new rt.a(this._el_130),this.renderer),this._ItemContent_130_5=new W.b,this._query_Label_130_0=new H.a,this._query_Button_130_1=new H.a,this._query_Icon_130_2=new H.a,this._appEl_130.initComponent(this._Item_130_4,[],x),this._text_131=this.renderer.createText(null,"\n ",null),this._el_132=this.renderer.createElement(null,"ion-label",null),this._Label_132_3=new Q.a(this.parentInjector.get(it.c),new rt.a(this._el_132),this.renderer,null,null,null,null),this._text_133=this.renderer.createText(this._el_132,"Status",null),this._text_134=this.renderer.createText(null,"\n ",null),this._el_135=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_135,"class","item-content-right"),this.renderer.setElementAttribute(this._el_135,"item-right",""),this._text_136=this.renderer.createText(this._el_135,"",null),this._text_137=this.renderer.createText(null,"\n ",null),this._query_Label_130_0.reset([this._Label_132_3]),this._Item_130_4.contentLabel=this._query_Label_130_0.first,x.create(this._Item_130_4,[[],[].concat([this._el_132]),[].concat([this._text_131,this._text_134,this._text_137]),[],[].concat([this._el_135])],null),this._text_138=this.renderer.createText(this._el_128,"\n\n ",null),this._el_139=this.renderer.createElement(this._el_128,"div",null),this.renderer.setElementAttribute(this._el_139,"class","navigation-button-container"),this._text_140=this.renderer.createText(this._el_139,"\n ",null),this._el_141=this.renderer.createElement(this._el_139,"ion-row",null),this._Row_141_3=new tt.c,this._text_142=this.renderer.createText(this._el_141,"\n ",null),this._el_143=this.renderer.createElement(this._el_141,"ion-col",null),this.renderer.setElementAttribute(this._el_143,"text-left",""),this._Col_143_3=new tt.a,this._text_144=this.renderer.createText(this._el_143,"\n ",null),this._el_145=this.renderer.createElement(this._el_143,"button",null),this.renderer.setElementAttribute(this._el_145,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_145,"icon-left",""),this.renderer.setElementAttribute(this._el_145,"ion-button",""),this._appEl_145=new w.a(145,143,this,this._el_145);var b=dt.a(this.viewUtils,this.injector(145),this._appEl_145);this._Button_145_4=new Y.a(null,"",this.parentInjector.get(it.c),new rt.a(this._el_145),this.renderer),this._appEl_145.initComponent(this._Button_145_4,[],b),this._text_146=this.renderer.createText(null,"\n ",null),this._el_147=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_147,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_147,"src","assets/img/arrow-back.svg"),this._text_148=this.renderer.createText(null," Back\n ",null),b.create(this._Button_145_4,[[].concat([this._text_146,this._el_147,this._text_148])],null),this._text_149=this.renderer.createText(this._el_143,"\n ",null),this._text_150=this.renderer.createText(this._el_141,"\n ",null),this._el_151=this.renderer.createElement(this._el_141,"ion-col",null),this.renderer.setElementAttribute(this._el_151,"class","button-container-col"),this.renderer.setElementAttribute(this._el_151,"text-right",""),this._Col_151_3=new tt.a,this._text_152=this.renderer.createText(this._el_151,"\n ",null),this._el_153=this.renderer.createElement(this._el_151,"button",null),this.renderer.setElementAttribute(this._el_153,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_153,"icon-right",""),this.renderer.setElementAttribute(this._el_153,"ion-button",""),this._appEl_153=new w.a(153,151,this,this._el_153);var C=dt.a(this.viewUtils,this.injector(153),this._appEl_153);this._Button_153_4=new Y.a(null,"",this.parentInjector.get(it.c),new rt.a(this._el_153),this.renderer),this._appEl_153.initComponent(this._Button_153_4,[],C),this._text_154=this.renderer.createText(null,"\n Done\n ",null),this._el_155=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_155,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_155,"src","assets/img/check.svg"),this._text_156=this.renderer.createText(null,"\n ",null),C.create(this._Button_153_4,[[].concat([this._text_154,this._el_155,this._text_156])],null),this._text_157=this.renderer.createText(this._el_151,"\n ",null),this._text_158=this.renderer.createText(this._el_141,"\n ",null),this._text_159=this.renderer.createText(this._el_139,"\n ",null),this._text_160=this.renderer.createText(this._el_128,"\n ",null),this._text_161=this.renderer.createText(this._el_94,"\n ",null),this._text_162=this.renderer.createText(null,"\n ",null),d.create(this._Slide_92_4,[[].concat([this._text_93,this._el_94,this._text_162])],null),this._text_163=this.renderer.createText(null,"\n\n ",null),i.create(this._Slides_2_4,[[].concat([this._text_3,this._appEl_4,this._text_5,this._el_6,this._text_91,this._el_92,this._text_163])],null),this._text_164=this.renderer.createText(null,"\n\n",null),n.create(this._Content_0_4,[[],[].concat([this._text_1,this._el_2,this._text_164]),[]],null),this._expr_0=A.n,this._expr_1=A.n,this._expr_2=A.n;var E=this.renderer.listen(this._el_28,"tap",this.eventHandler(this._handle_tap_28_0.bind(this)));this._expr_4=A.n,this._expr_5=A.n,this._expr_8=A.n;var T=this.renderer.listen(this._el_39,"input",this.eventHandler(this._handle_input_39_0.bind(this))),I=this.renderer.listen(this._el_39,"blur",this.eventHandler(this._handle_blur_39_1.bind(this)));this._expr_9=A.n,this._expr_10=A.n,this._expr_11=A.n,this._expr_12=A.n,this._expr_13=A.n,this._expr_14=A.n,this._expr_15=A.n,this._expr_16=A.n;var S=this.renderer.listen(this._el_49,"ngModelChange",this.eventHandler(this._handle_ngModelChange_49_0.bind(this))),O=this.renderer.listen(this._el_49,"click",this.eventHandler(this._handle_click_49_1.bind(this)));this._expr_19=A.n,this._expr_20=A.n;var N=this._NgModel_49_6.update.subscribe(this.eventHandler(this._handle_ngModelChange_49_0.bind(this)));this._expr_21=A.n,this._expr_22=A.n,this._expr_23=A.n,this._expr_24=A.n,this._expr_25=A.n,this._expr_26=A.n,this._expr_27=A.n;var P=this.renderer.listen(this._el_57,"onSelection",this.eventHandler(this._handle_onSelection_57_0.bind(this)));this._expr_29=A.n,this._expr_30=A.n,this._expr_31=A.n;var R=this._DropdownPopoverComponent_57_4.onSelection.subscribe(this.eventHandler(this._handle_onSelection_57_0.bind(this)));this._expr_33=A.n;var j=this.renderer.listen(this._el_59,"click",this.eventHandler(this._handle_click_59_0.bind(this)));this._expr_34=A.n;var M=this.renderer.listen(this._el_82,"click",this.eventHandler(this._handle_click_82_0.bind(this))),L=this.renderer.listen(this._el_106,"onSelection",this.eventHandler(this._handle_onSelection_106_0.bind(this)));this._expr_37=A.n,this._expr_38=A.n;var B=this._DropdownPopoverComponent_106_4.onSelection.subscribe(this.eventHandler(this._handle_onSelection_106_0.bind(this))),F=this.renderer.listen(this._el_108,"click",this.eventHandler(this._handle_click_108_0.bind(this))),q=this.renderer.listen(this._el_113,"click",this.eventHandler(this._handle_click_113_0.bind(this))),V=this.renderer.listen(this._el_125,"input",this.eventHandler(this._handle_input_125_0.bind(this))),vt=this.renderer.listen(this._el_125,"blur",this.eventHandler(this._handle_blur_125_1.bind(this)));this._expr_43=A.n,this._expr_44=A.n,this._expr_45=A.n,this._expr_46=A.n,this._expr_47=A.n,this._expr_48=A.n,this._expr_49=A.n,this._expr_50=A.n;var xt=this.renderer.listen(this._el_145,"click",this.eventHandler(this._handle_click_145_0.bind(this))),yt=this.renderer.listen(this._el_153,"click",this.eventHandler(this._handle_click_153_0.bind(this)));return this._viewQuery_calibrationSlider_0.reset([this._Slides_2_4]),this.context.slider=this._viewQuery_calibrationSlider_0.first,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._anchor_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9,this._el_10,this._text_11,this._el_12,this._text_13,this._text_14,this._el_15,this._text_16,this._el_17,this._text_18,this._el_19,this._text_20,this._el_21,this._text_22,this._text_23,this._text_24,this._text_25,this._el_26,this._text_27,this._el_28,this._text_29,this._el_30,this._text_31,this._el_32,this._text_33,this._text_34,this._text_35,this._text_36,this._el_37,this._text_38,this._el_39,this._text_40,this._text_41,this._el_42,this._text_43,this._el_44,this._text_45,this._el_46,this._text_47,this._text_48,this._el_49,this._text_50,this._text_51,this._el_52,this._text_53,this._el_54,this._text_55,this._text_56,this._el_57,this._text_58,this._el_59,this._text_60,this._el_61,this._text_62,this._text_63,this._text_64,this._text_65,this._text_66,this._text_67,this._el_68,this._text_69,this._el_70,this._text_71,this._el_72,this._text_73,this._anchor_74,this._text_75,this._text_76,this._el_77,this._text_78,this._text_79,this._el_80,this._text_81,this._el_82,this._text_83,this._el_84,this._text_85,this._text_86,this._text_87,this._text_88,this._text_89,this._text_90,this._text_91,this._el_92,this._text_93,this._el_94,this._text_95,this._el_96,this._text_97,this._el_98,this._text_99,this._text_100,this._el_101,this._text_102,this._el_103,this._text_104,this._text_105,this._el_106,this._text_107,this._el_108,this._text_109,this._el_110,this._text_111,this._text_112,this._el_113,this._text_114,this._el_115,this._text_116,this._text_117,this._text_118,this._text_119,this._el_120,this._text_121,this._el_122,this._text_123,this._text_124,this._el_125,this._text_126,this._text_127,this._el_128,this._text_129,this._el_130,this._text_131,this._el_132,this._text_133,this._text_134,this._el_135,this._text_136,this._text_137,this._text_138,this._el_139,this._text_140,this._el_141,this._text_142,this._el_143,this._text_144,this._el_145,this._text_146,this._el_147,this._text_148,this._text_149,this._text_150,this._el_151,this._text_152,this._el_153,this._text_154,this._el_155,this._text_156,this._text_157,this._text_158,this._text_159,this._text_160,this._text_161,this._text_162,this._text_163,this._text_164],[E,T,I,S,O,P,j,M,L,F,q,V,vt,xt,yt],[N,R,B]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===ht.b&&4===e?this._TemplateRef_4_5:t===G.a&&4===e?this._NgFor_4_6:t===W.a&&19<=e&&e<=23?this._Item_19_4:t===W.b&&19<=e&&e<=23?this._ItemContent_19_5:t===Y.a&&28<=e&&e<=34?this._Button_28_4:t===$.a&&39===e?this._DefaultValueAccessor_39_3:t===vt.a&&39===e?this._NG_VALUE_ACCESSOR_39_4:t===X.a&&39===e?this._NgModel_39_5:t===xt.a&&39===e?this._NgControl_39_6:t===J.a&&39===e?this._NgControlStatus_39_7:t===Q.a&&46<=e&&e<=47?this._Label_46_3:t===Z.a&&49===e?this._Checkbox_49_4:t===vt.a&&49===e?this._NG_VALUE_ACCESSOR_49_5:t===X.a&&49===e?this._NgModel_49_6:t===xt.a&&49===e?this._NgControl_49_7:t===J.a&&49===e?this._NgControlStatus_49_8:t===W.a&&44<=e&&e<=50?this._Item_44_4:t===W.b&&44<=e&&e<=50?this._ItemContent_44_5:t===K.a&&57===e?this._DropdownPopoverComponent_57_4:t===Y.a&&59<=e&&e<=62?this._Button_59_4:t===W.a&&52<=e&&e<=63?this._Item_52_4:t===W.b&&52<=e&&e<=63?this._ItemContent_52_5:t===ht.b&&74===e?this._TemplateRef_74_5:t===et.a&&74===e?this._NgIf_74_6:t===tt.a&&72<=e&&e<=75?this._Col_72_3:t===tt.a&&77<=e&&e<=78?this._Col_77_3:t===Y.a&&82<=e&&e<=85?this._Button_82_4:t===tt.a&&80<=e&&e<=86?this._Col_80_3:t===tt.c&&70<=e&&e<=87?this._Row_70_3:t===z.a&&6<=e&&e<=90?this._Slide_6_4:t===K.a&&106===e?this._DropdownPopoverComponent_106_4:t===Y.a&&108<=e&&e<=111?this._Button_108_4:t===Y.a&&113<=e&&e<=116?this._Button_113_4:t===W.a&&101<=e&&e<=117?this._Item_101_4:t===W.b&&101<=e&&e<=117?this._ItemContent_101_5:t===$.a&&125===e?this._DefaultValueAccessor_125_3:t===vt.a&&125===e?this._NG_VALUE_ACCESSOR_125_4:t===X.a&&125===e?this._NgModel_125_5:t===xt.a&&125===e?this._NgControl_125_6:t===J.a&&125===e?this._NgControlStatus_125_7:t===Q.a&&132<=e&&e<=133?this._Label_132_3:t===W.a&&130<=e&&e<=137?this._Item_130_4:t===W.b&&130<=e&&e<=137?this._ItemContent_130_5:t===Y.a&&145<=e&&e<=148?this._Button_145_4:t===tt.a&&143<=e&&e<=149?this._Col_143_3:t===Y.a&&153<=e&&e<=156?this._Button_153_4:t===tt.a&&151<=e&&e<=157?this._Col_151_3:t===tt.c&&141<=e&&e<=158?this._Row_141_3:t===z.a&&92<=e&&e<=162?this._Slide_92_4:t===z.b&&2<=e&&e<=163?this._Slides_2_4:t===U.a&&0<=e&&e<=164?this._Content_0_4:n},e.prototype.detectChangesInternal=function(t){var e=!0,n=null,i=this.context.showAdvanced;if(E.c(t,this._expr_5,i)){var r=this._expr_5;r==A.n&&(r="void");var s=i;s==A.n&&(s="void"),this.componentType.animations.rotate(this,this._el_30,r,s),this._expr_5=i}var o=this.context.showAdvanced;if(E.c(t,this._expr_8,o)){var r=this._expr_8;r==A.n&&(r="void");var s=o;s==A.n&&(s="void"),this.componentType.animations.expand(this,this._el_39,r,s), this._expr_8=o}var a=this.context.showAdvanced;if(E.c(t,this._expr_16,a)){var r=this._expr_16;r==A.n&&(r="void");var s=a;s==A.n&&(s="void"),this.componentType.animations.expand(this,this._el_44,r,s),this._expr_16=a}var _=this.context.showAdvanced;if(E.c(t,this._expr_27,_)){var r=this._expr_27;r==A.n&&(r="void");var s=_;s==A.n&&(s="void"),this.componentType.animations.expand(this,this._el_52,r,s),this._expr_27=_}0!==this.numberOfChecks||t||this._Content_0_4.ngOnInit(),0!==this.numberOfChecks||t||this._Slides_2_4.ngOnInit(),n=null;var l=this.context.calibrationInstructions;E.c(t,this._expr_1,l)&&(this._NgFor_4_6.ngForOf=l,null===n&&(n={}),n.ngForOf=new A.m(this._expr_1,l),this._expr_1=l),null!==n&&this._NgFor_4_6.ngOnChanges(n),t||this._NgFor_4_6.ngDoCheck(),e=!1;var h="";E.c(t,this._expr_4,h)&&(this._Button_28_4.clear=h,e=!0,this._expr_4=h),e&&this._appEl_28.componentView.markAsCheckOnce(),n=null;var c=this.context.calibrationResults;E.c(t,this._expr_9,c)&&(this._NgModel_39_5.model=c,null===n&&(n={}),n.model=new A.m(this._expr_9,c),this._expr_9=c),null!==n&&this._NgModel_39_5.ngOnChanges(n),n=null;var u=this.context.saveAsDefault;E.c(t,this._expr_20,u)&&(this._NgModel_49_6.model=u,null===n&&(n={}),n.model=new A.m(this._expr_20,u),this._expr_20=u),null!==n&&this._NgModel_49_6.ngOnChanges(n),n=null;var p=this.context.storageLocations;E.c(t,this._expr_29,p)&&(this._DropdownPopoverComponent_57_4.dataArray=p,null===n&&(n={}),n.dataArray=new A.m(this._expr_29,p),this._expr_29=p);var d=!0;E.c(t,this._expr_30,d)&&(this._DropdownPopoverComponent_57_4.forcePopover=d,null===n&&(n={}),n.forcePopover=new A.m(this._expr_30,d),this._expr_30=d);var f=!this.context.saveAsDefault;E.c(t,this._expr_31,f)&&(this._DropdownPopoverComponent_57_4.disabled=f,null===n&&(n={}),n.disabled=new A.m(this._expr_31,f),this._expr_31=f),null!==n&&this._DropdownPopoverComponent_57_4.ngOnChanges(n);var m=this.context.calibrationFailed;E.c(t,this._expr_34,m)&&(this._NgIf_74_6.ngIf=m,this._expr_34=m),n=null;var g=this.context.storageLocations;E.c(t,this._expr_37,g)&&(this._DropdownPopoverComponent_106_4.dataArray=g,null===n&&(n={}),n.dataArray=new A.m(this._expr_37,g),this._expr_37=g);var v=!0;E.c(t,this._expr_38,v)&&(this._DropdownPopoverComponent_106_4.forcePopover=v,null===n&&(n={}),n.forcePopover=new A.m(this._expr_38,v),this._expr_38=v),null!==n&&this._DropdownPopoverComponent_106_4.ngOnChanges(n),n=null;var x=this.context.calibrationResults;E.c(t,this._expr_43,x)&&(this._NgModel_125_5.model=x,null===n&&(n={}),n.model=new A.m(this._expr_43,x),this._expr_43=x),null!==n&&this._NgModel_125_5.ngOnChanges(n),this.detectContentChildrenChanges(t),t||(this._query_Button_19_1.dirty&&(this._query_Button_19_1.reset([]),this._Item_19_4._buttons=this._query_Button_19_1,this._query_Button_19_1.notifyOnChanges()),this._query_Icon_19_2.dirty&&(this._query_Icon_19_2.reset([]),this._Item_19_4._icons=this._query_Icon_19_2,this._query_Icon_19_2.notifyOnChanges()),this._query_Button_44_1.dirty&&(this._query_Button_44_1.reset([]),this._Item_44_4._buttons=this._query_Button_44_1,this._query_Button_44_1.notifyOnChanges()),this._query_Icon_44_2.dirty&&(this._query_Icon_44_2.reset([]),this._Item_44_4._icons=this._query_Icon_44_2,this._query_Icon_44_2.notifyOnChanges()),this._query_Button_52_1.dirty&&(this._query_Button_52_1.reset([this._Button_59_4]),this._Item_52_4._buttons=this._query_Button_52_1,this._query_Button_52_1.notifyOnChanges()),this._query_Icon_52_2.dirty&&(this._query_Icon_52_2.reset([]),this._Item_52_4._icons=this._query_Icon_52_2,this._query_Icon_52_2.notifyOnChanges()),this._query_Button_101_1.dirty&&(this._query_Button_101_1.reset([this._Button_108_4,this._Button_113_4]),this._Item_101_4._buttons=this._query_Button_101_1,this._query_Button_101_1.notifyOnChanges()),this._query_Icon_101_2.dirty&&(this._query_Icon_101_2.reset([]),this._Item_101_4._icons=this._query_Icon_101_2,this._query_Icon_101_2.notifyOnChanges()),this._query_Button_130_1.dirty&&(this._query_Button_130_1.reset([]),this._Item_130_4._buttons=this._query_Button_130_1,this._query_Button_130_1.notifyOnChanges()),this._query_Icon_130_2.dirty&&(this._query_Icon_130_2.reset([]),this._Item_130_4._icons=this._query_Icon_130_2,this._query_Icon_130_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_19_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_28_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Checkbox_49_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_44_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_59_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_52_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_82_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_108_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_113_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_101_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_130_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_145_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_153_4.ngAfterContentInit());var y=this._Content_0_4._sbPadding;E.c(t,this._expr_0,y)&&(this.renderer.setElementClass(this._el_0,"statusbar-padding",y),this._expr_0=y);var b=E.e(1,"\n ",this.context.calibrationResultsIndicator,"\n ");E.c(t,this._expr_2,b)&&(this.renderer.setText(this._text_22,b),this._expr_2=b);var w=this._NgControlStatus_39_7.ngClassUntouched;E.c(t,this._expr_10,w)&&(this.renderer.setElementClass(this._el_39,"ng-untouched",w),this._expr_10=w);var C=this._NgControlStatus_39_7.ngClassTouched;E.c(t,this._expr_11,C)&&(this.renderer.setElementClass(this._el_39,"ng-touched",C),this._expr_11=C);var T=this._NgControlStatus_39_7.ngClassPristine;E.c(t,this._expr_12,T)&&(this.renderer.setElementClass(this._el_39,"ng-pristine",T),this._expr_12=T);var I=this._NgControlStatus_39_7.ngClassDirty;E.c(t,this._expr_13,I)&&(this.renderer.setElementClass(this._el_39,"ng-dirty",I),this._expr_13=I);var S=this._NgControlStatus_39_7.ngClassValid;E.c(t,this._expr_14,S)&&(this.renderer.setElementClass(this._el_39,"ng-valid",S),this._expr_14=S);var O=this._NgControlStatus_39_7.ngClassInvalid;E.c(t,this._expr_15,O)&&(this.renderer.setElementClass(this._el_39,"ng-invalid",O),this._expr_15=O);var k=this._Checkbox_49_4._disabled;E.c(t,this._expr_19,k)&&(this.renderer.setElementClass(this._el_49,"checkbox-disabled",k),this._expr_19=k);var N=this._NgControlStatus_49_8.ngClassUntouched;E.c(t,this._expr_21,N)&&(this.renderer.setElementClass(this._el_49,"ng-untouched",N),this._expr_21=N);var P=this._NgControlStatus_49_8.ngClassTouched;E.c(t,this._expr_22,P)&&(this.renderer.setElementClass(this._el_49,"ng-touched",P),this._expr_22=P);var R=this._NgControlStatus_49_8.ngClassPristine;E.c(t,this._expr_23,R)&&(this.renderer.setElementClass(this._el_49,"ng-pristine",R),this._expr_23=R);var D=this._NgControlStatus_49_8.ngClassDirty;E.c(t,this._expr_24,D)&&(this.renderer.setElementClass(this._el_49,"ng-dirty",D),this._expr_24=D);var j=this._NgControlStatus_49_8.ngClassValid;E.c(t,this._expr_25,j)&&(this.renderer.setElementClass(this._el_49,"ng-valid",j),this._expr_25=j);var M=this._NgControlStatus_49_8.ngClassInvalid;E.c(t,this._expr_26,M)&&(this.renderer.setElementClass(this._el_49,"ng-invalid",M),this._expr_26=M);var L=!this.context.saveAsDefault;E.c(t,this._expr_33,L)&&(this.renderer.setElementProperty(this._el_59,"disabled",L),this._expr_33=L);var B=this._NgControlStatus_125_7.ngClassUntouched;E.c(t,this._expr_44,B)&&(this.renderer.setElementClass(this._el_125,"ng-untouched",B),this._expr_44=B);var F=this._NgControlStatus_125_7.ngClassTouched;E.c(t,this._expr_45,F)&&(this.renderer.setElementClass(this._el_125,"ng-touched",F),this._expr_45=F);var q=this._NgControlStatus_125_7.ngClassPristine;E.c(t,this._expr_46,q)&&(this.renderer.setElementClass(this._el_125,"ng-pristine",q),this._expr_46=q);var V=this._NgControlStatus_125_7.ngClassDirty;E.c(t,this._expr_47,V)&&(this.renderer.setElementClass(this._el_125,"ng-dirty",V),this._expr_47=V);var H=this._NgControlStatus_125_7.ngClassValid;E.c(t,this._expr_48,H)&&(this.renderer.setElementClass(this._el_125,"ng-valid",H),this._expr_48=H);var U=this._NgControlStatus_125_7.ngClassInvalid;E.c(t,this._expr_49,U)&&(this.renderer.setElementClass(this._el_125,"ng-invalid",U),this._expr_49=U);var z=E.e(1,"\n ",this.context.calibrationResultsIndicator,"\n ");E.c(t,this._expr_50,z)&&(this.renderer.setText(this._text_136,z),this._expr_50=z),this.detectViewChildrenChanges(t),t||(this._viewQuery_digilentProgressBar_1.dirty&&(this._viewQuery_digilentProgressBar_1.reset([this._appEl_4.mapNestedViews(Rt,function(t){return[t._ProgressBarComponent_18_4]})]),this.context.digilentProgressBar=this._viewQuery_digilentProgressBar_1,this._viewQuery_digilentProgressBar_1.notifyOnChanges()),0===this.numberOfChecks&&this._DropdownPopoverComponent_57_4.ngAfterViewInit(),0===this.numberOfChecks&&this._DropdownPopoverComponent_106_4.ngAfterViewInit())},e.prototype.destroyInternal=function(){this._NgModel_39_5.ngOnDestroy(),this._Checkbox_49_4.ngOnDestroy(),this._NgModel_49_6.ngOnDestroy(),this._Slide_6_4.ngOnDestroy(),this._NgModel_125_5.ngOnDestroy(),this._Slide_92_4.ngOnDestroy(),this._Content_0_4.ngOnDestroy()},e.prototype.detachInternal=function(){this.componentType.animations.rotate(this,this._el_30,this._expr_5,"void"),this.componentType.animations.expand(this,this._el_39,this._expr_8,"void"),this.componentType.animations.expand(this,this._el_44,this._expr_16,"void"),this.componentType.animations.expand(this,this._el_52,this._expr_27,"void")},e.prototype._handle_tap_28_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.toggleAdvanced()!==!1;return e},e.prototype._handle_input_39_0=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_39_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_39_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_39_3.onTouched()!==!1;return e},e.prototype._handle_ngModelChange_49_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.context.saveAsDefault=t)!==!1;return e},e.prototype._handle_click_49_1=function(t){this._appEl_49.componentView.markPathToRootAsCheckOnce();var e=this._Checkbox_49_4._click(t)!==!1;return e},e.prototype._handle_onSelection_57_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.selectStorage(t)!==!1;return e},e.prototype._handle_click_59_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.getStorageLocations()!==!1;return e},e.prototype._handle_click_82_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.exitModal()!==!1;return e},e.prototype._handle_onSelection_106_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.selectStorage(t)!==!1;return e},e.prototype._handle_click_108_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.getStorageLocations()!==!1;return e},e.prototype._handle_click_113_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.loadSelectedCalibration()!==!1;return e},e.prototype._handle_input_125_0=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_125_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_125_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_125_3.onTouched()!==!1;return e},e.prototype._handle_click_145_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.toSlide(0,!0)!==!1;return e},e.prototype._handle_click_153_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.closeModal()!==!1;return e},e}(b.a),Rt=function(t){function e(n,i,r){t.call(this,e,Nt,T.a.EMBEDDED,n,i,r,A.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-slide",null),this.renderer.setElementAttribute(this._el_0,"class","slide-container"),this._appEl_0=new w.a(0,null,this,this._el_0);var e=lt.b(this.viewUtils,this.injector(0),this._appEl_0);this._Slide_0_4=new z.a(new rt.a(this._el_0),this.parent._Slides_2_4),this._appEl_0.initComponent(this._Slide_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._text_2=this.renderer.createText(null,"\n ",null),this._anchor_3=this.renderer.createTemplateAnchor(null,null),this._appEl_3=new w.a(3,0,this,this._anchor_3),this._TemplateRef_3_5=new ht.a(this._appEl_3,l),this._NgIf_3_6=new et.a(this._appEl_3.vcRef,this._TemplateRef_3_5),this._text_4=this.renderer.createText(null,"\n\n ",null),this._text_5=this.renderer.createText(null,"\n ",null),this._el_6=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_6,"class","content-container"),this._text_7=this.renderer.createText(this._el_6,"\n ",null),this._el_8=this.renderer.createElement(this._el_6,"div",null),this._text_9=this.renderer.createText(this._el_8,"\n ",null),this._el_10=this.renderer.createElement(this._el_8,"div",null),this.renderer.setElementAttribute(this._el_10,"class","slide-header"),this._text_11=this.renderer.createText(this._el_10,"Calibrating",null),this._text_12=this.renderer.createText(this._el_8,"\n ",null),this._el_13=this.renderer.createElement(this._el_8,"div",null),this.renderer.setElementAttribute(this._el_13,"class","calibration-instructions"),this._text_14=this.renderer.createText(this._el_13,"",null),this._text_15=this.renderer.createText(this._el_8,"\n ",null),this._el_16=this.renderer.createElement(this._el_8,"div",null),this.renderer.setElementAttribute(this._el_16,"class","pad-above"),this.renderer.setElementAttribute(this._el_16,"text-center",""),this._text_17=this.renderer.createText(this._el_16,"\n ",null),this._el_18=this.renderer.createElement(this._el_16,"digilent-progress-bar",null),this._appEl_18=new w.a(18,16,this,this._el_18);var n=bt.b(this.viewUtils,this.injector(18),this._appEl_18);this._ProgressBarComponent_18_4=new yt.a,this._appEl_18.initComponent(this._ProgressBarComponent_18_4,[],n),n.create(this._ProgressBarComponent_18_4,[],null),this._text_19=this.renderer.createText(this._el_16,"\n ",null),this._text_20=this.renderer.createText(this._el_8,"\n ",null),this._el_21=this.renderer.createElement(this._el_8,"div",null),this.renderer.setElementAttribute(this._el_21,"class","calibration-instructions pad-above"),this._text_22=this.renderer.createText(this._el_21,"",null),this._el_23=this.renderer.createElement(this._el_21,"div",null),this.renderer.setElementAttribute(this._el_23,"class","calibration-connection-image-container"),this._text_24=this.renderer.createText(this._el_23,"\n ",null),this._anchor_25=this.renderer.createTemplateAnchor(this._el_23,null),this._appEl_25=new w.a(25,23,this,this._anchor_25),this._TemplateRef_25_5=new ht.a(this._appEl_25,d),this._NgIf_25_6=new et.a(this._appEl_25.vcRef,this._TemplateRef_25_5),this._text_26=this.renderer.createText(this._el_23,"\n ",null),this._text_27=this.renderer.createText(this._el_21,"\n ",null),this._text_28=this.renderer.createText(this._el_8,"\n ",null),this._text_29=this.renderer.createText(this._el_6,"\n ",null),this._el_30=this.renderer.createElement(this._el_6,"div",null),this.renderer.setElementAttribute(this._el_30,"class","navigation-button-container"),this._text_31=this.renderer.createText(this._el_30,"\n ",null),this._el_32=this.renderer.createElement(this._el_30,"ion-row",null),this._Row_32_3=new tt.c,this._text_33=this.renderer.createText(this._el_32,"\n ",null),this._el_34=this.renderer.createElement(this._el_32,"ion-col",null),this.renderer.setElementAttribute(this._el_34,"text-left",""),this._Col_34_3=new tt.a,this._text_35=this.renderer.createText(this._el_34,"\n ",null),this._anchor_36=this.renderer.createTemplateAnchor(this._el_34,null),this._appEl_36=new w.a(36,34,this,this._anchor_36),this._TemplateRef_36_5=new ht.a(this._appEl_36,m),this._NgIf_36_6=new et.a(this._appEl_36.vcRef,this._TemplateRef_36_5),this._text_37=this.renderer.createText(this._el_34,"\n ",null),this._text_38=this.renderer.createText(this._el_32,"\n ",null),this._el_39=this.renderer.createElement(this._el_32,"ion-col",null),this.renderer.setElementAttribute(this._el_39,"text-right",""),this._Col_39_3=new tt.a,this._text_40=this.renderer.createText(this._el_39,"\n ",null),this._text_41=this.renderer.createText(this._el_39,"\n ",null),this._anchor_42=this.renderer.createTemplateAnchor(this._el_39,null),this._appEl_42=new w.a(42,39,this,this._anchor_42),this._TemplateRef_42_5=new ht.a(this._appEl_42,g),this._NgIf_42_6=new et.a(this._appEl_42.vcRef,this._TemplateRef_42_5),this._text_43=this.renderer.createText(this._el_39,"\n\n ",null),this._text_44=this.renderer.createText(this._el_39,"\n ",null),this._anchor_45=this.renderer.createTemplateAnchor(this._el_39,null),this._appEl_45=new w.a(45,39,this,this._anchor_45),this._TemplateRef_45_5=new ht.a(this._appEl_45,v),this._NgIf_45_6=new et.a(this._appEl_45.vcRef,this._TemplateRef_45_5),this._text_46=this.renderer.createText(this._el_39,"\n\n ",null),this._anchor_47=this.renderer.createTemplateAnchor(this._el_39,null),this._appEl_47=new w.a(47,39,this,this._anchor_47),this._TemplateRef_47_5=new ht.a(this._appEl_47,x),this._NgIf_47_6=new et.a(this._appEl_47.vcRef,this._TemplateRef_47_5),this._text_48=this.renderer.createText(this._el_39,"\n ",null),this._text_49=this.renderer.createText(this._el_32,"\n ",null),this._text_50=this.renderer.createText(this._el_30,"\n ",null),this._text_51=this.renderer.createText(this._el_6,"\n ",null),this._text_52=this.renderer.createText(null,"\n ",null),e.create(this._Slide_0_4,[[].concat([this._text_1,this._text_2,this._appEl_3,this._text_4,this._text_5,this._el_6,this._text_52])],null),this._expr_0=A.n,this._expr_1=A.n,this._expr_2=A.n;var i=this.renderer.listen(this._el_18,"progressBarDone",this.eventHandler(this._handle_progressBarDone_18_0.bind(this))),r=this._ProgressBarComponent_18_4.progressBarDone.subscribe(this.eventHandler(this._handle_progressBarDone_18_0.bind(this)));return this._expr_4=A.n,this._expr_5=A.n,this._expr_6=A.n,this._expr_7=A.n,this._expr_8=A.n,this._expr_9=A.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._text_2,this._anchor_3,this._text_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9,this._el_10,this._text_11,this._text_12,this._el_13,this._text_14,this._text_15,this._el_16,this._text_17,this._el_18,this._text_19,this._text_20,this._el_21,this._text_22,this._el_23,this._text_24,this._anchor_25,this._text_26,this._text_27,this._text_28,this._text_29,this._el_30,this._text_31,this._el_32,this._text_33,this._el_34,this._text_35,this._anchor_36,this._text_37,this._text_38,this._el_39,this._text_40,this._text_41,this._anchor_42,this._text_43,this._text_44,this._anchor_45,this._text_46,this._anchor_47,this._text_48,this._text_49,this._text_50,this._text_51,this._text_52],[i],[r]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===ht.b&&3===e?this._TemplateRef_3_5:t===et.a&&3===e?this._NgIf_3_6:t===yt.a&&18===e?this._ProgressBarComponent_18_4:t===ht.b&&25===e?this._TemplateRef_25_5:t===et.a&&25===e?this._NgIf_25_6:t===ht.b&&36===e?this._TemplateRef_36_5:t===et.a&&36===e?this._NgIf_36_6:t===tt.a&&34<=e&&e<=37?this._Col_34_3:t===ht.b&&42===e?this._TemplateRef_42_5:t===et.a&&42===e?this._NgIf_42_6:t===ht.b&&45===e?this._TemplateRef_45_5:t===et.a&&45===e?this._NgIf_45_6:t===ht.b&&47===e?this._TemplateRef_47_5:t===et.a&&47===e?this._NgIf_47_6:t===tt.a&&39<=e&&e<=48?this._Col_39_3:t===tt.c&&32<=e&&e<=49?this._Row_32_3:t===z.a&&0<=e&&e<=52?this._Slide_0_4:n},e.prototype.detectChangesInternal=function(t){var e=this.parent.context.showInstructions;E.c(t,this._expr_0,e)&&(this._NgIf_3_6.ngIf=e,this._expr_0=e);var n=this.parent.context.calibrationFailed;E.c(t,this._expr_5,n)&&(this._NgIf_25_6.ngIf=n,this._expr_5=n);var i=this.parent.context.calibrationFailed;E.c(t,this._expr_6,i)&&(this._NgIf_36_6.ngIf=i,this._expr_6=i);var r=this.parent.context.calibrationSuccessful&&this.context.index!==this.parent.context.calibrationInstructions.length-1;E.c(t,this._expr_7,r)&&(this._NgIf_42_6.ngIf=r,this._expr_7=r);var s=this.parent.context.calibrationSuccessful&&this.context.index===this.parent.context.calibrationInstructions.length-1;E.c(t,this._expr_8,s)&&(this._NgIf_45_6.ngIf=s,this._expr_8=s);var o=this.parent.context.calibrationFailed;E.c(t,this._expr_9,o)&&(this._NgIf_47_6.ngIf=o,this._expr_9=o),this.detectContentChildrenChanges(t);var a=!this.parent.context.runningCalibration;E.c(t,this._expr_1,a)&&(this.renderer.setElementProperty(this._el_6,"hidden",a),this._expr_1=a);var _=E.e(2,"\n Step ",this.context.index+1," of ",this.parent.context.calibrationInstructions.length,"\n ");E.c(t,this._expr_2,_)&&(this.renderer.setText(this._text_14,_),this._expr_2=_);var l=E.e(1,"\n ",this.parent.context.calibrationStatus,"\n ");E.c(t,this._expr_4,l)&&(this.renderer.setText(this._text_22,l),this._expr_4=l),this.detectViewChildrenChanges(t)},e.prototype.dirtyParentQueriesInternal=function(){this.parent._viewQuery_digilentProgressBar_1.setDirty()},e.prototype.destroyInternal=function(){this._Slide_0_4.ngOnDestroy()},e.prototype._handle_progressBarDone_18_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.progressBarFinished()!==!1;return e},e}(b.a),Dt=function(t){function e(n,i,r){t.call(this,e,Nt,T.a.EMBEDDED,n,i,r,A.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","content-container"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_2,"class","slide-header"),this._text_3=this.renderer.createText(this._el_2,"Device Calibration",null),this._text_4=this.renderer.createText(this._el_0,"\n ",null),this._el_5=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_5,"class","calibration-content-container"),this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._el_7=this.renderer.createElement(this._el_5,"ion-row",null),this._Row_7_3=new tt.c,this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"ion-col",null),this.renderer.setElementAttribute(this._el_9,"center",""),this.renderer.setElementAttribute(this._el_9,"class","icon-col"),this.renderer.setElementAttribute(this._el_9,"text-center",""),this._Col_9_3=new tt.a,this._text_10=this.renderer.createText(this._el_9,"\n ",null),this._el_11=this.renderer.createElement(this._el_9,"img",null),this.renderer.setElementAttribute(this._el_11,"class","custom-image-button intro-icon"),this.renderer.setElementAttribute(this._el_11,"src","assets/img/calibrate.svg"),this._text_12=this.renderer.createText(this._el_9,"\n ",null),this._text_13=this.renderer.createText(this._el_7,"\n ",null),this._text_14=this.renderer.createText(this._el_5,"\n ",null),this._anchor_15=this.renderer.createTemplateAnchor(this._el_5,null),this._appEl_15=new w.a(15,5,this,this._anchor_15),this._TemplateRef_15_5=new ht.a(this._appEl_15,h),this._NgIf_15_6=new et.a(this._appEl_15.vcRef,this._TemplateRef_15_5),this._text_16=this.renderer.createText(this._el_5,"\n ",null),this._el_17=this.renderer.createElement(this._el_5,"ion-row",null),this.renderer.setElementAttribute(this._el_17,"margin-top",""),this._Row_17_3=new tt.c,this._text_18=this.renderer.createText(this._el_17,"\n ",null),this._el_19=this.renderer.createElement(this._el_17,"ion-col",null),this.renderer.setElementAttribute(this._el_19,"class","instructions-col"),this.renderer.setElementAttribute(this._el_19,"text-left",""),this._Col_19_3=new tt.a,this._text_20=this.renderer.createText(this._el_19,"\n ",null),this._el_21=this.renderer.createElement(this._el_19,"div",null),this.renderer.setElementAttribute(this._el_21,"class","instruction-header"),this._text_22=this.renderer.createText(this._el_21,"\n Instructions\n ",null),this._text_23=this.renderer.createText(this._el_19,"\n ",null),this._el_24=this.renderer.createElement(this._el_19,"div",null),this.renderer.setElementAttribute(this._el_24,"class","calibration-instructions"),this._text_25=this.renderer.createText(this._el_24,"",null),this._text_26=this.renderer.createText(this._el_19,"\n ",null),this._text_27=this.renderer.createText(this._el_17,"\n ",null),this._text_28=this.renderer.createText(this._el_5,"\n ",null),this._el_29=this.renderer.createElement(this._el_5,"div",null),this.renderer.setElementAttribute(this._el_29,"class","calibration-connection-image-container"),this._text_30=this.renderer.createText(this._el_29,"\n ",null),this._el_31=this.renderer.createElement(this._el_29,"ion-row",null),this._Row_31_3=new tt.c,this._text_32=this.renderer.createText(this._el_31,"\n ",null),this._el_33=this.renderer.createElement(this._el_31,"ion-col",null),this.renderer.setElementAttribute(this._el_33,"center",""),this.renderer.setElementAttribute(this._el_33,"class","icon-col"),this.renderer.setElementAttribute(this._el_33,"text-center",""),this._Col_33_3=new tt.a,this._text_34=this.renderer.createText(this._el_33,"\n ",null),this._anchor_35=this.renderer.createTemplateAnchor(this._el_33,null),this._appEl_35=new w.a(35,33,this,this._anchor_35),this._TemplateRef_35_5=new ht.a(this._appEl_35,c),this._NgIf_35_6=new et.a(this._appEl_35.vcRef,this._TemplateRef_35_5),this._text_36=this.renderer.createText(this._el_33,"\n ",null),this._text_37=this.renderer.createText(this._el_31,"\n ",null),this._text_38=this.renderer.createText(this._el_29,"\n ",null),this._text_39=this.renderer.createText(this._el_5,"\n ",null),this._el_40=this.renderer.createElement(this._el_5,"ion-row",null),this._Row_40_3=new tt.c,this._text_41=this.renderer.createText(this._el_40,"\n ",null),this._el_42=this.renderer.createElement(this._el_40,"ion-col",null),this.renderer.setElementAttribute(this._el_42,"center",""),this.renderer.setElementAttribute(this._el_42,"text-center",""),this._Col_42_3=new tt.a,this._text_43=this.renderer.createText(this._el_42,"\n ",null),this._el_44=this.renderer.createElement(this._el_42,"button",null),this.renderer.setElementAttribute(this._el_44,"class","pinout-icon disable-hover"),this.renderer.setElementAttribute(this._el_44,"ion-button",""),this._appEl_44=new w.a(44,42,this,this._el_44);var e=dt.a(this.viewUtils,this.injector(44),this._appEl_44);this._Button_44_4=new Y.a(null,"",this.parent.parent.parentInjector.get(it.c),new rt.a(this._el_44),this.renderer),this._appEl_44.initComponent(this._Button_44_4,[],e),this._text_45=this.renderer.createText(null,"\n PINOUT\n ",null),e.create(this._Button_44_4,[[].concat([this._text_45])],null),this._text_46=this.renderer.createText(this._el_42,"\n ",null),this._text_47=this.renderer.createText(this._el_40,"\n ",null),this._text_48=this.renderer.createText(this._el_5,"\n ",null),this._text_49=this.renderer.createText(this._el_0,"\n ",null),this._el_50=this.renderer.createElement(this._el_0,"div",null),this._text_51=this.renderer.createText(this._el_50,"\n ",null),this._el_52=this.renderer.createElement(this._el_50,"ion-item",null),this.renderer.setElementAttribute(this._el_52,"class","configure-item item item-block"),this._appEl_52=new w.a(52,50,this,this._el_52);var n=ut.a(this.viewUtils,this.injector(52),this._appEl_52);this._Item_52_4=new W.a(this.parent.parent.parentInjector.get(pt.a),this.parent.parent.parentInjector.get(it.c),new rt.a(this._el_52),this.renderer),this._ItemContent_52_5=new W.b,this._query_Label_52_0=new H.a,this._query_Button_52_1=new H.a,this._query_Icon_52_2=new H.a,this._appEl_52.initComponent(this._Item_52_4,[],n),this._text_53=this.renderer.createText(null,"\n ",null),this._el_54=this.renderer.createElement(null,"ion-label",null),this._Label_54_3=new Q.a(this.parent.parent.parentInjector.get(it.c),new rt.a(this._el_54),this.renderer,null,null,null,null),this._text_55=this.renderer.createText(this._el_54,"Status",null),this._text_56=this.renderer.createText(null,"\n ",null),this._el_57=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_57,"class","item-content-right"),this.renderer.setElementAttribute(this._el_57,"item-right",""),this._text_58=this.renderer.createText(this._el_57,"",null),this._text_59=this.renderer.createText(null,"\n ",null),this._query_Label_52_0.reset([this._Label_54_3]),this._Item_52_4.contentLabel=this._query_Label_52_0.first,n.create(this._Item_52_4,[[],[].concat([this._el_54]),[].concat([this._text_53,this._text_56,this._text_59]),[],[].concat([this._el_57])],null),this._text_60=this.renderer.createText(this._el_50,"\n\n ",null),this._el_61=this.renderer.createElement(this._el_50,"div",null),this.renderer.setElementAttribute(this._el_61,"class","navigation-button-container"),this._text_62=this.renderer.createText(this._el_61,"\n ",null),this._el_63=this.renderer.createElement(this._el_61,"ion-row",null),this._Row_63_3=new tt.c,this._text_64=this.renderer.createText(this._el_63,"\n ",null),this._el_65=this.renderer.createElement(this._el_63,"ion-col",null),this.renderer.setElementAttribute(this._el_65,"text-left",""),this._Col_65_3=new tt.a,this._text_66=this.renderer.createText(this._el_65,"\n ",null),this._anchor_67=this.renderer.createTemplateAnchor(this._el_65,null),this._appEl_67=new w.a(67,65,this,this._anchor_67),this._TemplateRef_67_5=new ht.a(this._appEl_67,u),this._NgIf_67_6=new et.a(this._appEl_67.vcRef,this._TemplateRef_67_5),this._text_68=this.renderer.createText(this._el_65,"\n ",null),this._text_69=this.renderer.createText(this._el_63,"\n ",null),this._el_70=this.renderer.createElement(this._el_63,"ion-col",null),this.renderer.setElementAttribute(this._el_70,"text-center",""),this._Col_70_3=new tt.a,this._text_71=this.renderer.createText(this._el_70,"\n ",null),this._anchor_72=this.renderer.createTemplateAnchor(this._el_70,null),this._appEl_72=new w.a(72,70,this,this._anchor_72),this._TemplateRef_72_5=new ht.a(this._appEl_72,p),this._NgIf_72_6=new et.a(this._appEl_72.vcRef,this._TemplateRef_72_5),this._text_73=this.renderer.createText(this._el_70,"\n ",null),this._text_74=this.renderer.createText(this._el_63,"\n ",null), this._el_75=this.renderer.createElement(this._el_63,"ion-col",null),this.renderer.setElementAttribute(this._el_75,"text-right",""),this._Col_75_3=new tt.a,this._text_76=this.renderer.createText(this._el_75,"\n ",null),this._el_77=this.renderer.createElement(this._el_75,"button",null),this.renderer.setElementAttribute(this._el_77,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_77,"icon-right",""),this.renderer.setElementAttribute(this._el_77,"ion-button",""),this._appEl_77=new w.a(77,75,this,this._el_77);var i=dt.a(this.viewUtils,this.injector(77),this._appEl_77);this._Button_77_4=new Y.a(null,"",this.parent.parent.parentInjector.get(it.c),new rt.a(this._el_77),this.renderer),this._appEl_77.initComponent(this._Button_77_4,[],i),this._text_78=this.renderer.createText(null,"",null),this._el_79=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_79,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_79,"src","assets/img/arrow-forward.svg"),this._text_80=this.renderer.createText(null,"\n ",null),i.create(this._Button_77_4,[[].concat([this._text_78,this._el_79,this._text_80])],null),this._text_81=this.renderer.createText(this._el_75,"\n ",null),this._text_82=this.renderer.createText(this._el_63,"\n ",null),this._text_83=this.renderer.createText(this._el_61,"\n ",null),this._text_84=this.renderer.createText(this._el_50,"\n ",null),this._text_85=this.renderer.createText(this._el_0,"\n ",null),this._expr_0=A.n,this._expr_1=A.n,this._expr_2=A.n;var r=this.renderer.listen(this._el_44,"tap",this.eventHandler(this._handle_tap_44_0.bind(this)));this._expr_4=A.n,this._expr_5=A.n,this._expr_6=A.n;var s=this.renderer.listen(this._el_77,"click",this.eventHandler(this._handle_click_77_0.bind(this)));return this._expr_8=A.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._el_11,this._text_12,this._text_13,this._text_14,this._anchor_15,this._text_16,this._el_17,this._text_18,this._el_19,this._text_20,this._el_21,this._text_22,this._text_23,this._el_24,this._text_25,this._text_26,this._text_27,this._text_28,this._el_29,this._text_30,this._el_31,this._text_32,this._el_33,this._text_34,this._anchor_35,this._text_36,this._text_37,this._text_38,this._text_39,this._el_40,this._text_41,this._el_42,this._text_43,this._el_44,this._text_45,this._text_46,this._text_47,this._text_48,this._text_49,this._el_50,this._text_51,this._el_52,this._text_53,this._el_54,this._text_55,this._text_56,this._el_57,this._text_58,this._text_59,this._text_60,this._el_61,this._text_62,this._el_63,this._text_64,this._el_65,this._text_66,this._anchor_67,this._text_68,this._text_69,this._el_70,this._text_71,this._anchor_72,this._text_73,this._text_74,this._el_75,this._text_76,this._el_77,this._text_78,this._el_79,this._text_80,this._text_81,this._text_82,this._text_83,this._text_84,this._text_85],[r,s],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===tt.a&&9<=e&&e<=12?this._Col_9_3:t===tt.c&&7<=e&&e<=13?this._Row_7_3:t===ht.b&&15===e?this._TemplateRef_15_5:t===et.a&&15===e?this._NgIf_15_6:t===tt.a&&19<=e&&e<=26?this._Col_19_3:t===tt.c&&17<=e&&e<=27?this._Row_17_3:t===ht.b&&35===e?this._TemplateRef_35_5:t===et.a&&35===e?this._NgIf_35_6:t===tt.a&&33<=e&&e<=36?this._Col_33_3:t===tt.c&&31<=e&&e<=37?this._Row_31_3:t===Y.a&&44<=e&&e<=45?this._Button_44_4:t===tt.a&&42<=e&&e<=46?this._Col_42_3:t===tt.c&&40<=e&&e<=47?this._Row_40_3:t===Q.a&&54<=e&&e<=55?this._Label_54_3:t===W.a&&52<=e&&e<=59?this._Item_52_4:t===W.b&&52<=e&&e<=59?this._ItemContent_52_5:t===ht.b&&67===e?this._TemplateRef_67_5:t===et.a&&67===e?this._NgIf_67_6:t===tt.a&&65<=e&&e<=68?this._Col_65_3:t===ht.b&&72===e?this._TemplateRef_72_5:t===et.a&&72===e?this._NgIf_72_6:t===tt.a&&70<=e&&e<=73?this._Col_70_3:t===Y.a&&77<=e&&e<=80?this._Button_77_4:t===tt.a&&75<=e&&e<=81?this._Col_75_3:t===tt.c&&63<=e&&e<=82?this._Row_63_3:n},e.prototype.detectChangesInternal=function(t){var e=0===this.parent.context.index;E.c(t,this._expr_0,e)&&(this._NgIf_15_6.ngIf=e,this._expr_0=e);var n=this.parent.parent.context.calibrationInstructions[this.parent.context.index];E.c(t,this._expr_2,n)&&(this._NgIf_35_6.ngIf=n,this._expr_2=n);var i=0===this.parent.context.index;E.c(t,this._expr_5,i)&&(this._NgIf_67_6.ngIf=i,this._expr_5=i);var r=0===this.parent.context.index;E.c(t,this._expr_6,r)&&(this._NgIf_72_6.ngIf=r,this._expr_6=r),this.detectContentChildrenChanges(t),t||(this._query_Button_52_1.dirty&&(this._query_Button_52_1.reset([]),this._Item_52_4._buttons=this._query_Button_52_1,this._query_Button_52_1.notifyOnChanges()),this._query_Icon_52_2.dirty&&(this._query_Icon_52_2.reset([]),this._Item_52_4._icons=this._query_Icon_52_2,this._query_Icon_52_2.notifyOnChanges()),0===this.numberOfChecks&&this._Button_44_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_52_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_77_4.ngAfterContentInit());var s=E.e(3,"\n Step ",this.parent.context.index+1," of ",this.parent.parent.context.calibrationInstructions.length,": ",this.parent.parent.context.calibrationInstructions[this.parent.context.index]||this.parent.parent.context.noInstructions,"\n ");E.c(t,this._expr_1,s)&&(this.renderer.setText(this._text_25,s),this._expr_1=s);var o=E.e(1,"\n ",this.parent.parent.context.calibrationStatus,"\n ");E.c(t,this._expr_4,o)&&(this.renderer.setText(this._text_58,o),this._expr_4=o);var a=E.e(1,"\n ",0===this.parent.context.index?"Begin":"Next","\n ");E.c(t,this._expr_8,a)&&(this.renderer.setText(this._text_78,a),this._expr_8=a),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_44_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.openDevicePinout(t)!==!1;return e},e.prototype._handle_click_77_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.runCalibration(this.parent.context.index)!==!1;return e},e}(b.a),jt=function(t){function e(n,i,r){t.call(this,e,Nt,T.a.EMBEDDED,n,i,r,A.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"ion-row",null),this._Row_0_3=new tt.c,this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_2,"class","instructions-col"),this.renderer.setElementAttribute(this._el_2,"text-left",""),this._Col_2_3=new tt.a,this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"div",null),this.renderer.setElementAttribute(this._el_4,"class","calibration-instructions"),this._text_5=this.renderer.createText(this._el_4,"\n ",null),this._el_6=this.renderer.createElement(this._el_4,"p",null),this._text_7=this.renderer.createText(this._el_6,"\n Device calibration compensates for component variance and temperature differences. Visit the\n ",null),this._el_8=this.renderer.createElement(this._el_6,"a",null),this.renderer.setElementAttribute(this._el_8,"href","https://reference.digilentinc.com/reference/instrumentation/openscope-mz/faq"),this.renderer.setElementAttribute(this._el_8,"target","_blank"),this._text_9=this.renderer.createText(this._el_8,"FAQ",null),this._text_10=this.renderer.createText(this._el_6,' for more info. Follow these instructions to run calibration or select "Load Existing"\n below to load an existing calibration file.\n ',null),this._text_11=this.renderer.createText(this._el_4,"\n ",null),this._text_12=this.renderer.createText(this._el_2,"\n ",null),this._text_13=this.renderer.createText(this._el_0,"\n ",null),this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9,this._text_10,this._text_11,this._text_12,this._text_13],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===tt.a&&2<=e&&e<=12?this._Col_2_3:t===tt.c&&0<=e&&e<=13?this._Row_0_3:n},e}(b.a),Mt=function(t){function e(n,i,r){t.call(this,e,Nt,T.a.EMBEDDED,n,i,r,A.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_0,"class","calibration-connection-image"),this._expr_0=A.n,this.init([].concat([this._el_0]),[this._el_0],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this.parent.parent.parent.context.connectionImage(this.parent.parent.context.index+1);E.c(t,this._expr_0,e)&&(this.renderer.setElementProperty(this._el_0,"src",this.viewUtils.sanitizer.sanitize(wt.b.URL,e)),this._expr_0=e),this.detectViewChildrenChanges(t)},e}(b.a),Lt=function(t){function e(n,i,r){t.call(this,e,Nt,T.a.EMBEDDED,n,i,r,A.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_0,"icon-left",""),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new w.a(0,null,this,this._el_0);var e=dt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new Y.a(null,"",this.parent.parent.parent.parentInjector.get(it.c),new rt.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_2,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_2,"src","assets/img/close.svg"),this._text_3=this.renderer.createText(null," Close\n ",null),e.create(this._Button_0_4,[[].concat([this._text_1,this._el_2,this._text_3])],null);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===Y.a&&0<=e&&e<=3?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.closeModal()!==!1;return e},e}(b.a),Bt=function(t){function e(n,i,r){t.call(this,e,Nt,T.a.EMBEDDED,n,i,r,A.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_0,"icon-right",""),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new w.a(0,null,this,this._el_0);var e=dt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new Y.a(null,"",this.parent.parent.parent.parentInjector.get(it.c),new rt.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"\n Load Existing\n ",null),this._el_2=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_2,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_2,"src","assets/img/archive.svg"),this._text_3=this.renderer.createText(null,"\n ",null),e.create(this._Button_0_4,[[].concat([this._text_1,this._el_2,this._text_3])],null);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===Y.a&&0<=e&&e<=3?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.toLoadExistingPage()!==!1;return e},e}(b.a),Ft=function(t){function e(n,i,r){t.call(this,e,Nt,T.a.EMBEDDED,n,i,r,A.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-row",null),this._Row_2_3=new tt.c,this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-col",null),this.renderer.setElementAttribute(this._el_4,"center",""),this.renderer.setElementAttribute(this._el_4,"class","icon-col pad-above"),this.renderer.setElementAttribute(this._el_4,"text-center",""),this._Col_4_3=new tt.a,this._text_5=this.renderer.createText(this._el_4,"\n ",null),this._anchor_6=this.renderer.createTemplateAnchor(this._el_4,null),this._appEl_6=new w.a(6,4,this,this._anchor_6),this._TemplateRef_6_5=new ht.a(this._appEl_6,f),this._NgIf_6_6=new et.a(this._appEl_6.vcRef,this._TemplateRef_6_5),this._text_7=this.renderer.createText(this._el_4,"\n ",null),this._text_8=this.renderer.createText(this._el_2,"\n ",null),this._text_9=this.renderer.createText(this._el_0,"\n ",null),this._el_10=this.renderer.createElement(this._el_0,"ion-row",null),this._Row_10_3=new tt.c,this._text_11=this.renderer.createText(this._el_10,"\n ",null),this._el_12=this.renderer.createElement(this._el_10,"ion-col",null),this.renderer.setElementAttribute(this._el_12,"center",""),this.renderer.setElementAttribute(this._el_12,"text-center",""),this._Col_12_3=new tt.a,this._text_13=this.renderer.createText(this._el_12,"\n ",null),this._el_14=this.renderer.createElement(this._el_12,"button",null),this.renderer.setElementAttribute(this._el_14,"class","pinout-icon disable-hover"),this.renderer.setElementAttribute(this._el_14,"ion-button",""),this._appEl_14=new w.a(14,12,this,this._el_14);var e=dt.a(this.viewUtils,this.injector(14),this._appEl_14);this._Button_14_4=new Y.a(null,"",this.parent.parent.parentInjector.get(it.c),new rt.a(this._el_14),this.renderer),this._appEl_14.initComponent(this._Button_14_4,[],e),this._text_15=this.renderer.createText(null,"\n PINOUT\n ",null),e.create(this._Button_14_4,[[].concat([this._text_15])],null),this._text_16=this.renderer.createText(this._el_12,"\n ",null),this._text_17=this.renderer.createText(this._el_10,"\n ",null),this._text_18=this.renderer.createText(this._el_0,"\n ",null),this._expr_0=A.n;var n=this.renderer.listen(this._el_14,"tap",this.eventHandler(this._handle_tap_14_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._anchor_6,this._text_7,this._text_8,this._text_9,this._el_10,this._text_11,this._el_12,this._text_13,this._el_14,this._text_15,this._text_16,this._text_17,this._text_18],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===ht.b&&6===e?this._TemplateRef_6_5:t===et.a&&6===e?this._NgIf_6_6:t===tt.a&&4<=e&&e<=7?this._Col_4_3:t===tt.c&&2<=e&&e<=8?this._Row_2_3:t===Y.a&&14<=e&&e<=15?this._Button_14_4:t===tt.a&&12<=e&&e<=16?this._Col_12_3:t===tt.c&&10<=e&&e<=17?this._Row_10_3:n},e.prototype.detectChangesInternal=function(t){var e=this.parent.parent.context.calibrationInstructions[this.parent.context.index];E.c(t,this._expr_0,e)&&(this._NgIf_6_6.ngIf=e,this._expr_0=e),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_14_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_14_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.openDevicePinout(t)!==!1;return e},e}(b.a),qt=function(t){function e(n,i,r){t.call(this,e,Nt,T.a.EMBEDDED,n,i,r,A.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_0,"class","calibration-connection-image"),this._expr_0=A.n,this.init([].concat([this._el_0]),[this._el_0],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this.parent.parent.parent.context.connectionImage(this.parent.parent.context.index+1);E.c(t,this._expr_0,e)&&(this.renderer.setElementProperty(this._el_0,"src",this.viewUtils.sanitizer.sanitize(wt.b.URL,e)),this._expr_0=e),this.detectViewChildrenChanges(t)},e}(b.a),Vt=function(t){function e(n,i,r){t.call(this,e,Nt,T.a.EMBEDDED,n,i,r,A.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_0,"icon-left",""),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new w.a(0,null,this,this._el_0);var e=dt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new Y.a(null,"",this.parent.parent.parentInjector.get(it.c),new rt.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_2,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_2,"src","assets/img/close.svg"),this._text_3=this.renderer.createText(null," Close\n ",null),e.create(this._Button_0_4,[[].concat([this._text_1,this._el_2,this._text_3])],null);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===Y.a&&0<=e&&e<=3?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.closeModal()!==!1;return e},e}(b.a),Ht=function(t){function e(n,i,r){t.call(this,e,Nt,T.a.EMBEDDED,n,i,r,A.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_0,"icon-right",""),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new w.a(0,null,this,this._el_0);var e=dt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new Y.a(null,"",this.parent.parent.parentInjector.get(it.c),new rt.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"\n Next\n ",null),this._el_2=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_2,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_2,"src","assets/img/arrow-forward.svg"),this._text_3=this.renderer.createText(null,"\n ",null),e.create(this._Button_0_4,[[].concat([this._text_1,this._el_2,this._text_3])],null);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===Y.a&&0<=e&&e<=3?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.toNextSlide()!==!1;return e},e}(b.a),Ut=function(t){function e(n,i,r){t.call(this,e,Nt,T.a.EMBEDDED,n,i,r,A.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_0,"icon-right",""),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new w.a(0,null,this,this._el_0);var e=dt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new Y.a(null,"",this.parent.parent.parentInjector.get(it.c),new rt.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"\n Finish\n ",null),this._el_2=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_2,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_2,"src","assets/img/arrow-forward.svg"),this._text_3=this.renderer.createText(null,"\n ",null),e.create(this._Button_0_4,[[].concat([this._text_1,this._el_2,this._text_3])],null);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===Y.a&&0<=e&&e<=3?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.toCalibrationSuccessPage()!==!1;return e},e}(b.a),zt=function(t){function e(n,i,r){t.call(this,e,Nt,T.a.EMBEDDED,n,i,r,A.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_0,"icon-right",""),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new w.a(0,null,this,this._el_0);var e=dt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new Y.a(null,"",this.parent.parent.parentInjector.get(it.c),new rt.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"\n Retry\n ",null),this._el_2=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_2,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_2,"src","assets/img/redo.svg"),this._text_3=this.renderer.createText(null,"\n ",null),e.create(this._Button_0_4,[[].concat([this._text_1,this._el_2,this._text_3])],null);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===Y.a&&0<=e&&e<=3?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.startCalibration()!==!1;return e},e}(b.a),Gt=function(t){function e(n,i,r){t.call(this,e,Nt,T.a.EMBEDDED,n,i,r,A.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_0,"icon-left",""),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new w.a(0,null,this,this._el_0);var e=dt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new Y.a(null,"",this.parent.parentInjector.get(it.c),new rt.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_2,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_2,"src","assets/img/close.svg"),this._text_3=this.renderer.createText(null," Close\n ",null),e.create(this._Button_0_4,[[].concat([this._text_1,this._el_2,this._text_3])],null);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===Y.a&&0<=e&&e<=3?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.closeModal()!==!1;return e},e}(b.a)},function(t,e,n){"use strict";function i(t,e,n){return null===O&&(O=t.createRenderComponentType("",0,m.c.None,[],{})),new k(t,e,n)}function r(t,e,n){return null===R&&(R=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/pages/cursor-modal/cursor-modal.html",0,m.c.None,P,{})),new D(t,e,n)}var s=n(10),o=n(6),a=n(373),_=n(11),l=n(5),h=n(4),c=n(23),u=n(13),p=n(27),d=n(47),f=n(43),m=n(8),g=n(7),v=n(34),x=n(112),y=n(44),b=n(65),w=n(2),C=n(14),E=n(48),T=n(118),A=n(39),I=n(98);n.d(e,"a",function(){return N});var S=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},O=null,k=function(t){function e(n,i,r){t.call(this,e,O,l.a.HOST,n,i,r,h.b.CheckAlways)}return S(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ng-component",t,null),this._appEl_0=new o.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._ModalCursorPage_0_4=new a.a(this.parentInjector.get(c.f),this.parentInjector.get(u.a),this.parentInjector.get(p.a),this.parentInjector.get(d.a),this.parentInjector.get(f.DeviceManagerService)),this._appEl_0.initComponent(this._ModalCursorPage_0_4,[],e),e.create(this._ModalCursorPage_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===a.a&&0===e?this._ModalCursorPage_0_4:n},e.prototype.detectChangesInternal=function(t){0!==this.numberOfChecks||t||this._ModalCursorPage_0_4.ngOnInit(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(s.a),N=new g.a("ng-component",i,a.a),P=[],R=null,D=function(t){function e(n,i,r){t.call(this,e,R,l.a.COMPONENT,n,i,r,h.b.CheckAlways)}return S(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_typeDropPop_0=new v.a,this._viewQuery_c1DropPop_1=new v.a,this._viewQuery_c2DropPop_2=new v.a,this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","cursor-modal-container"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-list",null),this.renderer.setElementAttribute(this._el_2,"class","cursor-modal-list"),this._List_2_3=new x.a(this.parentInjector.get(w.c),new C.a(this._el_2),this.renderer,this.parentInjector.get(E.a)),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-item",null),this.renderer.setElementAttribute(this._el_4,"class","cursor-modal-item item item-block"),this._appEl_4=new o.a(4,2,this,this._el_4);var n=T.a(this.viewUtils,this.injector(4),this._appEl_4);this._Item_4_4=new y.a(this.parentInjector.get(A.a),this.parentInjector.get(w.c),new C.a(this._el_4),this.renderer),this._ItemContent_4_5=new y.b,this._query_Label_4_0=new v.a,this._query_Button_4_1=new v.a,this._query_Icon_4_2=new v.a,this._appEl_4.initComponent(this._Item_4_4,[],n),this._text_5=this.renderer.createText(null,"\n ",null),this._el_6=this.renderer.createElement(null,"h3",null),this._text_7=this.renderer.createText(this._el_6,"Type",null),this._text_8=this.renderer.createText(null,"\n ",null),this._el_9=this.renderer.createElement(null,"dropdown-popover",null),this._appEl_9=new o.a(9,4,this,this._el_9);var i=I.b(this.viewUtils,this.injector(9),this._appEl_9);this._DropdownPopoverComponent_9_4=new b.a(this.parentInjector.get(d.a),new C.a(this._el_9),this.parentInjector.get(c.f)),this._appEl_9.initComponent(this._DropdownPopoverComponent_9_4,[],i),i.create(this._DropdownPopoverComponent_9_4,[],null),this._text_10=this.renderer.createText(null,"\n ",null),this._query_Label_4_0.reset([]),this._Item_4_4.contentLabel=this._query_Label_4_0.first,n.create(this._Item_4_4,[[],[],[].concat([this._text_5,this._el_6,this._text_8,this._el_9,this._text_10]),[],[]],null),this._text_11=this.renderer.createText(this._el_2,"\n ",null),this._el_12=this.renderer.createElement(this._el_2,"ion-item",null),this.renderer.setElementAttribute(this._el_12,"class","cursor-modal-item item item-block"),this._appEl_12=new o.a(12,2,this,this._el_12);var r=T.a(this.viewUtils,this.injector(12),this._appEl_12);this._Item_12_4=new y.a(this.parentInjector.get(A.a),this.parentInjector.get(w.c),new C.a(this._el_12),this.renderer),this._ItemContent_12_5=new y.b,this._query_Label_12_0=new v.a,this._query_Button_12_1=new v.a,this._query_Icon_12_2=new v.a,this._appEl_12.initComponent(this._Item_12_4,[],r),this._text_13=this.renderer.createText(null,"\n ",null),this._el_14=this.renderer.createElement(null,"h3",null),this._text_15=this.renderer.createText(this._el_14,"Cursor 1 Channel",null),this._text_16=this.renderer.createText(null,"\n ",null),this._el_17=this.renderer.createElement(null,"dropdown-popover",null),this._appEl_17=new o.a(17,12,this,this._el_17);var s=I.b(this.viewUtils,this.injector(17),this._appEl_17);this._DropdownPopoverComponent_17_4=new b.a(this.parentInjector.get(d.a),new C.a(this._el_17),this.parentInjector.get(c.f)), this._appEl_17.initComponent(this._DropdownPopoverComponent_17_4,[],s),s.create(this._DropdownPopoverComponent_17_4,[],null),this._text_18=this.renderer.createText(null,"\n ",null),this._query_Label_12_0.reset([]),this._Item_12_4.contentLabel=this._query_Label_12_0.first,r.create(this._Item_12_4,[[],[],[].concat([this._text_13,this._el_14,this._text_16,this._el_17,this._text_18]),[],[]],null),this._text_19=this.renderer.createText(this._el_2,"\n ",null),this._el_20=this.renderer.createElement(this._el_2,"ion-item",null),this.renderer.setElementAttribute(this._el_20,"class","cursor-modal-item item item-block"),this._appEl_20=new o.a(20,2,this,this._el_20);var a=T.a(this.viewUtils,this.injector(20),this._appEl_20);this._Item_20_4=new y.a(this.parentInjector.get(A.a),this.parentInjector.get(w.c),new C.a(this._el_20),this.renderer),this._ItemContent_20_5=new y.b,this._query_Label_20_0=new v.a,this._query_Button_20_1=new v.a,this._query_Icon_20_2=new v.a,this._appEl_20.initComponent(this._Item_20_4,[],a),this._text_21=this.renderer.createText(null,"\n ",null),this._el_22=this.renderer.createElement(null,"h3",null),this._text_23=this.renderer.createText(this._el_22,"Cursor 2 Channel",null),this._text_24=this.renderer.createText(null,"\n ",null),this._el_25=this.renderer.createElement(null,"dropdown-popover",null),this._appEl_25=new o.a(25,20,this,this._el_25);var _=I.b(this.viewUtils,this.injector(25),this._appEl_25);this._DropdownPopoverComponent_25_4=new b.a(this.parentInjector.get(d.a),new C.a(this._el_25),this.parentInjector.get(c.f)),this._appEl_25.initComponent(this._DropdownPopoverComponent_25_4,[],_),_.create(this._DropdownPopoverComponent_25_4,[],null),this._text_26=this.renderer.createText(null,"\n ",null),this._query_Label_20_0.reset([]),this._Item_20_4.contentLabel=this._query_Label_20_0.first,a.create(this._Item_20_4,[[],[],[].concat([this._text_21,this._el_22,this._text_24,this._el_25,this._text_26]),[],[]],null),this._text_27=this.renderer.createText(this._el_2,"\n ",null),this._text_28=this.renderer.createText(this._el_0,"\n",null),this._text_29=this.renderer.createText(e,"\n",null);var l=this.renderer.listen(this._el_9,"onSelection",this.eventHandler(this._handle_onSelection_9_0.bind(this)));this._expr_1=h.n;var u=this._DropdownPopoverComponent_9_4.onSelection.subscribe(this.eventHandler(this._handle_onSelection_9_0.bind(this))),p=this.renderer.listen(this._el_17,"onSelection",this.eventHandler(this._handle_onSelection_17_0.bind(this)));this._expr_3=h.n;var f=this._DropdownPopoverComponent_17_4.onSelection.subscribe(this.eventHandler(this._handle_onSelection_17_0.bind(this))),m=this.renderer.listen(this._el_25,"onSelection",this.eventHandler(this._handle_onSelection_25_0.bind(this)));this._expr_5=h.n;var g=this._DropdownPopoverComponent_25_4.onSelection.subscribe(this.eventHandler(this._handle_onSelection_25_0.bind(this)));return this._viewQuery_typeDropPop_0.reset([this._DropdownPopoverComponent_9_4]),this.context.typeDropPop=this._viewQuery_typeDropPop_0.first,this._viewQuery_c1DropPop_1.reset([this._DropdownPopoverComponent_17_4]),this.context.c1DropPop=this._viewQuery_c1DropPop_1.first,this._viewQuery_c2DropPop_2.reset([this._DropdownPopoverComponent_25_4]),this.context.c2DropPop=this._viewQuery_c2DropPop_2.first,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._text_8,this._el_9,this._text_10,this._text_11,this._el_12,this._text_13,this._el_14,this._text_15,this._text_16,this._el_17,this._text_18,this._text_19,this._el_20,this._text_21,this._el_22,this._text_23,this._text_24,this._el_25,this._text_26,this._text_27,this._text_28,this._text_29],[l,p,m],[u,f,g]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===b.a&&9===e?this._DropdownPopoverComponent_9_4:t===y.a&&4<=e&&e<=10?this._Item_4_4:t===y.b&&4<=e&&e<=10?this._ItemContent_4_5:t===b.a&&17===e?this._DropdownPopoverComponent_17_4:t===y.a&&12<=e&&e<=18?this._Item_12_4:t===y.b&&12<=e&&e<=18?this._ItemContent_12_5:t===b.a&&25===e?this._DropdownPopoverComponent_25_4:t===y.a&&20<=e&&e<=26?this._Item_20_4:t===y.b&&20<=e&&e<=26?this._ItemContent_20_5:t===x.a&&2<=e&&e<=27?this._List_2_3:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.context.cursorTypeArray;_.c(t,this._expr_1,n)&&(this._DropdownPopoverComponent_9_4.dataArray=n,null===e&&(e={}),e.dataArray=new h.m(this._expr_1,n),this._expr_1=n),null!==e&&this._DropdownPopoverComponent_9_4.ngOnChanges(e),e=null;var i=this.context.activeChans;_.c(t,this._expr_3,i)&&(this._DropdownPopoverComponent_17_4.dataArray=i,null===e&&(e={}),e.dataArray=new h.m(this._expr_3,i),this._expr_3=i),null!==e&&this._DropdownPopoverComponent_17_4.ngOnChanges(e),e=null;var r=this.context.activeChans;_.c(t,this._expr_5,r)&&(this._DropdownPopoverComponent_25_4.dataArray=r,null===e&&(e={}),e.dataArray=new h.m(this._expr_5,r),this._expr_5=r),null!==e&&this._DropdownPopoverComponent_25_4.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(this._query_Button_4_1.dirty&&(this._query_Button_4_1.reset([]),this._Item_4_4._buttons=this._query_Button_4_1,this._query_Button_4_1.notifyOnChanges()),this._query_Icon_4_2.dirty&&(this._query_Icon_4_2.reset([]),this._Item_4_4._icons=this._query_Icon_4_2,this._query_Icon_4_2.notifyOnChanges()),this._query_Button_12_1.dirty&&(this._query_Button_12_1.reset([]),this._Item_12_4._buttons=this._query_Button_12_1,this._query_Button_12_1.notifyOnChanges()),this._query_Icon_12_2.dirty&&(this._query_Icon_12_2.reset([]),this._Item_12_4._icons=this._query_Icon_12_2,this._query_Icon_12_2.notifyOnChanges()),this._query_Button_20_1.dirty&&(this._query_Button_20_1.reset([]),this._Item_20_4._buttons=this._query_Button_20_1,this._query_Button_20_1.notifyOnChanges()),this._query_Icon_20_2.dirty&&(this._query_Icon_20_2.reset([]),this._Item_20_4._icons=this._query_Icon_20_2,this._query_Icon_20_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_4_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_12_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_20_4.ngAfterContentInit()),this.detectViewChildrenChanges(t),t||(0===this.numberOfChecks&&this._DropdownPopoverComponent_9_4.ngAfterViewInit(),0===this.numberOfChecks&&this._DropdownPopoverComponent_17_4.ngAfterViewInit(),0===this.numberOfChecks&&this._DropdownPopoverComponent_25_4.ngAfterViewInit())},e.prototype._handle_onSelection_9_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.cursorTypeSelect(t)!==!1;return e},e.prototype._handle_onSelection_17_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.availableChannelSelect(t,1)!==!1;return e},e.prototype._handle_onSelection_25_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.availableChannelSelect(t,2)!==!1;return e},e}(s.a)},function(t,e,n){"use strict";function i(t,e,n){return null===pt&&(pt=t.createRenderComponentType("",0,k.c.None,[],{})),new dt(t,e,n)}function r(t,e,n){return null===gt&&(gt=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/pages/device-configure/device-configure.html",0,k.c.None,mt,{})),new vt(t,e,n)}function s(t,e,n){return new xt(t,e,n)}function o(t,e,n){return new yt(t,e,n)}function a(t,e,n){return new bt(t,e,n)}function _(t,e,n){return new wt(t,e,n)}function l(t,e,n){return new Ct(t,e,n)}function h(t,e,n){return new Et(t,e,n)}function c(t,e,n){return new Tt(t,e,n)}function u(t,e,n){return new At(t,e,n)}function p(t,e,n){return new It(t,e,n)}function d(t,e,n){return new St(t,e,n)}function f(t,e,n){return new Ot(t,e,n)}function m(t,e,n){return new kt(t,e,n)}var g=n(10),v=n(6),x=n(374),y=n(11),b=n(5),w=n(4),C=n(23),E=n(121),T=n(120),A=n(27),I=n(43),S=n(28),O=n(71),k=n(8),N=n(7),P=n(34),R=n(46),D=n(35),j=n(20),M=n(33),L=n(81),B=n(2),F=n(14),q=n(22),V=n(49),H=n(56),U=n(13),z=n(67),G=n(25),W=n(21),Y=n(112),$=n(44),X=n(111),J=n(58),Q=n(65),Z=n(48),K=n(118),tt=n(39),et=n(37),nt=n(52),it=n(98),rt=n(47),st=n(70),ot=n(51),at=n(60),_t=n(62),lt=n(61),ht=n(41),ct=n(53);n.d(e,"a",function(){return ft});var ut=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},pt=null,dt=function(t){function e(n,i,r){t.call(this,e,pt,b.a.HOST,n,i,r,w.b.CheckAlways)}return ut(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ng-component",t,null),this._appEl_0=new v.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._DeviceConfigurePage_0_4=new x.a(this.parentInjector.get(C.f),this.parentInjector.get(E.a),this.parentInjector.get(T.a),this.parentInjector.get(A.a),this.parentInjector.get(I.DeviceManagerService),this.parentInjector.get(S.a),this.parentInjector.get(O.a)),this._appEl_0.initComponent(this._DeviceConfigurePage_0_4,[],e),e.create(this._DeviceConfigurePage_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===x.a&&0===e?this._DeviceConfigurePage_0_4:n},e}(g.a),ft=new N.a("ng-component",i,x.a),mt=[],gt=null,vt=function(t){function e(n,i,r){t.call(this,e,gt,b.a.COMPONENT,n,i,r,w.b.CheckAlways)}return ut(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_dropdownPop_0=new P.a,this._el_0=this.renderer.createElement(e,"ion-content",null),this.renderer.setElementAttribute(this._el_0,"class","device-configure-modal-container"),this._appEl_0=new v.a(0,null,this,this._el_0);var n=L.a(this.viewUtils,this.injector(0),this._appEl_0);this._Content_0_4=new R.a(this.parentInjector.get(B.c),new F.a(this._el_0),this.renderer,this.parentInjector.get(q.a),this.parentInjector.get(V.a),this.parentInjector.get(H.a),this.parentInjector.get(U.a,null),this.parentInjector.get(z.a,null)),this._appEl_0.initComponent(this._Content_0_4,[],n),this._text_1=this.renderer.createText(null,"\n\n ",null),this._el_2=this.renderer.createElement(null,"div",null),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-row",null),this._Row_4_3=new D.c,this._text_5=this.renderer.createText(this._el_4,"\n ",null),this._el_6=this.renderer.createElement(this._el_4,"ion-col",null),this.renderer.setElementAttribute(this._el_6,"center",""),this.renderer.setElementAttribute(this._el_6,"class","back-button-col"),this._Col_6_3=new D.a,this._text_7=this.renderer.createText(this._el_6,"\n ",null),this._el_8=this.renderer.createElement(this._el_6,"button",null),this.renderer.setElementAttribute(this._el_8,"class","custom-back-button disable-hover"),this.renderer.setElementAttribute(this._el_8,"ion-button",""),this._appEl_8=new v.a(8,6,this,this._el_8);var i=G.a(this.viewUtils,this.injector(8),this._appEl_8);this._Button_8_4=new j.a(null,"",this.parentInjector.get(B.c),new F.a(this._el_8),this.renderer),this._appEl_8.initComponent(this._Button_8_4,[],i),this._text_9=this.renderer.createText(null,"\n ",null),this._el_10=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_10,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_10,"src","assets/img/arrow-back.svg"),this._text_11=this.renderer.createText(null,"\n ",null),i.create(this._Button_8_4,[[].concat([this._text_9,this._el_10,this._text_11])],null),this._text_12=this.renderer.createText(this._el_6,"\n ",null),this._text_13=this.renderer.createText(this._el_4,"\n ",null),this._el_14=this.renderer.createElement(this._el_4,"ion-col",null),this.renderer.setElementAttribute(this._el_14,"center",""),this.renderer.setElementAttribute(this._el_14,"class","config-title-menu-col"),this._Col_14_3=new D.a,this._text_15=this.renderer.createText(this._el_14,"\n Configuration Menu\n ",null),this._text_16=this.renderer.createText(this._el_4,"\n ",null),this._text_17=this.renderer.createText(this._el_2,"\n ",null),this._text_18=this.renderer.createText(null," \n\n ",null),this._text_19=this.renderer.createText(null,"\n ",null),this._el_20=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_20,"text-center",""),this._text_21=this.renderer.createText(this._el_20,"\n ",null),this._anchor_22=this.renderer.createTemplateAnchor(this._el_20,null),this._appEl_22=new v.a(22,20,this,this._anchor_22),this._TemplateRef_22_5=new W.a(this._appEl_22,s),this._NgIf_22_6=new M.a(this._appEl_22.vcRef,this._TemplateRef_22_5),this._text_23=this.renderer.createText(this._el_20,"\n ",null),this._text_24=this.renderer.createText(null,"\n ",null),this._el_25=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_25,"text-center",""),this._text_26=this.renderer.createText(this._el_25,"\n ",null),this._el_27=this.renderer.createElement(this._el_25,"div",null),this.renderer.setElementAttribute(this._el_27,"class","nav-button-wrapper"),this.renderer.setElementAttribute(this._el_27,"text-right",""),this._text_28=this.renderer.createText(this._el_27,"\n ",null),this._el_29=this.renderer.createElement(this._el_27,"button",null),this.renderer.setElementAttribute(this._el_29,"class","text-button-side disable-hover done-button"),this.renderer.setElementAttribute(this._el_29,"ion-button",""),this._appEl_29=new v.a(29,27,this,this._el_29);var r=G.a(this.viewUtils,this.injector(29),this._appEl_29);this._Button_29_4=new j.a(null,"",this.parentInjector.get(B.c),new F.a(this._el_29),this.renderer),this._appEl_29.initComponent(this._Button_29_4,[],r),this._text_30=this.renderer.createText(null,"",null),r.create(this._Button_29_4,[[].concat([this._text_30])],null),this._text_31=this.renderer.createText(this._el_27,"\n ",null),this._text_32=this.renderer.createText(this._el_25,"\n ",null),this._text_33=this.renderer.createText(null,"\n\n",null),n.create(this._Content_0_4,[[],[].concat([this._text_1,this._el_2,this._text_18,this._text_19,this._el_20,this._text_24,this._el_25,this._text_33]),[]],null),this._expr_0=w.n;var o=this.renderer.listen(this._el_8,"click",this.eventHandler(this._handle_click_8_0.bind(this)));this._expr_2=w.n;var a=this.renderer.listen(this._el_29,"click",this.eventHandler(this._handle_click_29_0.bind(this)));return this._expr_4=w.n,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9,this._el_10,this._text_11,this._text_12,this._text_13,this._el_14,this._text_15,this._text_16,this._text_17,this._text_18,this._text_19,this._el_20,this._text_21,this._anchor_22,this._text_23,this._text_24,this._el_25,this._text_26,this._el_27,this._text_28,this._el_29,this._text_30,this._text_31,this._text_32,this._text_33],[o,a],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===j.a&&8<=e&&e<=11?this._Button_8_4:t===D.a&&6<=e&&e<=12?this._Col_6_3:t===D.a&&14<=e&&e<=15?this._Col_14_3:t===D.c&&4<=e&&e<=16?this._Row_4_3:t===W.b&&22===e?this._TemplateRef_22_5:t===M.a&&22===e?this._NgIf_22_6:t===j.a&&29<=e&&e<=30?this._Button_29_4:t===R.a&&0<=e&&e<=33?this._Content_0_4:n},e.prototype.detectChangesInternal=function(t){0!==this.numberOfChecks||t||this._Content_0_4.ngOnInit();var e=this.context.deviceConfigure||this.context.bridgeConfigure;y.c(t,this._expr_2,e)&&(this._NgIf_22_6.ngIf=e,this._expr_2=e),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_8_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_29_4.ngAfterContentInit());var n=this._Content_0_4._sbPadding;y.c(t,this._expr_0,n)&&(this.renderer.setElementClass(this._el_0,"statusbar-padding",n),this._expr_0=n);var i=y.e(1,"\n ",this.context.deviceConfigure&&!this.context.invalidEnumeration?"Done":"Cancel","\n ");y.c(t,this._expr_4,i)&&(this.renderer.setText(this._text_30,i),this._expr_4=i),this.detectViewChildrenChanges(t),t||this._viewQuery_dropdownPop_0.dirty&&(this._viewQuery_dropdownPop_0.reset([this._appEl_22.mapNestedViews(xt,function(t){return[t._appEl_2.mapNestedViews(yt,function(t){return[t._DropdownPopoverComponent_14_4]})]})]),this.context.dropdownPopRef=this._viewQuery_dropdownPop_0.first)},e.prototype.destroyInternal=function(){this._Content_0_4.ngOnDestroy()},e.prototype._handle_click_8_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.done()!==!1;return e},e.prototype._handle_click_29_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.done()!==!1;return e},e}(g.a),xt=function(t){function e(n,i,r){t.call(this,e,gt,b.a.EMBEDDED,n,i,r,w.b.CheckAlways)}return ut(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","configure-item-wrapper"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._anchor_2=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_2=new v.a(2,0,this,this._anchor_2),this._TemplateRef_2_5=new W.a(this._appEl_2,o),this._NgIf_2_6=new M.a(this._appEl_2.vcRef,this._TemplateRef_2_5),this._text_3=this.renderer.createText(this._el_0,"\n\n ",null),this._anchor_4=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_4=new v.a(4,0,this,this._anchor_4),this._TemplateRef_4_5=new W.a(this._appEl_4,_),this._NgIf_4_6=new M.a(this._appEl_4.vcRef,this._TemplateRef_4_5),this._text_5=this.renderer.createText(this._el_0,"\n\n ",null),this._anchor_6=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_6=new v.a(6,0,this,this._anchor_6),this._TemplateRef_6_5=new W.a(this._appEl_6,c),this._NgIf_6_6=new M.a(this._appEl_6.vcRef,this._TemplateRef_6_5),this._text_7=this.renderer.createText(this._el_0,"\n\n ",null),this._anchor_8=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_8=new v.a(8,0,this,this._anchor_8),this._TemplateRef_8_5=new W.a(this._appEl_8,f),this._NgIf_8_6=new M.a(this._appEl_8.vcRef,this._TemplateRef_8_5),this._text_9=this.renderer.createText(this._el_0,"\n\n ",null),this._expr_0=w.n,this._expr_1=w.n,this._expr_2=w.n,this._expr_3=w.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._anchor_2,this._text_3,this._anchor_4,this._text_5,this._anchor_6,this._text_7,this._anchor_8,this._text_9],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===W.b&&2===e?this._TemplateRef_2_5:t===M.a&&2===e?this._NgIf_2_6:t===W.b&&4===e?this._TemplateRef_4_5:t===M.a&&4===e?this._NgIf_4_6:t===W.b&&6===e?this._TemplateRef_6_5:t===M.a&&6===e?this._NgIf_6_6:t===W.b&&8===e?this._TemplateRef_8_5:t===M.a&&8===e?this._NgIf_8_6:n},e.prototype.detectChangesInternal=function(t){var e=this.parent.context.bridgeConfigure;y.c(t,this._expr_0,e)&&(this._NgIf_2_6.ngIf=e,this._expr_0=e);var n=this.parent.context.potentialDevices&&this.parent.context.deviceConfigure;y.c(t,this._expr_1,n)&&(this._NgIf_4_6.ngIf=n,this._expr_1=n);var i=this.parent.context.deviceConfigure&&!this.parent.context.invalidEnumeration;y.c(t,this._expr_2,i)&&(this._NgIf_6_6.ngIf=i,this._expr_2=i);var r=this.parent.context.deviceConfigure&&!this.parent.context.invalidEnumeration;y.c(t,this._expr_3,r)&&(this._NgIf_8_6.ngIf=r,this._expr_3=r),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(g.a),yt=function(t){function e(n,i,r){t.call(this,e,gt,b.a.EMBEDDED,n,i,r,w.b.CheckAlways)}return ut(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-list",null),this.renderer.setElementAttribute(this._el_2,"class","section-list"),this._List_2_3=new Y.a(this.parent.parent.parentInjector.get(B.c),new F.a(this._el_2),this.renderer,this.parent.parent.parentInjector.get(Z.a)),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-item-divider",null),this.renderer.setElementAttribute(this._el_4,"class","list-header item"),this._appEl_4=new v.a(4,2,this,this._el_4);var e=K.a(this.viewUtils,this.injector(4),this._appEl_4);this._Item_4_4=new $.a(this.parent.parent.parentInjector.get(tt.a),this.parent.parent.parentInjector.get(B.c),new F.a(this._el_4),this.renderer),this._query_Label_4_0=new P.a,this._query_Button_4_1=new P.a,this._query_Icon_4_2=new P.a,this._appEl_4.initComponent(this._Item_4_4,[],e),this._text_5=this.renderer.createText(null,"Digilent Agent",null),this._query_Label_4_0.reset([]),this._Item_4_4.contentLabel=this._query_Label_4_0.first,e.create(this._Item_4_4,[[],[],[].concat([this._text_5]),[],[]],null),this._text_6=this.renderer.createText(this._el_2,"\n ",null),this._el_7=this.renderer.createElement(this._el_2,"ion-item",null),this.renderer.setElementAttribute(this._el_7,"class","configure-item item item-block"),this._appEl_7=new v.a(7,2,this,this._el_7);var n=K.a(this.viewUtils,this.injector(7),this._appEl_7);this._Item_7_4=new $.a(this.parent.parent.parentInjector.get(tt.a),this.parent.parent.parentInjector.get(B.c),new F.a(this._el_7),this.renderer),this._ItemContent_7_5=new $.b,this._query_Label_7_0=new P.a,this._query_Button_7_1=new P.a,this._query_Icon_7_2=new P.a,this._appEl_7.initComponent(this._Item_7_4,[],n),this._text_8=this.renderer.createText(null,"\n ",null),this._el_9=this.renderer.createElement(null,"ion-label",null),this._Label_9_3=new X.a(this.parent.parent.parentInjector.get(B.c),new F.a(this._el_9),this.renderer,null,null,null,null),this._text_10=this.renderer.createText(this._el_9,"Selected Device",null),this._text_11=this.renderer.createText(null,"\n ",null),this._el_12=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_12,"class","item-content-right dropdown-popover-item-right"),this.renderer.setElementAttribute(this._el_12,"item-right",""),this._NgClass_12_3=new J.a(this.parent.parent.parentInjector.get(et.a),this.parent.parent.parentInjector.get(nt.a),new F.a(this._el_12),this.renderer),this._text_13=this.renderer.createText(this._el_12,"\n ",null),this._el_14=this.renderer.createElement(this._el_12,"dropdown-popover",null),this._appEl_14=new v.a(14,12,this,this._el_14);var i=it.b(this.viewUtils,this.injector(14),this._appEl_14);this._DropdownPopoverComponent_14_4=new Q.a(this.parent.parent.parentInjector.get(rt.a),new F.a(this._el_14),this.parent.parent.parentInjector.get(C.f)),this._appEl_14.initComponent(this._DropdownPopoverComponent_14_4,[],i),i.create(this._DropdownPopoverComponent_14_4,[],null),this._text_15=this.renderer.createText(this._el_12,"\n ",null),this._text_16=this.renderer.createText(this._el_12,"\n ",null),this._el_17=this.renderer.createElement(this._el_12,"button",null),this.renderer.setElementAttribute(this._el_17,"class","icon-only-button-side alert-button disable-hover"),this.renderer.setElementAttribute(this._el_17,"clear",""),this.renderer.setElementAttribute(this._el_17,"ion-button",""),this.renderer.setElementAttribute(this._el_17,"item-right",""),this._appEl_17=new v.a(17,12,this,this._el_17);var r=G.a(this.viewUtils,this.injector(17),this._appEl_17);this._Button_17_4=new j.a(null,"",this.parent.parent.parentInjector.get(B.c),new F.a(this._el_17),this.renderer),this._appEl_17.initComponent(this._Button_17_4,[],r),this._text_18=this.renderer.createText(null,"\n ",null),this._el_19=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_19,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_19,"src","assets/img/refresh.svg"),this._text_20=this.renderer.createText(null,"\n ",null),r.create(this._Button_17_4,[[].concat([this._text_18,this._el_19,this._text_20])],null),this._text_21=this.renderer.createText(this._el_12,"\n ",null),this._text_22=this.renderer.createText(null,"\n ",null),this._query_Label_7_0.reset([this._Label_9_3]),this._Item_7_4.contentLabel=this._query_Label_7_0.first,n.create(this._Item_7_4,[[],[].concat([this._el_9]),[].concat([this._text_8,this._text_11,this._text_22]),[],[].concat([this._el_12])],null),this._text_23=this.renderer.createText(this._el_2,"\n ",null),this._anchor_24=this.renderer.createTemplateAnchor(this._el_2,null),this._appEl_24=new v.a(24,2,this,this._anchor_24),this._TemplateRef_24_5=new W.a(this._appEl_24,a),this._NgIf_24_6=new M.a(this._appEl_24.vcRef,this._TemplateRef_24_5),this._text_25=this.renderer.createText(this._el_2,"\n ",null),this._el_26=this.renderer.createElement(this._el_2,"ion-item",null),this.renderer.setElementAttribute(this._el_26,"class","configure-item item item-block"),this._appEl_26=new v.a(26,2,this,this._el_26);var s=K.a(this.viewUtils,this.injector(26),this._appEl_26);this._Item_26_4=new $.a(this.parent.parent.parentInjector.get(tt.a),this.parent.parent.parentInjector.get(B.c),new F.a(this._el_26),this.renderer),this._ItemContent_26_5=new $.b,this._query_Label_26_0=new P.a,this._query_Button_26_1=new P.a,this._query_Icon_26_2=new P.a,this._appEl_26.initComponent(this._Item_26_4,[],s),this._text_27=this.renderer.createText(null,"\n ",null),this._el_28=this.renderer.createElement(null,"ion-label",null),this.renderer.setElementAttribute(this._el_28,"fixed",""),this._Label_28_3=new X.a(this.parent.parent.parentInjector.get(B.c),new F.a(this._el_28),this.renderer,null,null,"",null),this._text_29=this.renderer.createText(this._el_28,"Status",null),this._text_30=this.renderer.createText(null,"\n ",null),this._el_31=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_31,"class","item-content-right"),this.renderer.setElementAttribute(this._el_31,"item-right",""),this._text_32=this.renderer.createText(this._el_31,"",null),this._text_33=this.renderer.createText(null,"\n ",null),this._query_Label_26_0.reset([this._Label_28_3]),this._Item_26_4.contentLabel=this._query_Label_26_0.first,s.create(this._Item_26_4,[[],[].concat([this._el_28]),[].concat([this._text_27,this._text_30,this._text_33]),[],[].concat([this._el_31])],null),this._text_34=this.renderer.createText(this._el_2,"\n ",null),this._text_35=this.renderer.createText(this._el_0,"\n ",null),this._expr_0=w.n,this._map_0=y.h(function(t){return{"invalid-enumeration":t}}),this._expr_1=w.n;var o=this.renderer.listen(this._el_14,"onSelection",this.eventHandler(this._handle_onSelection_14_0.bind(this)));this._expr_3=w.n;var _=this._DropdownPopoverComponent_14_4.onSelection.subscribe(this.eventHandler(this._handle_onSelection_14_0.bind(this))),l=this.renderer.listen(this._el_17,"click",this.eventHandler(this._handle_click_17_0.bind(this)));return this._expr_5=w.n,this._expr_6=w.n,this._expr_7=w.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._text_11,this._el_12,this._text_13,this._el_14,this._text_15,this._text_16,this._el_17,this._text_18,this._el_19,this._text_20,this._text_21,this._text_22,this._text_23,this._anchor_24,this._text_25,this._el_26,this._text_27,this._el_28,this._text_29,this._text_30,this._el_31,this._text_32,this._text_33,this._text_34,this._text_35],[o,l],[_]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===$.a&&4<=e&&e<=5?this._Item_4_4:t===X.a&&9<=e&&e<=10?this._Label_9_3:t===Q.a&&14===e?this._DropdownPopoverComponent_14_4:t===j.a&&17<=e&&e<=20?this._Button_17_4:t===J.a&&12<=e&&e<=21?this._NgClass_12_3:t===$.a&&7<=e&&e<=22?this._Item_7_4:t===$.b&&7<=e&&e<=22?this._ItemContent_7_5:t===W.b&&24===e?this._TemplateRef_24_5:t===M.a&&24===e?this._NgIf_24_6:t===X.a&&28<=e&&e<=29?this._Label_28_3:t===$.a&&26<=e&&e<=33?this._Item_26_4:t===$.b&&26<=e&&e<=33?this._ItemContent_26_5:t===Y.a&&2<=e&&e<=34?this._List_2_3:n},e.prototype.detectChangesInternal=function(t){var e=!0,n=null,i="item-content-right dropdown-popover-item-right";y.c(t,this._expr_0,i)&&(this._NgClass_12_3.klass=i,this._expr_0=i);var r=this._map_0(this.parent.parent.context.invalidEnumeration);y.c(t,this._expr_1,r)&&(this._NgClass_12_3.ngClass=r,this._expr_1=r),t||this._NgClass_12_3.ngDoCheck(),n=null;var s=this.parent.parent.context.potentialDevices;y.c(t,this._expr_3,s)&&(this._DropdownPopoverComponent_14_4.dataArray=s,null===n&&(n={}),n.dataArray=new w.m(this._expr_3,s),this._expr_3=s),null!==n&&this._DropdownPopoverComponent_14_4.ngOnChanges(n),e=!1;var o="";y.c(t,this._expr_5,o)&&(this._Button_17_4.clear=o,e=!0,this._expr_5=o),e&&this._appEl_17.componentView.markAsCheckOnce();var a=this.parent.parent.context.potentialDevices;y.c(t,this._expr_6,a)&&(this._NgIf_24_6.ngIf=a,this._expr_6=a),this.detectContentChildrenChanges(t),t||(this._query_Button_4_1.dirty&&(this._query_Button_4_1.reset([]),this._Item_4_4._buttons=this._query_Button_4_1,this._query_Button_4_1.notifyOnChanges()),this._query_Icon_4_2.dirty&&(this._query_Icon_4_2.reset([]),this._Item_4_4._icons=this._query_Icon_4_2,this._query_Icon_4_2.notifyOnChanges()),this._query_Button_7_1.dirty&&(this._query_Button_7_1.reset([]),this._Item_7_4._buttons=this._query_Button_7_1,this._query_Button_7_1.notifyOnChanges()),this._query_Icon_7_2.dirty&&(this._query_Icon_7_2.reset([]),this._Item_7_4._icons=this._query_Icon_7_2,this._query_Icon_7_2.notifyOnChanges()),this._query_Button_26_1.dirty&&(this._query_Button_26_1.reset([]),this._Item_26_4._buttons=this._query_Button_26_1,this._query_Button_26_1.notifyOnChanges()),this._query_Icon_26_2.dirty&&(this._query_Icon_26_2.reset([]),this._Item_26_4._icons=this._query_Icon_26_2,this._query_Icon_26_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_4_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_17_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_7_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_26_4.ngAfterContentInit());var _=y.e(1,"",this.parent.parent.context.deviceConfigure&&!this.parent.parent.context.invalidEnumeration?"Connected":"Not Connected","");y.c(t,this._expr_7,_)&&(this.renderer.setText(this._text_32,_),this._expr_7=_),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._DropdownPopoverComponent_14_4.ngAfterViewInit()},e.prototype.dirtyParentQueriesInternal=function(){this.parent.parent._viewQuery_dropdownPop_0.setDirty()},e.prototype._handle_onSelection_14_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.dropdownDeviceChange(t)!==!1;return e},e.prototype._handle_click_17_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.reEnumerateAgent()!==!1;return e},e}(g.a),bt=function(t){function e(n,i,r){t.call(this,e,gt,b.a.EMBEDDED,n,i,r,w.b.CheckAlways)}return ut(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","configure-item only-button-item item item-block"),this._appEl_0=new v.a(0,null,this,this._el_0);var e=K.a(this.viewUtils,this.injector(0),this._appEl_0);this._Item_0_4=new $.a(this.parent.parent.parent.parentInjector.get(tt.a),this.parent.parent.parent.parentInjector.get(B.c),new F.a(this._el_0),this.renderer),this._ItemContent_0_5=new $.b,this._query_Label_0_0=new P.a,this._query_Button_0_1=new P.a,this._query_Icon_0_2=new P.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null), this._text_2=this.renderer.createText(null,"\n ",null),this._el_3=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_3,"class","text-button-side disable-hover item-button"),this.renderer.setElementAttribute(this._el_3,"ion-button",""),this.renderer.setElementAttribute(this._el_3,"item-right",""),this.renderer.setElementAttribute(this._el_3,"tooltipPlacement","left"),this._appEl_3=new v.a(3,0,this,this._el_3);var n=G.a(this.viewUtils,this.injector(3),this._appEl_3);this._Tooltip_3_5=new st.a(this._appEl_3.vcRef,this.parent.parent.parent.parentInjector.get(ot.a),this.parent.parent.parent.parentInjector.get(C.f)),this._Button_3_6=new j.a(null,"",this.parent.parent.parent.parentInjector.get(B.c),new F.a(this._el_3),this.renderer),this._appEl_3.initComponent(this._Button_3_6,[],n),this._text_4=this.renderer.createText(null,"\n ",null),this._text_5=this.renderer.createText(null,"",null),n.create(this._Button_3_6,[[].concat([this._text_4,this._text_5])],null),this._text_6=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[],[].concat([this._text_1,this._text_2,this._text_6]),[],[].concat([this._appEl_3])],null);var i=this.renderer.listen(this._el_3,"click",this.eventHandler(this._handle_click_3_0.bind(this))),r=this.renderer.listen(this._el_3,"focusin",this.eventHandler(this._handle_focusin_3_1.bind(this))),s=this.renderer.listen(this._el_3,"mouseenter",this.eventHandler(this._handle_mouseenter_3_2.bind(this))),o=this.renderer.listen(this._el_3,"focusout",this.eventHandler(this._handle_focusout_3_3.bind(this))),a=this.renderer.listen(this._el_3,"mouseleave",this.eventHandler(this._handle_mouseleave_3_4.bind(this)));return this._expr_5=w.n,this._expr_6=w.n,this._expr_7=w.n,this._expr_8=w.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._text_2,this._el_3,this._text_4,this._text_5,this._text_6],[i,r,s,o,a],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===st.a&&3<=e&&e<=5?this._Tooltip_3_5:t===j.a&&3<=e&&e<=5?this._Button_3_6:t===$.a&&0<=e&&e<=6?this._Item_0_4:t===$.b&&0<=e&&e<=6?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.parent.context.tooltipService.getTooltip("configDeviceRetryEnumerate").message;y.c(t,this._expr_5,n)&&(this._Tooltip_3_5.content=n,null===e&&(e={}),e.content=new w.m(this._expr_5,n),this._expr_5=n);var i=!0;y.c(t,this._expr_6,i)&&(this._Tooltip_3_5.tooltipAnimation=i,null===e&&(e={}),e.tooltipAnimation=new w.m(this._expr_6,i),this._expr_6=i);var r="left";y.c(t,this._expr_7,r)&&(this._Tooltip_3_5.tooltipPlacement=r,null===e&&(e={}),e.tooltipPlacement=new w.m(this._expr_7,r),this._expr_7=r),null!==e&&this._Tooltip_3_5.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([this._Button_3_6]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Button_3_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit());var s=y.e(1,"\n ",this.parent.parent.parent.context.deviceConfigure&&!this.parent.parent.parent.context.invalidEnumeration?"Re-Enumerate":"Open","\n ");y.c(t,this._expr_8,s)&&(this.renderer.setText(this._text_5,s),this._expr_8=s),this.detectViewChildrenChanges(t)},e.prototype._handle_click_3_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.retryDeviceEnumeration()!==!1;return e},e.prototype._handle_focusin_3_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_3_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_3_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_3_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_3_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_3_5.hide()!==!1;return e},e.prototype._handle_mouseleave_3_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_3_5.hide()!==!1;return e},e}(g.a),wt=function(t){function e(n,i,r){t.call(this,e,gt,b.a.EMBEDDED,n,i,r,w.b.CheckAlways)}return ut(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-list",null),this.renderer.setElementAttribute(this._el_2,"class","section-list"),this._List_2_3=new Y.a(this.parent.parent.parentInjector.get(B.c),new F.a(this._el_2),this.renderer,this.parent.parent.parentInjector.get(Z.a)),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-item-divider",null),this.renderer.setElementAttribute(this._el_4,"class","list-header item"),this._appEl_4=new v.a(4,2,this,this._el_4);var e=K.a(this.viewUtils,this.injector(4),this._appEl_4);this._Item_4_4=new $.a(this.parent.parent.parentInjector.get(tt.a),this.parent.parent.parentInjector.get(B.c),new F.a(this._el_4),this.renderer),this._query_Label_4_0=new P.a,this._query_Button_4_1=new P.a,this._query_Icon_4_2=new P.a,this._appEl_4.initComponent(this._Item_4_4,[],e),this._text_5=this.renderer.createText(null,"Firmware",null),this._query_Label_4_0.reset([]),this._Item_4_4.contentLabel=this._query_Label_4_0.first,e.create(this._Item_4_4,[[],[],[].concat([this._text_5]),[],[]],null),this._text_6=this.renderer.createText(this._el_2,"\n ",null),this._el_7=this.renderer.createElement(this._el_2,"ion-item",null),this.renderer.setElementAttribute(this._el_7,"class","configure-item item item-block"),this._appEl_7=new v.a(7,2,this,this._el_7);var n=K.a(this.viewUtils,this.injector(7),this._appEl_7);return this._Item_7_4=new $.a(this.parent.parent.parentInjector.get(tt.a),this.parent.parent.parentInjector.get(B.c),new F.a(this._el_7),this.renderer),this._ItemContent_7_5=new $.b,this._query_Label_7_0=new P.a,this._query_Button_7_1=new P.a,this._query_Icon_7_2=new P.a,this._appEl_7.initComponent(this._Item_7_4,[],n),this._text_8=this.renderer.createText(null,"\n ",null),this._el_9=this.renderer.createElement(null,"ion-label",null),this.renderer.setElementAttribute(this._el_9,"fixed",""),this._Label_9_3=new X.a(this.parent.parent.parentInjector.get(B.c),new F.a(this._el_9),this.renderer,null,null,"",null),this._text_10=this.renderer.createText(this._el_9,"Firmware Version",null),this._text_11=this.renderer.createText(null,"\n ",null),this._el_12=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_12,"class","item-content-right"),this.renderer.setElementAttribute(this._el_12,"item-right",""),this._text_13=this.renderer.createText(this._el_12,"",null),this._text_14=this.renderer.createText(null,"\n ",null),this._query_Label_7_0.reset([this._Label_9_3]),this._Item_7_4.contentLabel=this._query_Label_7_0.first,n.create(this._Item_7_4,[[],[].concat([this._el_9]),[].concat([this._text_8,this._text_11,this._text_14]),[],[].concat([this._el_12])],null),this._text_15=this.renderer.createText(this._el_2,"\n ",null),this._anchor_16=this.renderer.createTemplateAnchor(this._el_2,null),this._appEl_16=new v.a(16,2,this,this._anchor_16),this._TemplateRef_16_5=new W.a(this._appEl_16,l),this._NgIf_16_6=new M.a(this._appEl_16.vcRef,this._TemplateRef_16_5),this._text_17=this.renderer.createText(this._el_2,"\n ",null),this._anchor_18=this.renderer.createTemplateAnchor(this._el_2,null),this._appEl_18=new v.a(18,2,this,this._anchor_18),this._TemplateRef_18_5=new W.a(this._appEl_18,h),this._NgIf_18_6=new M.a(this._appEl_18.vcRef,this._TemplateRef_18_5),this._text_19=this.renderer.createText(this._el_2,"\n ",null),this._text_20=this.renderer.createText(this._el_0,"\n ",null),this._expr_0=w.n,this._expr_1=w.n,this._expr_2=w.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._text_11,this._el_12,this._text_13,this._text_14,this._text_15,this._anchor_16,this._text_17,this._anchor_18,this._text_19,this._text_20],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===$.a&&4<=e&&e<=5?this._Item_4_4:t===X.a&&9<=e&&e<=10?this._Label_9_3:t===$.a&&7<=e&&e<=14?this._Item_7_4:t===$.b&&7<=e&&e<=14?this._ItemContent_7_5:t===W.b&&16===e?this._TemplateRef_16_5:t===M.a&&16===e?this._NgIf_16_6:t===W.b&&18===e?this._TemplateRef_18_5:t===M.a&&18===e?this._NgIf_18_6:t===Y.a&&2<=e&&e<=19?this._List_2_3:n},e.prototype.detectChangesInternal=function(t){var e=this.parent.parent.context.deviceObject&&"local"!==this.parent.parent.context.deviceObject.ipAddress&&this.parent.parent.context.deviceObject.bridge;y.c(t,this._expr_1,e)&&(this._NgIf_16_6.ngIf=e,this._expr_1=e);var n=null==this.parent.parent.context.deviceObject;y.c(t,this._expr_2,n)&&(this._NgIf_18_6.ngIf=n,this._expr_2=n),this.detectContentChildrenChanges(t),t||(this._query_Button_4_1.dirty&&(this._query_Button_4_1.reset([]),this._Item_4_4._buttons=this._query_Button_4_1,this._query_Button_4_1.notifyOnChanges()),this._query_Icon_4_2.dirty&&(this._query_Icon_4_2.reset([]),this._Item_4_4._icons=this._query_Icon_4_2,this._query_Icon_4_2.notifyOnChanges()),this._query_Button_7_1.dirty&&(this._query_Button_7_1.reset([]),this._Item_7_4._buttons=this._query_Button_7_1,this._query_Button_7_1.notifyOnChanges()),this._query_Icon_7_2.dirty&&(this._query_Icon_7_2.reset([]),this._Item_7_4._icons=this._query_Icon_7_2,this._query_Icon_7_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_4_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_7_4.ngAfterContentInit());var i=y.e(1,"",this.parent.parent.context.getFirmwareVersion(),"");y.c(t,this._expr_0,i)&&(this.renderer.setText(this._text_13,i),this._expr_0=i),this.detectViewChildrenChanges(t)},e}(g.a),Ct=function(t){function e(n,i,r){t.call(this,e,gt,b.a.EMBEDDED,n,i,r,w.b.CheckAlways)}return ut(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","configure-item only-button-item item item-block"),this._appEl_0=new v.a(0,null,this,this._el_0);var e=K.a(this.viewUtils,this.injector(0),this._appEl_0);this._Item_0_4=new $.a(this.parent.parent.parent.parentInjector.get(tt.a),this.parent.parent.parent.parentInjector.get(B.c),new F.a(this._el_0),this.renderer),this._ItemContent_0_5=new $.b,this._query_Label_0_0=new P.a,this._query_Button_0_1=new P.a,this._query_Icon_0_2=new P.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_2,"class","text-button-side item-button disable-hover"),this.renderer.setElementAttribute(this._el_2,"clear",""),this.renderer.setElementAttribute(this._el_2,"ion-button",""),this.renderer.setElementAttribute(this._el_2,"item-right",""),this._appEl_2=new v.a(2,0,this,this._el_2);var n=G.a(this.viewUtils,this.injector(2),this._appEl_2);this._Button_2_4=new j.a(null,"",this.parent.parent.parent.parentInjector.get(B.c),new F.a(this._el_2),this.renderer),this._appEl_2.initComponent(this._Button_2_4,[],n),this._text_3=this.renderer.createText(null,"Update Firmware",null),n.create(this._Button_2_4,[[].concat([this._text_3])],null),this._text_4=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[],[].concat([this._text_1,this._text_4]),[],[].concat([this._el_2])],null);var i=this.renderer.listen(this._el_2,"click",this.eventHandler(this._handle_click_2_0.bind(this)));return this._expr_1=w.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[i],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===j.a&&2<=e&&e<=3?this._Button_2_4:t===$.a&&0<=e&&e<=4?this._Item_0_4:t===$.b&&0<=e&&e<=4?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){var e=!0;e=!1;var n="";y.c(t,this._expr_1,n)&&(this._Button_2_4.clear=n,e=!0,this._expr_1=n),e&&this._appEl_2.componentView.markAsCheckOnce(),this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([this._Button_2_4]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Button_2_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit()),this.detectViewChildrenChanges(t)},e.prototype._handle_click_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.openCorrectFirmwareModal()!==!1;return e},e}(g.a),Et=function(t){function e(n,i,r){t.call(this,e,gt,b.a.EMBEDDED,n,i,r,w.b.CheckAlways)}return ut(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","configure-item only-button-item item item-block"),this._appEl_0=new v.a(0,null,this,this._el_0);var e=K.a(this.viewUtils,this.injector(0),this._appEl_0);this._Item_0_4=new $.a(this.parent.parent.parent.parentInjector.get(tt.a),this.parent.parent.parent.parentInjector.get(B.c),new F.a(this._el_0),this.renderer),this._ItemContent_0_5=new $.b,this._query_Label_0_0=new P.a,this._query_Button_0_1=new P.a,this._query_Icon_0_2=new P.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_2,"class","text-button-side item-button disable-hover"),this.renderer.setElementAttribute(this._el_2,"clear",""),this.renderer.setElementAttribute(this._el_2,"ion-button",""),this.renderer.setElementAttribute(this._el_2,"item-right",""),this._appEl_2=new v.a(2,0,this,this._el_2);var n=G.a(this.viewUtils,this.injector(2),this._appEl_2);this._Button_2_4=new j.a(null,"",this.parent.parent.parent.parentInjector.get(B.c),new F.a(this._el_2),this.renderer),this._appEl_2.initComponent(this._Button_2_4,[],n),this._text_3=this.renderer.createText(null,"Load Firmware",null),n.create(this._Button_2_4,[[].concat([this._text_3])],null),this._text_4=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[],[].concat([this._text_1,this._text_4]),[],[].concat([this._el_2])],null);var i=this.renderer.listen(this._el_2,"click",this.eventHandler(this._handle_click_2_0.bind(this)));return this._expr_1=w.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[i],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===j.a&&2<=e&&e<=3?this._Button_2_4:t===$.a&&0<=e&&e<=4?this._Item_0_4:t===$.b&&0<=e&&e<=4?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){var e=!0;e=!1;var n="";y.c(t,this._expr_1,n)&&(this._Button_2_4.clear=n,e=!0,this._expr_1=n),e&&this._appEl_2.componentView.markAsCheckOnce(),this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([this._Button_2_4]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Button_2_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit()),this.detectViewChildrenChanges(t)},e.prototype._handle_click_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.openCorrectFirmwareModal()!==!1;return e},e}(g.a),Tt=function(t){function e(n,i,r){t.call(this,e,gt,b.a.EMBEDDED,n,i,r,w.b.CheckAlways)}return ut(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-list",null),this.renderer.setElementAttribute(this._el_2,"class","section-list"),this._List_2_3=new Y.a(this.parent.parent.parentInjector.get(B.c),new F.a(this._el_2),this.renderer,this.parent.parent.parentInjector.get(Z.a)),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-item-divider",null),this.renderer.setElementAttribute(this._el_4,"class","list-header item"),this._appEl_4=new v.a(4,2,this,this._el_4);var e=K.a(this.viewUtils,this.injector(4),this._appEl_4);this._Item_4_4=new $.a(this.parent.parent.parentInjector.get(tt.a),this.parent.parent.parentInjector.get(B.c),new F.a(this._el_4),this.renderer),this._query_Label_4_0=new P.a,this._query_Button_4_1=new P.a,this._query_Icon_4_2=new P.a,this._appEl_4.initComponent(this._Item_4_4,[],e),this._text_5=this.renderer.createText(null,"Network Settings",null),this._query_Label_4_0.reset([]),this._Item_4_4.contentLabel=this._query_Label_4_0.first,e.create(this._Item_4_4,[[],[],[].concat([this._text_5]),[],[]],null),this._text_6=this.renderer.createText(this._el_2,"\n ",null),this._el_7=this.renderer.createElement(this._el_2,"ion-item",null),this.renderer.setElementAttribute(this._el_7,"class","configure-item first-item item item-block"),this._appEl_7=new v.a(7,2,this,this._el_7);var n=K.a(this.viewUtils,this.injector(7),this._appEl_7);this._Item_7_4=new $.a(this.parent.parent.parentInjector.get(tt.a),this.parent.parent.parentInjector.get(B.c),new F.a(this._el_7),this.renderer),this._ItemContent_7_5=new $.b,this._query_Label_7_0=new P.a,this._query_Button_7_1=new P.a,this._query_Icon_7_2=new P.a,this._appEl_7.initComponent(this._Item_7_4,[],n),this._text_8=this.renderer.createText(null,"\n ",null),this._el_9=this.renderer.createElement(null,"ion-label",null),this._Label_9_3=new X.a(this.parent.parent.parentInjector.get(B.c),new F.a(this._el_9),this.renderer,null,null,null,null),this._text_10=this.renderer.createText(this._el_9,"Name",null),this._text_11=this.renderer.createText(null,"\n ",null),this._el_12=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_12,"class","item-content-right hostname-input-wrapper"),this.renderer.setElementAttribute(this._el_12,"item-right",""),this._text_13=this.renderer.createText(this._el_12,"\n ",null),this._el_14=this.renderer.createElement(this._el_12,"input",null),this.renderer.setElementAttribute(this._el_14,"class","custom-input"),this._DefaultValueAccessor_14_3=new at.a(this.renderer,new F.a(this._el_14)),this._NG_VALUE_ACCESSOR_14_4=[this._DefaultValueAccessor_14_3],this._NgModel_14_5=new _t.a(null,null,null,this._NG_VALUE_ACCESSOR_14_4),this._NgControl_14_6=this._NgModel_14_5,this._NgControlStatus_14_7=new lt.a(this._NgControl_14_6),this._text_15=this.renderer.createText(this._el_12,"\n ",null),this._text_16=this.renderer.createText(null,"\n ",null),this._query_Label_7_0.reset([this._Label_9_3]),this._Item_7_4.contentLabel=this._query_Label_7_0.first,n.create(this._Item_7_4,[[],[].concat([this._el_9]),[].concat([this._text_8,this._text_11,this._text_16]),[],[].concat([this._el_12])],null),this._text_17=this.renderer.createText(this._el_2,"\n ",null),this._el_18=this.renderer.createElement(this._el_2,"ion-item",null),this.renderer.setElementAttribute(this._el_18,"class","configure-item item item-block"),this._appEl_18=new v.a(18,2,this,this._el_18);var i=K.a(this.viewUtils,this.injector(18),this._appEl_18);this._Item_18_4=new $.a(this.parent.parent.parentInjector.get(tt.a),this.parent.parent.parentInjector.get(B.c),new F.a(this._el_18),this.renderer),this._ItemContent_18_5=new $.b,this._query_Label_18_0=new P.a,this._query_Button_18_1=new P.a,this._query_Icon_18_2=new P.a,this._appEl_18.initComponent(this._Item_18_4,[],i),this._text_19=this.renderer.createText(null,"\n ",null),this._el_20=this.renderer.createElement(null,"ion-label",null),this._Label_20_3=new X.a(this.parent.parent.parentInjector.get(B.c),new F.a(this._el_20),this.renderer,null,null,null,null),this._text_21=this.renderer.createText(this._el_20,"Device Address",null),this._text_22=this.renderer.createText(null,"\n ",null),this._el_23=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_23,"class","item-content-right"),this.renderer.setElementAttribute(this._el_23,"item-right",""),this._text_24=this.renderer.createText(this._el_23,"",null),this._text_25=this.renderer.createText(null,"\n ",null),this._query_Label_18_0.reset([this._Label_20_3]),this._Item_18_4.contentLabel=this._query_Label_18_0.first,i.create(this._Item_18_4,[[],[].concat([this._el_20]),[].concat([this._text_19,this._text_22,this._text_25]),[],[].concat([this._el_23])],null),this._text_26=this.renderer.createText(this._el_2,"\n ",null),this._anchor_27=this.renderer.createTemplateAnchor(this._el_2,null),this._appEl_27=new v.a(27,2,this,this._anchor_27),this._TemplateRef_27_5=new W.a(this._appEl_27,u),this._NgIf_27_6=new M.a(this._appEl_27.vcRef,this._TemplateRef_27_5),this._text_28=this.renderer.createText(this._el_2,"\n ",null),this._el_29=this.renderer.createElement(this._el_2,"ion-item",null),this.renderer.setElementAttribute(this._el_29,"class","configure-item item item-block"),this._appEl_29=new v.a(29,2,this,this._el_29);var r=K.a(this.viewUtils,this.injector(29),this._appEl_29);this._Item_29_4=new $.a(this.parent.parent.parentInjector.get(tt.a),this.parent.parent.parentInjector.get(B.c),new F.a(this._el_29),this.renderer),this._ItemContent_29_5=new $.b,this._query_Label_29_0=new P.a,this._query_Button_29_1=new P.a,this._query_Icon_29_2=new P.a,this._appEl_29.initComponent(this._Item_29_4,[],r),this._text_30=this.renderer.createText(null,"\n ",null),this._el_31=this.renderer.createElement(null,"ion-label",null),this._Label_31_3=new X.a(this.parent.parent.parentInjector.get(B.c),new F.a(this._el_31),this.renderer,null,null,null,null),this._text_32=this.renderer.createText(this._el_31,"Wifi Status",null),this._text_33=this.renderer.createText(null,"\n ",null),this._el_34=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_34,"class","item-content-right"),this.renderer.setElementAttribute(this._el_34,"item-right",""),this._text_35=this.renderer.createText(this._el_34,"",null),this._text_36=this.renderer.createText(null,"\n ",null),this._query_Label_29_0.reset([this._Label_31_3]),this._Item_29_4.contentLabel=this._query_Label_29_0.first,r.create(this._Item_29_4,[[],[].concat([this._el_31]),[].concat([this._text_30,this._text_33,this._text_36]),[],[].concat([this._el_34])],null),this._text_37=this.renderer.createText(this._el_2,"\n ",null),this._el_38=this.renderer.createElement(this._el_2,"ion-item",null),this.renderer.setElementAttribute(this._el_38,"class","configure-item item item-block"),this._appEl_38=new v.a(38,2,this,this._el_38);var s=K.a(this.viewUtils,this.injector(38),this._appEl_38);this._Item_38_4=new $.a(this.parent.parent.parentInjector.get(tt.a),this.parent.parent.parentInjector.get(B.c),new F.a(this._el_38),this.renderer),this._ItemContent_38_5=new $.b,this._query_Label_38_0=new P.a,this._query_Button_38_1=new P.a,this._query_Icon_38_2=new P.a,this._appEl_38.initComponent(this._Item_38_4,[],s),this._text_39=this.renderer.createText(null,"\n ",null),this._el_40=this.renderer.createElement(null,"ion-label",null),this._Label_40_3=new X.a(this.parent.parent.parentInjector.get(B.c),new F.a(this._el_40),this.renderer,null,null,null,null),this._text_41=this.renderer.createText(this._el_40,"SSID",null),this._text_42=this.renderer.createText(null,"\n ",null),this._el_43=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_43,"class","item-content-right"),this.renderer.setElementAttribute(this._el_43,"item-right",""),this._text_44=this.renderer.createText(this._el_43,"",null),this._text_45=this.renderer.createText(null,"\n ",null),this._query_Label_38_0.reset([this._Label_40_3]),this._Item_38_4.contentLabel=this._query_Label_38_0.first,s.create(this._Item_38_4,[[],[].concat([this._el_40]),[].concat([this._text_39,this._text_42,this._text_45]),[],[].concat([this._el_43])],null),this._text_46=this.renderer.createText(this._el_2,"\n ",null),this._anchor_47=this.renderer.createTemplateAnchor(this._el_2,null),this._appEl_47=new v.a(47,2,this,this._anchor_47),this._TemplateRef_47_5=new W.a(this._appEl_47,p),this._NgIf_47_6=new M.a(this._appEl_47.vcRef,this._TemplateRef_47_5),this._text_48=this.renderer.createText(this._el_2,"\n ",null),this._anchor_49=this.renderer.createTemplateAnchor(this._el_2,null),this._appEl_49=new v.a(49,2,this,this._anchor_49),this._TemplateRef_49_5=new W.a(this._appEl_49,d),this._NgIf_49_6=new M.a(this._appEl_49.vcRef,this._TemplateRef_49_5),this._text_50=this.renderer.createText(this._el_2,"\n ",null),this._text_51=this.renderer.createText(this._el_0,"\n ",null);var o=this.renderer.listen(this._el_14,"ngModelChange",this.eventHandler(this._handle_ngModelChange_14_0.bind(this))),a=this.renderer.listen(this._el_14,"input",this.eventHandler(this._handle_input_14_1.bind(this))),_=this.renderer.listen(this._el_14,"blur",this.eventHandler(this._handle_blur_14_2.bind(this)));this._expr_3=w.n;var l=this._NgModel_14_5.update.subscribe(this.eventHandler(this._handle_ngModelChange_14_0.bind(this)));return this._expr_4=w.n,this._expr_5=w.n,this._expr_6=w.n,this._expr_7=w.n,this._expr_8=w.n,this._expr_9=w.n,this._expr_10=w.n,this._expr_11=w.n,this._expr_12=w.n,this._expr_13=w.n,this._expr_14=w.n,this._expr_15=w.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._text_11,this._el_12,this._text_13,this._el_14,this._text_15,this._text_16,this._text_17,this._el_18,this._text_19,this._el_20,this._text_21,this._text_22,this._el_23,this._text_24,this._text_25,this._text_26,this._anchor_27,this._text_28,this._el_29,this._text_30,this._el_31,this._text_32,this._text_33,this._el_34,this._text_35,this._text_36,this._text_37,this._el_38,this._text_39,this._el_40,this._text_41,this._text_42,this._el_43,this._text_44,this._text_45,this._text_46,this._anchor_47,this._text_48,this._anchor_49,this._text_50,this._text_51],[o,a,_],[l]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===$.a&&4<=e&&e<=5?this._Item_4_4:t===X.a&&9<=e&&e<=10?this._Label_9_3:t===at.a&&14===e?this._DefaultValueAccessor_14_3:t===ht.a&&14===e?this._NG_VALUE_ACCESSOR_14_4:t===_t.a&&14===e?this._NgModel_14_5:t===ct.a&&14===e?this._NgControl_14_6:t===lt.a&&14===e?this._NgControlStatus_14_7:t===$.a&&7<=e&&e<=16?this._Item_7_4:t===$.b&&7<=e&&e<=16?this._ItemContent_7_5:t===X.a&&20<=e&&e<=21?this._Label_20_3:t===$.a&&18<=e&&e<=25?this._Item_18_4:t===$.b&&18<=e&&e<=25?this._ItemContent_18_5:t===W.b&&27===e?this._TemplateRef_27_5:t===M.a&&27===e?this._NgIf_27_6:t===X.a&&31<=e&&e<=32?this._Label_31_3:t===$.a&&29<=e&&e<=36?this._Item_29_4:t===$.b&&29<=e&&e<=36?this._ItemContent_29_5:t===X.a&&40<=e&&e<=41?this._Label_40_3:t===$.a&&38<=e&&e<=45?this._Item_38_4:t===$.b&&38<=e&&e<=45?this._ItemContent_38_5:t===W.b&&47===e?this._TemplateRef_47_5:t===M.a&&47===e?this._NgIf_47_6:t===W.b&&49===e?this._TemplateRef_49_5:t===M.a&&49===e?this._NgIf_49_6:t===Y.a&&2<=e&&e<=50?this._List_2_3:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.context.deviceObject.hostname;y.c(t,this._expr_3,n)&&(this._NgModel_14_5.model=n,null===e&&(e={}),e.model=new w.m(this._expr_3,n),this._expr_3=n),null!==e&&this._NgModel_14_5.ngOnChanges(e);var i=null!=this.parent.parent.context.deviceObject.deviceDescriptor.macAddress;y.c(t,this._expr_11,i)&&(this._NgIf_27_6.ngIf=i,this._expr_11=i);var r=this.parent.parent.context.deviceObject.bridge;y.c(t,this._expr_14,r)&&(this._NgIf_47_6.ngIf=r,this._expr_14=r);var s="local"!==this.parent.parent.context.deviceObject.ipAddress;y.c(t,this._expr_15,s)&&(this._NgIf_49_6.ngIf=s,this._expr_15=s),this.detectContentChildrenChanges(t),t||(this._query_Button_4_1.dirty&&(this._query_Button_4_1.reset([]),this._Item_4_4._buttons=this._query_Button_4_1,this._query_Button_4_1.notifyOnChanges()),this._query_Icon_4_2.dirty&&(this._query_Icon_4_2.reset([]),this._Item_4_4._icons=this._query_Icon_4_2,this._query_Icon_4_2.notifyOnChanges()),this._query_Button_7_1.dirty&&(this._query_Button_7_1.reset([]),this._Item_7_4._buttons=this._query_Button_7_1,this._query_Button_7_1.notifyOnChanges()),this._query_Icon_7_2.dirty&&(this._query_Icon_7_2.reset([]),this._Item_7_4._icons=this._query_Icon_7_2,this._query_Icon_7_2.notifyOnChanges()),this._query_Button_18_1.dirty&&(this._query_Button_18_1.reset([]),this._Item_18_4._buttons=this._query_Button_18_1,this._query_Button_18_1.notifyOnChanges()),this._query_Icon_18_2.dirty&&(this._query_Icon_18_2.reset([]),this._Item_18_4._icons=this._query_Icon_18_2,this._query_Icon_18_2.notifyOnChanges()),this._query_Button_29_1.dirty&&(this._query_Button_29_1.reset([]),this._Item_29_4._buttons=this._query_Button_29_1,this._query_Button_29_1.notifyOnChanges()),this._query_Icon_29_2.dirty&&(this._query_Icon_29_2.reset([]),this._Item_29_4._icons=this._query_Icon_29_2,this._query_Icon_29_2.notifyOnChanges()),this._query_Button_38_1.dirty&&(this._query_Button_38_1.reset([]),this._Item_38_4._buttons=this._query_Button_38_1,this._query_Button_38_1.notifyOnChanges()),this._query_Icon_38_2.dirty&&(this._query_Icon_38_2.reset([]),this._Item_38_4._icons=this._query_Icon_38_2,this._query_Icon_38_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_4_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_7_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_18_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_29_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_38_4.ngAfterContentInit());var o=this._NgControlStatus_14_7.ngClassUntouched;y.c(t,this._expr_4,o)&&(this.renderer.setElementClass(this._el_14,"ng-untouched",o),this._expr_4=o);var a=this._NgControlStatus_14_7.ngClassTouched;y.c(t,this._expr_5,a)&&(this.renderer.setElementClass(this._el_14,"ng-touched",a),this._expr_5=a);var _=this._NgControlStatus_14_7.ngClassPristine;y.c(t,this._expr_6,_)&&(this.renderer.setElementClass(this._el_14,"ng-pristine",_),this._expr_6=_);var l=this._NgControlStatus_14_7.ngClassDirty;y.c(t,this._expr_7,l)&&(this.renderer.setElementClass(this._el_14,"ng-dirty",l),this._expr_7=l);var h=this._NgControlStatus_14_7.ngClassValid;y.c(t,this._expr_8,h)&&(this.renderer.setElementClass(this._el_14,"ng-valid",h),this._expr_8=h);var c=this._NgControlStatus_14_7.ngClassInvalid;y.c(t,this._expr_9,c)&&(this.renderer.setElementClass(this._el_14,"ng-invalid",c), this._expr_9=c);var u=y.e(1,"",this.parent.parent.context.deviceObject.connectedDeviceAddress||this.parent.parent.context.deviceObject.ipAddress,"");y.c(t,this._expr_10,u)&&(this.renderer.setText(this._text_24,u),this._expr_10=u);var p=y.e(1,"",this.parent.parent.context.nicStatusContainer.status,"");y.c(t,this._expr_12,p)&&(this.renderer.setText(this._text_35,p),this._expr_12=p);var d=y.e(1,"",this.parent.parent.context.nicStatusContainer.ssid,"");y.c(t,this._expr_13,d)&&(this.renderer.setText(this._text_44,d),this._expr_13=d),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_14_5.ngOnDestroy()},e.prototype._handle_ngModelChange_14_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.parent.context.deviceObject.hostname=t)!==!1;return e},e.prototype._handle_input_14_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_14_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_14_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_14_3.onTouched()!==!1;return e},e}(g.a),At=function(t){function e(n,i,r){t.call(this,e,gt,b.a.EMBEDDED,n,i,r,w.b.CheckAlways)}return ut(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","configure-item item item-block"),this._appEl_0=new v.a(0,null,this,this._el_0);var e=K.a(this.viewUtils,this.injector(0),this._appEl_0);return this._Item_0_4=new $.a(this.parent.parent.parent.parentInjector.get(tt.a),this.parent.parent.parent.parentInjector.get(B.c),new F.a(this._el_0),this.renderer),this._ItemContent_0_5=new $.b,this._query_Label_0_0=new P.a,this._query_Button_0_1=new P.a,this._query_Icon_0_2=new P.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"ion-label",null),this._Label_2_3=new X.a(this.parent.parent.parent.parentInjector.get(B.c),new F.a(this._el_2),this.renderer,null,null,null,null),this._text_3=this.renderer.createText(this._el_2,"MAC Address",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_5,"class","item-content-right"),this.renderer.setElementAttribute(this._el_5,"item-right",""),this._text_6=this.renderer.createText(this._el_5,"",null),this._text_7=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([this._Label_2_3]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[].concat([this._el_2]),[].concat([this._text_1,this._text_4,this._text_7]),[],[].concat([this._el_5])],null),this._expr_0=w.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._text_7],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===X.a&&2<=e&&e<=3?this._Label_2_3:t===$.a&&0<=e&&e<=7?this._Item_0_4:t===$.b&&0<=e&&e<=7?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit());var e=y.e(1,"",this.parent.parent.parent.context.deviceObject.deviceDescriptor.macAddress,"");y.c(t,this._expr_0,e)&&(this.renderer.setText(this._text_6,e),this._expr_0=e),this.detectViewChildrenChanges(t)},e}(g.a),It=function(t){function e(n,i,r){t.call(this,e,gt,b.a.EMBEDDED,n,i,r,w.b.CheckAlways)}return ut(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","configure-item item item-block"),this._appEl_0=new v.a(0,null,this,this._el_0);var e=K.a(this.viewUtils,this.injector(0),this._appEl_0);return this._Item_0_4=new $.a(this.parent.parent.parent.parentInjector.get(tt.a),this.parent.parent.parent.parentInjector.get(B.c),new F.a(this._el_0),this.renderer),this._ItemContent_0_5=new $.b,this._query_Label_0_0=new P.a,this._query_Button_0_1=new P.a,this._query_Icon_0_2=new P.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"ion-label",null),this._Label_2_3=new X.a(this.parent.parent.parent.parentInjector.get(B.c),new F.a(this._el_2),this.renderer,null,null,null,null),this._text_3=this.renderer.createText(this._el_2,"Device IP Address",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_5,"class","item-content-right"),this.renderer.setElementAttribute(this._el_5,"item-right",""),this._text_6=this.renderer.createText(this._el_5,"",null),this._text_7=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([this._Label_2_3]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[].concat([this._el_2]),[].concat([this._text_1,this._text_4,this._text_7]),[],[].concat([this._el_5])],null),this._expr_0=w.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._text_7],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===X.a&&2<=e&&e<=3?this._Label_2_3:t===$.a&&0<=e&&e<=7?this._Item_0_4:t===$.b&&0<=e&&e<=7?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit());var e=y.e(1,"",this.parent.parent.parent.context.nicStatusContainer.ipAddress,"");y.c(t,this._expr_0,e)&&(this.renderer.setText(this._text_6,e),this._expr_0=e),this.detectViewChildrenChanges(t)},e}(g.a),St=function(t){function e(n,i,r){t.call(this,e,gt,b.a.EMBEDDED,n,i,r,w.b.CheckAlways)}return ut(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","configure-item only-button-item item item-block"),this._appEl_0=new v.a(0,null,this,this._el_0);var e=K.a(this.viewUtils,this.injector(0),this._appEl_0);this._Item_0_4=new $.a(this.parent.parent.parent.parentInjector.get(tt.a),this.parent.parent.parent.parentInjector.get(B.c),new F.a(this._el_0),this.renderer),this._ItemContent_0_5=new $.b,this._query_Label_0_0=new P.a,this._query_Button_0_1=new P.a,this._query_Icon_0_2=new P.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_2,"class","text-button-side item-button disable-hover"),this.renderer.setElementAttribute(this._el_2,"clear",""),this.renderer.setElementAttribute(this._el_2,"ion-button",""),this.renderer.setElementAttribute(this._el_2,"item-right",""),this._appEl_2=new v.a(2,0,this,this._el_2);var n=G.a(this.viewUtils,this.injector(2),this._appEl_2);this._Button_2_4=new j.a(null,"",this.parent.parent.parent.parentInjector.get(B.c),new F.a(this._el_2),this.renderer),this._appEl_2.initComponent(this._Button_2_4,[],n),this._text_3=this.renderer.createText(null,"Setup Wifi",null),n.create(this._Button_2_4,[[].concat([this._text_3])],null),this._text_4=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[],[].concat([this._text_1,this._text_4]),[],[].concat([this._el_2])],null);var i=this.renderer.listen(this._el_2,"click",this.eventHandler(this._handle_click_2_0.bind(this)));return this._expr_1=w.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[i],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===j.a&&2<=e&&e<=3?this._Button_2_4:t===$.a&&0<=e&&e<=4?this._Item_0_4:t===$.b&&0<=e&&e<=4?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){var e=!0;e=!1;var n="";y.c(t,this._expr_1,n)&&(this._Button_2_4.clear=n,e=!0,this._expr_1=n),e&&this._appEl_2.componentView.markAsCheckOnce(),this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([this._Button_2_4]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Button_2_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit()),this.detectViewChildrenChanges(t)},e.prototype._handle_click_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.openWifiWizard()!==!1;return e},e}(g.a),Ot=function(t){function e(n,i,r){t.call(this,e,gt,b.a.EMBEDDED,n,i,r,w.b.CheckAlways)}return ut(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-list",null),this.renderer.setElementAttribute(this._el_2,"class","section-list"),this._List_2_3=new Y.a(this.parent.parent.parentInjector.get(B.c),new F.a(this._el_2),this.renderer,this.parent.parent.parentInjector.get(Z.a)),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-item-divider",null),this.renderer.setElementAttribute(this._el_4,"class","list-header item"),this._appEl_4=new v.a(4,2,this,this._el_4);var e=K.a(this.viewUtils,this.injector(4),this._appEl_4);this._Item_4_4=new $.a(this.parent.parent.parentInjector.get(tt.a),this.parent.parent.parentInjector.get(B.c),new F.a(this._el_4),this.renderer),this._query_Label_4_0=new P.a,this._query_Button_4_1=new P.a,this._query_Icon_4_2=new P.a,this._appEl_4.initComponent(this._Item_4_4,[],e),this._text_5=this.renderer.createText(null,"Calibration",null),this._query_Label_4_0.reset([]),this._Item_4_4.contentLabel=this._query_Label_4_0.first,e.create(this._Item_4_4,[[],[],[].concat([this._text_5]),[],[]],null),this._text_6=this.renderer.createText(this._el_2,"\n ",null),this._el_7=this.renderer.createElement(this._el_2,"ion-item",null),this.renderer.setElementAttribute(this._el_7,"class","configure-item item item-block"),this._appEl_7=new v.a(7,2,this,this._el_7);var n=K.a(this.viewUtils,this.injector(7),this._appEl_7);return this._Item_7_4=new $.a(this.parent.parent.parentInjector.get(tt.a),this.parent.parent.parentInjector.get(B.c),new F.a(this._el_7),this.renderer),this._ItemContent_7_5=new $.b,this._query_Label_7_0=new P.a,this._query_Button_7_1=new P.a,this._query_Icon_7_2=new P.a,this._appEl_7.initComponent(this._Item_7_4,[],n),this._text_8=this.renderer.createText(null,"\n ",null),this._el_9=this.renderer.createElement(null,"ion-label",null),this.renderer.setElementAttribute(this._el_9,"fixed",""),this._Label_9_3=new X.a(this.parent.parent.parentInjector.get(B.c),new F.a(this._el_9),this.renderer,null,null,"",null),this._text_10=this.renderer.createText(this._el_9,"Current Calibration",null),this._text_11=this.renderer.createText(null,"\n ",null),this._el_12=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_12,"class","item-content-right"),this.renderer.setElementAttribute(this._el_12,"item-right",""),this._text_13=this.renderer.createText(this._el_12,"",null),this._text_14=this.renderer.createText(null,"\n ",null),this._query_Label_7_0.reset([this._Label_9_3]),this._Item_7_4.contentLabel=this._query_Label_7_0.first,n.create(this._Item_7_4,[[],[].concat([this._el_9]),[].concat([this._text_8,this._text_11,this._text_14]),[],[].concat([this._el_12])],null),this._text_15=this.renderer.createText(this._el_2,"\n ",null),this._anchor_16=this.renderer.createTemplateAnchor(this._el_2,null),this._appEl_16=new v.a(16,2,this,this._anchor_16),this._TemplateRef_16_5=new W.a(this._appEl_16,m),this._NgIf_16_6=new M.a(this._appEl_16.vcRef,this._TemplateRef_16_5),this._text_17=this.renderer.createText(this._el_2,"\n ",null),this._text_18=this.renderer.createText(this._el_0,"\n ",null),this._expr_0=w.n,this._expr_1=w.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._text_11,this._el_12,this._text_13,this._text_14,this._text_15,this._anchor_16,this._text_17,this._text_18],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===$.a&&4<=e&&e<=5?this._Item_4_4:t===X.a&&9<=e&&e<=10?this._Label_9_3:t===$.a&&7<=e&&e<=14?this._Item_7_4:t===$.b&&7<=e&&e<=14?this._ItemContent_7_5:t===W.b&&16===e?this._TemplateRef_16_5:t===M.a&&16===e?this._NgIf_16_6:t===Y.a&&2<=e&&e<=17?this._List_2_3:n},e.prototype.detectChangesInternal=function(t){var e="local"!==this.parent.parent.context.deviceObject.ipAddress;y.c(t,this._expr_1,e)&&(this._NgIf_16_6.ngIf=e,this._expr_1=e),this.detectContentChildrenChanges(t),t||(this._query_Button_4_1.dirty&&(this._query_Button_4_1.reset([]),this._Item_4_4._buttons=this._query_Button_4_1,this._query_Button_4_1.notifyOnChanges()),this._query_Icon_4_2.dirty&&(this._query_Icon_4_2.reset([]),this._Item_4_4._icons=this._query_Icon_4_2,this._query_Icon_4_2.notifyOnChanges()),this._query_Button_7_1.dirty&&(this._query_Button_7_1.reset([]),this._Item_7_4._buttons=this._query_Button_7_1,this._query_Button_7_1.notifyOnChanges()),this._query_Icon_7_2.dirty&&(this._query_Icon_7_2.reset([]),this._Item_7_4._icons=this._query_Icon_7_2,this._query_Icon_7_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_4_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_7_4.ngAfterContentInit());var n=y.e(1,"",this.parent.parent.context.currentCalibration,"");y.c(t,this._expr_0,n)&&(this.renderer.setText(this._text_13,n),this._expr_0=n),this.detectViewChildrenChanges(t)},e}(g.a),kt=function(t){function e(n,i,r){t.call(this,e,gt,b.a.EMBEDDED,n,i,r,w.b.CheckAlways)}return ut(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","configure-item only-button-item item item-block"),this._appEl_0=new v.a(0,null,this,this._el_0);var e=K.a(this.viewUtils,this.injector(0),this._appEl_0);this._Item_0_4=new $.a(this.parent.parent.parent.parentInjector.get(tt.a),this.parent.parent.parent.parentInjector.get(B.c),new F.a(this._el_0),this.renderer),this._ItemContent_0_5=new $.b,this._query_Label_0_0=new P.a,this._query_Button_0_1=new P.a,this._query_Icon_0_2=new P.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_2,"class","text-button-side item-button disable-hover"),this.renderer.setElementAttribute(this._el_2,"clear",""),this.renderer.setElementAttribute(this._el_2,"ion-button",""),this.renderer.setElementAttribute(this._el_2,"item-right",""),this._appEl_2=new v.a(2,0,this,this._el_2);var n=G.a(this.viewUtils,this.injector(2),this._appEl_2);this._Button_2_4=new j.a(null,"",this.parent.parent.parent.parentInjector.get(B.c),new F.a(this._el_2),this.renderer),this._appEl_2.initComponent(this._Button_2_4,[],n),this._text_3=this.renderer.createText(null,"Calibrate",null),n.create(this._Button_2_4,[[].concat([this._text_3])],null),this._text_4=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[],[].concat([this._text_1,this._text_4]),[],[].concat([this._el_2])],null);var i=this.renderer.listen(this._el_2,"click",this.eventHandler(this._handle_click_2_0.bind(this)));return this._expr_1=w.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[i],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===j.a&&2<=e&&e<=3?this._Button_2_4:t===$.a&&0<=e&&e<=4?this._Item_0_4:t===$.b&&0<=e&&e<=4?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){var e=!0;e=!1;var n="";y.c(t,this._expr_1,n)&&(this._Button_2_4.clear=n,e=!0,this._expr_1=n),e&&this._appEl_2.componentView.markAsCheckOnce(),this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([this._Button_2_4]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Button_2_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit()),this.detectViewChildrenChanges(t)},e.prototype._handle_click_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.openCalibrateWizard()!==!1;return e},e}(g.a)},function(t,e,n){"use strict";function i(t,e,n){return null===Rt&&(Rt=t.createRenderComponentType("",0,L.c.None,[],{})),new Dt(t,e,n)}function r(t,e,n,i){t.cancelActiveAnimation(e,"rotate","void"==i);var r={},s=null,o=0,a=Lt["*"],_=Lt[n];null==_&&(_=a);var l=Lt[i];null==l&&(l=a),F.e(e,t.renderer,F.d(_)),null==s&&"void"==n&&(s=new q.a([t.renderer.animate(e,new V.a(F.f(r,[_])),[new H.a(0,new V.a(F.f(r,[{}]))),new H.a(1,new V.a(F.f(r,[{}])))],0,0,null)]),o=0),null==s&&(s=new q.a([t.renderer.animate(e,new V.a(F.f(r,[_])),F.b(r,l,[new H.a(0,new V.a(F.f(r,[{}]))),new H.a(1,new V.a(F.f(r,[{}])))]),250,0,"ease-in-out")]),o=250),null==s&&(s=new U.a),s.onDone(function(){F.e(e,t.renderer,F.a(_,l))}),t.queueAnimation(e,"rotate",s,o,n,i)}function s(t,e,n){return null===Bt&&(Bt=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/pages/device-manager-page/device-manager-page.html",0,L.c.None,Mt,{rotate:r})),new Ft(t,e,n)}function o(t,e,n){return new qt(t,e,n)}function a(t,e,n){return new Vt(t,e,n)}function _(t,e,n){return new Ht(t,e,n)}function l(t,e,n){return new Ut(t,e,n)}function h(t,e,n){return new zt(t,e,n)}function c(t,e,n){return new Gt(t,e,n)}function u(t,e,n){return new Wt(t,e,n)}function p(t,e,n){return new Yt(t,e,n)}function d(t,e,n){return new $t(t,e,n)}function f(t,e,n){return new Xt(t,e,n)}function m(t,e,n){return new Jt(t,e,n)}function g(t,e,n){return new Qt(t,e,n)}var v=n(10),x=n(6),y=n(375),b=n(11),w=n(5),C=n(4),E=n(47),T=n(43),A=n(59),I=n(71),S=n(28),O=n(121),k=n(22),N=n(23),P=n(31),R=n(103),D=n(38),j=n(120),M=n(66),L=n(8),B=n(7),F=n(164),q=n(163),V=n(165),H=n(162),U=n(136),z=n(46),G=n(33),W=n(20),Y=n(228),$=n(302),X=n(34),J=n(35),Q=n(58),Z=n(70),K=n(55),tt=n(81),et=n(2),nt=n(14),it=n(49),rt=n(56),st=n(13),ot=n(67),at=n(21),_t=n(25),lt=n(113),ht=n(152),ct=n(122),ut=n(37),pt=n(52),dt=n(51),ft=n(365),mt=n(799),gt=n(244),vt=n(226),xt=n(44),yt=n(111),bt=n(62),wt=n(61),Ct=n(292),Et=n(118),Tt=n(39),At=n(783),It=n(53),St=n(65),Ot=n(98),kt=n(383),Nt=n(73);n.d(e,"a",function(){return jt});var Pt=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Rt=null,Dt=function(t){function e(n,i,r){t.call(this,e,Rt,w.a.HOST,n,i,r,C.b.CheckAlways)}return Pt(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ng-component",t,null),this._appEl_0=new x.a(0,null,this,this._el_0);var e=s(this.viewUtils,this.injector(0),this._appEl_0);return this._DeviceManagerPage_0_4=new y.a(this.parentInjector.get(E.a),this.parentInjector.get(T.DeviceManagerService),this.parentInjector.get(A.a),this.parentInjector.get(I.a),this.parentInjector.get(S.a),this.parentInjector.get(O.a),this.parentInjector.get(k.a),this.parentInjector.get(N.f),this.parentInjector.get(P.a),this.parentInjector.get(R.a),this.parentInjector.get(D.a),this.parentInjector.get(j.a),this.parentInjector.get(M.a)),this._appEl_0.initComponent(this._DeviceManagerPage_0_4,[],e),e.create(this._DeviceManagerPage_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===y.a&&0===e?this._DeviceManagerPage_0_4:n},e.prototype.destroyInternal=function(){this._DeviceManagerPage_0_4.ngOnDestroy()},e}(v.a),jt=new B.a("ng-component",i,y.a),Mt=[],Lt={true:{transform:"rotate(-180deg)"},false:{transform:"rotate(0deg)"},"*":{},void:{}},Bt=null,Ft=function(t){function e(n,i,r){t.call(this,e,Bt,w.a.COMPONENT,n,i,r,C.b.CheckAlways)}return Pt(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._el_0=this.renderer.createElement(e,"ion-content",null),this.renderer.setElementAttribute(this._el_0,"class","first-tab-container"),this.renderer.setElementAttribute(this._el_0,"padding",""),this._appEl_0=new x.a(0,null,this,this._el_0);var n=tt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Content_0_4=new z.a(this.parentInjector.get(et.c),new nt.a(this._el_0),this.renderer,this.parentInjector.get(k.a),this.parentInjector.get(it.a),this.parentInjector.get(rt.a),this.parentInjector.get(st.a,null),this.parentInjector.get(ot.a,null)),this._appEl_0.initComponent(this._Content_0_4,[],n),this._text_1=this.renderer.createText(null,"\n\n ",null),this._anchor_2=this.renderer.createTemplateAnchor(null,null),this._appEl_2=new x.a(2,0,this,this._anchor_2),this._TemplateRef_2_5=new at.a(this._appEl_2,o),this._NgIf_2_6=new G.a(this._appEl_2.vcRef,this._TemplateRef_2_5),this._text_3=this.renderer.createText(null,"\n\n ",null),this._el_4=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_4,"class","menu-button-container"),this._text_5=this.renderer.createText(this._el_4,"\n ",null),this._el_6=this.renderer.createElement(this._el_4,"button",null),this.renderer.setElementAttribute(this._el_6,"class","custom-menu-button disable-hover"),this.renderer.setElementAttribute(this._el_6,"ion-button",""),this.renderer.setElementAttribute(this._el_6,"menuToggle",""),this._appEl_6=new x.a(6,4,this,this._el_6);var i=_t.a(this.viewUtils,this.injector(6),this._appEl_6);this._Button_6_4=new W.a("","",this.parentInjector.get(et.c),new nt.a(this._el_6),this.renderer),this._MenuToggle_6_5=new Y.a(this.parentInjector.get(lt.a),new nt.a(this._el_6),this.parentInjector.get(st.a,null),this.parentInjector.get(ht.a,null)),this._ToolbarItem_6_6=new $.a(this.parentInjector.get(et.c),new nt.a(this._el_6),this.renderer,this.parentInjector.get(ct.c,null),this.parentInjector.get(ht.a,null)),this._query_Button_6_0=new X.a,this._appEl_6.initComponent(this._Button_6_4,[],i),this._text_7=this.renderer.createText(null,"\n ",null),this._el_8=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_8,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_8,"src","assets/img/menu.svg"),this._text_9=this.renderer.createText(null,"\n ",null),i.create(this._Button_6_4,[[].concat([this._text_7,this._el_8,this._text_9])],null),this._text_10=this.renderer.createText(this._el_4,"\n ",null),this._text_11=this.renderer.createText(null,"\n\n ",null),this._el_12=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_12,"class","tutorial-button-container"),this._text_13=this.renderer.createText(this._el_12,"\n ",null),this._el_14=this.renderer.createElement(this._el_12,"ion-row",null),this.renderer.setElementAttribute(this._el_14,"class","tutorial-button-wrapper"),this.renderer.setElementAttribute(this._el_14,"wrap",""),this._Row_14_3=new J.c,this._text_15=this.renderer.createText(this._el_14,"\n ",null),this._el_16=this.renderer.createElement(this._el_14,"ion-col",null),this._Col_16_3=new J.a,this._text_17=this.renderer.createText(this._el_16,"\n ",null),this._el_18=this.renderer.createElement(this._el_16,"button",null),this.renderer.setElementAttribute(this._el_18,"class","kickstarter-button digilent-greenify disable-hover"),this.renderer.setElementAttribute(this._el_18,"ion-button",""),this._appEl_18=new x.a(18,16,this,this._el_18);var r=_t.a(this.viewUtils,this.injector(18),this._appEl_18);this._Button_18_4=new W.a(null,"",this.parentInjector.get(et.c),new nt.a(this._el_18),this.renderer),this._appEl_18.initComponent(this._Button_18_4,[],r),this._text_19=this.renderer.createText(null,"\n Getting Started\n ",null),r.create(this._Button_18_4,[[].concat([this._text_19])],null),this._text_20=this.renderer.createText(this._el_16,"\n ",null),this._text_21=this.renderer.createText(this._el_14,"\n ",null),this._el_22=this.renderer.createElement(this._el_14,"ion-col",null),this._Col_22_3=new J.a,this._text_23=this.renderer.createText(this._el_22,"\n ",null),this._anchor_24=this.renderer.createTemplateAnchor(this._el_22,null),this._appEl_24=new x.a(24,22,this,this._anchor_24),this._TemplateRef_24_5=new at.a(this._appEl_24,a),this._NgIf_24_6=new G.a(this._appEl_24.vcRef,this._TemplateRef_24_5),this._text_25=this.renderer.createText(this._el_22,"\n ",null),this._anchor_26=this.renderer.createTemplateAnchor(this._el_22,null),this._appEl_26=new x.a(26,22,this,this._anchor_26),this._TemplateRef_26_5=new at.a(this._appEl_26,_),this._NgIf_26_6=new G.a(this._appEl_26.vcRef,this._TemplateRef_26_5),this._text_27=this.renderer.createText(this._el_22,"\n ",null),this._text_28=this.renderer.createText(this._el_14,"\n ",null),this._anchor_29=this.renderer.createTemplateAnchor(this._el_14,null),this._appEl_29=new x.a(29,14,this,this._anchor_29),this._TemplateRef_29_5=new at.a(this._appEl_29,l),this._NgIf_29_6=new G.a(this._appEl_29.vcRef,this._TemplateRef_29_5),this._text_30=this.renderer.createText(this._el_14,"\n ",null),this._text_31=this.renderer.createText(this._el_12,"\n ",null),this._text_32=this.renderer.createText(this._el_12,"\n ",null),this._text_33=this.renderer.createText(null,"\n ",null),this._anchor_34=this.renderer.createTemplateAnchor(null,null),this._appEl_34=new x.a(34,0,this,this._anchor_34),this._TemplateRef_34_5=new at.a(this._appEl_34,h),this._NgIf_34_6=new G.a(this._appEl_34.vcRef,this._TemplateRef_34_5),this._text_35=this.renderer.createText(null,"\n ",null),this._el_36=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_36,"class","beta-container"),this._text_37=this.renderer.createText(this._el_36,"\n ",null),this._el_38=this.renderer.createElement(this._el_36,"img",null),this.renderer.setElementAttribute(this._el_38,"class","digilent-store-icon"),this.renderer.setElementAttribute(this._el_38,"src","assets/img/digilent-logo_ni-color_on_white.svg"),this._text_39=this.renderer.createText(this._el_36,"\n ",null),this._text_40=this.renderer.createText(null,"\n\n ",null),this._el_41=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_41,"class","align-center"),this._text_42=this.renderer.createText(this._el_41,"\n ",null),this._el_43=this.renderer.createElement(this._el_41,"button",null),this.renderer.setElementAttribute(this._el_43,"class","dev-menu-button"),this.renderer.setElementAttribute(this._el_43,"clear",""),this.renderer.setElementAttribute(this._el_43,"icon-right",""),this.renderer.setElementAttribute(this._el_43,"ion-button",""),this.renderer.setElementAttribute(this._el_43,"tooltipPlacement","bottom"),this._appEl_43=new x.a(43,41,this,this._el_43);var s=_t.a(this.viewUtils,this.injector(43),this._appEl_43);this._NgClass_43_5=new Q.a(this.parentInjector.get(ut.a),this.parentInjector.get(pt.a),new nt.a(this._el_43),this.renderer),this._Tooltip_43_6=new Z.a(this._appEl_43.vcRef,this.parentInjector.get(dt.a),this.parentInjector.get(N.f)),this._Button_43_7=new W.a(null,"",this.parentInjector.get(et.c),new nt.a(this._el_43),this.renderer),this._appEl_43.initComponent(this._Button_43_7,[],s),this._text_44=this.renderer.createText(null,"\n Add a Device\n ",null),this._el_45=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_45,"class","rotate-image-container"),this._text_46=this.renderer.createText(this._el_45,"\n ",null),this._el_47=this.renderer.createElement(this._el_45,"img",null),this.renderer.setElementAttribute(this._el_47,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_47,"src","assets/img/arrow-dropdown-white.svg"),this._text_48=this.renderer.createText(this._el_45,"\n ",null),this._text_49=this.renderer.createText(null,"\n ",null),s.create(this._Button_43_7,[[].concat([this._text_44,this._el_45,this._text_49])],null),this._text_50=this.renderer.createText(this._el_41,"\n ",null),this._text_51=this.renderer.createText(null,"\n ",null),this._el_52=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_52,"class","fadeout"),this.renderer.setElementAttribute(this._el_52,"text-center",""),this._NgClass_52_3=new Q.a(this.parentInjector.get(ut.a),this.parentInjector.get(pt.a),new nt.a(this._el_52),this.renderer),this._text_53=this.renderer.createText(this._el_52,"\n ",null),this._anchor_54=this.renderer.createTemplateAnchor(this._el_52,null),this._appEl_54=new x.a(54,52,this,this._anchor_54),this._TemplateRef_54_5=new at.a(this._appEl_54,c),this._NgIf_54_6=new G.a(this._appEl_54.vcRef,this._TemplateRef_54_5),this._text_55=this.renderer.createText(this._el_52,"\n ",null),this._anchor_56=this.renderer.createTemplateAnchor(this._el_52,null),this._appEl_56=new x.a(56,52,this,this._anchor_56),this._TemplateRef_56_5=new at.a(this._appEl_56,u),this._NgIf_56_6=new G.a(this._appEl_56.vcRef,this._TemplateRef_56_5),this._text_57=this.renderer.createText(this._el_52,"\n ",null),this._text_58=this.renderer.createText(null,"\n ",null),this._el_59=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_59,"class","device-card-wrapper-background"),this._text_60=this.renderer.createText(this._el_59,"\n ",null),this._el_61=this.renderer.createElement(this._el_59,"div",null),this.renderer.setElementAttribute(this._el_61,"text-center",""),this._text_62=this.renderer.createText(this._el_61,"\n ",null),this._anchor_63=this.renderer.createTemplateAnchor(this._el_61,null),this._appEl_63=new x.a(63,61,this,this._anchor_63),this._TemplateRef_63_5=new at.a(this._appEl_63,m),this._NgFor_63_6=new K.a(this._appEl_63.vcRef,this._TemplateRef_63_5,this.parentInjector.get(ut.a),this.ref),this._text_64=this.renderer.createText(this._el_61,"\n ",null),this._text_65=this.renderer.createText(this._el_59,"\n ",null),this._text_66=this.renderer.createText(null,"\n",null),n.create(this._Content_0_4,[[],[].concat([this._text_1,this._appEl_2,this._text_3,this._el_4,this._text_11,this._el_12,this._text_33,this._appEl_34,this._text_35,this._el_36,this._text_40,this._el_41,this._text_51,this._el_52,this._text_58,this._el_59,this._text_66]),[]],null), this._expr_0=C.n,this._expr_1=C.n;var p=this.renderer.listen(this._el_6,"click",this.eventHandler(this._handle_click_6_0.bind(this)));this._expr_3=C.n,this._expr_4=C.n;var d=this.renderer.listen(this._el_18,"tap",this.eventHandler(this._handle_tap_18_0.bind(this)));this._expr_6=C.n,this._expr_7=C.n,this._expr_8=C.n,this._expr_9=C.n;var f=this.renderer.listen(this._el_38,"click",this.eventHandler(this._handle_click_38_0.bind(this))),g=this.renderer.listen(this._el_43,"tap",this.eventHandler(this._handle_tap_43_0.bind(this))),v=this.renderer.listen(this._el_43,"focusin",this.eventHandler(this._handle_focusin_43_1.bind(this))),y=this.renderer.listen(this._el_43,"mouseenter",this.eventHandler(this._handle_mouseenter_43_2.bind(this))),w=this.renderer.listen(this._el_43,"focusout",this.eventHandler(this._handle_focusout_43_3.bind(this))),E=this.renderer.listen(this._el_43,"mouseleave",this.eventHandler(this._handle_mouseleave_43_4.bind(this)));return this._expr_16=C.n,this._map_0=b.h(function(t){return{"move-feature-to-front":t}}),this._expr_17=C.n,this._expr_18=C.n,this._expr_19=C.n,this._expr_20=C.n,this._expr_21=C.n,this._expr_22=C.n,this._expr_23=C.n,this._expr_24=C.n,this._map_1=b.h(function(t){return{fadein:t}}),this._expr_25=C.n,this._expr_26=C.n,this._expr_27=C.n,this._expr_28=C.n,this.init([],[this._el_0,this._text_1,this._anchor_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9,this._text_10,this._text_11,this._el_12,this._text_13,this._el_14,this._text_15,this._el_16,this._text_17,this._el_18,this._text_19,this._text_20,this._text_21,this._el_22,this._text_23,this._anchor_24,this._text_25,this._anchor_26,this._text_27,this._text_28,this._anchor_29,this._text_30,this._text_31,this._text_32,this._text_33,this._anchor_34,this._text_35,this._el_36,this._text_37,this._el_38,this._text_39,this._text_40,this._el_41,this._text_42,this._el_43,this._text_44,this._el_45,this._text_46,this._el_47,this._text_48,this._text_49,this._text_50,this._text_51,this._el_52,this._text_53,this._anchor_54,this._text_55,this._anchor_56,this._text_57,this._text_58,this._el_59,this._text_60,this._el_61,this._text_62,this._anchor_63,this._text_64,this._text_65,this._text_66],[p,d,f,g,v,y,w,E],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===at.b&&2===e?this._TemplateRef_2_5:t===G.a&&2===e?this._NgIf_2_6:t===W.a&&6<=e&&e<=9?this._Button_6_4:t===Y.a&&6<=e&&e<=9?this._MenuToggle_6_5:t===$.a&&6<=e&&e<=9?this._ToolbarItem_6_6:t===W.a&&18<=e&&e<=19?this._Button_18_4:t===J.a&&16<=e&&e<=20?this._Col_16_3:t===at.b&&24===e?this._TemplateRef_24_5:t===G.a&&24===e?this._NgIf_24_6:t===at.b&&26===e?this._TemplateRef_26_5:t===G.a&&26===e?this._NgIf_26_6:t===J.a&&22<=e&&e<=27?this._Col_22_3:t===at.b&&29===e?this._TemplateRef_29_5:t===G.a&&29===e?this._NgIf_29_6:t===J.c&&14<=e&&e<=30?this._Row_14_3:t===at.b&&34===e?this._TemplateRef_34_5:t===G.a&&34===e?this._NgIf_34_6:t===Q.a&&43<=e&&e<=49?this._NgClass_43_5:t===Z.a&&43<=e&&e<=49?this._Tooltip_43_6:t===W.a&&43<=e&&e<=49?this._Button_43_7:t===at.b&&54===e?this._TemplateRef_54_5:t===G.a&&54===e?this._NgIf_54_6:t===at.b&&56===e?this._TemplateRef_56_5:t===G.a&&56===e?this._NgIf_56_6:t===Q.a&&52<=e&&e<=57?this._NgClass_52_3:t===at.b&&63===e?this._TemplateRef_63_5:t===K.a&&63===e?this._NgFor_63_6:t===z.a&&0<=e&&e<=66?this._Content_0_4:n},e.prototype.detectChangesInternal=function(t){var e=!0,n=null,i=this.context.showDevMenu;if(b.c(t,this._expr_23,i)){var r=this._expr_23;r==C.n&&(r="void");var s=i;s==C.n&&(s="void"),this.componentType.animations.rotate(this,this._el_45,r,s),this._expr_23=i}0!==this.numberOfChecks||t||this._Content_0_4.ngOnInit();var o=this.context.tutorialMode;b.c(t,this._expr_1,o)&&(this._NgIf_2_6.ngIf=o,this._expr_1=o);var a="";b.c(t,this._expr_3,a)&&(this._MenuToggle_6_5.menuToggle=a,this._expr_3=a);var _=this.context.tutorialMode;b.c(t,this._expr_6,_)&&(this._NgIf_24_6.ngIf=_,this._expr_6=_);var l=!this.context.tutorialMode;b.c(t,this._expr_7,l)&&(this._NgIf_26_6.ngIf=l,this._expr_7=l);var h=this.context.settingsService.isMobile;b.c(t,this._expr_8,h)&&(this._NgIf_29_6.ngIf=h,this._expr_8=h);var c=!this.context.settingsService.isMobile;b.c(t,this._expr_9,c)&&(this._NgIf_34_6.ngIf=c,this._expr_9=c);var u="dev-menu-button";b.c(t,this._expr_16,u)&&(this._NgClass_43_5.klass=u,this._expr_16=u);var p=this._map_0(0===this.context.tutorialStage&&this.context.tutorialMode);b.c(t,this._expr_17,p)&&(this._NgClass_43_5.ngClass=p,this._expr_17=p),t||this._NgClass_43_5.ngDoCheck(),n=null;var d=this.context.tooltipMessages.addADevice;b.c(t,this._expr_18,d)&&(this._Tooltip_43_6.content=d,null===n&&(n={}),n.content=new C.m(this._expr_18,d),this._expr_18=d);var f=!0;b.c(t,this._expr_19,f)&&(this._Tooltip_43_6.tooltipAnimation=f,null===n&&(n={}),n.tooltipAnimation=new C.m(this._expr_19,f),this._expr_19=f);var m="bottom";b.c(t,this._expr_20,m)&&(this._Tooltip_43_6.tooltipPlacement=m,null===n&&(n={}),n.tooltipPlacement=new C.m(this._expr_20,m),this._expr_20=m);var g=0===this.context.tutorialStage&&this.context.tutorialMode;b.c(t,this._expr_21,g)&&(this._Tooltip_43_6.forceShow=g,null===n&&(n={}),n.forceShow=new C.m(this._expr_21,g),this._expr_21=g),null!==n&&this._Tooltip_43_6.ngOnChanges(n),e=!1;var v="";b.c(t,this._expr_22,v)&&(this._Button_43_7.clear=v,e=!0,this._expr_22=v),e&&this._appEl_43.componentView.markAsCheckOnce();var x="fadeout";b.c(t,this._expr_24,x)&&(this._NgClass_52_3.klass=x,this._expr_24=x);var y=this._map_1(this.context.showDevMenu);b.c(t,this._expr_25,y)&&(this._NgClass_52_3.ngClass=y,this._expr_25=y),t||this._NgClass_52_3.ngDoCheck();var w=this.context.showDeviceTypeCard;b.c(t,this._expr_26,w)&&(this._NgIf_54_6.ngIf=w,this._expr_26=w);var E=!this.context.showDeviceTypeCard;b.c(t,this._expr_27,E)&&(this._NgIf_56_6.ngIf=E,this._expr_27=E),n=null;var T=this.context.devices;b.c(t,this._expr_28,T)&&(this._NgFor_63_6.ngForOf=T,null===n&&(n={}),n.ngForOf=new C.m(this._expr_28,T),this._expr_28=T),null!==n&&this._NgFor_63_6.ngOnChanges(n),t||this._NgFor_63_6.ngDoCheck(),this.detectContentChildrenChanges(t),t||(this._query_Button_6_0.dirty&&(this._query_Button_6_0.reset([this._Button_6_4]),this._ToolbarItem_6_6._buttons=this._query_Button_6_0,this._query_Button_6_0.notifyOnChanges()),0===this.numberOfChecks&&this._Button_6_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_18_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_43_7.ngAfterContentInit());var A=this._Content_0_4._sbPadding;b.c(t,this._expr_0,A)&&(this.renderer.setElementClass(this._el_0,"statusbar-padding",A),this._expr_0=A);var I=this._MenuToggle_6_5.isHidden;b.c(t,this._expr_4,I)&&(this.renderer.setElementProperty(this._el_6,"hidden",I),this._expr_4=I),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Content_0_4.ngOnDestroy()},e.prototype.detachInternal=function(){this.componentType.animations.rotate(this,this._el_45,this._expr_23,"void")},e.prototype._handle_click_6_0=function(t){this.markPathToRootAsCheckOnce();var e=this._MenuToggle_6_5.toggle()!==!1;return e},e.prototype._handle_tap_18_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.openGettingStartedPopover(t)!==!1;return e},e.prototype._handle_click_38_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.routeToDigilent()!==!1;return e},e.prototype._handle_tap_43_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.toggleAddDevMenu()!==!1;return e},e.prototype._handle_focusin_43_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_43_6.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_43_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_43_6.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_43_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_43_6.hide()!==!1;return e},e.prototype._handle_mouseleave_43_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_43_6.hide()!==!1;return e},e}(v.a),qt=function(t){function e(n,i,r){t.call(this,e,Bt,w.a.EMBEDDED,n,i,r,C.b.CheckAlways)}return Pt(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","custom-backdrop"),this.init([].concat([this._el_0]),[this._el_0],[],[]),null},e}(v.a),Vt=function(t){function e(n,i,r){t.call(this,e,Bt,w.a.EMBEDDED,n,i,r,C.b.CheckAlways)}return Pt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","kickstarter-button disable-hover"),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new x.a(0,null,this,this._el_0);var e=_t.a(this.viewUtils,this.injector(0),this._appEl_0);this._NgClass_0_4=new Q.a(this.parent.parentInjector.get(ut.a),this.parent.parentInjector.get(pt.a),new nt.a(this._el_0),this.renderer),this._Button_0_5=new W.a(null,"",this.parent.parentInjector.get(et.c),new nt.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_5,[],e),this._text_1=this.renderer.createText(null,"\n End Tutorial\n ",null),e.create(this._Button_0_5,[[].concat([this._text_1])],null);var n=this.renderer.listen(this._el_0,"tap",this.eventHandler(this._handle_tap_0_0.bind(this)));return this._expr_1=C.n,this._map_0=b.i(function(t,e){return{"end-tutorial":t,"help-button":e}}),this._expr_2=C.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===Q.a&&0<=e&&e<=1?this._NgClass_0_4:t===W.a&&0<=e&&e<=1?this._Button_0_5:n},e.prototype.detectChangesInternal=function(t){var e="kickstarter-button disable-hover";b.c(t,this._expr_1,e)&&(this._NgClass_0_4.klass=e,this._expr_1=e);var n=this._map_0(this.parent.context.tutorialMode,!this.parent.context.tutorialMode);b.c(t,this._expr_2,n)&&(this._NgClass_0_4.ngClass=n,this._expr_2=n),t||this._NgClass_0_4.ngDoCheck(),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_5.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.executeHelp()!==!1;return e},e}(v.a),Ht=function(t){function e(n,i,r){t.call(this,e,Bt,w.a.EMBEDDED,n,i,r,C.b.CheckAlways)}return Pt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","kickstarter-button disable-hover"),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new x.a(0,null,this,this._el_0);var e=_t.a(this.viewUtils,this.injector(0),this._appEl_0);this._NgClass_0_4=new Q.a(this.parent.parentInjector.get(ut.a),this.parent.parentInjector.get(pt.a),new nt.a(this._el_0),this.renderer),this._Button_0_5=new W.a(null,"",this.parent.parentInjector.get(et.c),new nt.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_5,[],e),this._text_1=this.renderer.createText(null,"\n Tutorial\n ",null),e.create(this._Button_0_5,[[].concat([this._text_1])],null);var n=this.renderer.listen(this._el_0,"tap",this.eventHandler(this._handle_tap_0_0.bind(this)));return this._expr_1=C.n,this._map_0=b.i(function(t,e){return{"end-tutorial":t,"help-button":e}}),this._expr_2=C.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===Q.a&&0<=e&&e<=1?this._NgClass_0_4:t===W.a&&0<=e&&e<=1?this._Button_0_5:n},e.prototype.detectChangesInternal=function(t){var e="kickstarter-button disable-hover";b.c(t,this._expr_1,e)&&(this._NgClass_0_4.klass=e,this._expr_1=e);var n=this._map_0(this.parent.context.tutorialMode,!this.parent.context.tutorialMode);b.c(t,this._expr_2,n)&&(this._NgClass_0_4.ngClass=n,this._expr_2=n),t||this._NgClass_0_4.ngDoCheck(),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_5.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.executeHelp()!==!1;return e},e}(v.a),Ut=function(t){function e(n,i,r){t.call(this,e,Bt,w.a.EMBEDDED,n,i,r,C.b.CheckAlways)}return Pt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-col",null),this._Col_0_3=new J.a,this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"a",null),this.renderer.setElementAttribute(this._el_2,"href","https://github.com/Digilent/waveforms-live"),this.renderer.setElementAttribute(this._el_2,"target","_blank"),this._el_3=this.renderer.createElement(this._el_2,"button",null),this.renderer.setElementAttribute(this._el_3,"class","kickstarter-button disable-hover"),this.renderer.setElementAttribute(this._el_3,"ion-button",""),this._appEl_3=new x.a(3,2,this,this._el_3);var e=_t.a(this.viewUtils,this.injector(3),this._appEl_3);return this._Button_3_4=new W.a(null,"",this.parent.parentInjector.get(et.c),new nt.a(this._el_3),this.renderer),this._appEl_3.initComponent(this._Button_3_4,[],e),this._el_4=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_4,"class","help-me"),this.renderer.setElementAttribute(this._el_4,"height","20px"),this.renderer.setElementAttribute(this._el_4,"src","https://cdnjs.cloudflare.com/ajax/libs/octicons/4.4.0/svg/mark-github.svg"),this.renderer.setElementAttribute(this._el_4,"width","20px"),this._text_5=this.renderer.createText(null,"Fork Me!",null),e.create(this._Button_3_4,[[].concat([this._el_4,this._text_5])],null),this._text_6=this.renderer.createText(this._el_0,"\n ",null),this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._el_3,this._el_4,this._text_5,this._text_6],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===W.a&&3<=e&&e<=5?this._Button_3_4:t===J.a&&0<=e&&e<=6?this._Col_0_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_3_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e}(v.a),zt=function(t){function e(n,i,r){t.call(this,e,Bt,w.a.EMBEDDED,n,i,r,C.b.CheckAlways)}return Pt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"github-fork-ribbon",null),this._appEl_0=new x.a(0,null,this,this._el_0);var e=mt.a(this.viewUtils,this.injector(0),this._appEl_0);return this._GithubForkRibbon_0_4=new ft.a,this._appEl_0.initComponent(this._GithubForkRibbon_0_4,[],e),e.create(this._GithubForkRibbon_0_4,[],null),this.init([].concat([this._el_0]),[this._el_0],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===ft.a&&0===e?this._GithubForkRibbon_0_4:n},e}(v.a),Gt=function(t){function e(n,i,r){t.call(this,e,Bt,w.a.EMBEDDED,n,i,r,C.b.CheckAlways)}return Pt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","devicetype-card"),this.renderer.setElementAttribute(this._el_0,"text-center",""),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_2,"class","devicetype-button-container"),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"button",null),this.renderer.setElementAttribute(this._el_4,"class","devicetype-button disable-hover"),this.renderer.setElementAttribute(this._el_4,"icon-left",""),this.renderer.setElementAttribute(this._el_4,"ion-button",""),this._appEl_4=new x.a(4,2,this,this._el_4);var e=_t.a(this.viewUtils,this.injector(4),this._appEl_4);this._Tooltip_4_5=new Z.a(this._appEl_4.vcRef,this.parent.parentInjector.get(dt.a),this.parent.parentInjector.get(N.f)),this._Button_4_6=new W.a(null,"",this.parent.parentInjector.get(et.c),new nt.a(this._el_4),this.renderer),this._appEl_4.initComponent(this._Button_4_6,[],e),this._text_5=this.renderer.createText(null,"\n ",null),this._el_6=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_6,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_6,"src","assets/img/wifi.svg"),this._text_7=this.renderer.createText(null,"\n Network\n ",null),e.create(this._Button_4_6,[[].concat([this._text_5,this._el_6,this._text_7])],null),this._text_8=this.renderer.createText(this._el_2,"\n ",null),this._text_9=this.renderer.createText(this._el_0,"\n ",null),this._el_10=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_10,"class","devicetype-button-container"),this._text_11=this.renderer.createText(this._el_10,"\n ",null),this._el_12=this.renderer.createElement(this._el_10,"button",null),this.renderer.setElementAttribute(this._el_12,"class","devicetype-button disable-hover"),this.renderer.setElementAttribute(this._el_12,"icon-left",""),this.renderer.setElementAttribute(this._el_12,"ion-button",""),this.renderer.setElementAttribute(this._el_12,"tooltipPlacement","bottom"),this._appEl_12=new x.a(12,10,this,this._el_12);var n=_t.a(this.viewUtils,this.injector(12),this._appEl_12);this._NgClass_12_5=new Q.a(this.parent.parentInjector.get(ut.a),this.parent.parentInjector.get(pt.a),new nt.a(this._el_12),this.renderer),this._Tooltip_12_6=new Z.a(this._appEl_12.vcRef,this.parent.parentInjector.get(dt.a),this.parent.parentInjector.get(N.f)),this._Button_12_7=new W.a(null,"",this.parent.parentInjector.get(et.c),new nt.a(this._el_12),this.renderer),this._appEl_12.initComponent(this._Button_12_7,[],n),this._text_13=this.renderer.createText(null,"\n ",null),this._el_14=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_14,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_14,"src","assets/img/simulated.svg"),this._text_15=this.renderer.createText(null,"\n Simulated\n ",null),n.create(this._Button_12_7,[[].concat([this._text_13,this._el_14,this._text_15])],null),this._text_16=this.renderer.createText(this._el_10,"\n ",null),this._text_17=this.renderer.createText(this._el_0,"\n ",null),this._el_18=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_18,"class","devicetype-button-container"),this._text_19=this.renderer.createText(this._el_18,"\n ",null),this._el_20=this.renderer.createElement(this._el_18,"button",null),this.renderer.setElementAttribute(this._el_20,"class","devicetype-button disable-hover"),this.renderer.setElementAttribute(this._el_20,"icon-left",""),this.renderer.setElementAttribute(this._el_20,"ion-button",""),this._appEl_20=new x.a(20,18,this,this._el_20);var i=_t.a(this.viewUtils,this.injector(20),this._appEl_20);this._Tooltip_20_5=new Z.a(this._appEl_20.vcRef,this.parent.parentInjector.get(dt.a),this.parent.parentInjector.get(N.f)),this._Button_20_6=new W.a(null,"",this.parent.parentInjector.get(et.c),new nt.a(this._el_20),this.renderer),this._appEl_20.initComponent(this._Button_20_6,[],i),this._text_21=this.renderer.createText(null,"\n ",null),this._el_22=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_22,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_22,"src","assets/img/agent.svg"),this._text_23=this.renderer.createText(null,"\n Agent\n ",null),i.create(this._Button_20_6,[[].concat([this._text_21,this._el_22,this._text_23])],null),this._text_24=this.renderer.createText(this._el_18,"\n ",null),this._text_25=this.renderer.createText(this._el_0,"\n ",null);var r=this.renderer.listen(this._el_4,"click",this.eventHandler(this._handle_click_4_0.bind(this))),s=this.renderer.listen(this._el_4,"focusin",this.eventHandler(this._handle_focusin_4_1.bind(this))),o=this.renderer.listen(this._el_4,"mouseenter",this.eventHandler(this._handle_mouseenter_4_2.bind(this))),a=this.renderer.listen(this._el_4,"focusout",this.eventHandler(this._handle_focusout_4_3.bind(this))),_=this.renderer.listen(this._el_4,"mouseleave",this.eventHandler(this._handle_mouseleave_4_4.bind(this)));this._expr_5=C.n,this._expr_6=C.n,this._expr_7=C.n,this._expr_8=C.n;var l=this.renderer.listen(this._el_12,"click",this.eventHandler(this._handle_click_12_0.bind(this))),h=this.renderer.listen(this._el_12,"focusin",this.eventHandler(this._handle_focusin_12_1.bind(this))),c=this.renderer.listen(this._el_12,"mouseenter",this.eventHandler(this._handle_mouseenter_12_2.bind(this))),u=this.renderer.listen(this._el_12,"focusout",this.eventHandler(this._handle_focusout_12_3.bind(this))),p=this.renderer.listen(this._el_12,"mouseleave",this.eventHandler(this._handle_mouseleave_12_4.bind(this)));this._expr_14=C.n,this._map_0=b.h(function(t){return{"move-feature-to-front":t}}),this._expr_15=C.n,this._expr_16=C.n,this._expr_17=C.n,this._expr_18=C.n,this._expr_19=C.n;var d=this.renderer.listen(this._el_20,"click",this.eventHandler(this._handle_click_20_0.bind(this))),f=this.renderer.listen(this._el_20,"focusin",this.eventHandler(this._handle_focusin_20_1.bind(this))),m=this.renderer.listen(this._el_20,"mouseenter",this.eventHandler(this._handle_mouseenter_20_2.bind(this))),g=this.renderer.listen(this._el_20,"focusout",this.eventHandler(this._handle_focusout_20_3.bind(this))),v=this.renderer.listen(this._el_20,"mouseleave",this.eventHandler(this._handle_mouseleave_20_4.bind(this)));return this._expr_25=C.n,this._expr_26=C.n,this._expr_27=C.n,this._expr_28=C.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._text_8,this._text_9,this._el_10,this._text_11,this._el_12,this._text_13,this._el_14,this._text_15,this._text_16,this._text_17,this._el_18,this._text_19,this._el_20,this._text_21,this._el_22,this._text_23,this._text_24,this._text_25],[r,s,o,a,_,l,h,c,u,p,d,f,m,g,v],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===Z.a&&4<=e&&e<=7?this._Tooltip_4_5:t===W.a&&4<=e&&e<=7?this._Button_4_6:t===Q.a&&12<=e&&e<=15?this._NgClass_12_5:t===Z.a&&12<=e&&e<=15?this._Tooltip_12_6:t===W.a&&12<=e&&e<=15?this._Button_12_7:t===Z.a&&20<=e&&e<=23?this._Tooltip_20_5:t===W.a&&20<=e&&e<=23?this._Button_20_6:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.context.tooltipMessages.networkButton;b.c(t,this._expr_5,n)&&(this._Tooltip_4_5.content=n,null===e&&(e={}),e.content=new C.m(this._expr_5,n),this._expr_5=n);var i=!0;b.c(t,this._expr_6,i)&&(this._Tooltip_4_5.tooltipAnimation=i,null===e&&(e={}),e.tooltipAnimation=new C.m(this._expr_6,i),this._expr_6=i);var r=this.parent.context.tutorialMode?"left":"bottom";b.c(t,this._expr_7,r)&&(this._Tooltip_4_5.tooltipPlacement=r,null===e&&(e={}),e.tooltipPlacement=new C.m(this._expr_7,r),this._expr_7=r);var s=1===this.parent.context.tutorialStage&&this.parent.context.tutorialMode;b.c(t,this._expr_8,s)&&(this._Tooltip_4_5.forceShow=s,null===e&&(e={}),e.forceShow=new C.m(this._expr_8,s),this._expr_8=s),null!==e&&this._Tooltip_4_5.ngOnChanges(e);var o="devicetype-button disable-hover";b.c(t,this._expr_14,o)&&(this._NgClass_12_5.klass=o,this._expr_14=o);var a=this._map_0(1===this.parent.context.tutorialStage&&this.parent.context.tutorialMode);b.c(t,this._expr_15,a)&&(this._NgClass_12_5.ngClass=a,this._expr_15=a),t||this._NgClass_12_5.ngDoCheck(),e=null;var _=this.parent.context.tooltipMessages.simulatedButton;b.c(t,this._expr_16,_)&&(this._Tooltip_12_6.content=_,null===e&&(e={}),e.content=new C.m(this._expr_16,_),this._expr_16=_);var l=!0;b.c(t,this._expr_17,l)&&(this._Tooltip_12_6.tooltipAnimation=l,null===e&&(e={}),e.tooltipAnimation=new C.m(this._expr_17,l),this._expr_17=l);var h="bottom";b.c(t,this._expr_18,h)&&(this._Tooltip_12_6.tooltipPlacement=h,null===e&&(e={}),e.tooltipPlacement=new C.m(this._expr_18,h),this._expr_18=h);var c=1===this.parent.context.tutorialStage&&this.parent.context.tutorialMode;b.c(t,this._expr_19,c)&&(this._Tooltip_12_6.forceShow=c,null===e&&(e={}),e.forceShow=new C.m(this._expr_19,c),this._expr_19=c),null!==e&&this._Tooltip_12_6.ngOnChanges(e),e=null;var u=this.parent.context.tooltipMessages.agentButton;b.c(t,this._expr_25,u)&&(this._Tooltip_20_5.content=u,null===e&&(e={}),e.content=new C.m(this._expr_25,u),this._expr_25=u);var p=!0;b.c(t,this._expr_26,p)&&(this._Tooltip_20_5.tooltipAnimation=p,null===e&&(e={}),e.tooltipAnimation=new C.m(this._expr_26,p),this._expr_26=p);var d=this.parent.context.tutorialMode?"right":"bottom";b.c(t,this._expr_27,d)&&(this._Tooltip_20_5.tooltipPlacement=d,null===e&&(e={}),e.tooltipPlacement=new C.m(this._expr_27,d),this._expr_27=d);var f=1===this.parent.context.tutorialStage&&this.parent.context.tutorialMode;b.c(t,this._expr_28,f)&&(this._Tooltip_20_5.forceShow=f,null===e&&(e={}),e.forceShow=new C.m(this._expr_28,f),this._expr_28=f),null!==e&&this._Tooltip_20_5.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_4_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_12_7.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_20_6.ngAfterContentInit()),this.detectViewChildrenChanges(t)},e.prototype._handle_click_4_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.setConnectionType("network")!==!1;return e},e.prototype._handle_focusin_4_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_4_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_4_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_4_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_4_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_4_5.hide()!==!1;return e},e.prototype._handle_mouseleave_4_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_4_5.hide()!==!1;return e},e.prototype._handle_click_12_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.setConnectionType("simulated")!==!1;return e},e.prototype._handle_focusin_12_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_12_6.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_12_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_12_6.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_12_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_12_6.hide()!==!1;return e},e.prototype._handle_mouseleave_12_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_12_6.hide()!==!1;return e},e.prototype._handle_click_20_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.setConnectionType("agent")!==!1;return e},e.prototype._handle_focusin_20_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_20_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_20_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_20_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_20_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_20_5.hide()!==!1;return e},e.prototype._handle_mouseleave_20_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_20_5.hide()!==!1;return e},e}(v.a),Wt=function(t){function e(n,i,r){t.call(this,e,Bt,w.a.EMBEDDED,n,i,r,C.b.CheckAlways)}return Pt(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"div",null),this._NgSwitch_2_3=new gt.a,this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._anchor_4=this.renderer.createTemplateAnchor(this._el_2,null),this._appEl_4=new x.a(4,2,this,this._anchor_4),this._TemplateRef_4_5=new at.a(this._appEl_4,p),this._NgSwitchCase_4_6=new gt.b(this._appEl_4.vcRef,this._TemplateRef_4_5,this._NgSwitch_2_3),this._text_5=this.renderer.createText(this._el_2,"\n\n ",null),this._anchor_6=this.renderer.createTemplateAnchor(this._el_2,null),this._appEl_6=new x.a(6,2,this,this._anchor_6),this._TemplateRef_6_5=new at.a(this._appEl_6,d),this._NgSwitchCase_6_6=new gt.b(this._appEl_6.vcRef,this._TemplateRef_6_5,this._NgSwitch_2_3),this._text_7=this.renderer.createText(this._el_2,"\n\n ",null),this._anchor_8=this.renderer.createTemplateAnchor(this._el_2,null),this._appEl_8=new x.a(8,2,this,this._anchor_8),this._TemplateRef_8_5=new at.a(this._appEl_8,f),this._NgSwitchCase_8_6=new gt.b(this._appEl_8.vcRef,this._TemplateRef_8_5,this._NgSwitch_2_3),this._text_9=this.renderer.createText(this._el_2,"\n ",null),this._text_10=this.renderer.createText(this._el_0,"\n ",null),this._expr_0=C.n,this._expr_1=C.n,this._expr_2=C.n,this._expr_3=C.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._anchor_4,this._text_5,this._anchor_6,this._text_7,this._anchor_8,this._text_9,this._text_10],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===at.b&&4===e?this._TemplateRef_4_5:t===gt.b&&4===e?this._NgSwitchCase_4_6:t===at.b&&6===e?this._TemplateRef_6_5:t===gt.b&&6===e?this._NgSwitchCase_6_6:t===at.b&&8===e?this._TemplateRef_8_5:t===gt.b&&8===e?this._NgSwitchCase_8_6:t===gt.a&&2<=e&&e<=9?this._NgSwitch_2_3:n},e.prototype.detectChangesInternal=function(t){var e=this.parent.context.deviceConnectionType;b.c(t,this._expr_0,e)&&(this._NgSwitch_2_3.ngSwitch=e,this._expr_0=e);var n="network";b.c(t,this._expr_1,n)&&(this._NgSwitchCase_4_6.ngSwitchCase=n,this._expr_1=n);var i="simulated";b.c(t,this._expr_2,i)&&(this._NgSwitchCase_6_6.ngSwitchCase=i,this._expr_2=i);var r="agent";b.c(t,this._expr_3,r)&&(this._NgSwitchCase_8_6.ngSwitchCase=r,this._expr_3=r),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(v.a),Yt=function(t){function e(n,i,r){t.call(this,e,Bt,w.a.EMBEDDED,n,i,r,C.b.CheckAlways)}return Pt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"text-center",""),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-card",null),this.renderer.setElementAttribute(this._el_2,"class","device-manager-card select-device-card"),this._Card_2_3=new vt.a(this.parent.parent.parentInjector.get(et.c),new nt.a(this._el_2),this.renderer),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-item",null),this.renderer.setElementAttribute(this._el_4,"class","device-card-item item item-block"),this._appEl_4=new x.a(4,2,this,this._el_4);var e=Et.a(this.viewUtils,this.injector(4),this._appEl_4);this._Item_4_4=new xt.a(this.parent.parent.parentInjector.get(Tt.a),this.parent.parent.parentInjector.get(et.c),new nt.a(this._el_4),this.renderer),this._ItemContent_4_5=new xt.b,this._query_Label_4_0=new X.a,this._query_Button_4_1=new X.a,this._query_Icon_4_2=new X.a,this._appEl_4.initComponent(this._Item_4_4,[],e),this._text_5=this.renderer.createText(null,"\n ",null),this._el_6=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_6,"class","item-image-container"),this.renderer.setElementAttribute(this._el_6,"item-left",""),this._text_7=this.renderer.createText(this._el_6,"\n ",null),this._el_8=this.renderer.createElement(this._el_6,"img",null),this.renderer.setElementAttribute(this._el_8,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_8,"src","assets/img/wifi.svg"), this._text_9=this.renderer.createText(this._el_6,"\n ",null),this._text_10=this.renderer.createText(null,"\n ",null),this._el_11=this.renderer.createElement(null,"ion-label",null),this.renderer.setElementAttribute(this._el_11,"class","add-device-label"),this._Label_11_3=new yt.a(this.parent.parent.parentInjector.get(et.c),new nt.a(this._el_11),this.renderer,null,null,null,null),this._text_12=this.renderer.createText(this._el_11,"\n ",null),this._el_13=this.renderer.createElement(this._el_11,"ion-item",null),this.renderer.setElementAttribute(this._el_13,"class","dev-menu-item item item-block"),this._appEl_13=new x.a(13,11,this,this._el_13);var n=Et.a(this.viewUtils,this.injector(13),this._appEl_13);this._Item_13_4=new xt.a(this.parent.parent.parentInjector.get(Tt.a),this.parent.parent.parentInjector.get(et.c),new nt.a(this._el_13),this.renderer),this._ItemContent_13_5=new xt.b,this._query_Label_13_0=new X.a,this._query_Button_13_1=new X.a,this._query_Icon_13_2=new X.a,this._appEl_13.initComponent(this._Item_13_4,[],n),this._text_14=this.renderer.createText(null,"\n ",null),this._el_15=this.renderer.createElement(null,"ion-label",null),this.renderer.setElementAttribute(this._el_15,"stacked",""),this._Label_15_3=new yt.a(this.parent.parent.parentInjector.get(et.c),new nt.a(this._el_15),this.renderer,null,"",null,null),this._text_16=this.renderer.createText(this._el_15,"Hostname / IP",null),this._text_17=this.renderer.createText(null,"\n ",null),this._el_18=this.renderer.createElement(null,"ion-input",null),this._appEl_18=new x.a(18,13,this,this._el_18);var i=At.a(this.viewUtils,this.injector(18),this._appEl_18);this._NgModel_18_4=new bt.a(null,null,null,null),this._NgControl_18_5=this._NgModel_18_4,this._NgControlStatus_18_6=new wt.a(this._NgControl_18_5),this._TextInput_18_7=new Ct.b(this.parent.parent.parentInjector.get(et.c),this.parent.parent.parentInjector.get(Tt.a),this._Item_13_4,this.parent.parent.parentInjector.get(k.a),this.parent.parent.parentInjector.get(N.f),new nt.a(this._el_18),this.renderer,this.parent.parent._Content_0_4,this.parent.parent.parentInjector.get(I.a,null),this._NgControl_18_5),this._appEl_18.initComponent(this._TextInput_18_7,[],i),i.create(this._TextInput_18_7,[],null),this._text_19=this.renderer.createText(null,"\n ",null),this._el_20=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_20,"class","connect-button-container"),this.renderer.setElementAttribute(this._el_20,"item-right",""),this._text_21=this.renderer.createText(this._el_20,"\n ",null),this._el_22=this.renderer.createElement(this._el_20,"button",null),this.renderer.setElementAttribute(this._el_22,"class","connect-button disable-hover"),this.renderer.setElementAttribute(this._el_22,"ion-button",""),this._appEl_22=new x.a(22,20,this,this._el_22);var r=_t.a(this.viewUtils,this.injector(22),this._appEl_22);this._Tooltip_22_5=new Z.a(this._appEl_22.vcRef,this.parent.parent.parentInjector.get(dt.a),this.parent.parent.parentInjector.get(N.f)),this._Button_22_6=new W.a(null,"",this.parent.parent.parentInjector.get(et.c),new nt.a(this._el_22),this.renderer),this._appEl_22.initComponent(this._Button_22_6,[],r),this._text_23=this.renderer.createText(null,"\n ",null),this._el_24=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_24,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_24,"src","assets/img/close.svg"),this._text_25=this.renderer.createText(null,"\n ",null),r.create(this._Button_22_6,[[].concat([this._text_23,this._el_24,this._text_25])],null),this._text_26=this.renderer.createText(this._el_20,"\n ",null),this._el_27=this.renderer.createElement(this._el_20,"button",null),this.renderer.setElementAttribute(this._el_27,"class","connect-button disable-hover"),this.renderer.setElementAttribute(this._el_27,"ion-button",""),this._appEl_27=new x.a(27,20,this,this._el_27);var s=_t.a(this.viewUtils,this.injector(27),this._appEl_27);this._Tooltip_27_5=new Z.a(this._appEl_27.vcRef,this.parent.parent.parentInjector.get(dt.a),this.parent.parent.parentInjector.get(N.f)),this._Button_27_6=new W.a(null,"",this.parent.parent.parentInjector.get(et.c),new nt.a(this._el_27),this.renderer),this._appEl_27.initComponent(this._Button_27_6,[],s),this._text_28=this.renderer.createText(null,"\n ",null),this._el_29=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_29,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_29,"src","assets/img/add.svg"),this._text_30=this.renderer.createText(null,"\n ",null),s.create(this._Button_27_6,[[].concat([this._text_28,this._el_29,this._text_30])],null),this._text_31=this.renderer.createText(this._el_20,"\n ",null),this._text_32=this.renderer.createText(null,"\n ",null),this._query_Label_13_0.reset([this._Label_15_3]),this._Item_13_4.contentLabel=this._query_Label_13_0.first,n.create(this._Item_13_4,[[],[].concat([this._el_15]),[].concat([this._text_14,this._text_17,this._text_19,this._text_32]),[].concat([this._el_18]),[].concat([this._el_20])],null),this._text_33=this.renderer.createText(this._el_11,"\n ",null),this._text_34=this.renderer.createText(null,"\n ",null),this._query_Label_4_0.reset([this._Label_11_3]),this._Item_4_4.contentLabel=this._query_Label_4_0.first,e.create(this._Item_4_4,[[].concat([this._el_6]),[].concat([this._el_11]),[].concat([this._text_5,this._text_10,this._text_34]),[],[]],null),this._text_35=this.renderer.createText(this._el_2,"\n ",null),this._text_36=this.renderer.createText(this._el_0,"\n ",null);var o=this.renderer.listen(this._el_18,"ngModelChange",this.eventHandler(this._handle_ngModelChange_18_0.bind(this))),a=this.renderer.listen(this._el_18,"keypress",this.eventHandler(this._handle_keypress_18_1.bind(this)));this._expr_2=C.n;var _=this._NgModel_18_4.update.subscribe(this.eventHandler(this._handle_ngModelChange_18_0.bind(this)));this._expr_3=C.n,this._expr_4=C.n,this._expr_5=C.n,this._expr_6=C.n,this._expr_7=C.n,this._expr_8=C.n;var l=this.renderer.listen(this._el_22,"click",this.eventHandler(this._handle_click_22_0.bind(this))),h=this.renderer.listen(this._el_22,"focusin",this.eventHandler(this._handle_focusin_22_1.bind(this))),c=this.renderer.listen(this._el_22,"mouseenter",this.eventHandler(this._handle_mouseenter_22_2.bind(this))),u=this.renderer.listen(this._el_22,"focusout",this.eventHandler(this._handle_focusout_22_3.bind(this))),p=this.renderer.listen(this._el_22,"mouseleave",this.eventHandler(this._handle_mouseleave_22_4.bind(this)));this._expr_14=C.n,this._expr_15=C.n,this._expr_16=C.n;var d=this.renderer.listen(this._el_27,"tap",this.eventHandler(this._handle_tap_27_0.bind(this))),f=this.renderer.listen(this._el_27,"focusin",this.eventHandler(this._handle_focusin_27_1.bind(this))),m=this.renderer.listen(this._el_27,"mouseenter",this.eventHandler(this._handle_mouseenter_27_2.bind(this))),g=this.renderer.listen(this._el_27,"focusout",this.eventHandler(this._handle_focusout_27_3.bind(this))),v=this.renderer.listen(this._el_27,"mouseleave",this.eventHandler(this._handle_mouseleave_27_4.bind(this)));return this._expr_22=C.n,this._expr_23=C.n,this._expr_24=C.n,this._expr_25=C.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9,this._text_10,this._el_11,this._text_12,this._el_13,this._text_14,this._el_15,this._text_16,this._text_17,this._el_18,this._text_19,this._el_20,this._text_21,this._el_22,this._text_23,this._el_24,this._text_25,this._text_26,this._el_27,this._text_28,this._el_29,this._text_30,this._text_31,this._text_32,this._text_33,this._text_34,this._text_35,this._text_36],[o,a,l,h,c,u,p,d,f,m,g,v],[_]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===yt.a&&15<=e&&e<=16?this._Label_15_3:t===bt.a&&18===e?this._NgModel_18_4:t===It.a&&18===e?this._NgControl_18_5:t===wt.a&&18===e?this._NgControlStatus_18_6:t===Ct.b&&18===e?this._TextInput_18_7:t===Z.a&&22<=e&&e<=25?this._Tooltip_22_5:t===W.a&&22<=e&&e<=25?this._Button_22_6:t===Z.a&&27<=e&&e<=30?this._Tooltip_27_5:t===W.a&&27<=e&&e<=30?this._Button_27_6:t===xt.a&&13<=e&&e<=32?this._Item_13_4:t===xt.b&&13<=e&&e<=32?this._ItemContent_13_5:t===yt.a&&11<=e&&e<=33?this._Label_11_3:t===xt.a&&4<=e&&e<=34?this._Item_4_4:t===xt.b&&4<=e&&e<=34?this._ItemContent_4_5:t===vt.a&&2<=e&&e<=35?this._Card_2_3:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.context.addDeviceIp;b.c(t,this._expr_2,n)&&(this._NgModel_18_4.model=n,null===e&&(e={}),e.model=new C.m(this._expr_2,n),this._expr_2=n),null!==e&&this._NgModel_18_4.ngOnChanges(e),0!==this.numberOfChecks||t||this._TextInput_18_7.ngOnInit(),e=null;var i=this.parent.parent.context.tooltipMessages.backToAddDevice;b.c(t,this._expr_14,i)&&(this._Tooltip_22_5.content=i,null===e&&(e={}),e.content=new C.m(this._expr_14,i),this._expr_14=i);var r=!0;b.c(t,this._expr_15,r)&&(this._Tooltip_22_5.tooltipAnimation=r,null===e&&(e={}),e.tooltipAnimation=new C.m(this._expr_15,r),this._expr_15=r);var s=this.parent.parent.context.tutorialMode?"bottom":"left";b.c(t,this._expr_16,s)&&(this._Tooltip_22_5.tooltipPlacement=s,null===e&&(e={}),e.tooltipPlacement=new C.m(this._expr_16,s),this._expr_16=s),null!==e&&this._Tooltip_22_5.ngOnChanges(e),e=null;var o=this.parent.parent.context.tooltipMessages.addCurrentDevice;b.c(t,this._expr_22,o)&&(this._Tooltip_27_5.content=o,null===e&&(e={}),e.content=new C.m(this._expr_22,o),this._expr_22=o);var a=!0;b.c(t,this._expr_23,a)&&(this._Tooltip_27_5.tooltipAnimation=a,null===e&&(e={}),e.tooltipAnimation=new C.m(this._expr_23,a),this._expr_23=a);var _=this.parent.parent.context.tutorialMode?"right":"left";b.c(t,this._expr_24,_)&&(this._Tooltip_27_5.tooltipPlacement=_,null===e&&(e={}),e.tooltipPlacement=new C.m(this._expr_24,_),this._expr_24=_);var l=2===this.parent.parent.context.tutorialStage&&this.parent.parent.context.tutorialMode;b.c(t,this._expr_25,l)&&(this._Tooltip_27_5.forceShow=l,null===e&&(e={}),e.forceShow=new C.m(this._expr_25,l),this._expr_25=l),null!==e&&this._Tooltip_27_5.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(this._query_Button_13_1.dirty&&(this._query_Button_13_1.reset([this._Button_22_6,this._Button_27_6]),this._Item_13_4._buttons=this._query_Button_13_1,this._query_Button_13_1.notifyOnChanges()),this._query_Icon_13_2.dirty&&(this._query_Icon_13_2.reset([]),this._Item_13_4._icons=this._query_Icon_13_2,this._query_Icon_13_2.notifyOnChanges()),this._query_Button_4_1.dirty&&(this._query_Button_4_1.reset([]),this._Item_4_4._buttons=this._query_Button_4_1,this._query_Button_4_1.notifyOnChanges()),this._query_Icon_4_2.dirty&&(this._query_Icon_4_2.reset([]),this._Item_4_4._icons=this._query_Icon_4_2,this._query_Icon_4_2.notifyOnChanges()),this._TextInput_18_7.ngAfterContentChecked(),0===this.numberOfChecks&&this._Button_22_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_27_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_13_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_4_4.ngAfterContentInit());var h=this._NgControlStatus_18_6.ngClassUntouched;b.c(t,this._expr_3,h)&&(this.renderer.setElementClass(this._el_18,"ng-untouched",h),this._expr_3=h);var c=this._NgControlStatus_18_6.ngClassTouched;b.c(t,this._expr_4,c)&&(this.renderer.setElementClass(this._el_18,"ng-touched",c),this._expr_4=c);var u=this._NgControlStatus_18_6.ngClassPristine;b.c(t,this._expr_5,u)&&(this.renderer.setElementClass(this._el_18,"ng-pristine",u),this._expr_5=u);var p=this._NgControlStatus_18_6.ngClassDirty;b.c(t,this._expr_6,p)&&(this.renderer.setElementClass(this._el_18,"ng-dirty",p),this._expr_6=p);var d=this._NgControlStatus_18_6.ngClassValid;b.c(t,this._expr_7,d)&&(this.renderer.setElementClass(this._el_18,"ng-valid",d),this._expr_7=d);var f=this._NgControlStatus_18_6.ngClassInvalid;b.c(t,this._expr_8,f)&&(this.renderer.setElementClass(this._el_18,"ng-invalid",f),this._expr_8=f),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_18_4.ngOnDestroy(),this._TextInput_18_7.ngOnDestroy()},e.prototype._handle_ngModelChange_18_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.parent.context.addDeviceIp=t)!==!1;return e},e.prototype._handle_keypress_18_1=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.checkForEnter(t,"network")!==!1;return e},e.prototype._handle_click_22_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.backToChooseDeviceType()!==!1;return e},e.prototype._handle_focusin_22_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_22_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_22_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_22_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_22_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_22_5.hide()!==!1;return e},e.prototype._handle_mouseleave_22_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_22_5.hide()!==!1;return e},e.prototype._handle_tap_27_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.attemptConnect(this.parent.parent.context.addDeviceIp)!==!1;return e},e.prototype._handle_focusin_27_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_27_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_27_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_27_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_27_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_27_5.hide()!==!1;return e},e.prototype._handle_mouseleave_27_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_27_5.hide()!==!1;return e},e}(v.a),$t=function(t){function e(n,i,r){t.call(this,e,Bt,w.a.EMBEDDED,n,i,r,C.b.CheckAlways)}return Pt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"text-center",""),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-card",null),this.renderer.setElementAttribute(this._el_2,"class","device-manager-card select-device-card"),this._Card_2_3=new vt.a(this.parent.parent.parentInjector.get(et.c),new nt.a(this._el_2),this.renderer),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-item",null),this.renderer.setElementAttribute(this._el_4,"class","device-card-item item item-block"),this._appEl_4=new x.a(4,2,this,this._el_4);var e=Et.a(this.viewUtils,this.injector(4),this._appEl_4);this._NgClass_4_4=new Q.a(this.parent.parent.parentInjector.get(ut.a),this.parent.parent.parentInjector.get(pt.a),new nt.a(this._el_4),this.renderer),this._Item_4_5=new xt.a(this.parent.parent.parentInjector.get(Tt.a),this.parent.parent.parentInjector.get(et.c),new nt.a(this._el_4),this.renderer),this._ItemContent_4_6=new xt.b,this._query_Label_4_0=new X.a,this._query_Button_4_1=new X.a,this._query_Icon_4_2=new X.a,this._appEl_4.initComponent(this._Item_4_5,[],e),this._text_5=this.renderer.createText(null,"\n ",null),this._el_6=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_6,"class","item-image-container"),this.renderer.setElementAttribute(this._el_6,"item-left",""),this._text_7=this.renderer.createText(this._el_6,"\n ",null),this._el_8=this.renderer.createElement(this._el_6,"img",null),this.renderer.setElementAttribute(this._el_8,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_8,"src","assets/img/simulated.svg"),this._text_9=this.renderer.createText(this._el_6,"\n ",null),this._text_10=this.renderer.createText(null,"\n ",null),this._el_11=this.renderer.createElement(null,"ion-label",null),this.renderer.setElementAttribute(this._el_11,"class","add-device-label"),this._Label_11_3=new yt.a(this.parent.parent.parentInjector.get(et.c),new nt.a(this._el_11),this.renderer,null,null,null,null),this._text_12=this.renderer.createText(this._el_11,"\n ",null),this._el_13=this.renderer.createElement(this._el_11,"ion-item",null),this.renderer.setElementAttribute(this._el_13,"class","dev-menu-item item item-block"),this._appEl_13=new x.a(13,11,this,this._el_13);var n=Et.a(this.viewUtils,this.injector(13),this._appEl_13);this._Item_13_4=new xt.a(this.parent.parent.parentInjector.get(Tt.a),this.parent.parent.parentInjector.get(et.c),new nt.a(this._el_13),this.renderer),this._ItemContent_13_5=new xt.b,this._query_Label_13_0=new X.a,this._query_Button_13_1=new X.a,this._query_Icon_13_2=new X.a,this._appEl_13.initComponent(this._Item_13_4,[],n),this._text_14=this.renderer.createText(null,"\n ",null),this._el_15=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_15,"class","custom-ion-label"),this._text_16=this.renderer.createText(this._el_15,"Simulated Device",null),this._text_17=this.renderer.createText(null,"\n ",null),this._el_18=this.renderer.createElement(null,"dropdown-popover",null),this.renderer.setElementAttribute(this._el_18,"class","dropdown-popover-selector"),this._appEl_18=new x.a(18,13,this,this._el_18);var i=Ot.b(this.viewUtils,this.injector(18),this._appEl_18);this._DropdownPopoverComponent_18_4=new St.a(this.parent.parent.parentInjector.get(E.a),new nt.a(this._el_18),this.parent.parent.parentInjector.get(N.f)),this._appEl_18.initComponent(this._DropdownPopoverComponent_18_4,[],i),i.create(this._DropdownPopoverComponent_18_4,[],null),this._text_19=this.renderer.createText(null,"\n ",null),this._el_20=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_20,"class","connect-button-container"),this.renderer.setElementAttribute(this._el_20,"item-right",""),this._text_21=this.renderer.createText(this._el_20,"\n ",null),this._el_22=this.renderer.createElement(this._el_20,"button",null),this.renderer.setElementAttribute(this._el_22,"class","connect-button disable-hover"),this.renderer.setElementAttribute(this._el_22,"ion-button",""),this._appEl_22=new x.a(22,20,this,this._el_22);var r=_t.a(this.viewUtils,this.injector(22),this._appEl_22);this._Tooltip_22_5=new Z.a(this._appEl_22.vcRef,this.parent.parent.parentInjector.get(dt.a),this.parent.parent.parentInjector.get(N.f)),this._Button_22_6=new W.a(null,"",this.parent.parent.parentInjector.get(et.c),new nt.a(this._el_22),this.renderer),this._appEl_22.initComponent(this._Button_22_6,[],r),this._text_23=this.renderer.createText(null,"\n ",null),this._el_24=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_24,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_24,"src","assets/img/close.svg"),this._text_25=this.renderer.createText(null,"\n ",null),r.create(this._Button_22_6,[[].concat([this._text_23,this._el_24,this._text_25])],null),this._text_26=this.renderer.createText(this._el_20,"\n ",null),this._el_27=this.renderer.createElement(this._el_20,"button",null),this.renderer.setElementAttribute(this._el_27,"class","connect-button disable-hover"),this.renderer.setElementAttribute(this._el_27,"ion-button",""),this._appEl_27=new x.a(27,20,this,this._el_27);var s=_t.a(this.viewUtils,this.injector(27),this._appEl_27);this._Tooltip_27_5=new Z.a(this._appEl_27.vcRef,this.parent.parent.parentInjector.get(dt.a),this.parent.parent.parentInjector.get(N.f)),this._Button_27_6=new W.a(null,"",this.parent.parent.parentInjector.get(et.c),new nt.a(this._el_27),this.renderer),this._appEl_27.initComponent(this._Button_27_6,[],s),this._text_28=this.renderer.createText(null,"\n ",null),this._el_29=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_29,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_29,"src","assets/img/add.svg"),this._text_30=this.renderer.createText(null,"\n ",null),s.create(this._Button_27_6,[[].concat([this._text_28,this._el_29,this._text_30])],null),this._text_31=this.renderer.createText(this._el_20,"\n ",null),this._text_32=this.renderer.createText(null,"\n ",null),this._query_Label_13_0.reset([]),this._Item_13_4.contentLabel=this._query_Label_13_0.first,n.create(this._Item_13_4,[[],[],[].concat([this._text_14,this._el_15,this._text_17,this._el_18,this._text_19,this._text_32]),[],[].concat([this._el_20])],null),this._text_33=this.renderer.createText(this._el_11,"\n ",null),this._text_34=this.renderer.createText(null,"\n ",null),this._query_Label_4_0.reset([this._Label_11_3]),this._Item_4_5.contentLabel=this._query_Label_4_0.first,e.create(this._Item_4_5,[[].concat([this._el_6]),[].concat([this._el_11]),[].concat([this._text_5,this._text_10,this._text_34]),[],[]],null),this._text_35=this.renderer.createText(this._el_2,"\n\n ",null),this._text_36=this.renderer.createText(this._el_0,"\n ",null),this._expr_0=C.n,this._map_0=b.h(function(t){return{"move-feature-to-front":t}}),this._expr_1=C.n;var o=this.renderer.listen(this._el_18,"onSelection",this.eventHandler(this._handle_onSelection_18_0.bind(this)));this._expr_3=C.n;var a=this._DropdownPopoverComponent_18_4.onSelection.subscribe(this.eventHandler(this._handle_onSelection_18_0.bind(this))),_=this.renderer.listen(this._el_22,"click",this.eventHandler(this._handle_click_22_0.bind(this))),l=this.renderer.listen(this._el_22,"focusin",this.eventHandler(this._handle_focusin_22_1.bind(this))),h=this.renderer.listen(this._el_22,"mouseenter",this.eventHandler(this._handle_mouseenter_22_2.bind(this))),c=this.renderer.listen(this._el_22,"focusout",this.eventHandler(this._handle_focusout_22_3.bind(this))),u=this.renderer.listen(this._el_22,"mouseleave",this.eventHandler(this._handle_mouseleave_22_4.bind(this)));this._expr_9=C.n,this._expr_10=C.n,this._expr_11=C.n;var p=this.renderer.listen(this._el_27,"tap",this.eventHandler(this._handle_tap_27_0.bind(this))),d=this.renderer.listen(this._el_27,"focusin",this.eventHandler(this._handle_focusin_27_1.bind(this))),f=this.renderer.listen(this._el_27,"mouseenter",this.eventHandler(this._handle_mouseenter_27_2.bind(this))),m=this.renderer.listen(this._el_27,"focusout",this.eventHandler(this._handle_focusout_27_3.bind(this))),g=this.renderer.listen(this._el_27,"mouseleave",this.eventHandler(this._handle_mouseleave_27_4.bind(this)));return this._expr_17=C.n,this._expr_18=C.n,this._expr_19=C.n,this._expr_20=C.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9,this._text_10,this._el_11,this._text_12,this._el_13,this._text_14,this._el_15,this._text_16,this._text_17,this._el_18,this._text_19,this._el_20,this._text_21,this._el_22,this._text_23,this._el_24,this._text_25,this._text_26,this._el_27,this._text_28,this._el_29,this._text_30,this._text_31,this._text_32,this._text_33,this._text_34,this._text_35,this._text_36],[o,_,l,h,c,u,p,d,f,m,g],[a]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===St.a&&18===e?this._DropdownPopoverComponent_18_4:t===Z.a&&22<=e&&e<=25?this._Tooltip_22_5:t===W.a&&22<=e&&e<=25?this._Button_22_6:t===Z.a&&27<=e&&e<=30?this._Tooltip_27_5:t===W.a&&27<=e&&e<=30?this._Button_27_6:t===xt.a&&13<=e&&e<=32?this._Item_13_4:t===xt.b&&13<=e&&e<=32?this._ItemContent_13_5:t===yt.a&&11<=e&&e<=33?this._Label_11_3:t===Q.a&&4<=e&&e<=34?this._NgClass_4_4:t===xt.a&&4<=e&&e<=34?this._Item_4_5:t===xt.b&&4<=e&&e<=34?this._ItemContent_4_6:t===vt.a&&2<=e&&e<=35?this._Card_2_3:n},e.prototype.detectChangesInternal=function(t){var e=null,n="device-card-item";b.c(t,this._expr_0,n)&&(this._NgClass_4_4.klass=n,this._expr_0=n);var i=this._map_0(2===this.parent.parent.context.tutorialStage&&this.parent.parent.context.tutorialMode);b.c(t,this._expr_1,i)&&(this._NgClass_4_4.ngClass=i,this._expr_1=i),t||this._NgClass_4_4.ngDoCheck(),e=null;var r=this.parent.parent.context.simulatedDevices;b.c(t,this._expr_3,r)&&(this._DropdownPopoverComponent_18_4.dataArray=r,null===e&&(e={}),e.dataArray=new C.m(this._expr_3,r),this._expr_3=r),null!==e&&this._DropdownPopoverComponent_18_4.ngOnChanges(e),e=null;var s=this.parent.parent.context.tooltipMessages.backToAddDevice;b.c(t,this._expr_9,s)&&(this._Tooltip_22_5.content=s,null===e&&(e={}),e.content=new C.m(this._expr_9,s),this._expr_9=s);var o=!0;b.c(t,this._expr_10,o)&&(this._Tooltip_22_5.tooltipAnimation=o,null===e&&(e={}),e.tooltipAnimation=new C.m(this._expr_10,o),this._expr_10=o);var a=this.parent.parent.context.tutorialMode?"bottom":"left";b.c(t,this._expr_11,a)&&(this._Tooltip_22_5.tooltipPlacement=a,null===e&&(e={}),e.tooltipPlacement=new C.m(this._expr_11,a),this._expr_11=a),null!==e&&this._Tooltip_22_5.ngOnChanges(e),e=null;var _=this.parent.parent.context.tooltipMessages.addCurrentDevice;b.c(t,this._expr_17,_)&&(this._Tooltip_27_5.content=_,null===e&&(e={}),e.content=new C.m(this._expr_17,_),this._expr_17=_);var l=!0;b.c(t,this._expr_18,l)&&(this._Tooltip_27_5.tooltipAnimation=l,null===e&&(e={}),e.tooltipAnimation=new C.m(this._expr_18,l),this._expr_18=l);var h=this.parent.parent.context.tutorialMode?"right":"left";b.c(t,this._expr_19,h)&&(this._Tooltip_27_5.tooltipPlacement=h,null===e&&(e={}),e.tooltipPlacement=new C.m(this._expr_19,h),this._expr_19=h);var c=2===this.parent.parent.context.tutorialStage&&this.parent.parent.context.tutorialMode;b.c(t,this._expr_20,c)&&(this._Tooltip_27_5.forceShow=c,null===e&&(e={}),e.forceShow=new C.m(this._expr_20,c),this._expr_20=c),null!==e&&this._Tooltip_27_5.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(this._query_Button_13_1.dirty&&(this._query_Button_13_1.reset([this._Button_22_6,this._Button_27_6]),this._Item_13_4._buttons=this._query_Button_13_1,this._query_Button_13_1.notifyOnChanges()),this._query_Icon_13_2.dirty&&(this._query_Icon_13_2.reset([]),this._Item_13_4._icons=this._query_Icon_13_2,this._query_Icon_13_2.notifyOnChanges()),this._query_Button_4_1.dirty&&(this._query_Button_4_1.reset([]),this._Item_4_5._buttons=this._query_Button_4_1,this._query_Button_4_1.notifyOnChanges()),this._query_Icon_4_2.dirty&&(this._query_Icon_4_2.reset([]),this._Item_4_5._icons=this._query_Icon_4_2,this._query_Icon_4_2.notifyOnChanges()),0===this.numberOfChecks&&this._Button_22_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_27_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_13_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_4_5.ngAfterContentInit()),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._DropdownPopoverComponent_18_4.ngAfterViewInit()},e.prototype._handle_onSelection_18_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.selectSimulatedDevice(t)!==!1;return e},e.prototype._handle_click_22_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.backToChooseDeviceType()!==!1;return e},e.prototype._handle_focusin_22_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_22_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_22_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_22_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_22_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_22_5.hide()!==!1;return e},e.prototype._handle_mouseleave_22_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_22_5.hide()!==!1;return e},e.prototype._handle_tap_27_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.openSimDevice()!==!1;return e},e.prototype._handle_focusin_27_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_27_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_27_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_27_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_27_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_27_5.hide()!==!1;return e},e.prototype._handle_mouseleave_27_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_27_5.hide()!==!1;return e},e}(v.a),Xt=function(t){function e(n,i,r){t.call(this,e,Bt,w.a.EMBEDDED,n,i,r,C.b.CheckAlways)}return Pt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"text-center",""),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-card",null),this.renderer.setElementAttribute(this._el_2,"class","device-manager-card select-device-card"),this._Card_2_3=new vt.a(this.parent.parent.parentInjector.get(et.c),new nt.a(this._el_2),this.renderer),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-item",null),this.renderer.setElementAttribute(this._el_4,"class","device-card-item item item-block"),this._appEl_4=new x.a(4,2,this,this._el_4);var e=Et.a(this.viewUtils,this.injector(4),this._appEl_4);this._Item_4_4=new xt.a(this.parent.parent.parentInjector.get(Tt.a),this.parent.parent.parentInjector.get(et.c),new nt.a(this._el_4),this.renderer),this._ItemContent_4_5=new xt.b,this._query_Label_4_0=new X.a,this._query_Button_4_1=new X.a,this._query_Icon_4_2=new X.a,this._appEl_4.initComponent(this._Item_4_4,[],e),this._text_5=this.renderer.createText(null,"\n ",null),this._el_6=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_6,"class","item-image-container"),this.renderer.setElementAttribute(this._el_6,"item-left",""),this._text_7=this.renderer.createText(this._el_6,"\n ",null),this._el_8=this.renderer.createElement(this._el_6,"img",null),this.renderer.setElementAttribute(this._el_8,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_8,"src","assets/img/agent.svg"),this._text_9=this.renderer.createText(this._el_6,"\n ",null),this._text_10=this.renderer.createText(null,"\n ",null),this._el_11=this.renderer.createElement(null,"ion-label",null),this.renderer.setElementAttribute(this._el_11,"class","add-device-label"),this._Label_11_3=new yt.a(this.parent.parent.parentInjector.get(et.c),new nt.a(this._el_11),this.renderer,null,null,null,null),this._text_12=this.renderer.createText(this._el_11,"\n ",null),this._el_13=this.renderer.createElement(this._el_11,"ion-item",null),this.renderer.setElementAttribute(this._el_13,"class","dev-menu-item item item-block"),this._appEl_13=new x.a(13,11,this,this._el_13);var n=Et.a(this.viewUtils,this.injector(13),this._appEl_13); this._Item_13_4=new xt.a(this.parent.parent.parentInjector.get(Tt.a),this.parent.parent.parentInjector.get(et.c),new nt.a(this._el_13),this.renderer),this._ItemContent_13_5=new xt.b,this._query_Label_13_0=new X.a,this._query_Button_13_1=new X.a,this._query_Icon_13_2=new X.a,this._appEl_13.initComponent(this._Item_13_4,[],n),this._text_14=this.renderer.createText(null,"\n ",null),this._el_15=this.renderer.createElement(null,"ion-label",null),this.renderer.setElementAttribute(this._el_15,"stacked",""),this._Label_15_3=new yt.a(this.parent.parent.parentInjector.get(et.c),new nt.a(this._el_15),this.renderer,null,"",null,null),this._text_16=this.renderer.createText(this._el_15,"Digilent Agent",null),this._text_17=this.renderer.createText(null,"\n ",null),this._el_18=this.renderer.createElement(null,"ion-input",null),this._appEl_18=new x.a(18,13,this,this._el_18);var i=At.a(this.viewUtils,this.injector(18),this._appEl_18);this._NgModel_18_4=new bt.a(null,null,null,null),this._NgControl_18_5=this._NgModel_18_4,this._NgControlStatus_18_6=new wt.a(this._NgControl_18_5),this._TextInput_18_7=new Ct.b(this.parent.parent.parentInjector.get(et.c),this.parent.parent.parentInjector.get(Tt.a),this._Item_13_4,this.parent.parent.parentInjector.get(k.a),this.parent.parent.parentInjector.get(N.f),new nt.a(this._el_18),this.renderer,this.parent.parent._Content_0_4,this.parent.parent.parentInjector.get(I.a,null),this._NgControl_18_5),this._appEl_18.initComponent(this._TextInput_18_7,[],i),i.create(this._TextInput_18_7,[],null),this._text_19=this.renderer.createText(null,"\n ",null),this._el_20=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_20,"class","connect-button-container"),this.renderer.setElementAttribute(this._el_20,"item-right",""),this._text_21=this.renderer.createText(this._el_20,"\n ",null),this._el_22=this.renderer.createElement(this._el_20,"button",null),this.renderer.setElementAttribute(this._el_22,"class","connect-button disable-hover"),this.renderer.setElementAttribute(this._el_22,"ion-button",""),this._appEl_22=new x.a(22,20,this,this._el_22);var r=_t.a(this.viewUtils,this.injector(22),this._appEl_22);this._Tooltip_22_5=new Z.a(this._appEl_22.vcRef,this.parent.parent.parentInjector.get(dt.a),this.parent.parent.parentInjector.get(N.f)),this._Button_22_6=new W.a(null,"",this.parent.parent.parentInjector.get(et.c),new nt.a(this._el_22),this.renderer),this._appEl_22.initComponent(this._Button_22_6,[],r),this._text_23=this.renderer.createText(null,"\n ",null),this._el_24=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_24,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_24,"src","assets/img/close.svg"),this._text_25=this.renderer.createText(null,"\n ",null),r.create(this._Button_22_6,[[].concat([this._text_23,this._el_24,this._text_25])],null),this._text_26=this.renderer.createText(this._el_20,"\n ",null),this._el_27=this.renderer.createElement(this._el_20,"button",null),this.renderer.setElementAttribute(this._el_27,"class","connect-button disable-hover"),this.renderer.setElementAttribute(this._el_27,"ion-button",""),this._appEl_27=new x.a(27,20,this,this._el_27);var s=_t.a(this.viewUtils,this.injector(27),this._appEl_27);this._Tooltip_27_5=new Z.a(this._appEl_27.vcRef,this.parent.parent.parentInjector.get(dt.a),this.parent.parent.parentInjector.get(N.f)),this._Button_27_6=new W.a(null,"",this.parent.parent.parentInjector.get(et.c),new nt.a(this._el_27),this.renderer),this._appEl_27.initComponent(this._Button_27_6,[],s),this._text_28=this.renderer.createText(null,"\n ",null),this._el_29=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_29,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_29,"src","assets/img/add.svg"),this._text_30=this.renderer.createText(null,"\n ",null),s.create(this._Button_27_6,[[].concat([this._text_28,this._el_29,this._text_30])],null),this._text_31=this.renderer.createText(this._el_20,"\n ",null),this._text_32=this.renderer.createText(null,"\n ",null),this._query_Label_13_0.reset([this._Label_15_3]),this._Item_13_4.contentLabel=this._query_Label_13_0.first,n.create(this._Item_13_4,[[],[].concat([this._el_15]),[].concat([this._text_14,this._text_17,this._text_19,this._text_32]),[].concat([this._el_18]),[].concat([this._el_20])],null),this._text_33=this.renderer.createText(this._el_11,"\n ",null),this._text_34=this.renderer.createText(null,"\n ",null),this._query_Label_4_0.reset([this._Label_11_3]),this._Item_4_4.contentLabel=this._query_Label_4_0.first,e.create(this._Item_4_4,[[].concat([this._el_6]),[].concat([this._el_11]),[].concat([this._text_5,this._text_10,this._text_34]),[],[]],null),this._text_35=this.renderer.createText(this._el_2,"\n\n ",null),this._text_36=this.renderer.createText(this._el_0,"\n ",null);var o=this.renderer.listen(this._el_18,"ngModelChange",this.eventHandler(this._handle_ngModelChange_18_0.bind(this))),a=this.renderer.listen(this._el_18,"keypress",this.eventHandler(this._handle_keypress_18_1.bind(this)));this._expr_2=C.n;var _=this._NgModel_18_4.update.subscribe(this.eventHandler(this._handle_ngModelChange_18_0.bind(this)));this._expr_3=C.n,this._expr_4=C.n,this._expr_5=C.n,this._expr_6=C.n,this._expr_7=C.n,this._expr_8=C.n;var l=this.renderer.listen(this._el_22,"click",this.eventHandler(this._handle_click_22_0.bind(this))),h=this.renderer.listen(this._el_22,"focusin",this.eventHandler(this._handle_focusin_22_1.bind(this))),c=this.renderer.listen(this._el_22,"mouseenter",this.eventHandler(this._handle_mouseenter_22_2.bind(this))),u=this.renderer.listen(this._el_22,"focusout",this.eventHandler(this._handle_focusout_22_3.bind(this))),p=this.renderer.listen(this._el_22,"mouseleave",this.eventHandler(this._handle_mouseleave_22_4.bind(this)));this._expr_14=C.n,this._expr_15=C.n,this._expr_16=C.n;var d=this.renderer.listen(this._el_27,"tap",this.eventHandler(this._handle_tap_27_0.bind(this))),f=this.renderer.listen(this._el_27,"focusin",this.eventHandler(this._handle_focusin_27_1.bind(this))),m=this.renderer.listen(this._el_27,"mouseenter",this.eventHandler(this._handle_mouseenter_27_2.bind(this))),g=this.renderer.listen(this._el_27,"focusout",this.eventHandler(this._handle_focusout_27_3.bind(this))),v=this.renderer.listen(this._el_27,"mouseleave",this.eventHandler(this._handle_mouseleave_27_4.bind(this)));return this._expr_22=C.n,this._expr_23=C.n,this._expr_24=C.n,this._expr_25=C.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9,this._text_10,this._el_11,this._text_12,this._el_13,this._text_14,this._el_15,this._text_16,this._text_17,this._el_18,this._text_19,this._el_20,this._text_21,this._el_22,this._text_23,this._el_24,this._text_25,this._text_26,this._el_27,this._text_28,this._el_29,this._text_30,this._text_31,this._text_32,this._text_33,this._text_34,this._text_35,this._text_36],[o,a,l,h,c,u,p,d,f,m,g,v],[_]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===yt.a&&15<=e&&e<=16?this._Label_15_3:t===bt.a&&18===e?this._NgModel_18_4:t===It.a&&18===e?this._NgControl_18_5:t===wt.a&&18===e?this._NgControlStatus_18_6:t===Ct.b&&18===e?this._TextInput_18_7:t===Z.a&&22<=e&&e<=25?this._Tooltip_22_5:t===W.a&&22<=e&&e<=25?this._Button_22_6:t===Z.a&&27<=e&&e<=30?this._Tooltip_27_5:t===W.a&&27<=e&&e<=30?this._Button_27_6:t===xt.a&&13<=e&&e<=32?this._Item_13_4:t===xt.b&&13<=e&&e<=32?this._ItemContent_13_5:t===yt.a&&11<=e&&e<=33?this._Label_11_3:t===xt.a&&4<=e&&e<=34?this._Item_4_4:t===xt.b&&4<=e&&e<=34?this._ItemContent_4_5:t===vt.a&&2<=e&&e<=35?this._Card_2_3:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.context.deviceBridgeAddress;b.c(t,this._expr_2,n)&&(this._NgModel_18_4.model=n,null===e&&(e={}),e.model=new C.m(this._expr_2,n),this._expr_2=n),null!==e&&this._NgModel_18_4.ngOnChanges(e),0!==this.numberOfChecks||t||this._TextInput_18_7.ngOnInit(),e=null;var i=this.parent.parent.context.tooltipMessages.backToAddDevice;b.c(t,this._expr_14,i)&&(this._Tooltip_22_5.content=i,null===e&&(e={}),e.content=new C.m(this._expr_14,i),this._expr_14=i);var r=!0;b.c(t,this._expr_15,r)&&(this._Tooltip_22_5.tooltipAnimation=r,null===e&&(e={}),e.tooltipAnimation=new C.m(this._expr_15,r),this._expr_15=r);var s=this.parent.parent.context.tutorialMode?"bottom":"left";b.c(t,this._expr_16,s)&&(this._Tooltip_22_5.tooltipPlacement=s,null===e&&(e={}),e.tooltipPlacement=new C.m(this._expr_16,s),this._expr_16=s),null!==e&&this._Tooltip_22_5.ngOnChanges(e),e=null;var o=this.parent.parent.context.tooltipMessages.addCurrentDevice;b.c(t,this._expr_22,o)&&(this._Tooltip_27_5.content=o,null===e&&(e={}),e.content=new C.m(this._expr_22,o),this._expr_22=o);var a=!0;b.c(t,this._expr_23,a)&&(this._Tooltip_27_5.tooltipAnimation=a,null===e&&(e={}),e.tooltipAnimation=new C.m(this._expr_23,a),this._expr_23=a);var _=this.parent.parent.context.tutorialMode?"right":"left";b.c(t,this._expr_24,_)&&(this._Tooltip_27_5.tooltipPlacement=_,null===e&&(e={}),e.tooltipPlacement=new C.m(this._expr_24,_),this._expr_24=_);var l=2===this.parent.parent.context.tutorialStage&&this.parent.parent.context.tutorialMode;b.c(t,this._expr_25,l)&&(this._Tooltip_27_5.forceShow=l,null===e&&(e={}),e.forceShow=new C.m(this._expr_25,l),this._expr_25=l),null!==e&&this._Tooltip_27_5.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(this._query_Button_13_1.dirty&&(this._query_Button_13_1.reset([this._Button_22_6,this._Button_27_6]),this._Item_13_4._buttons=this._query_Button_13_1,this._query_Button_13_1.notifyOnChanges()),this._query_Icon_13_2.dirty&&(this._query_Icon_13_2.reset([]),this._Item_13_4._icons=this._query_Icon_13_2,this._query_Icon_13_2.notifyOnChanges()),this._query_Button_4_1.dirty&&(this._query_Button_4_1.reset([]),this._Item_4_4._buttons=this._query_Button_4_1,this._query_Button_4_1.notifyOnChanges()),this._query_Icon_4_2.dirty&&(this._query_Icon_4_2.reset([]),this._Item_4_4._icons=this._query_Icon_4_2,this._query_Icon_4_2.notifyOnChanges()),this._TextInput_18_7.ngAfterContentChecked(),0===this.numberOfChecks&&this._Button_22_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_27_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_13_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_4_4.ngAfterContentInit());var h=this._NgControlStatus_18_6.ngClassUntouched;b.c(t,this._expr_3,h)&&(this.renderer.setElementClass(this._el_18,"ng-untouched",h),this._expr_3=h);var c=this._NgControlStatus_18_6.ngClassTouched;b.c(t,this._expr_4,c)&&(this.renderer.setElementClass(this._el_18,"ng-touched",c),this._expr_4=c);var u=this._NgControlStatus_18_6.ngClassPristine;b.c(t,this._expr_5,u)&&(this.renderer.setElementClass(this._el_18,"ng-pristine",u),this._expr_5=u);var p=this._NgControlStatus_18_6.ngClassDirty;b.c(t,this._expr_6,p)&&(this.renderer.setElementClass(this._el_18,"ng-dirty",p),this._expr_6=p);var d=this._NgControlStatus_18_6.ngClassValid;b.c(t,this._expr_7,d)&&(this.renderer.setElementClass(this._el_18,"ng-valid",d),this._expr_7=d);var f=this._NgControlStatus_18_6.ngClassInvalid;b.c(t,this._expr_8,f)&&(this.renderer.setElementClass(this._el_18,"ng-invalid",f),this._expr_8=f),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_18_4.ngOnDestroy(),this._TextInput_18_7.ngOnDestroy()},e.prototype._handle_ngModelChange_18_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.parent.context.deviceBridgeAddress=t)!==!1;return e},e.prototype._handle_keypress_18_1=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.checkForEnter(t,"agent")!==!1;return e},e.prototype._handle_click_22_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.backToChooseDeviceType()!==!1;return e},e.prototype._handle_focusin_22_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_22_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_22_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_22_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_22_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_22_5.hide()!==!1;return e},e.prototype._handle_mouseleave_22_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_22_5.hide()!==!1;return e},e.prototype._handle_tap_27_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.attemptBridgeConnect(this.parent.parent.context.deviceBridgeAddress)!==!1;return e},e.prototype._handle_focusin_27_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_27_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_27_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_27_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_27_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_27_5.hide()!==!1;return e},e.prototype._handle_mouseleave_27_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_27_5.hide()!==!1;return e},e}(v.a),Jt=function(t){function e(n,i,r){t.call(this,e,Bt,w.a.EMBEDDED,n,i,r,C.b.CheckAlways)}return Pt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-card",null),this.renderer.setElementAttribute(this._el_0,"class","device-manager-card highlight-device-card"),this._Card_0_3=new vt.a(this.parent.parentInjector.get(et.c),new nt.a(this._el_0),this.renderer),this._text_1=this.renderer.createText(this._el_0,"\n\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-item",null),this.renderer.setElementAttribute(this._el_2,"class","card-item item item-block"),this.renderer.setElementAttribute(this._el_2,"forceShowDelay","500"),this.renderer.setElementAttribute(this._el_2,"tooltipPlacement","bottom"),this._appEl_2=new x.a(2,0,this,this._el_2);var e=Et.a(this.viewUtils,this.injector(2),this._appEl_2);this._NgClass_2_5=new Q.a(this.parent.parentInjector.get(ut.a),this.parent.parentInjector.get(pt.a),new nt.a(this._el_2),this.renderer),this._Tooltip_2_6=new Z.a(this._appEl_2.vcRef,this.parent.parentInjector.get(dt.a),this.parent.parentInjector.get(N.f)),this._Item_2_7=new xt.a(this.parent.parentInjector.get(Tt.a),this.parent.parentInjector.get(et.c),new nt.a(this._el_2),this.renderer),this._ItemContent_2_8=new xt.b,this._query_Label_2_0=new X.a,this._query_Button_2_1=new X.a,this._query_Icon_2_2=new X.a,this._appEl_2.initComponent(this._Item_2_7,[],e),this._text_3=this.renderer.createText(null,"\n ",null),this._el_4=this.renderer.createElement(null,"ion-avatar",null),this.renderer.setElementAttribute(this._el_4,"item-left",""),this._Avatar_4_3=new kt.a,this._text_5=this.renderer.createText(this._el_4,"\n ",null),this._el_6=this.renderer.createElement(this._el_4,"img",null),this._text_7=this.renderer.createText(this._el_4,"\n ",null),this._text_8=this.renderer.createText(null,"\n ",null),this._el_9=this.renderer.createElement(null,"ion-label",null),this.renderer.setElementAttribute(this._el_9,"class","card-label"),this._Label_9_3=new yt.a(this.parent.parentInjector.get(et.c),new nt.a(this._el_9),this.renderer,null,null,null,null),this._text_10=this.renderer.createText(this._el_9,"\n ",null),this._el_11=this.renderer.createElement(this._el_9,"h2",null),this.renderer.setElementAttribute(this._el_11,"class","turn-white"),this._text_12=this.renderer.createText(this._el_11,"",null),this._text_13=this.renderer.createText(this._el_9,"\n ",null),this._el_14=this.renderer.createElement(this._el_9,"p",null),this.renderer.setElementAttribute(this._el_14,"class","turn-white"),this._text_15=this.renderer.createText(this._el_14,"",null),this._text_16=this.renderer.createText(this._el_9,"\n ",null),this._el_17=this.renderer.createElement(this._el_9,"p",null),this.renderer.setElementAttribute(this._el_17,"class","turn-white"),this._text_18=this.renderer.createText(this._el_17,"",null),this._text_19=this.renderer.createText(this._el_9,"\n ",null),this._text_20=this.renderer.createText(null,"\n\n ",null),this._el_21=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_21,"class","button-container"),this.renderer.setElementAttribute(this._el_21,"item-right",""),this._text_22=this.renderer.createText(this._el_21,"\n ",null),this._anchor_23=this.renderer.createTemplateAnchor(this._el_21,null),this._appEl_23=new x.a(23,21,this,this._anchor_23),this._TemplateRef_23_5=new at.a(this._appEl_23,g),this._NgIf_23_6=new G.a(this._appEl_23.vcRef,this._TemplateRef_23_5),this._text_24=this.renderer.createText(this._el_21,"\n ",null),this._el_25=this.renderer.createElement(this._el_21,"div",null),this._text_26=this.renderer.createText(this._el_25,"\n ",null),this._el_27=this.renderer.createElement(this._el_25,"button",null),this.renderer.setElementAttribute(this._el_27,"class","card-button"),this.renderer.setElementAttribute(this._el_27,"clear",""),this.renderer.setElementAttribute(this._el_27,"ion-button",""),this.renderer.setElementAttribute(this._el_27,"tooltipPlacement","left"),this._appEl_27=new x.a(27,25,this,this._el_27);var n=_t.a(this.viewUtils,this.injector(27),this._appEl_27);this._Tooltip_27_5=new Z.a(this._appEl_27.vcRef,this.parent.parentInjector.get(dt.a),this.parent.parentInjector.get(N.f)),this._Button_27_6=new W.a(null,"",this.parent.parentInjector.get(et.c),new nt.a(this._el_27),this.renderer),this._appEl_27.initComponent(this._Button_27_6,[],n),this._text_28=this.renderer.createText(null,"\n ",null),this._el_29=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_29,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_29,"src","assets/img/more.svg"),this._text_30=this.renderer.createText(null,"\n ",null),n.create(this._Button_27_6,[[].concat([this._text_28,this._el_29,this._text_30])],null),this._text_31=this.renderer.createText(this._el_25,"\n ",null),this._text_32=this.renderer.createText(this._el_21,"\n ",null),this._text_33=this.renderer.createText(null,"\n ",null),this._query_Label_2_0.reset([this._Label_9_3]),this._Item_2_7.contentLabel=this._query_Label_2_0.first,e.create(this._Item_2_7,[[].concat([this._el_4]),[].concat([this._el_9]),[].concat([this._text_3,this._text_8,this._text_20,this._text_33]),[],[].concat([this._el_21])],null),this._text_34=this.renderer.createText(this._el_0,"\n\n ",null);var i=this.renderer.listen(this._el_2,"focusin",this.eventHandler(this._handle_focusin_2_0.bind(this))),r=this.renderer.listen(this._el_2,"mouseenter",this.eventHandler(this._handle_mouseenter_2_1.bind(this))),s=this.renderer.listen(this._el_2,"focusout",this.eventHandler(this._handle_focusout_2_2.bind(this))),o=this.renderer.listen(this._el_2,"mouseleave",this.eventHandler(this._handle_mouseleave_2_3.bind(this)));this._expr_4=C.n,this._map_0=b.h(function(t){return{"move-feature-to-front":t}}),this._expr_5=C.n,this._expr_6=C.n,this._expr_7=C.n,this._expr_8=C.n,this._expr_9=C.n,this._expr_10=C.n;var a=this.renderer.listen(this._el_4,"click",this.eventHandler(this._handle_click_4_0.bind(this)));this._expr_12=C.n;var _=this.renderer.listen(this._el_9,"click",this.eventHandler(this._handle_click_9_0.bind(this)));this._expr_14=C.n,this._expr_15=C.n,this._expr_16=C.n,this._expr_17=C.n;var l=this.renderer.listen(this._el_27,"click",this.eventHandler(this._handle_click_27_0.bind(this))),h=this.renderer.listen(this._el_27,"focusin",this.eventHandler(this._handle_focusin_27_1.bind(this))),c=this.renderer.listen(this._el_27,"mouseenter",this.eventHandler(this._handle_mouseenter_27_2.bind(this))),u=this.renderer.listen(this._el_27,"focusout",this.eventHandler(this._handle_focusout_27_3.bind(this))),p=this.renderer.listen(this._el_27,"mouseleave",this.eventHandler(this._handle_mouseleave_27_4.bind(this)));return this._expr_23=C.n,this._expr_24=C.n,this._expr_25=C.n,this._expr_26=C.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._text_8,this._el_9,this._text_10,this._el_11,this._text_12,this._text_13,this._el_14,this._text_15,this._text_16,this._el_17,this._text_18,this._text_19,this._text_20,this._el_21,this._text_22,this._anchor_23,this._text_24,this._el_25,this._text_26,this._el_27,this._text_28,this._el_29,this._text_30,this._text_31,this._text_32,this._text_33,this._text_34],[i,r,s,o,a,_,l,h,c,u,p],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===kt.a&&4<=e&&e<=7?this._Avatar_4_3:t===yt.a&&9<=e&&e<=19?this._Label_9_3:t===at.b&&23===e?this._TemplateRef_23_5:t===G.a&&23===e?this._NgIf_23_6:t===Z.a&&27<=e&&e<=30?this._Tooltip_27_5:t===W.a&&27<=e&&e<=30?this._Button_27_6:t===Q.a&&2<=e&&e<=33?this._NgClass_2_5:t===Z.a&&2<=e&&e<=33?this._Tooltip_2_6:t===xt.a&&2<=e&&e<=33?this._Item_2_7:t===xt.b&&2<=e&&e<=33?this._ItemContent_2_8:t===vt.a&&0<=e&&e<=34?this._Card_0_3:n},e.prototype.detectChangesInternal=function(t){var e=!0,n=null,i="card-item";b.c(t,this._expr_4,i)&&(this._NgClass_2_5.klass=i,this._expr_4=i);var r=this._map_0(3===this.parent.context.tutorialStage&&this.parent.context.tutorialMode&&0===this.context.index);b.c(t,this._expr_5,r)&&(this._NgClass_2_5.ngClass=r,this._expr_5=r),t||this._NgClass_2_5.ngDoCheck(),n=null;var s=this.parent.context.tooltipMessages.deviceCard;b.c(t,this._expr_6,s)&&(this._Tooltip_2_6.content=s,null===n&&(n={}),n.content=new C.m(this._expr_6,s),this._expr_6=s);var o=!0;b.c(t,this._expr_7,o)&&(this._Tooltip_2_6.tooltipAnimation=o,null===n&&(n={}),n.tooltipAnimation=new C.m(this._expr_7,o),this._expr_7=o);var a="bottom";b.c(t,this._expr_8,a)&&(this._Tooltip_2_6.tooltipPlacement=a,null===n&&(n={}),n.tooltipPlacement=new C.m(this._expr_8,a),this._expr_8=a);var _=3===this.parent.context.tutorialStage&&this.parent.context.tutorialMode&&0===this.context.index;b.c(t,this._expr_9,_)&&(this._Tooltip_2_6.forceShow=_,null===n&&(n={}),n.forceShow=new C.m(this._expr_9,_),this._expr_9=_);var l="500";b.c(t,this._expr_10,l)&&(this._Tooltip_2_6.forceShowDelay=l,null===n&&(n={}),n.forceShowDelay=new C.m(this._expr_10,l),this._expr_10=l),null!==n&&this._Tooltip_2_6.ngOnChanges(n);var h=this.context.$implicit.outdatedFirmware;b.c(t,this._expr_17,h)&&(this._NgIf_23_6.ngIf=h,this._expr_17=h),n=null;var c=this.parent.context.tooltipMessages.deviceCardMore;b.c(t,this._expr_23,c)&&(this._Tooltip_27_5.content=c,null===n&&(n={}),n.content=new C.m(this._expr_23,c),this._expr_23=c);var u=!0;b.c(t,this._expr_24,u)&&(this._Tooltip_27_5.tooltipAnimation=u,null===n&&(n={}),n.tooltipAnimation=new C.m(this._expr_24,u),this._expr_24=u);var p="left";b.c(t,this._expr_25,p)&&(this._Tooltip_27_5.tooltipPlacement=p,null===n&&(n={}),n.tooltipPlacement=new C.m(this._expr_25,p),this._expr_25=p),null!==n&&this._Tooltip_27_5.ngOnChanges(n),e=!1;var d="";b.c(t,this._expr_26,d)&&(this._Button_27_6.clear=d,e=!0,this._expr_26=d),e&&this._appEl_27.componentView.markAsCheckOnce(),this.detectContentChildrenChanges(t),t||(this._query_Button_2_1.dirty&&(this._query_Button_2_1.reset([this._appEl_23.mapNestedViews(Qt,function(t){return[t._Button_2_4]}),this._Button_27_6]),this._Item_2_7._buttons=this._query_Button_2_1,this._query_Button_2_1.notifyOnChanges()),this._query_Icon_2_2.dirty&&(this._query_Icon_2_2.reset([]),this._Item_2_7._icons=this._query_Icon_2_2,this._query_Icon_2_2.notifyOnChanges()),0===this.numberOfChecks&&this._Button_27_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_2_7.ngAfterContentInit());var f=this.parent.context.getLogoName(this.context.index);b.c(t,this._expr_12,f)&&(this.renderer.setElementProperty(this._el_6,"src",this.viewUtils.sanitizer.sanitize(Nt.b.URL,f)),this._expr_12=f);var m=b.e(1,"",this.context.$implicit.hostname,"");b.c(t,this._expr_14,m)&&(this.renderer.setText(this._text_12,m),this._expr_14=m);var g=b.e(1,"",this.context.$implicit.ipAddress,"");b.c(t,this._expr_15,g)&&(this.renderer.setText(this._text_15,g),this._expr_15=g);var v=b.e(1,"",this.context.$implicit.deviceDescriptor.deviceModel,"");b.c(t,this._expr_16,v)&&(this.renderer.setText(this._text_18,v),this._expr_16=v),this.detectViewChildrenChanges(t)},e.prototype._handle_focusin_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_2_6.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_2_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_2_6.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_2_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_2_6.hide()!==!1;return e},e.prototype._handle_mouseleave_2_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_2_6.hide()!==!1;return e},e.prototype._handle_click_4_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.connectToDevice(this.context.index)!==!1;return e},e.prototype._handle_click_9_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.connectToDevice(this.context.index)!==!1;return e},e.prototype._handle_click_27_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.openPopover(t,this.context.index)!==!1;return e},e.prototype._handle_focusin_27_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_27_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_27_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_27_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_27_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_27_5.hide()!==!1;return e},e.prototype._handle_mouseleave_27_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_27_5.hide()!==!1;return e},e}(v.a),Qt=function(t){function e(n,i,r){t.call(this,e,Bt,w.a.EMBEDDED,n,i,r,C.b.CheckAlways)}return Pt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"button",null),this.renderer.setElementAttribute(this._el_2,"class","card-button alert-button"),this.renderer.setElementAttribute(this._el_2,"clear",""),this.renderer.setElementAttribute(this._el_2,"ion-button",""),this._appEl_2=new x.a(2,0,this,this._el_2);var e=_t.a(this.viewUtils,this.injector(2),this._appEl_2);this._Button_2_4=new W.a(null,"",this.parent.parent.parentInjector.get(et.c),new nt.a(this._el_2),this.renderer),this._appEl_2.initComponent(this._Button_2_4,[],e),this._text_3=this.renderer.createText(null,"\n ",null),this._el_4=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_4,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_4,"src","assets/img/info.svg"),this._text_5=this.renderer.createText(null,"\n ",null),e.create(this._Button_2_4,[[].concat([this._text_3,this._el_4,this._text_5])],null),this._text_6=this.renderer.createText(this._el_0,"\n ",null);var n=this.renderer.listen(this._el_2,"click",this.eventHandler(this._handle_click_2_0.bind(this)));return this._expr_1=C.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===W.a&&2<=e&&e<=5?this._Button_2_4:n},e.prototype.detectChangesInternal=function(t){var e=!0;e=!1;var n="";b.c(t,this._expr_1,n)&&(this._Button_2_4.clear=n,e=!0,this._expr_1=n),e&&this._appEl_2.componentView.markAsCheckOnce(),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_2_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype.dirtyParentQueriesInternal=function(){this.parent._query_Button_2_1.setDirty()},e.prototype._handle_click_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.openUpdateFirmware(this.parent.context.index)!==!1;return e},e}(v.a)},function(t,e,n){"use strict";function i(t,e,n){return null===W&&(W=t.createRenderComponentType("",0,A.c.None,[],{})),new Y(t,e,n)}function r(t,e,n){return null===J&&(J=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/pages/file-browser/file-browser.html",0,A.c.None,X,{})),new Q(t,e,n)}function s(t,e,n){return new Z(t,e,n)}function o(t,e,n){return new K(t,e,n)}function a(t,e,n){return new tt(t,e,n)}function _(t,e,n){return new et(t,e,n)}function l(t,e,n){return new nt(t,e,n)}var h=n(10),c=n(6),u=n(284),p=n(11),d=n(5),f=n(4),m=n(43),g=n(13),v=n(27),x=n(47),y=n(38),b=n(82),w=n(103),C=n(83),E=n(31),T=n(14),A=n(8),I=n(7),S=n(46),O=n(58),k=n(35),N=n(33),P=n(55),R=n(20),D=n(81),j=n(2),M=n(22),L=n(49),B=n(56),F=n(67),q=n(37),V=n(52),H=n(21),U=n(25),z=n(73);n.d(e,"a",function(){return $});var G=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},W=null,Y=function(t){function e(n,i,r){t.call(this,e,W,d.a.HOST,n,i,r,f.b.CheckAlways)}return G(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("file-browser",t,null),this._appEl_0=new c.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._FileBrowserPage_0_4=new u.a(this.parentInjector.get(m.DeviceManagerService),this.parentInjector.get(g.a),this.parentInjector.get(v.a),this.parentInjector.get(x.a),this.parentInjector.get(y.a),this.parentInjector.get(b.a),this.parentInjector.get(w.a),this.parentInjector.get(C.a),this.parentInjector.get(E.a),new T.a(this._el_0)),this._appEl_0.initComponent(this._FileBrowserPage_0_4,[],e),e.create(this._FileBrowserPage_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===u.a&&0===e?this._FileBrowserPage_0_4:n},e}(h.a),$=new I.a("file-browser",i,u.a),X=[],J=null,Q=function(t){function e(n,i,r){t.call(this,e,J,d.a.COMPONENT,n,i,r,f.b.CheckAlways)}return G(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._el_0=this.renderer.createElement(e,"ion-content",null),this.renderer.setElementAttribute(this._el_0,"class","file-browser-container"),this._appEl_0=new c.a(0,null,this,this._el_0);var n=D.a(this.viewUtils,this.injector(0),this._appEl_0);this._Content_0_4=new S.a(this.parentInjector.get(j.c),new T.a(this._el_0),this.renderer,this.parentInjector.get(M.a),this.parentInjector.get(L.a),this.parentInjector.get(B.a),this.parentInjector.get(g.a,null),this.parentInjector.get(F.a,null)),this._appEl_0.initComponent(this._Content_0_4,[],n),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_2,"class","jasper-pic"),this._NgClass_2_3=new O.a(this.parentInjector.get(q.a),this.parentInjector.get(V.a),new T.a(this._el_2),this.renderer),this._text_3=this.renderer.createText(this._el_2,"\n ",null), this._el_4=this.renderer.createElement(this._el_2,"img",null),this.renderer.setElementAttribute(this._el_4,"src","assets/img/jasper-vogel.svg"),this._text_5=this.renderer.createText(this._el_2,"\n ",null),this._text_6=this.renderer.createText(null,"\n ",null),this._el_7=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_7,"class","main-content-container"),this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"ion-row",null),this.renderer.setElementAttribute(this._el_9,"class","header"),this._Row_9_3=new k.c,this._text_10=this.renderer.createText(this._el_9,"\n ",null),this._el_11=this.renderer.createElement(this._el_9,"ion-col",null),this.renderer.setElementAttribute(this._el_11,"center",""),this.renderer.setElementAttribute(this._el_11,"text-left",""),this._Col_11_3=new k.a,this._text_12=this.renderer.createText(this._el_11,"\n File Explorer\n ",null),this._text_13=this.renderer.createText(this._el_9,"\n ",null),this._el_14=this.renderer.createElement(this._el_9,"ion-col",null),this.renderer.setElementAttribute(this._el_14,"center",""),this.renderer.setElementAttribute(this._el_14,"text-right",""),this._Col_14_3=new k.a,this._text_15=this.renderer.createText(this._el_14,"\n ",null),this._el_16=this.renderer.createElement(this._el_14,"button",null),this.renderer.setElementAttribute(this._el_16,"class","jasper-button"),this._text_17=this.renderer.createText(this._el_14,"\n ",null),this._text_18=this.renderer.createText(this._el_9,"\n ",null),this._text_19=this.renderer.createText(this._el_7,"\n \n ",null),this._el_20=this.renderer.createElement(this._el_7,"div",null),this.renderer.setElementAttribute(this._el_20,"class","tree-container"),this._text_21=this.renderer.createText(this._el_20,"\n ",null),this._anchor_22=this.renderer.createTemplateAnchor(this._el_20,null),this._appEl_22=new c.a(22,20,this,this._anchor_22),this._TemplateRef_22_5=new H.a(this._appEl_22,s),this._NgIf_22_6=new N.a(this._appEl_22.vcRef,this._TemplateRef_22_5),this._text_23=this.renderer.createText(this._el_20,"\n ",null),this._anchor_24=this.renderer.createTemplateAnchor(this._el_20,null),this._appEl_24=new c.a(24,20,this,this._anchor_24),this._TemplateRef_24_5=new H.a(this._appEl_24,o),this._NgFor_24_6=new P.a(this._appEl_24.vcRef,this._TemplateRef_24_5,this.parentInjector.get(q.a),this.ref),this._text_25=this.renderer.createText(this._el_20,"\n ",null),this._text_26=this.renderer.createText(this._el_7,"\n \n ",null),this._el_27=this.renderer.createElement(this._el_7,"input",null),this.renderer.setElementAttribute(this._el_27,"class","hidden-file-input"),this.renderer.setElementAttribute(this._el_27,"id","fileBrowserSelect"),this.renderer.setElementAttribute(this._el_27,"name","fileBrowserSelect"),this.renderer.setElementAttribute(this._el_27,"type","file"),this._text_28=this.renderer.createText(this._el_7,"\n\n ",null),this._text_29=this.renderer.createText(this._el_7,"\n ",null),this._text_30=this.renderer.createText(null,"\n\n ",null),this._el_31=this.renderer.createElement(null,"ion-row",null),this.renderer.setElementAttribute(this._el_31,"class","navigation-button-container"),this._Row_31_3=new k.c,this._text_32=this.renderer.createText(this._el_31,"\n ",null),this._el_33=this.renderer.createElement(this._el_31,"ion-col",null),this.renderer.setElementAttribute(this._el_33,"text-left",""),this._Col_33_3=new k.a,this._text_34=this.renderer.createText(this._el_33,"\n ",null),this._anchor_35=this.renderer.createTemplateAnchor(this._el_33,null),this._appEl_35=new c.a(35,33,this,this._anchor_35),this._TemplateRef_35_5=new H.a(this._appEl_35,l),this._NgIf_35_6=new N.a(this._appEl_35.vcRef,this._TemplateRef_35_5),this._text_36=this.renderer.createText(this._el_33,"\n ",null),this._text_37=this.renderer.createText(this._el_31,"\n ",null),this._el_38=this.renderer.createElement(this._el_31,"ion-col",null),this.renderer.setElementAttribute(this._el_38,"text-right",""),this._Col_38_3=new k.a,this._text_39=this.renderer.createText(this._el_38,"\n ",null),this._el_40=this.renderer.createElement(this._el_38,"button",null),this.renderer.setElementAttribute(this._el_40,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_40,"icon-right",""),this.renderer.setElementAttribute(this._el_40,"ion-button",""),this._appEl_40=new c.a(40,38,this,this._el_40);var i=U.a(this.viewUtils,this.injector(40),this._appEl_40);this._Button_40_4=new R.a(null,"",this.parentInjector.get(j.c),new T.a(this._el_40),this.renderer),this._appEl_40.initComponent(this._Button_40_4,[],i),this._text_41=this.renderer.createText(null,"\n Close\n ",null),this._el_42=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_42,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_42,"src","assets/img/close.svg"),this._text_43=this.renderer.createText(null,"\n ",null),i.create(this._Button_40_4,[[].concat([this._text_41,this._el_42,this._text_43])],null),this._text_44=this.renderer.createText(this._el_38,"\n ",null),this._text_45=this.renderer.createText(this._el_31,"\n ",null),this._text_46=this.renderer.createText(null,"\n \n",null),n.create(this._Content_0_4,[[],[].concat([this._text_1,this._el_2,this._text_6,this._el_7,this._text_30,this._el_31,this._text_46]),[]],null),this._expr_0=f.n,this._expr_2=f.n,this._expr_3=f.n;var r=this.renderer.listen(this._el_2,"mousedown",this.eventHandler(this._handle_mousedown_2_0.bind(this)));this._expr_4=f.n,this._map_0=p.h(function(t){return{"jasper-show":t}}),this._expr_5=f.n;var a=this.renderer.listen(this._el_16,"tap",this.eventHandler(this._handle_tap_16_0.bind(this)));this._expr_7=f.n,this._expr_8=f.n;var _=this.renderer.listen(this._el_27,"change",this.eventHandler(this._handle_change_27_0.bind(this)));this._expr_10=f.n;var h=this.renderer.listen(this._el_40,"tap",this.eventHandler(this._handle_tap_40_0.bind(this)));return this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._el_11,this._text_12,this._text_13,this._el_14,this._text_15,this._el_16,this._text_17,this._text_18,this._text_19,this._el_20,this._text_21,this._anchor_22,this._text_23,this._anchor_24,this._text_25,this._text_26,this._el_27,this._text_28,this._text_29,this._text_30,this._el_31,this._text_32,this._el_33,this._text_34,this._anchor_35,this._text_36,this._text_37,this._el_38,this._text_39,this._el_40,this._text_41,this._el_42,this._text_43,this._text_44,this._text_45,this._text_46],[r,a,_,h],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===O.a&&2<=e&&e<=5?this._NgClass_2_3:t===k.a&&11<=e&&e<=12?this._Col_11_3:t===k.a&&14<=e&&e<=17?this._Col_14_3:t===k.c&&9<=e&&e<=18?this._Row_9_3:t===H.b&&22===e?this._TemplateRef_22_5:t===N.a&&22===e?this._NgIf_22_6:t===H.b&&24===e?this._TemplateRef_24_5:t===P.a&&24===e?this._NgFor_24_6:t===H.b&&35===e?this._TemplateRef_35_5:t===N.a&&35===e?this._NgIf_35_6:t===k.a&&33<=e&&e<=36?this._Col_33_3:t===R.a&&40<=e&&e<=43?this._Button_40_4:t===k.a&&38<=e&&e<=44?this._Col_38_3:t===k.c&&31<=e&&e<=45?this._Row_31_3:t===S.a&&0<=e&&e<=46?this._Content_0_4:n},e.prototype.detectChangesInternal=function(t){var e=null;0!==this.numberOfChecks||t||this._Content_0_4.ngOnInit();var n="jasper-pic";p.c(t,this._expr_4,n)&&(this._NgClass_2_3.klass=n,this._expr_4=n);var i=this._map_0(this.context.showTheAlmightyJasper);p.c(t,this._expr_5,i)&&(this._NgClass_2_3.ngClass=i,this._expr_5=i),t||this._NgClass_2_3.ngDoCheck();var r=this.context.storageLocations.length<1;p.c(t,this._expr_7,r)&&(this._NgIf_22_6.ngIf=r,this._expr_7=r),e=null;var s=this.context.storageLocations;p.c(t,this._expr_8,s)&&(this._NgFor_24_6.ngForOf=s,null===e&&(e={}),e.ngForOf=new f.m(this._expr_8,s),this._expr_8=s),null!==e&&this._NgFor_24_6.ngOnChanges(e),t||this._NgFor_24_6.ngDoCheck();var o=!this.context.hideExportButton;p.c(t,this._expr_10,o)&&(this._NgIf_35_6.ngIf=o,this._expr_10=o),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_40_4.ngAfterContentInit();var a=this._Content_0_4._sbPadding;p.c(t,this._expr_0,a)&&(this.renderer.setElementClass(this._el_0,"statusbar-padding",a),this._expr_0=a);var _=this.context.jasperTop;p.c(t,this._expr_2,_)&&(this.renderer.setElementStyle(this._el_2,"top",null==this.viewUtils.sanitizer.sanitize(z.b.STYLE,_)?null:this.viewUtils.sanitizer.sanitize(z.b.STYLE,_).toString()),this._expr_2=_);var l=this.context.jasperLeft;p.c(t,this._expr_3,l)&&(this.renderer.setElementStyle(this._el_2,"left",null==this.viewUtils.sanitizer.sanitize(z.b.STYLE,l)?null:this.viewUtils.sanitizer.sanitize(z.b.STYLE,l).toString()),this._expr_3=l),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Content_0_4.ngOnDestroy()},e.prototype._handle_mousedown_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.jasperClick(t)!==!1;return e},e.prototype._handle_tap_16_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.toggleShowJasper()!==!1;return e},e.prototype._handle_change_27_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.fileChange(t)!==!1;return e},e.prototype._handle_tap_40_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.close()!==!1;return e},e}(h.a),Z=function(t){function e(n,i,r){t.call(this,e,J,d.a.EMBEDDED,n,i,r,f.b.CheckAlways)}return G(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","no-storage-found"),this._text_1=this.renderer.createText(this._el_0,"\n No storage locations found. Please try again\n ",null),this._el_2=this.renderer.createElement(this._el_0,"button",null),this.renderer.setElementAttribute(this._el_2,"class","icon-only-button-side disable-hover"),this.renderer.setElementAttribute(this._el_2,"ion-button",""),this._appEl_2=new c.a(2,0,this,this._el_2);var e=U.a(this.viewUtils,this.injector(2),this._appEl_2);this._Button_2_4=new R.a(null,"",this.parent.parentInjector.get(j.c),new T.a(this._el_2),this.renderer),this._appEl_2.initComponent(this._Button_2_4,[],e),this._text_3=this.renderer.createText(null,"\n ",null),this._el_4=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_4,"src","assets/img/refresh.svg"),this._text_5=this.renderer.createText(null,"\n ",null),e.create(this._Button_2_4,[[].concat([this._text_3,this._el_4,this._text_5])],null),this._text_6=this.renderer.createText(this._el_0,"\n ",null);var n=this.renderer.listen(this._el_2,"tap",this.eventHandler(this._handle_tap_2_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===R.a&&2<=e&&e<=5?this._Button_2_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_2_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.init()!==!1;return e},e}(h.a),K=function(t){function e(n,i,r){t.call(this,e,J,d.a.EMBEDDED,n,i,r,f.b.CheckAlways)}return G(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","outer-container"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-row",null),this._Row_2_3=new k.c,this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-col",null),this.renderer.setElementAttribute(this._el_4,"class","mid-line-container"),this.renderer.setElementAttribute(this._el_4,"no-padding",""),this._Col_4_3=new k.a,this._text_5=this.renderer.createText(this._el_4,"\n ",null),this._el_6=this.renderer.createElement(this._el_4,"div",null),this.renderer.setElementAttribute(this._el_6,"class","mid-line"),this._text_7=this.renderer.createText(this._el_4,"\n ",null),this._text_8=this.renderer.createText(this._el_2,"\n ",null),this._el_9=this.renderer.createElement(this._el_2,"ion-col",null),this.renderer.setElementAttribute(this._el_9,"center",""),this.renderer.setElementAttribute(this._el_9,"class","toggle-button-col"),this._Col_9_3=new k.a,this._text_10=this.renderer.createText(this._el_9,"\n ",null),this._el_11=this.renderer.createElement(this._el_9,"button",null),this.renderer.setElementAttribute(this._el_11,"class","icon-only-button-side disable-hover no-outline"),this.renderer.setElementAttribute(this._el_11,"ion-button",""),this._appEl_11=new c.a(11,9,this,this._el_11);var e=U.a(this.viewUtils,this.injector(11),this._appEl_11);this._Button_11_4=new R.a(null,"",this.parent.parentInjector.get(j.c),new T.a(this._el_11),this.renderer),this._appEl_11.initComponent(this._Button_11_4,[],e),this._text_12=this.renderer.createText(null,"\n ",null),this._el_13=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_13,"src","assets/img/collapse-arrow-right.svg"),this._NgClass_13_3=new O.a(this.parent.parentInjector.get(q.a),this.parent.parentInjector.get(V.a),new T.a(this._el_13),this.renderer),this._text_14=this.renderer.createText(null,"\n ",null),e.create(this._Button_11_4,[[].concat([this._text_12,this._el_13,this._text_14])],null),this._text_15=this.renderer.createText(this._el_9,"\n ",null),this._text_16=this.renderer.createText(this._el_2,"\n ",null),this._el_17=this.renderer.createElement(this._el_2,"ion-col",null),this.renderer.setElementAttribute(this._el_17,"center",""),this.renderer.setElementAttribute(this._el_17,"class","storage-location-title"),this._Col_17_3=new k.a,this._text_18=this.renderer.createText(this._el_17,"",null),this._text_19=this.renderer.createText(this._el_2,"\n ",null),this._text_20=this.renderer.createText(this._el_0,"\n ",null),this._anchor_21=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_21=new c.a(21,0,this,this._anchor_21),this._TemplateRef_21_5=new H.a(this._appEl_21,a),this._NgIf_21_6=new N.a(this._appEl_21.vcRef,this._TemplateRef_21_5),this._text_22=this.renderer.createText(this._el_0,"\n ",null);var n=this.renderer.listen(this._el_11,"tap",this.eventHandler(this._handle_tap_11_0.bind(this)));this._map_0=p.h(function(t){return{rotateOn:t}}),this._expr_1=f.n;var i=this.renderer.listen(this._el_17,"tap",this.eventHandler(this._handle_tap_17_0.bind(this)));return this._expr_3=f.n,this._expr_4=f.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._text_8,this._el_9,this._text_10,this._el_11,this._text_12,this._el_13,this._text_14,this._text_15,this._text_16,this._el_17,this._text_18,this._text_19,this._text_20,this._anchor_21,this._text_22],[n,i],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===k.a&&4<=e&&e<=7?this._Col_4_3:t===O.a&&13===e?this._NgClass_13_3:t===R.a&&11<=e&&e<=14?this._Button_11_4:t===k.a&&9<=e&&e<=15?this._Col_9_3:t===k.a&&17<=e&&e<=18?this._Col_17_3:t===k.c&&2<=e&&e<=19?this._Row_2_3:t===H.b&&21===e?this._TemplateRef_21_5:t===N.a&&21===e?this._NgIf_21_6:n},e.prototype.detectChangesInternal=function(t){var e=this._map_0(this.parent.context.showFolder[this.context.$implicit].show);p.c(t,this._expr_1,e)&&(this._NgClass_13_3.ngClass=e,this._expr_1=e),t||this._NgClass_13_3.ngDoCheck();var n=this.parent.context.showFolder[this.context.$implicit].show;p.c(t,this._expr_4,n)&&(this._NgIf_21_6.ngIf=n,this._expr_4=n),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_11_4.ngAfterContentInit();var i=p.e(1,"\n ",this.context.$implicit,"\n ");p.c(t,this._expr_3,i)&&(this.renderer.setText(this._text_18,i),this._expr_3=i),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_11_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.toggleFolder(this.context.$implicit)!==!1;return e},e.prototype._handle_tap_17_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.toggleFolder(this.context.$implicit)!==!1;return e},e}(h.a),tt=function(t){function e(n,i,r){t.call(this,e,J,d.a.EMBEDDED,n,i,r,f.b.CheckAlways)}return G(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","file-list"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._anchor_2=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_2=new c.a(2,0,this,this._anchor_2),this._TemplateRef_2_5=new H.a(this._appEl_2,_),this._NgFor_2_6=new P.a(this._appEl_2.vcRef,this._TemplateRef_2_5,this.parent.parent.parentInjector.get(q.a),this.parent.parent.ref),this._text_3=this.renderer.createText(this._el_0,"\n ",null),this._expr_0=f.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._anchor_2,this._text_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===H.b&&2===e?this._TemplateRef_2_5:t===P.a&&2===e?this._NgFor_2_6:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.context.showFolder[this.parent.context.$implicit].files;p.c(t,this._expr_0,n)&&(this._NgFor_2_6.ngForOf=n,null===e&&(e={}),e.ngForOf=new f.m(this._expr_0,n),this._expr_0=n),null!==e&&this._NgFor_2_6.ngOnChanges(e),t||this._NgFor_2_6.ngDoCheck(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(h.a),et=function(t){function e(n,i,r){t.call(this,e,J,d.a.EMBEDDED,n,i,r,f.b.CheckAlways)}return G(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-row",null),this._Row_0_3=new k.c,this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_2,"center",""),this.renderer.setElementAttribute(this._el_2,"class","mid-line-container"),this.renderer.setElementAttribute(this._el_2,"no-padding",""),this._Col_2_3=new k.a,this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"div",null),this.renderer.setElementAttribute(this._el_4,"class","mid-line"),this._text_5=this.renderer.createText(this._el_2,"\n ",null),this._text_6=this.renderer.createText(this._el_0,"\n ",null),this._el_7=this.renderer.createElement(this._el_0,"ion-col",null),this.renderer.setElementAttribute(this._el_7,"center",""),this._Col_7_3=new k.a,this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"div",null),this.renderer.setElementAttribute(this._el_9,"class","file-container"),this._text_10=this.renderer.createText(this._el_9,"",null),this._text_11=this.renderer.createText(this._el_7,"\n ",null),this._text_12=this.renderer.createText(this._el_0,"\n ",null),this._el_13=this.renderer.createElement(this._el_0,"ion-col",null),this._Col_13_3=new k.a,this._text_14=this.renderer.createText(this._el_0,"\n ",null);var e=this.renderer.listen(this._el_9,"tap",this.eventHandler(this._handle_tap_9_0.bind(this)));return this._expr_1=f.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._text_11,this._text_12,this._el_13,this._text_14],[e],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===k.a&&2<=e&&e<=5?this._Col_2_3:t===k.a&&7<=e&&e<=11?this._Col_7_3:t===k.a&&13===e?this._Col_13_3:t===k.c&&0<=e&&e<=14?this._Row_0_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=p.e(1,"\n ",this.context.$implicit,"\n ");p.c(t,this._expr_1,e)&&(this.renderer.setText(this._text_10,e),this._expr_1=e),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_9_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.parent.context.selectFile(t,this.context.$implicit,this.parent.parent.context.$implicit)!==!1;return e},e}(h.a),nt=function(t){function e(n,i,r){t.call(this,e,J,d.a.EMBEDDED,n,i,r,f.b.CheckAlways)}return G(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new c.a(0,null,this,this._el_0);var e=U.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new R.a(null,"",this.parent.parentInjector.get(j.c),new T.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"Convert Local File To CSV",null),e.create(this._Button_0_4,[[].concat([this._text_1])],null);var n=this.renderer.listen(this._el_0,"tap",this.eventHandler(this._handle_tap_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===R.a&&0<=e&&e<=1?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.openFileInput()!==!1;return e},e}(h.a)},function(t,e,n){"use strict";function i(t,e,n){return null===kt&&(kt=t.createRenderComponentType("",0,S.c.None,[],{})),new Nt(t,e,n)}function r(t,e,n){return null===Dt&&(Dt=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/pages/instrument-panel/instrument-panel.html",0,S.c.None,Rt,{})),new jt(t,e,n)}function s(t,e,n){return new Mt(t,e,n)}function o(t,e,n){return new Lt(t,e,n)}function a(t,e,n){return new Bt(t,e,n)}function _(t,e,n){return new Ft(t,e,n)}function l(t,e,n){return new qt(t,e,n)}function h(t,e,n){return new Vt(t,e,n)}function c(t,e,n){return new Ht(t,e,n)}function u(t,e,n){return new Ut(t,e,n)}var p=n(10),d=n(6),f=n(285),m=n(11),g=n(5),v=n(4),x=n(43),y=n(59),b=n(38),w=n(28),C=n(22),E=n(27),T=n(23),A=n(120),I=n(121),S=n(8),O=n(7),k=n(34),N=n(46),P=n(33),R=n(35),D=n(20),j=n(228),M=n(302),L=n(168),B=n(58),F=n(70),q=n(369),V=n(150),H=n(370),U=n(280),z=n(281),G=n(189),W=n(188),Y=n(187),$=n(81),X=n(2),J=n(14),Q=n(49),Z=n(56),K=n(13),tt=n(67),et=n(21),nt=n(25),it=n(113),rt=n(152),st=n(122),ot=n(282),at=n(37),_t=n(52),lt=n(51),ht=n(808),ct=n(800),ut=n(47),pt=n(31),dt=n(110),ft=n(71),mt=n(82),gt=n(224),vt=n(810),xt=n(809),yt=n(811),bt=n(363),wt=n(104),Ct=n(361),Et=n(103),Tt=n(359),At=n(291),It=n(782),St=n(73);n.d(e,"a",function(){return Pt});var Ot=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},kt=null,Nt=function(t){function e(n,i,r){t.call(this,e,kt,g.a.HOST,n,i,r,v.b.CheckAlways)}return Ot(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ng-component",t,null),this._appEl_0=new d.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._InstrumentPanelPage_0_4=new f.a(this.parentInjector.get(x.DeviceManagerService),this.parentInjector.get(y.a),this.parentInjector.get(b.a),this.parentInjector.get(w.a),this.parentInjector.get(C.a),this.parentInjector.get(E.a),this.parentInjector.get(T.f),this.parentInjector.get(A.a),this.parentInjector.get(I.a)),this._appEl_0.initComponent(this._InstrumentPanelPage_0_4,[],e),e.create(this._InstrumentPanelPage_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===f.a&&0===e?this._InstrumentPanelPage_0_4:n},e.prototype.detectChangesInternal=function(t){0!==this.numberOfChecks||t||this._InstrumentPanelPage_0_4.ngOnInit(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._InstrumentPanelPage_0_4.ngOnDestroy()},e}(p.a),Pt=new O.a("ng-component",i,f.a),Rt=[],Dt=null,jt=function(t){function e(n,i,r){t.call(this,e,Dt,g.a.COMPONENT,n,i,r,v.b.CheckAlways)}return Ot(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_chart1_0=new k.a,this._viewQuery_triggerComponent_1=new k.a,this._viewQuery_gpioComponent_2=new k.a,this._viewQuery_fgenComponent_3=new k.a,this._viewQuery_dcComponent_4=new k.a,this._viewQuery_yaxisComponent_5=new k.a,this._el_0=this.renderer.createElement(e,"ion-content",null),this.renderer.setElementAttribute(this._el_0,"class","instrument-panel-content"),this._appEl_0=new d.a(0,null,this,this._el_0);var n=$.a(this.viewUtils,this.injector(0),this._appEl_0);this._Content_0_4=new N.a(this.parentInjector.get(X.c),new J.a(this._el_0),this.renderer,this.parentInjector.get(C.a),this.parentInjector.get(Q.a),this.parentInjector.get(Z.a),this.parentInjector.get(K.a,null),this.parentInjector.get(tt.a,null)),this._appEl_0.initComponent(this._Content_0_4,[],n),this._text_1=this.renderer.createText(null,"\n\n ",null),this._anchor_2=this.renderer.createTemplateAnchor(null,null),this._appEl_2=new d.a(2,0,this,this._anchor_2),this._TemplateRef_2_5=new et.a(this._appEl_2,s),this._NgIf_2_6=new P.a(this._appEl_2.vcRef,this._TemplateRef_2_5),this._text_3=this.renderer.createText(null,"\n\n ",null),this._el_4=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_4,"class","chart-page-container"),this.renderer.setElementAttribute(this._el_4,"id","instrument-panel-container"),this._text_5=this.renderer.createText(this._el_4,"\n ",null),this._el_6=this.renderer.createElement(this._el_4,"ion-row",null),this.renderer.setElementAttribute(this._el_6,"class","top-bar-container"),this._Row_6_3=new R.c,this._text_7=this.renderer.createText(this._el_6,"\n ",null),this._el_8=this.renderer.createElement(this._el_6,"ion-col",null),this.renderer.setElementAttribute(this._el_8,"center",""),this.renderer.setElementAttribute(this._el_8,"class","move-left"),this.renderer.setElementAttribute(this._el_8,"text-center",""),this._Col_8_3=new R.a,this._text_9=this.renderer.createText(this._el_8,"\n ",null),this._el_10=this.renderer.createElement(this._el_8,"button",null),this.renderer.setElementAttribute(this._el_10,"class","open-menu-button"),this.renderer.setElementAttribute(this._el_10,"clear",""),this.renderer.setElementAttribute(this._el_10,"ion-button",""),this.renderer.setElementAttribute(this._el_10,"menuToggle",""),this._appEl_10=new d.a(10,8,this,this._el_10);var i=nt.a(this.viewUtils,this.injector(10),this._appEl_10);this._Button_10_4=new D.a("","",this.parentInjector.get(X.c),new J.a(this._el_10),this.renderer),this._MenuToggle_10_5=new j.a(this.parentInjector.get(it.a),new J.a(this._el_10),this.parentInjector.get(K.a,null),this.parentInjector.get(rt.a,null)),this._ToolbarItem_10_6=new M.a(this.parentInjector.get(X.c),new J.a(this._el_10),this.renderer,this.parentInjector.get(st.c,null),this.parentInjector.get(rt.a,null)),this._query_Button_10_0=new k.a,this._appEl_10.initComponent(this._Button_10_4,[],i),this._text_11=this.renderer.createText(null,"\n ",null),this._el_12=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_12,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_12,"src","assets/img/menu.svg"),this._text_13=this.renderer.createText(null,"\n ",null),i.create(this._Button_10_4,[[].concat([this._text_11,this._el_12,this._text_13])],null),this._text_14=this.renderer.createText(this._el_8,"\n ",null),this._text_15=this.renderer.createText(this._el_6,"\n\n ",null),this._el_16=this.renderer.createElement(this._el_6,"ion-col",null),this.renderer.setElementAttribute(this._el_16,"center",""),this.renderer.setElementAttribute(this._el_16,"text-center",""),this.renderer.setElementAttribute(this._el_16,"width-30",""),this._Col_16_3=new R.a,this._text_17=this.renderer.createText(this._el_16,"\n\n ",null),this._el_18=this.renderer.createElement(this._el_16,"tooltip-content",null),this.renderer.setElementAttribute(this._el_18,"class","tutorial-ok-button"),this._appEl_18=new d.a(18,16,this,this._el_18);var r=ot.b(this.viewUtils,this.injector(18),this._appEl_18);this._TooltipContent_18_4=new L.a(new J.a(this._el_18),r.ref),this._appEl_18.initComponent(this._TooltipContent_18_4,[],r),this._text_19=this.renderer.createText(null,"\n ",null),this._el_20=this.renderer.createElement(null,"div",null),this._text_21=this.renderer.createText(this._el_20,"",null),this._text_22=this.renderer.createText(null,"\n ",null),this._el_23=this.renderer.createElement(null,"div",null),this._text_24=this.renderer.createText(this._el_23,"\n ",null),this._el_25=this.renderer.createElement(this._el_23,"button",null),this.renderer.setElementAttribute(this._el_25,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_25,"ion-button",""),this._appEl_25=new d.a(25,23,this,this._el_25);var p=nt.a(this.viewUtils,this.injector(25),this._appEl_25);this._Button_25_4=new D.a(null,"",this.parentInjector.get(X.c),new J.a(this._el_25),this.renderer),this._appEl_25.initComponent(this._Button_25_4,[],p),this._text_26=this.renderer.createText(null,"ok",null),p.create(this._Button_25_4,[[].concat([this._text_26])],null),this._text_27=this.renderer.createText(this._el_23,"\n ",null),this._text_28=this.renderer.createText(null,"\n ",null),r.create(this._TooltipContent_18_4,[[].concat([this._text_19,this._el_20,this._text_22,this._el_23,this._text_28])],null),this._text_29=this.renderer.createText(this._el_16,"\n\n ",null),this._el_30=this.renderer.createElement(this._el_16,"div",null),this.renderer.setElementAttribute(this._el_30,"class","timeline-chart-wrapper"),this.renderer.setElementAttribute(this._el_30,"onlyForceShow","true"),this.renderer.setElementAttribute(this._el_30,"tooltipPlacement","bottom"),this._appEl_30=new d.a(30,16,this,this._el_30),this._NgClass_30_5=new B.a(this.parentInjector.get(at.a),this.parentInjector.get(_t.a),new J.a(this._el_30),this.renderer),this._Tooltip_30_6=new F.a(this._appEl_30.vcRef,this.parentInjector.get(lt.a),this.parentInjector.get(T.f)),this._text_31=this.renderer.createText(this._el_30,"\n ",null),this._el_32=this.renderer.createElement(this._el_30,"timeline-chart",null),this._appEl_32=new d.a(32,30,this,this._el_32);var f=ht.a(this.viewUtils,this.injector(32),this._appEl_32);this._TimelineChartComponent_32_4=new q.a,this._appEl_32.initComponent(this._TimelineChartComponent_32_4,[],f),f.create(this._TimelineChartComponent_32_4,[],null),this._text_33=this.renderer.createText(this._el_30,"\n ",null), this._text_34=this.renderer.createText(this._el_16,"\n ",null),this._text_35=this.renderer.createText(this._el_6,"\n ",null),this._el_36=this.renderer.createElement(this._el_6,"ion-col",null),this.renderer.setElementAttribute(this._el_36,"center",""),this.renderer.setElementAttribute(this._el_36,"class","inner-ctrls"),this.renderer.setElementAttribute(this._el_36,"text-center",""),this._NgClass_36_3=new B.a(this.parentInjector.get(at.a),this.parentInjector.get(_t.a),new J.a(this._el_36),this.renderer),this._Col_36_4=new R.a,this._text_37=this.renderer.createText(this._el_36,"\n ",null),this._anchor_38=this.renderer.createTemplateAnchor(this._el_36,null),this._appEl_38=new d.a(38,36,this,this._anchor_38),this._TemplateRef_38_5=new et.a(this._appEl_38,o),this._NgIf_38_6=new P.a(this._appEl_38.vcRef,this._TemplateRef_38_5),this._text_39=this.renderer.createText(this._el_36,"\n ",null),this._anchor_40=this.renderer.createTemplateAnchor(this._el_36,null),this._appEl_40=new d.a(40,36,this,this._anchor_40),this._TemplateRef_40_5=new et.a(this._appEl_40,a),this._NgIf_40_6=new P.a(this._appEl_40.vcRef,this._TemplateRef_40_5),this._text_41=this.renderer.createText(this._el_36,"\n ",null),this._anchor_42=this.renderer.createTemplateAnchor(this._el_36,null),this._appEl_42=new d.a(42,36,this,this._anchor_42),this._TemplateRef_42_5=new et.a(this._appEl_42,_),this._NgIf_42_6=new P.a(this._appEl_42.vcRef,this._TemplateRef_42_5),this._text_43=this.renderer.createText(this._el_36,"\n ",null),this._anchor_44=this.renderer.createTemplateAnchor(this._el_36,null),this._appEl_44=new d.a(44,36,this,this._anchor_44),this._TemplateRef_44_5=new et.a(this._appEl_44,l),this._NgIf_44_6=new P.a(this._appEl_44.vcRef,this._TemplateRef_44_5),this._text_45=this.renderer.createText(this._el_36,"\n ",null),this._el_46=this.renderer.createElement(this._el_36,"div",null),this.renderer.setElementAttribute(this._el_46,"class","trigger-indicator"),this._text_47=this.renderer.createText(this._el_46,"",null),this._text_48=this.renderer.createText(this._el_36,"\n ",null),this._text_49=this.renderer.createText(this._el_6,"\n ",null),this._text_50=this.renderer.createText(this._el_4,"\n ",null),this._el_51=this.renderer.createElement(this._el_4,"ion-row",null),this.renderer.setElementAttribute(this._el_51,"class","center-container"),this._Row_51_3=new R.c,this._text_52=this.renderer.createText(this._el_51,"\n\n ",null),this._anchor_53=this.renderer.createTemplateAnchor(this._el_51,null),this._appEl_53=new d.a(53,51,this,this._anchor_53),this._TemplateRef_53_5=new et.a(this._appEl_53,h),this._NgIf_53_6=new P.a(this._appEl_53.vcRef,this._TemplateRef_53_5),this._text_54=this.renderer.createText(this._el_51,"\n\n ",null),this._el_55=this.renderer.createElement(this._el_51,"ion-col",null),this.renderer.setElementAttribute(this._el_55,"class","custom-col"),this._NgClass_55_3=new B.a(this.parentInjector.get(at.a),this.parentInjector.get(_t.a),new J.a(this._el_55),this.renderer),this._Col_55_4=new R.a,this._text_56=this.renderer.createText(this._el_55," \n ",null),this._el_57=this.renderer.createElement(this._el_55,"instrument-panel-chart",null),this.renderer.setElementAttribute(this._el_57,"class","chart-wrapper"),this._appEl_57=new d.a(57,55,this,this._el_57);var g=ct.a(this.viewUtils,this.injector(57),this._appEl_57);this._InstrumentPanelChart_57_5=new V.a(this.parentInjector.get(I.a),this.parentInjector.get(T.f),this.parentInjector.get(ut.a),this.parentInjector.get(pt.a),this.parentInjector.get(w.a),this.parentInjector.get(dt.a),this._appEl_57.vcRef,this.parentInjector.get(lt.a),this.parentInjector.get(ft.a),this.parentInjector.get(mt.a),this.parentInjector.get(x.DeviceManagerService),this.parentInjector.get(b.a),this.parentInjector.get(gt.a)),this._appEl_57.initComponent(this._InstrumentPanelChart_57_5,[],g),g.create(this._InstrumentPanelChart_57_5,[],null),this._text_58=this.renderer.createText(this._el_55,"\n ",null),this._anchor_59=this.renderer.createTemplateAnchor(this._el_55,null),this._appEl_59=new d.a(59,55,this,this._anchor_59),this._TemplateRef_59_5=new et.a(this._appEl_59,c),this._NgIf_59_6=new P.a(this._appEl_59.vcRef,this._TemplateRef_59_5),this._text_60=this.renderer.createText(this._el_55,"\n ",null),this._anchor_61=this.renderer.createTemplateAnchor(this._el_55,null),this._appEl_61=new d.a(61,55,this,this._anchor_61),this._TemplateRef_61_5=new et.a(this._appEl_61,u),this._NgIf_61_6=new P.a(this._appEl_61.vcRef,this._TemplateRef_61_5),this._text_62=this.renderer.createText(this._el_55,"\n ",null),this._text_63=this.renderer.createText(this._el_51,"\n ",null),this._el_64=this.renderer.createElement(this._el_51,"ion-col",null),this.renderer.setElementAttribute(this._el_64,"class","controls-wrapper"),this._Col_64_3=new R.a,this._text_65=this.renderer.createText(this._el_64,"\n ",null),this._el_66=this.renderer.createElement(this._el_64,"xaxis-controls",null),this._appEl_66=new d.a(66,64,this,this._el_66);var y=vt.a(this.viewUtils,this.injector(66),this._appEl_66);this._XAxisComponent_66_4=new H.a(this.parentInjector.get(w.a)),this._appEl_66.initComponent(this._XAxisComponent_66_4,[],y),y.create(this._XAxisComponent_66_4,[],null),this._text_67=this.renderer.createText(this._el_64,"\n ",null),this._el_68=this.renderer.createElement(this._el_64,"trigger",null),this._appEl_68=new d.a(68,64,this,this._el_68);var A=xt.a(this.viewUtils,this.injector(68),this._appEl_68);this._TriggerComponent_68_4=new U.a(this.parentInjector.get(ut.a),this.parentInjector.get(x.DeviceManagerService),this.parentInjector.get(w.a),this.parentInjector.get(b.a),this.parentInjector.get(dt.a)),this._appEl_68.initComponent(this._TriggerComponent_68_4,[],A),A.create(this._TriggerComponent_68_4,[],null),this._text_69=this.renderer.createText(this._el_64,"\n ",null),this._el_70=this.renderer.createElement(this._el_64,"yaxis-controls",null),this._appEl_70=new d.a(70,64,this,this._el_70);var S=yt.a(this.viewUtils,this.injector(70),this._appEl_70);this._YAxisComponent_70_4=new z.a(this.parentInjector.get(K.a),this.parentInjector.get(E.a),this.parentInjector.get(ut.a),this.parentInjector.get(pt.a),this.parentInjector.get(w.a)),this._appEl_70.initComponent(this._YAxisComponent_70_4,[],S),S.create(this._YAxisComponent_70_4,[],null),this._text_71=this.renderer.createText(this._el_64,"\n ",null),this._el_72=this.renderer.createElement(this._el_64,"fgen",null),this._appEl_72=new d.a(72,64,this,this._el_72);var O=bt.b(this.viewUtils,this.injector(72),this._appEl_72);this._FgenComponent_72_4=new G.a(this.parentInjector.get(x.DeviceManagerService),this.parentInjector.get(b.a),this.parentInjector.get(pt.a),this.parentInjector.get(w.a),this.parentInjector.get(dt.a),this.parentInjector.get(wt.a)),this._appEl_72.initComponent(this._FgenComponent_72_4,[],O),O.create(this._FgenComponent_72_4,[],null),this._text_73=this.renderer.createText(this._el_64,"\n ",null),this._el_74=this.renderer.createElement(this._el_64,"digital-io",null),this._appEl_74=new d.a(74,64,this,this._el_74);var At=Ct.b(this.viewUtils,this.injector(74),this._appEl_74);this._DigitalIoComponent_74_4=new W.a(this.parentInjector.get(Et.a),this.parentInjector.get(w.a),this.parentInjector.get(x.DeviceManagerService),this.parentInjector.get(ut.a),this.parentInjector.get(b.a),this.parentInjector.get(dt.a)),this._appEl_74.initComponent(this._DigitalIoComponent_74_4,[],At),At.create(this._DigitalIoComponent_74_4,[],null),this._text_75=this.renderer.createText(this._el_64,"\n ",null),this._el_76=this.renderer.createElement(this._el_64,"dc-supply",null),this._appEl_76=new d.a(76,64,this,this._el_76);var It=Tt.b(this.viewUtils,this.injector(76),this._appEl_76);this._DcSupplyComponent_76_4=new Y.a(this.parentInjector.get(x.DeviceManagerService),this.parentInjector.get(b.a),this.parentInjector.get(w.a),this.parentInjector.get(wt.a)),this._appEl_76.initComponent(this._DcSupplyComponent_76_4,[],It),It.create(this._DcSupplyComponent_76_4,[],null),this._text_77=this.renderer.createText(this._el_64,"\n ",null),this._text_78=this.renderer.createText(this._el_51,"\n ",null),this._text_79=this.renderer.createText(this._el_4,"\n ",null),this._text_80=this.renderer.createText(null,"\n",null),n.create(this._Content_0_4,[[],[].concat([this._text_1,this._appEl_2,this._text_3,this._el_4,this._text_80]),[]],null),this._expr_0=v.n,this._expr_1=v.n;var St=this.renderer.listen(this._el_10,"click",this.eventHandler(this._handle_click_10_0.bind(this)));this._expr_3=v.n,this._expr_4=v.n,this._expr_5=v.n,this._expr_6=v.n,this._expr_7=v.n;var Ot=this.renderer.listen(this._el_25,"tap",this.eventHandler(this._handle_tap_25_0.bind(this))),kt=this.renderer.listen(this._el_30,"focusin",this.eventHandler(this._handle_focusin_30_0.bind(this))),Nt=this.renderer.listen(this._el_30,"mouseenter",this.eventHandler(this._handle_mouseenter_30_1.bind(this))),Pt=this.renderer.listen(this._el_30,"focusout",this.eventHandler(this._handle_focusout_30_2.bind(this))),Rt=this.renderer.listen(this._el_30,"mouseleave",this.eventHandler(this._handle_mouseleave_30_3.bind(this)));this._expr_13=v.n,this._map_0=m.h(function(t){return{"move-feature-to-front":t}}),this._expr_14=v.n,this._expr_15=v.n,this._expr_16=v.n,this._expr_17=v.n,this._expr_18=v.n,this._expr_19=v.n,this._map_1=m.h(function(t){return{"move-feature-to-front":t}}),this._expr_20=v.n,this._expr_21=v.n,this._expr_22=v.n,this._expr_23=v.n,this._expr_24=v.n,this._expr_25=v.n,this._expr_26=v.n,this._expr_27=v.n,this._map_2=m.h(function(t){return{"move-feature-to-front":t}}),this._expr_28=v.n;var Dt=this.renderer.listen(this._el_57,"chartLoad",this.eventHandler(this._handle_chartLoad_57_0.bind(this))),jt=this.renderer.listen(this._el_57,"resetDevice",this.eventHandler(this._handle_resetDevice_57_1.bind(this))),Mt=this.renderer.listen(this._el_57,"stopRun",this.eventHandler(this._handle_stopRun_57_2.bind(this)));this._expr_32=v.n;var Lt=this._InstrumentPanelChart_57_5.chartLoad.subscribe(this.eventHandler(this._handle_chartLoad_57_0.bind(this))),Bt=this._InstrumentPanelChart_57_5.resetDevice.subscribe(this.eventHandler(this._handle_resetDevice_57_1.bind(this))),Ft=this._InstrumentPanelChart_57_5.stopRun.subscribe(this.eventHandler(this._handle_stopRun_57_2.bind(this)));this._expr_33=v.n,this._expr_34=v.n,this._expr_35=v.n;var qt=this.renderer.listen(this._el_68,"triggerTutotrialFinish",this.eventHandler(this._handle_triggerTutotrialFinish_68_0.bind(this)));this._expr_37=v.n,this._expr_38=v.n;var Vt=this._TriggerComponent_68_4.triggerTutotrialFinish.subscribe(this.eventHandler(this._handle_triggerTutotrialFinish_68_0.bind(this)));this._expr_39=v.n,this._expr_40=v.n;var Ht=this.renderer.listen(this._el_72,"fgenTutorialFinish",this.eventHandler(this._handle_fgenTutorialFinish_72_0.bind(this))),Ut=this._FgenComponent_72_4.fgenTutorialFinish.subscribe(this.eventHandler(this._handle_fgenTutorialFinish_72_0.bind(this)));return this._expr_42=v.n,this._viewQuery_chart1_0.reset([this._InstrumentPanelChart_57_5]),this.context.chart1=this._viewQuery_chart1_0.first,this._viewQuery_triggerComponent_1.reset([this._TriggerComponent_68_4]),this.context.triggerComponent=this._viewQuery_triggerComponent_1.first,this._viewQuery_gpioComponent_2.reset([this._DigitalIoComponent_74_4]),this.context.gpioComponent=this._viewQuery_gpioComponent_2.first,this._viewQuery_fgenComponent_3.reset([this._FgenComponent_72_4]),this.context.fgenComponent=this._viewQuery_fgenComponent_3.first,this._viewQuery_dcComponent_4.reset([this._DcSupplyComponent_76_4]),this.context.dcComponent=this._viewQuery_dcComponent_4.first,this._viewQuery_yaxisComponent_5.reset([this._YAxisComponent_70_4]),this.context.yaxisComponent=this._viewQuery_yaxisComponent_5.first,this.init([],[this._el_0,this._text_1,this._anchor_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9,this._el_10,this._text_11,this._el_12,this._text_13,this._text_14,this._text_15,this._el_16,this._text_17,this._el_18,this._text_19,this._el_20,this._text_21,this._text_22,this._el_23,this._text_24,this._el_25,this._text_26,this._text_27,this._text_28,this._text_29,this._el_30,this._text_31,this._el_32,this._text_33,this._text_34,this._text_35,this._el_36,this._text_37,this._anchor_38,this._text_39,this._anchor_40,this._text_41,this._anchor_42,this._text_43,this._anchor_44,this._text_45,this._el_46,this._text_47,this._text_48,this._text_49,this._text_50,this._el_51,this._text_52,this._anchor_53,this._text_54,this._el_55,this._text_56,this._el_57,this._text_58,this._anchor_59,this._text_60,this._anchor_61,this._text_62,this._text_63,this._el_64,this._text_65,this._el_66,this._text_67,this._el_68,this._text_69,this._el_70,this._text_71,this._el_72,this._text_73,this._el_74,this._text_75,this._el_76,this._text_77,this._text_78,this._text_79,this._text_80],[St,Ot,kt,Nt,Pt,Rt,Dt,jt,Mt,qt,Ht],[Lt,Bt,Ft,Vt,Ut]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===et.b&&2===e?this._TemplateRef_2_5:t===P.a&&2===e?this._NgIf_2_6:t===D.a&&10<=e&&e<=13?this._Button_10_4:t===j.a&&10<=e&&e<=13?this._MenuToggle_10_5:t===M.a&&10<=e&&e<=13?this._ToolbarItem_10_6:t===R.a&&8<=e&&e<=14?this._Col_8_3:t===D.a&&25<=e&&e<=26?this._Button_25_4:t===L.a&&18<=e&&e<=28?this._TooltipContent_18_4:t===q.a&&32===e?this._TimelineChartComponent_32_4:t===B.a&&30<=e&&e<=33?this._NgClass_30_5:t===F.a&&30<=e&&e<=33?this._Tooltip_30_6:t===R.a&&16<=e&&e<=34?this._Col_16_3:t===et.b&&38===e?this._TemplateRef_38_5:t===P.a&&38===e?this._NgIf_38_6:t===et.b&&40===e?this._TemplateRef_40_5:t===P.a&&40===e?this._NgIf_40_6:t===et.b&&42===e?this._TemplateRef_42_5:t===P.a&&42===e?this._NgIf_42_6:t===et.b&&44===e?this._TemplateRef_44_5:t===P.a&&44===e?this._NgIf_44_6:t===B.a&&36<=e&&e<=48?this._NgClass_36_3:t===R.a&&36<=e&&e<=48?this._Col_36_4:t===R.c&&6<=e&&e<=49?this._Row_6_3:t===et.b&&53===e?this._TemplateRef_53_5:t===P.a&&53===e?this._NgIf_53_6:t===V.a&&57===e?this._InstrumentPanelChart_57_5:t===et.b&&59===e?this._TemplateRef_59_5:t===P.a&&59===e?this._NgIf_59_6:t===et.b&&61===e?this._TemplateRef_61_5:t===P.a&&61===e?this._NgIf_61_6:t===B.a&&55<=e&&e<=62?this._NgClass_55_3:t===R.a&&55<=e&&e<=62?this._Col_55_4:t===H.a&&66===e?this._XAxisComponent_66_4:t===U.a&&68===e?this._TriggerComponent_68_4:t===z.a&&70===e?this._YAxisComponent_70_4:t===G.a&&72===e?this._FgenComponent_72_4:t===W.a&&74===e?this._DigitalIoComponent_74_4:t===Y.a&&76===e?this._DcSupplyComponent_76_4:t===R.a&&64<=e&&e<=77?this._Col_64_3:t===R.c&&51<=e&&e<=78?this._Row_51_3:t===N.a&&0<=e&&e<=80?this._Content_0_4:n},e.prototype.detectChangesInternal=function(t){var e=!0,n=null;0!==this.numberOfChecks||t||this._Content_0_4.ngOnInit();var i=this.context.tutorialMode;m.c(t,this._expr_1,i)&&(this._NgIf_2_6.ngIf=i,this._expr_1=i),e=!1;var r="";m.c(t,this._expr_3,r)&&(this._Button_10_4.clear=r,e=!0,this._expr_3=r),e&&this._appEl_10.componentView.markAsCheckOnce();var s="";m.c(t,this._expr_4,s)&&(this._MenuToggle_10_5.menuToggle=s,this._expr_4=s);var o=!0;m.c(t,this._expr_6,o)&&(this._TooltipContent_18_4.animation=o,this._expr_6=o);var a="timeline-chart-wrapper";m.c(t,this._expr_13,a)&&(this._NgClass_30_5.klass=a,this._expr_13=a);var _=this._map_0(this.context.tutorialMode&&1===this.context.tutorialStage);m.c(t,this._expr_14,_)&&(this._NgClass_30_5.ngClass=_,this._expr_14=_),t||this._NgClass_30_5.ngDoCheck(),n=null;var l=this._TooltipContent_18_4;m.c(t,this._expr_15,l)&&(this._Tooltip_30_6.content=l,null===n&&(n={}),n.content=new v.m(this._expr_15,l),this._expr_15=l);var h="bottom";m.c(t,this._expr_16,h)&&(this._Tooltip_30_6.tooltipPlacement=h,null===n&&(n={}),n.tooltipPlacement=new v.m(this._expr_16,h),this._expr_16=h);var c=this.context.tutorialMode&&1===this.context.tutorialStage;m.c(t,this._expr_17,c)&&(this._Tooltip_30_6.forceShow=c,null===n&&(n={}),n.forceShow=new v.m(this._expr_17,c),this._expr_17=c);var u="true";m.c(t,this._expr_18,u)&&(this._Tooltip_30_6.onlyForceShow=u,null===n&&(n={}),n.onlyForceShow=new v.m(this._expr_18,u),this._expr_18=u),null!==n&&this._Tooltip_30_6.ngOnChanges(n);var p="inner-ctrls";m.c(t,this._expr_19,p)&&(this._NgClass_36_3.klass=p,this._expr_19=p);var d=this._map_1(this.context.tutorialMode&&3===this.context.tutorialStage);m.c(t,this._expr_20,d)&&(this._NgClass_36_3.ngClass=d,this._expr_20=d),t||this._NgClass_36_3.ngDoCheck();var f=!this.context.readingLa&&!this.context.readingOsc||this.context.running;m.c(t,this._expr_21,f)&&(this._NgIf_38_6.ngIf=f,this._expr_21=f);var g=(this.context.readingLa||this.context.readingOsc)&&!this.context.running;m.c(t,this._expr_22,g)&&(this._NgIf_40_6.ngIf=g,this._expr_22=g);var x=!this.context.running;m.c(t,this._expr_23,x)&&(this._NgIf_42_6.ngIf=x,this._expr_23=x);var y=this.context.running;m.c(t,this._expr_24,y)&&(this._NgIf_44_6.ngIf=y,this._expr_24=y);var b=this.context.tutorialMode&&4===this.context.tutorialStage;m.c(t,this._expr_26,b)&&(this._NgIf_53_6.ngIf=b,this._expr_26=b);var w="custom-col";m.c(t,this._expr_27,w)&&(this._NgClass_55_3.klass=w,this._expr_27=w);var C=this._map_2(this.context.tutorialMode&&2===this.context.tutorialStage);m.c(t,this._expr_28,C)&&(this._NgClass_55_3.ngClass=C,this._expr_28=C),t||this._NgClass_55_3.ngDoCheck();var E=this.context.running;m.c(t,this._expr_32,E)&&(this._InstrumentPanelChart_57_5.running=E,this._expr_32=E);var T=this.context.tutorialMode;m.c(t,this._expr_33,T)&&(this._NgIf_59_6.ngIf=T,this._expr_33=T);var A=this.context.tutorialMode&&2===this.context.tutorialStage;m.c(t,this._expr_34,A)&&(this._NgIf_61_6.ngIf=A,this._expr_34=A);var I=this._InstrumentPanelChart_57_5;m.c(t,this._expr_35,I)&&(this._XAxisComponent_66_4.chart=I,this._expr_35=I);var S=this._InstrumentPanelChart_57_5;m.c(t,this._expr_37,S)&&(this._TriggerComponent_68_4.chart=S,this._expr_37=S);var O=this.context.running;m.c(t,this._expr_38,O)&&(this._TriggerComponent_68_4.running=O,this._expr_38=O);var k=this._InstrumentPanelChart_57_5;m.c(t,this._expr_39,k)&&(this._YAxisComponent_70_4.chart=k,this._expr_39=k);var N=this.context.running;m.c(t,this._expr_40,N)&&(this._YAxisComponent_70_4.running=N,this._expr_40=N),0!==this.numberOfChecks||t||this._YAxisComponent_70_4.ngOnInit();var P=this._InstrumentPanelChart_57_5;m.c(t,this._expr_42,P)&&(this._DigitalIoComponent_74_4.chart=P,this._expr_42=P),0!==this.numberOfChecks||t||this._DcSupplyComponent_76_4.ngOnInit(),this.detectContentChildrenChanges(t),t||(this._query_Button_10_0.dirty&&(this._query_Button_10_0.reset([this._Button_10_4]),this._ToolbarItem_10_6._buttons=this._query_Button_10_0,this._query_Button_10_0.notifyOnChanges()),0===this.numberOfChecks&&this._Button_10_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_25_4.ngAfterContentInit());var R=this._Content_0_4._sbPadding;m.c(t,this._expr_0,R)&&(this.renderer.setElementClass(this._el_0,"statusbar-padding",R),this._expr_0=R);var D=this._MenuToggle_10_5.isHidden;m.c(t,this._expr_5,D)&&(this.renderer.setElementProperty(this._el_10,"hidden",D),this._expr_5=D);var j=m.e(1,"\n ",this.context.tooltipService.getTooltip("tutorialTimeline").message,"\n ");m.c(t,this._expr_7,j)&&(this.renderer.setText(this._text_21,j),this._expr_7=j);var M=m.e(1,"\n ",this.context.triggerStatus,"\n ");m.c(t,this._expr_25,M)&&(this.renderer.setText(this._text_47,M),this._expr_25=M),this.detectViewChildrenChanges(t),t||(0===this.numberOfChecks&&this._TooltipContent_18_4.ngAfterViewInit(),0===this.numberOfChecks&&this._InstrumentPanelChart_57_5.ngAfterViewInit())},e.prototype.destroyInternal=function(){this._FgenComponent_72_4.ngOnDestroy(),this._DcSupplyComponent_76_4.ngOnDestroy(),this._Content_0_4.ngOnDestroy()},e.prototype._handle_click_10_0=function(t){this.markPathToRootAsCheckOnce();var e=this._MenuToggle_10_5.toggle()!==!1;return e},e.prototype._handle_tap_25_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.proceedToNextStage()!==!1;return e},e.prototype._handle_focusin_30_0=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_30_6.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_30_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_30_6.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_30_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_30_6.hide()!==!1;return e},e.prototype._handle_mouseleave_30_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_30_6.hide()!==!1;return e},e.prototype._handle_chartLoad_57_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.initSettings()!==!1;return e},e.prototype._handle_resetDevice_57_1=function(t){this.markPathToRootAsCheckOnce();var e=this.context.resetDevice()!==!1;return e},e.prototype._handle_stopRun_57_2=function(t){this.markPathToRootAsCheckOnce();var e=this.context.stopClick()!==!1;return e},e.prototype._handle_triggerTutotrialFinish_68_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.triggerTutorialFinished(t)!==!1;return e},e.prototype._handle_fgenTutorialFinish_72_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.fgenTutorialFinished(t)!==!1;return e},e}(p.a),Mt=function(t){function e(n,i,r){t.call(this,e,Dt,g.a.EMBEDDED,n,i,r,v.b.CheckAlways)}return Ot(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","custom-backdrop"),this.init([].concat([this._el_0]),[this._el_0],[],[]),null},e}(p.a),Lt=function(t){function e(n,i,r){t.call(this,e,Dt,g.a.EMBEDDED,n,i,r,v.b.CheckAlways)}return Ot(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","text-button-side disable-hover main-button"),this.renderer.setElementAttribute(this._el_0,"icon-right",""),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this.renderer.setElementAttribute(this._el_0,"onlyForceShow","true"),this.renderer.setElementAttribute(this._el_0,"tooltipPlacement","bottom"),this._appEl_0=new d.a(0,null,this,this._el_0);var e=nt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Tooltip_0_5=new F.a(this._appEl_0.vcRef,this.parent.parentInjector.get(lt.a),this.parent.parentInjector.get(T.f)),this._Button_0_6=new D.a(null,"",this.parent.parentInjector.get(X.c),new J.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_6,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"span",null),this.renderer.setElementAttribute(this._el_2,"class","collapse-button"),this._text_3=this.renderer.createText(this._el_2,"Single",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_5,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_5,"src","assets/img/single.svg"),this._text_6=this.renderer.createText(null,"\n ",null),e.create(this._Button_0_6,[[].concat([this._text_1,this._el_2,this._text_4,this._el_5,this._text_6])],null);var n=this.renderer.listen(this._el_0,"tap",this.eventHandler(this._handle_tap_0_0.bind(this))),i=this.renderer.listen(this._el_0,"focusin",this.eventHandler(this._handle_focusin_0_1.bind(this))),r=this.renderer.listen(this._el_0,"mouseenter",this.eventHandler(this._handle_mouseenter_0_2.bind(this))),s=this.renderer.listen(this._el_0,"focusout",this.eventHandler(this._handle_focusout_0_3.bind(this))),o=this.renderer.listen(this._el_0,"mouseleave",this.eventHandler(this._handle_mouseleave_0_4.bind(this)));return this._expr_5=v.n,this._expr_6=v.n,this._expr_7=v.n,this._expr_8=v.n,this._expr_9=v.n,this.init([].concat([this._appEl_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6],[n,i,r,s,o],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===F.a&&0<=e&&e<=6?this._Tooltip_0_5:t===D.a&&0<=e&&e<=6?this._Button_0_6:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.context.tooltipService.getTooltip("tutorialSingleButton").message;m.c(t,this._expr_5,n)&&(this._Tooltip_0_5.content=n,null===e&&(e={}),e.content=new v.m(this._expr_5,n),this._expr_5=n);var i=!0;m.c(t,this._expr_6,i)&&(this._Tooltip_0_5.tooltipAnimation=i,null===e&&(e={}),e.tooltipAnimation=new v.m(this._expr_6,i),this._expr_6=i);var r="bottom";m.c(t,this._expr_7,r)&&(this._Tooltip_0_5.tooltipPlacement=r,null===e&&(e={}),e.tooltipPlacement=new v.m(this._expr_7,r),this._expr_7=r);var s=3===this.parent.context.tutorialStage&&this.parent.context.tutorialMode;m.c(t,this._expr_8,s)&&(this._Tooltip_0_5.forceShow=s,null===e&&(e={}),e.forceShow=new v.m(this._expr_8,s),this._expr_8=s);var o="true";m.c(t,this._expr_9,o)&&(this._Tooltip_0_5.onlyForceShow=o,null===e&&(e={}),e.onlyForceShow=new v.m(this._expr_9,o),this._expr_9=o),null!==e&&this._Tooltip_0_5.ngOnChanges(e),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_6.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.singleClick()!==!1;return e},e.prototype._handle_focusin_0_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_0_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_0_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_0_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_0_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_0_5.hide()!==!1;return e},e.prototype._handle_mouseleave_0_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_0_5.hide()!==!1;return e},e}(p.a),Bt=function(t){function e(n,i,r){t.call(this,e,Dt,g.a.EMBEDDED,n,i,r,v.b.CheckAlways)}return Ot(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","text-button-side disable-hover main-button"),this.renderer.setElementAttribute(this._el_0,"icon-right",""),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new d.a(0,null,this,this._el_0);var e=nt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new D.a(null,"",this.parent.parentInjector.get(X.c),new J.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"span",null),this.renderer.setElementAttribute(this._el_2,"class","collapse-button"),this._text_3=this.renderer.createText(this._el_2,"Abort",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_5,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_5,"src","assets/img/stop.svg"),this._text_6=this.renderer.createText(null,"\n ",null),e.create(this._Button_0_4,[[].concat([this._text_1,this._el_2,this._text_4,this._el_5,this._text_6])],null);var n=this.renderer.listen(this._el_0,"tap",this.eventHandler(this._handle_tap_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===D.a&&0<=e&&e<=6?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.abortSingle()!==!1;return e},e}(p.a),Ft=function(t){function e(n,i,r){t.call(this,e,Dt,g.a.EMBEDDED,n,i,r,v.b.CheckAlways)}return Ot(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","text-button-side disable-hover main-button"),this.renderer.setElementAttribute(this._el_0,"icon-right",""),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new d.a(0,null,this,this._el_0);var e=nt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new D.a(null,"",this.parent.parentInjector.get(X.c),new J.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"span",null),this.renderer.setElementAttribute(this._el_2,"class","collapse-button"),this._text_3=this.renderer.createText(this._el_2,"Run",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_5,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_5,"src","assets/img/run.svg"),this._text_6=this.renderer.createText(null,"\n ",null),e.create(this._Button_0_4,[[].concat([this._text_1,this._el_2,this._text_4,this._el_5,this._text_6])],null);var n=this.renderer.listen(this._el_0,"tap",this.eventHandler(this._handle_tap_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===D.a&&0<=e&&e<=6?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.runClick()!==!1;return e},e}(p.a),qt=function(t){function e(n,i,r){t.call(this,e,Dt,g.a.EMBEDDED,n,i,r,v.b.CheckAlways)}return Ot(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","text-button-side disable-hover main-button"),this.renderer.setElementAttribute(this._el_0,"icon-right",""),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new d.a(0,null,this,this._el_0);var e=nt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new D.a(null,"",this.parent.parentInjector.get(X.c),new J.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"span",null),this.renderer.setElementAttribute(this._el_2,"class","collapse-button"),this._text_3=this.renderer.createText(this._el_2,"Stop",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_5,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_5,"src","assets/img/stop.svg"),this._text_6=this.renderer.createText(null,"\n ",null),e.create(this._Button_0_4,[[].concat([this._text_1,this._el_2,this._text_4,this._el_5,this._text_6])],null);var n=this.renderer.listen(this._el_0,"tap",this.eventHandler(this._handle_tap_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===D.a&&0<=e&&e<=6?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t), t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.stopClick()!==!1;return e},e}(p.a),Vt=function(t){function e(n,i,r){t.call(this,e,Dt,g.a.EMBEDDED,n,i,r,v.b.CheckAlways)}return Ot(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","end-tutorial-display"),this._NgClass_0_3=new B.a(this.parent.parentInjector.get(at.a),this.parent.parentInjector.get(_t.a),new J.a(this._el_0),this.renderer),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_2,"text-center",""),this._text_3=this.renderer.createText(this._el_2,"\n For More Info, Go To The\n ",null),this._el_4=this.renderer.createElement(this._el_2,"a",null),this.renderer.setElementAttribute(this._el_4,"href","https://reference.digilentinc.com/reference/software/waveforms-live/start"),this.renderer.setElementAttribute(this._el_4,"target","_blank"),this._text_5=this.renderer.createText(this._el_4,"WaveForms Live Reference Page",null),this._text_6=this.renderer.createText(this._el_2,"\n ",null),this._text_7=this.renderer.createText(this._el_0,"\n ",null),this._el_8=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_8,"text-center",""),this._text_9=this.renderer.createText(this._el_8,"\n For Feedback And Support, Go To The\n ",null),this._el_10=this.renderer.createElement(this._el_8,"a",null),this.renderer.setElementAttribute(this._el_10,"href","https://forum.digilentinc.com/forum/30-waveforms-live-and-openscope-feedback/"),this.renderer.setElementAttribute(this._el_10,"target","_blank"),this._text_11=this.renderer.createText(this._el_10,"Digilent Forums",null),this._text_12=this.renderer.createText(this._el_8,"\n ",null),this._text_13=this.renderer.createText(this._el_0,"\n ",null),this._el_14=this.renderer.createElement(this._el_0,"br",null),this._text_15=this.renderer.createText(this._el_0,"\n ",null),this._el_16=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_16,"text-center",""),this._text_17=this.renderer.createText(this._el_16,"\n ",null),this._el_18=this.renderer.createElement(this._el_16,"button",null),this.renderer.setElementAttribute(this._el_18,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_18,"ion-button",""),this._appEl_18=new d.a(18,16,this,this._el_18);var e=nt.a(this.viewUtils,this.injector(18),this._appEl_18);this._Button_18_4=new D.a(null,"",this.parent.parentInjector.get(X.c),new J.a(this._el_18),this.renderer),this._appEl_18.initComponent(this._Button_18_4,[],e),this._text_19=this.renderer.createText(null,"ok",null),e.create(this._Button_18_4,[[].concat([this._text_19])],null),this._text_20=this.renderer.createText(this._el_16,"\n ",null),this._text_21=this.renderer.createText(this._el_0,"\n ",null),this._expr_0=v.n,this._map_0=m.h(function(t){return{"move-feature-to-front":t}}),this._expr_1=v.n;var n=this.renderer.listen(this._el_18,"tap",this.eventHandler(this._handle_tap_18_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._text_7,this._el_8,this._text_9,this._el_10,this._text_11,this._text_12,this._text_13,this._el_14,this._text_15,this._el_16,this._text_17,this._el_18,this._text_19,this._text_20,this._text_21],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===D.a&&18<=e&&e<=19?this._Button_18_4:t===B.a&&0<=e&&e<=21?this._NgClass_0_3:n},e.prototype.detectChangesInternal=function(t){var e="end-tutorial-display";m.c(t,this._expr_0,e)&&(this._NgClass_0_3.klass=e,this._expr_0=e);var n=this._map_0(this.parent.context.tutorialMode&&4===this.parent.context.tutorialStage);m.c(t,this._expr_1,n)&&(this._NgClass_0_3.ngClass=n,this._expr_1=n),t||this._NgClass_0_3.ngDoCheck(),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_18_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_18_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.tutorialFinished()!==!1;return e},e}(p.a),Ht=function(t){function e(n,i,r){t.call(this,e,Dt,g.a.EMBEDDED,n,i,r,v.b.CheckAlways)}return Ot(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-fab",null),this.renderer.setElementAttribute(this._el_0,"class","tutorial-mode-button"),this._appEl_0=new d.a(0,null,this,this._el_0);var e=It.a(this.viewUtils,this.injector(0),this._appEl_0);this._FabContainer_0_4=new At.a(new J.a(this._el_0)),this._query_FabButton_0_0=new k.a,this._query_FabList_0_1=new k.a,this._appEl_0.initComponent(this._FabContainer_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_2,"class","help-button"),this.renderer.setElementAttribute(this._el_2,"ion-fab",""),this.renderer.setElementAttribute(this._el_2,"mini",""),this._appEl_2=new d.a(2,0,this,this._el_2);var n=It.b(this.viewUtils,this.injector(2),this._appEl_2);this._NgClass_2_4=new B.a(this.parent.parentInjector.get(at.a),this.parent.parentInjector.get(_t.a),new J.a(this._el_2),this.renderer),this._FabButton_2_5=new At.b(this.parent.parentInjector.get(X.c),new J.a(this._el_2),this.renderer),this._appEl_2.initComponent(this._FabButton_2_5,[],n),this._text_3=this.renderer.createText(null,"\n ",null),this._el_4=this.renderer.createElement(null,"img",null),this._text_5=this.renderer.createText(null,"\n ",null),n.create(this._FabButton_2_5,[[].concat([this._text_3,this._el_4,this._text_5])],null),this._text_6=this.renderer.createText(null,"\n ",null),this._query_FabButton_0_0.reset([this._FabButton_2_5]),this._FabContainer_0_4._mainButton=this._query_FabButton_0_0.first,e.create(this._FabContainer_0_4,[[].concat([this._text_1,this._el_2,this._text_6])],null);var i=this.renderer.listen(this._el_2,"tap",this.eventHandler(this._handle_tap_2_0.bind(this)));return this._expr_1=v.n,this._map_0=m.i(function(t,e){return{"end-tutorial":t,"help-button":e}}),this._expr_2=v.n,this._expr_3=v.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6],[i],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===B.a&&2<=e&&e<=5?this._NgClass_2_4:t===At.b&&2<=e&&e<=5?this._FabButton_2_5:t===At.a&&0<=e&&e<=6?this._FabContainer_0_4:n},e.prototype.detectChangesInternal=function(t){var e="help-button";m.c(t,this._expr_1,e)&&(this._NgClass_2_4.klass=e,this._expr_1=e);var n=this._map_0(this.parent.context.tutorialMode,!this.parent.context.tutorialMode);m.c(t,this._expr_2,n)&&(this._NgClass_2_4.ngClass=n,this._expr_2=n),t||this._NgClass_2_4.ngDoCheck(),this.detectContentChildrenChanges(t),t||(this._query_FabList_0_1.dirty&&(this._query_FabList_0_1.reset([]),this._FabContainer_0_4._fabLists=this._query_FabList_0_1,this._query_FabList_0_1.notifyOnChanges()),0===this.numberOfChecks&&this._FabContainer_0_4.ngAfterContentInit());var i=this.parent.context.tutorialMode?"assets/img/close.svg":"assets/img/help.svg";m.c(t,this._expr_3,i)&&(this.renderer.setElementProperty(this._el_4,"src",this.viewUtils.sanitizer.sanitize(St.b.URL,i)),this._expr_3=i),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._FabContainer_0_4.ngOnDestroy()},e.prototype._handle_tap_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.executeHelp()!==!1;return e},e}(p.a),Ut=function(t){function e(n,i,r){t.call(this,e,Dt,g.a.EMBEDDED,n,i,r,v.b.CheckAlways)}return Ot(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","chart-tutorial-tooltip"),this._NgClass_0_3=new B.a(this.parent.parentInjector.get(at.a),this.parent.parentInjector.get(_t.a),new J.a(this._el_0),this.renderer),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"div",null),this._text_3=this.renderer.createText(this._el_2,"",null),this._text_4=this.renderer.createText(this._el_0,"\n ",null),this._el_5=this.renderer.createElement(this._el_0,"br",null),this._text_6=this.renderer.createText(this._el_0,"\n ",null),this._el_7=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_7,"text-center",""),this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"button",null),this.renderer.setElementAttribute(this._el_9,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_9,"ion-button",""),this._appEl_9=new d.a(9,7,this,this._el_9);var e=nt.a(this.viewUtils,this.injector(9),this._appEl_9);this._Button_9_4=new D.a(null,"",this.parent.parentInjector.get(X.c),new J.a(this._el_9),this.renderer),this._appEl_9.initComponent(this._Button_9_4,[],e),this._text_10=this.renderer.createText(null,"ok",null),e.create(this._Button_9_4,[[].concat([this._text_10])],null),this._text_11=this.renderer.createText(this._el_7,"\n ",null),this._text_12=this.renderer.createText(this._el_0,"\n ",null),this._expr_0=v.n,this._map_0=m.h(function(t){return{"move-feature-to-front":t}}),this._expr_1=v.n,this._expr_2=v.n;var n=this.renderer.listen(this._el_9,"tap",this.eventHandler(this._handle_tap_9_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._text_11,this._text_12],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===D.a&&9<=e&&e<=10?this._Button_9_4:t===B.a&&0<=e&&e<=12?this._NgClass_0_3:n},e.prototype.detectChangesInternal=function(t){var e="chart-tutorial-tooltip";m.c(t,this._expr_0,e)&&(this._NgClass_0_3.klass=e,this._expr_0=e);var n=this._map_0(this.parent.context.tutorialMode&&2===this.parent.context.tutorialStage);m.c(t,this._expr_1,n)&&(this._NgClass_0_3.ngClass=n,this._expr_1=n),t||this._NgClass_0_3.ngDoCheck(),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_9_4.ngAfterContentInit();var i=m.e(1,"\n ",this.parent.context.tooltipService.getTooltip("tutorialChart").message,"\n ");m.c(t,this._expr_2,i)&&(this.renderer.setText(this._text_3,i),this._expr_2=i),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_9_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.startFgenTutorial()!==!1;return e},e}(p.a)},function(t,e,n){"use strict";function i(t,e,n){return null===tt&&(tt=t.createRenderComponentType("",0,C.c.None,[],{})),new et(t,e,n)}function r(t,e,n){return null===rt&&(rt=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/pages/load-firmware/load-firmware.html",0,C.c.None,it,{})),new st(t,e,n)}function s(t,e,n){return new ot(t,e,n)}function o(t,e,n){return new at(t,e,n)}function a(t,e,n){return new _t(t,e,n)}function _(t,e,n){return new lt(t,e,n)}function l(t,e,n){return new ht(t,e,n)}var h=n(10),c=n(6),u=n(286),p=n(11),d=n(5),f=n(4),m=n(59),g=n(31),v=n(27),x=n(120),y=n(13),b=n(43),w=n(169),C=n(8),E=n(7),T=n(34),A=n(46),I=n(139),S=n(112),O=n(44),k=n(111),N=n(65),P=n(33),R=n(35),D=n(20),j=n(167),M=n(81),L=n(2),B=n(14),F=n(22),q=n(49),V=n(56),H=n(67),U=n(186),z=n(48),G=n(118),W=n(39),Y=n(98),$=n(47),X=n(23),J=n(21),Q=n(25),Z=n(279);n.d(e,"a",function(){return nt});var K=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},tt=null,et=function(t){function e(n,i,r){t.call(this,e,tt,d.a.HOST,n,i,r,f.b.CheckAlways)}return K(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ng-component",t,null),this._appEl_0=new c.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._LoadFirmwarePage_0_4=new u.a(this.parentInjector.get(m.a),this.parentInjector.get(g.a),this.parentInjector.get(v.a),this.parentInjector.get(x.a),this.parentInjector.get(y.a),this.parentInjector.get(b.DeviceManagerService),this.parentInjector.get(w.a)),this._appEl_0.initComponent(this._LoadFirmwarePage_0_4,[],e),e.create(this._LoadFirmwarePage_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===u.a&&0===e?this._LoadFirmwarePage_0_4:n},e}(h.a),nt=new E.a("ng-component",i,u.a),it=[],rt=null,st=function(t){function e(n,i,r){t.call(this,e,rt,d.a.COMPONENT,n,i,r,f.b.CheckAlways)}return K(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_loadFirmwareSlider_0=new T.a,this._viewQuery_digilentProgressBar_1=new T.a,this._el_0=this.renderer.createElement(e,"ion-content",null),this.renderer.setElementAttribute(this._el_0,"class","load-firmware-container"),this._appEl_0=new c.a(0,null,this,this._el_0);var n=M.a(this.viewUtils,this.injector(0),this._appEl_0);this._Content_0_4=new A.a(this.parentInjector.get(L.c),new B.a(this._el_0),this.renderer,this.parentInjector.get(F.a),this.parentInjector.get(q.a),this.parentInjector.get(V.a),this.parentInjector.get(y.a,null),this.parentInjector.get(H.a,null)),this._appEl_0.initComponent(this._Content_0_4,[],n),this._text_1=this.renderer.createText(null,"\n\n ",null),this._el_2=this.renderer.createElement(null,"ion-slides",null),this._appEl_2=new c.a(2,0,this,this._el_2);var i=U.a(this.viewUtils,this.injector(2),this._appEl_2);this._Slides_2_4=new I.b(this.parentInjector.get(L.c),new B.a(this._el_2),this.renderer),this._appEl_2.initComponent(this._Slides_2_4,[],i),this._text_3=this.renderer.createText(null,"\n\n ",null),this._el_4=this.renderer.createElement(null,"ion-slide",null),this.renderer.setElementAttribute(this._el_4,"class","slide-container"),this._appEl_4=new c.a(4,2,this,this._el_4);var r=U.b(this.viewUtils,this.injector(4),this._appEl_4);this._Slide_4_4=new I.a(new B.a(this._el_4),this._Slides_2_4),this._appEl_4.initComponent(this._Slide_4_4,[],r),this._text_5=this.renderer.createText(null,"\n ",null),this._el_6=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_6,"class","content-container"),this._text_7=this.renderer.createText(this._el_6,"\n ",null),this._el_8=this.renderer.createElement(this._el_6,"div",null),this.renderer.setElementAttribute(this._el_8,"class","slide-header"),this._text_9=this.renderer.createText(this._el_8,"Load Firmware",null),this._text_10=this.renderer.createText(this._el_6,"\n ",null),this._el_11=this.renderer.createElement(this._el_6,"ion-list",null),this.renderer.setElementAttribute(this._el_11,"class","firmware-list"),this._List_11_3=new S.a(this.parentInjector.get(L.c),new B.a(this._el_11),this.renderer,this.parentInjector.get(z.a)),this._text_12=this.renderer.createText(this._el_11,"\n ",null),this._el_13=this.renderer.createElement(this._el_11,"ion-item",null),this.renderer.setElementAttribute(this._el_13,"class","configure-item item item-block"),this._appEl_13=new c.a(13,11,this,this._el_13);var h=G.a(this.viewUtils,this.injector(13),this._appEl_13);this._Item_13_4=new O.a(this.parentInjector.get(W.a),this.parentInjector.get(L.c),new B.a(this._el_13),this.renderer),this._ItemContent_13_5=new O.b,this._query_Label_13_0=new T.a,this._query_Button_13_1=new T.a,this._query_Icon_13_2=new T.a,this._appEl_13.initComponent(this._Item_13_4,[],h),this._text_14=this.renderer.createText(null,"\n ",null),this._el_15=this.renderer.createElement(null,"ion-label",null),this._Label_15_3=new k.a(this.parentInjector.get(L.c),new B.a(this._el_15),this.renderer,null,null,null,null),this._text_16=this.renderer.createText(this._el_15,"Device",null),this._text_17=this.renderer.createText(null,"\n ",null),this._el_18=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_18,"class","item-content-right dropdown-popover-item-right"),this.renderer.setElementAttribute(this._el_18,"item-right",""),this._text_19=this.renderer.createText(this._el_18,"\n ",null),this._el_20=this.renderer.createElement(this._el_18,"dropdown-popover",null),this._appEl_20=new c.a(20,18,this,this._el_20);var u=Y.b(this.viewUtils,this.injector(20),this._appEl_20);this._DropdownPopoverComponent_20_4=new N.a(this.parentInjector.get($.a),new B.a(this._el_20),this.parentInjector.get(X.f)),this._appEl_20.initComponent(this._DropdownPopoverComponent_20_4,[],u),u.create(this._DropdownPopoverComponent_20_4,[],null),this._text_21=this.renderer.createText(this._el_18,"\n ",null),this._text_22=this.renderer.createText(null,"\n ",null),this._query_Label_13_0.reset([this._Label_15_3]),this._Item_13_4.contentLabel=this._query_Label_13_0.first,h.create(this._Item_13_4,[[],[].concat([this._el_15]),[].concat([this._text_14,this._text_17,this._text_22]),[],[].concat([this._el_18])],null),this._text_23=this.renderer.createText(this._el_11,"\n ",null),this._el_24=this.renderer.createElement(this._el_11,"ion-item",null),this.renderer.setElementAttribute(this._el_24,"class","configure-item item item-block"),this._appEl_24=new c.a(24,11,this,this._el_24);var p=G.a(this.viewUtils,this.injector(24),this._appEl_24);this._Item_24_4=new O.a(this.parentInjector.get(W.a),this.parentInjector.get(L.c),new B.a(this._el_24),this.renderer),this._ItemContent_24_5=new O.b,this._query_Label_24_0=new T.a,this._query_Button_24_1=new T.a,this._query_Icon_24_2=new T.a,this._appEl_24.initComponent(this._Item_24_4,[],p),this._text_25=this.renderer.createText(null,"\n ",null),this._el_26=this.renderer.createElement(null,"ion-label",null),this._Label_26_3=new k.a(this.parentInjector.get(L.c),new B.a(this._el_26),this.renderer,null,null,null,null),this._text_27=this.renderer.createText(this._el_26,"Firmware",null),this._text_28=this.renderer.createText(null,"\n ",null),this._el_29=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_29,"class","item-content-right dropdown-popover-item-right"),this.renderer.setElementAttribute(this._el_29,"item-right",""),this._text_30=this.renderer.createText(this._el_29,"\n ",null),this._anchor_31=this.renderer.createTemplateAnchor(this._el_29,null),this._appEl_31=new c.a(31,29,this,this._anchor_31),this._TemplateRef_31_5=new J.a(this._appEl_31,s),this._NgIf_31_6=new P.a(this._appEl_31.vcRef,this._TemplateRef_31_5),this._text_32=this.renderer.createText(this._el_29,"\n ",null),this._anchor_33=this.renderer.createTemplateAnchor(this._el_29,null),this._appEl_33=new c.a(33,29,this,this._anchor_33),this._TemplateRef_33_5=new J.a(this._appEl_33,o),this._NgIf_33_6=new P.a(this._appEl_33.vcRef,this._TemplateRef_33_5),this._text_34=this.renderer.createText(this._el_29,"\n ",null),this._text_35=this.renderer.createText(null,"\n ",null),this._query_Label_24_0.reset([this._Label_26_3]),this._Item_24_4.contentLabel=this._query_Label_24_0.first,p.create(this._Item_24_4,[[],[].concat([this._el_26]),[].concat([this._text_25,this._text_28,this._text_35]),[],[].concat([this._el_29])],null),this._text_36=this.renderer.createText(this._el_11,"\n ",null),this._anchor_37=this.renderer.createTemplateAnchor(this._el_11,null),this._appEl_37=new c.a(37,11,this,this._anchor_37),this._TemplateRef_37_5=new J.a(this._appEl_37,a),this._NgIf_37_6=new P.a(this._appEl_37.vcRef,this._TemplateRef_37_5),this._text_38=this.renderer.createText(this._el_11,"\n ",null),this._el_39=this.renderer.createElement(this._el_11,"ion-item",null),this.renderer.setElementAttribute(this._el_39,"class","configure-item item item-block"),this._appEl_39=new c.a(39,11,this,this._el_39);var d=G.a(this.viewUtils,this.injector(39),this._appEl_39);this._Item_39_4=new O.a(this.parentInjector.get(W.a),this.parentInjector.get(L.c),new B.a(this._el_39),this.renderer),this._ItemContent_39_5=new O.b,this._query_Label_39_0=new T.a,this._query_Button_39_1=new T.a,this._query_Icon_39_2=new T.a,this._appEl_39.initComponent(this._Item_39_4,[],d),this._text_40=this.renderer.createText(null,"\n ",null),this._el_41=this.renderer.createElement(null,"ion-label",null),this._Label_41_3=new k.a(this.parentInjector.get(L.c),new B.a(this._el_41),this.renderer,null,null,null,null),this._text_42=this.renderer.createText(this._el_41,"Status",null),this._text_43=this.renderer.createText(null,"\n ",null),this._el_44=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_44,"class","item-content-right"),this.renderer.setElementAttribute(this._el_44,"item-right",""),this._text_45=this.renderer.createText(this._el_44,"",null),this._text_46=this.renderer.createText(null,"\n ",null),this._query_Label_39_0.reset([this._Label_41_3]),this._Item_39_4.contentLabel=this._query_Label_39_0.first,d.create(this._Item_39_4,[[],[].concat([this._el_41]),[].concat([this._text_40,this._text_43,this._text_46]),[],[].concat([this._el_44])],null),this._text_47=this.renderer.createText(this._el_11,"\n ",null),this._el_48=this.renderer.createElement(this._el_11,"ion-item",null),this.renderer.setElementAttribute(this._el_48,"class","configure-item item item-block"),this._appEl_48=new c.a(48,11,this,this._el_48);var m=G.a(this.viewUtils,this.injector(48),this._appEl_48);this._Item_48_4=new O.a(this.parentInjector.get(W.a),this.parentInjector.get(L.c),new B.a(this._el_48),this.renderer),this._ItemContent_48_5=new O.b,this._query_Label_48_0=new T.a,this._query_Button_48_1=new T.a,this._query_Icon_48_2=new T.a,this._appEl_48.initComponent(this._Item_48_4,[],m),this._text_49=this.renderer.createText(null,"\n ",null),this._el_50=this.renderer.createElement(null,"ion-label",null),this._Label_50_3=new k.a(this.parentInjector.get(L.c),new B.a(this._el_50),this.renderer,null,null,null,null),this._text_51=this.renderer.createText(this._el_50,"Important",null),this._text_52=this.renderer.createText(null,"\n ",null),this._el_53=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_53,"class","item-content-right"),this.renderer.setElementAttribute(this._el_53,"item-right",""),this._text_54=this.renderer.createText(this._el_53,"\n The device must be in bootloader mode\n ",null),this._text_55=this.renderer.createText(null,"\n ",null),this._query_Label_48_0.reset([this._Label_50_3]),this._Item_48_4.contentLabel=this._query_Label_48_0.first,m.create(this._Item_48_4,[[],[].concat([this._el_50]),[].concat([this._text_49,this._text_52,this._text_55]),[],[].concat([this._el_53])],null),this._text_56=this.renderer.createText(this._el_11,"\n ",null),this._text_57=this.renderer.createText(this._el_6,"\n\n ",null),this._el_58=this.renderer.createElement(this._el_6,"div",null),this.renderer.setElementAttribute(this._el_58,"class","caution-message"),this._text_59=this.renderer.createText(this._el_58,"\n ",null),this._el_60=this.renderer.createElement(this._el_58,"p",null),this._text_61=this.renderer.createText(this._el_60,"",null),this._text_62=this.renderer.createText(this._el_58,"\n ",null),this._text_63=this.renderer.createText(this._el_6,"\n\n ",null),this._el_64=this.renderer.createElement(this._el_6,"input",null),this.renderer.setElementAttribute(this._el_64,"class","hidden-file-input"),this.renderer.setElementAttribute(this._el_64,"id","firmwareFileSelect"),this.renderer.setElementAttribute(this._el_64,"name","firmwareFileSelect"),this.renderer.setElementAttribute(this._el_64,"type","file"),this._text_65=this.renderer.createText(this._el_6,"\n\n ",null),this._el_66=this.renderer.createElement(this._el_6,"div",null),this.renderer.setElementAttribute(this._el_66,"class","navigation-button-container"),this._text_67=this.renderer.createText(this._el_66,"\n ",null),this._el_68=this.renderer.createElement(this._el_66,"ion-row",null),this._Row_68_3=new R.c,this._text_69=this.renderer.createText(this._el_68,"\n ",null),this._el_70=this.renderer.createElement(this._el_68,"ion-col",null),this.renderer.setElementAttribute(this._el_70,"text-left",""),this._Col_70_3=new R.a,this._text_71=this.renderer.createText(this._el_70,"\n ",null),this._el_72=this.renderer.createElement(this._el_70,"button",null),this.renderer.setElementAttribute(this._el_72,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_72,"icon-left",""),this.renderer.setElementAttribute(this._el_72,"ion-button",""),this._appEl_72=new c.a(72,70,this,this._el_72);var g=Q.a(this.viewUtils,this.injector(72),this._appEl_72);this._Button_72_4=new D.a(null,"",this.parentInjector.get(L.c),new B.a(this._el_72),this.renderer),this._appEl_72.initComponent(this._Button_72_4,[],g),this._text_73=this.renderer.createText(null,"\n ",null),this._el_74=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_74,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_74,"src","assets/img/close.svg"),this._text_75=this.renderer.createText(null,"\n Close\n ",null),g.create(this._Button_72_4,[[].concat([this._text_73,this._el_74,this._text_75])],null),this._text_76=this.renderer.createText(this._el_70,"\n ",null),this._text_77=this.renderer.createText(this._el_68,"\n ",null),this._el_78=this.renderer.createElement(this._el_68,"ion-col",null),this.renderer.setElementAttribute(this._el_78,"text-right",""),this._Col_78_3=new R.a,this._text_79=this.renderer.createText(this._el_78,"\n ",null),this._el_80=this.renderer.createElement(this._el_78,"button",null),this.renderer.setElementAttribute(this._el_80,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_80,"icon-right",""),this.renderer.setElementAttribute(this._el_80,"ion-button",""),this._appEl_80=new c.a(80,78,this,this._el_80);var v=Q.a(this.viewUtils,this.injector(80),this._appEl_80);this._Button_80_4=new D.a(null,"",this.parentInjector.get(L.c),new B.a(this._el_80),this.renderer),this._appEl_80.initComponent(this._Button_80_4,[],v),this._text_81=this.renderer.createText(null,"\n Flash Selected Firmware\n ",null),this._el_82=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_82,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_82,"src","assets/img/arrow-forward.svg"),this._text_83=this.renderer.createText(null,"\n ",null),v.create(this._Button_80_4,[[].concat([this._text_81,this._el_82,this._text_83])],null),this._text_84=this.renderer.createText(this._el_78,"\n ",null),this._text_85=this.renderer.createText(this._el_68,"\n ",null),this._text_86=this.renderer.createText(this._el_66,"\n ",null),this._text_87=this.renderer.createText(this._el_6,"\n ",null),this._text_88=this.renderer.createText(null,"\n ",null),r.create(this._Slide_4_4,[[].concat([this._text_5,this._el_6,this._text_88])],null),this._text_89=this.renderer.createText(null,"\n\n ",null),this._el_90=this.renderer.createElement(null,"ion-slide",null),this.renderer.setElementAttribute(this._el_90,"class","slide-container"),this._appEl_90=new c.a(90,2,this,this._el_90);var x=U.b(this.viewUtils,this.injector(90),this._appEl_90);this._Slide_90_4=new I.a(new B.a(this._el_90),this._Slides_2_4),this._appEl_90.initComponent(this._Slide_90_4,[],x),this._text_91=this.renderer.createText(null,"\n ",null),this._el_92=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_92,"class","content-container"),this._text_93=this.renderer.createText(this._el_92,"\n ",null),this._el_94=this.renderer.createElement(this._el_92,"div",null),this.renderer.setElementAttribute(this._el_94,"class","slide-header"),this._text_95=this.renderer.createText(this._el_94,"Updating Firmware",null),this._text_96=this.renderer.createText(this._el_92,"\n ",null),this._el_97=this.renderer.createElement(this._el_92,"digilent-progress-bar",null),this._appEl_97=new c.a(97,92,this,this._el_97);var b=Z.b(this.viewUtils,this.injector(97),this._appEl_97);this._ProgressBarComponent_97_4=new j.a,this._appEl_97.initComponent(this._ProgressBarComponent_97_4,[],b),b.create(this._ProgressBarComponent_97_4,[],null),this._text_98=this.renderer.createText(this._el_92,"\n\n ",null),this._el_99=this.renderer.createElement(this._el_92,"ion-item",null),this.renderer.setElementAttribute(this._el_99,"class","configure-item item item-block"),this._appEl_99=new c.a(99,92,this,this._el_99);var w=G.a(this.viewUtils,this.injector(99),this._appEl_99);this._Item_99_4=new O.a(this.parentInjector.get(W.a),this.parentInjector.get(L.c),new B.a(this._el_99),this.renderer),this._ItemContent_99_5=new O.b,this._query_Label_99_0=new T.a,this._query_Button_99_1=new T.a,this._query_Icon_99_2=new T.a,this._appEl_99.initComponent(this._Item_99_4,[],w),this._text_100=this.renderer.createText(null,"\n ",null),this._el_101=this.renderer.createElement(null,"ion-label",null),this._Label_101_3=new k.a(this.parentInjector.get(L.c),new B.a(this._el_101),this.renderer,null,null,null,null),this._text_102=this.renderer.createText(this._el_101,"Status",null),this._text_103=this.renderer.createText(null,"\n ",null),this._el_104=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_104,"class","item-content-right"),this.renderer.setElementAttribute(this._el_104,"item-right",""),this._text_105=this.renderer.createText(this._el_104,"",null),this._text_106=this.renderer.createText(null,"\n ",null),this._query_Label_99_0.reset([this._Label_101_3]),this._Item_99_4.contentLabel=this._query_Label_99_0.first,w.create(this._Item_99_4,[[],[].concat([this._el_101]),[].concat([this._text_100,this._text_103,this._text_106]),[],[].concat([this._el_104])],null),this._text_107=this.renderer.createText(this._el_92,"\n\n ",null),this._el_108=this.renderer.createElement(this._el_92,"div",null),this.renderer.setElementAttribute(this._el_108,"class","navigation-button-container"),this._text_109=this.renderer.createText(this._el_108,"\n ",null),this._el_110=this.renderer.createElement(this._el_108,"ion-row",null),this._Row_110_3=new R.c,this._text_111=this.renderer.createText(this._el_110,"\n ",null), this._el_112=this.renderer.createElement(this._el_110,"ion-col",null),this.renderer.setElementAttribute(this._el_112,"text-right",""),this._Col_112_3=new R.a,this._text_113=this.renderer.createText(this._el_112,"\n ",null),this._anchor_114=this.renderer.createTemplateAnchor(this._el_112,null),this._appEl_114=new c.a(114,112,this,this._anchor_114),this._TemplateRef_114_5=new J.a(this._appEl_114,_),this._NgIf_114_6=new P.a(this._appEl_114.vcRef,this._TemplateRef_114_5),this._text_115=this.renderer.createText(this._el_112,"\n ",null),this._anchor_116=this.renderer.createTemplateAnchor(this._el_112,null),this._appEl_116=new c.a(116,112,this,this._anchor_116),this._TemplateRef_116_5=new J.a(this._appEl_116,l),this._NgIf_116_6=new P.a(this._appEl_116.vcRef,this._TemplateRef_116_5),this._text_117=this.renderer.createText(this._el_112,"\n ",null),this._text_118=this.renderer.createText(this._el_110,"\n ",null),this._text_119=this.renderer.createText(this._el_108,"\n ",null),this._text_120=this.renderer.createText(this._el_92,"\n ",null),this._text_121=this.renderer.createText(null,"\n ",null),x.create(this._Slide_90_4,[[].concat([this._text_91,this._el_92,this._text_121])],null),this._text_122=this.renderer.createText(null,"\n\n ",null),i.create(this._Slides_2_4,[[].concat([this._text_3,this._el_4,this._text_89,this._el_90,this._text_122])],null),this._text_123=this.renderer.createText(null,"\n\n",null),n.create(this._Content_0_4,[[],[].concat([this._text_1,this._el_2,this._text_123]),[]],null),this._expr_0=f.n;var C=this.renderer.listen(this._el_20,"onSelection",this.eventHandler(this._handle_onSelection_20_0.bind(this)));this._expr_2=f.n,this._expr_3=f.n;var E=this._DropdownPopoverComponent_20_4.onSelection.subscribe(this.eventHandler(this._handle_onSelection_20_0.bind(this)));this._expr_4=f.n,this._expr_5=f.n,this._expr_6=f.n,this._expr_7=f.n,this._expr_8=f.n;var K=this.renderer.listen(this._el_64,"change",this.eventHandler(this._handle_change_64_0.bind(this))),tt=this.renderer.listen(this._el_72,"click",this.eventHandler(this._handle_click_72_0.bind(this))),et=this.renderer.listen(this._el_80,"click",this.eventHandler(this._handle_click_80_0.bind(this))),nt=this.renderer.listen(this._el_97,"progressBarDone",this.eventHandler(this._handle_progressBarDone_97_0.bind(this))),it=this._ProgressBarComponent_97_4.progressBarDone.subscribe(this.eventHandler(this._handle_progressBarDone_97_0.bind(this)));return this._expr_13=f.n,this._expr_14=f.n,this._expr_15=f.n,this._viewQuery_loadFirmwareSlider_0.reset([this._Slides_2_4]),this.context.slider=this._viewQuery_loadFirmwareSlider_0.first,this._viewQuery_digilentProgressBar_1.reset([this._ProgressBarComponent_97_4]),this.context.progressBarComponent=this._viewQuery_digilentProgressBar_1.first,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9,this._text_10,this._el_11,this._text_12,this._el_13,this._text_14,this._el_15,this._text_16,this._text_17,this._el_18,this._text_19,this._el_20,this._text_21,this._text_22,this._text_23,this._el_24,this._text_25,this._el_26,this._text_27,this._text_28,this._el_29,this._text_30,this._anchor_31,this._text_32,this._anchor_33,this._text_34,this._text_35,this._text_36,this._anchor_37,this._text_38,this._el_39,this._text_40,this._el_41,this._text_42,this._text_43,this._el_44,this._text_45,this._text_46,this._text_47,this._el_48,this._text_49,this._el_50,this._text_51,this._text_52,this._el_53,this._text_54,this._text_55,this._text_56,this._text_57,this._el_58,this._text_59,this._el_60,this._text_61,this._text_62,this._text_63,this._el_64,this._text_65,this._el_66,this._text_67,this._el_68,this._text_69,this._el_70,this._text_71,this._el_72,this._text_73,this._el_74,this._text_75,this._text_76,this._text_77,this._el_78,this._text_79,this._el_80,this._text_81,this._el_82,this._text_83,this._text_84,this._text_85,this._text_86,this._text_87,this._text_88,this._text_89,this._el_90,this._text_91,this._el_92,this._text_93,this._el_94,this._text_95,this._text_96,this._el_97,this._text_98,this._el_99,this._text_100,this._el_101,this._text_102,this._text_103,this._el_104,this._text_105,this._text_106,this._text_107,this._el_108,this._text_109,this._el_110,this._text_111,this._el_112,this._text_113,this._anchor_114,this._text_115,this._anchor_116,this._text_117,this._text_118,this._text_119,this._text_120,this._text_121,this._text_122,this._text_123],[C,K,tt,et,nt],[E,it]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===k.a&&15<=e&&e<=16?this._Label_15_3:t===N.a&&20===e?this._DropdownPopoverComponent_20_4:t===O.a&&13<=e&&e<=22?this._Item_13_4:t===O.b&&13<=e&&e<=22?this._ItemContent_13_5:t===k.a&&26<=e&&e<=27?this._Label_26_3:t===J.b&&31===e?this._TemplateRef_31_5:t===P.a&&31===e?this._NgIf_31_6:t===J.b&&33===e?this._TemplateRef_33_5:t===P.a&&33===e?this._NgIf_33_6:t===O.a&&24<=e&&e<=35?this._Item_24_4:t===O.b&&24<=e&&e<=35?this._ItemContent_24_5:t===J.b&&37===e?this._TemplateRef_37_5:t===P.a&&37===e?this._NgIf_37_6:t===k.a&&41<=e&&e<=42?this._Label_41_3:t===O.a&&39<=e&&e<=46?this._Item_39_4:t===O.b&&39<=e&&e<=46?this._ItemContent_39_5:t===k.a&&50<=e&&e<=51?this._Label_50_3:t===O.a&&48<=e&&e<=55?this._Item_48_4:t===O.b&&48<=e&&e<=55?this._ItemContent_48_5:t===S.a&&11<=e&&e<=56?this._List_11_3:t===D.a&&72<=e&&e<=75?this._Button_72_4:t===R.a&&70<=e&&e<=76?this._Col_70_3:t===D.a&&80<=e&&e<=83?this._Button_80_4:t===R.a&&78<=e&&e<=84?this._Col_78_3:t===R.c&&68<=e&&e<=85?this._Row_68_3:t===I.a&&4<=e&&e<=88?this._Slide_4_4:t===j.a&&97===e?this._ProgressBarComponent_97_4:t===k.a&&101<=e&&e<=102?this._Label_101_3:t===O.a&&99<=e&&e<=106?this._Item_99_4:t===O.b&&99<=e&&e<=106?this._ItemContent_99_5:t===J.b&&114===e?this._TemplateRef_114_5:t===P.a&&114===e?this._NgIf_114_6:t===J.b&&116===e?this._TemplateRef_116_5:t===P.a&&116===e?this._NgIf_116_6:t===R.a&&112<=e&&e<=117?this._Col_112_3:t===R.c&&110<=e&&e<=118?this._Row_110_3:t===I.a&&90<=e&&e<=121?this._Slide_90_4:t===I.b&&2<=e&&e<=122?this._Slides_2_4:t===A.a&&0<=e&&e<=123?this._Content_0_4:n},e.prototype.detectChangesInternal=function(t){var e=null;0!==this.numberOfChecks||t||this._Content_0_4.ngOnInit(),0!==this.numberOfChecks||t||this._Slides_2_4.ngOnInit(),e=null;var n=this.context.knownDevicePrettyNames;p.c(t,this._expr_2,n)&&(this._DropdownPopoverComponent_20_4.dataArray=n,null===e&&(e={}),e.dataArray=new f.m(this._expr_2,n),this._expr_2=n);var i=!0;p.c(t,this._expr_3,i)&&(this._DropdownPopoverComponent_20_4.forcePopover=i,null===e&&(e={}),e.forcePopover=new f.m(this._expr_3,i),this._expr_3=i),null!==e&&this._DropdownPopoverComponent_20_4.ngOnChanges(e);var r="Other"!==this.context.selectedDevice;p.c(t,this._expr_4,r)&&(this._NgIf_31_6.ngIf=r,this._expr_4=r);var s="Other"===this.context.selectedDevice;p.c(t,this._expr_5,s)&&(this._NgIf_33_6.ngIf=s,this._expr_5=s);var o="Other"!==this.context.selectedDevice&&"Other"===this.context.selectedFirmware;p.c(t,this._expr_6,o)&&(this._NgIf_37_6.ngIf=o,this._expr_6=o);var a=this.context.updateComplete&&!this.context.errorUpdatingFirmware;p.c(t,this._expr_14,a)&&(this._NgIf_114_6.ngIf=a,this._expr_14=a);var _=this.context.errorUpdatingFirmware;p.c(t,this._expr_15,_)&&(this._NgIf_116_6.ngIf=_,this._expr_15=_),this.detectContentChildrenChanges(t),t||(this._query_Button_13_1.dirty&&(this._query_Button_13_1.reset([]),this._Item_13_4._buttons=this._query_Button_13_1,this._query_Button_13_1.notifyOnChanges()),this._query_Icon_13_2.dirty&&(this._query_Icon_13_2.reset([]),this._Item_13_4._icons=this._query_Icon_13_2,this._query_Icon_13_2.notifyOnChanges()),this._query_Button_24_1.dirty&&(this._query_Button_24_1.reset([this._appEl_33.mapNestedViews(at,function(t){return[t._Button_0_4]})]),this._Item_24_4._buttons=this._query_Button_24_1,this._query_Button_24_1.notifyOnChanges()),this._query_Icon_24_2.dirty&&(this._query_Icon_24_2.reset([]),this._Item_24_4._icons=this._query_Icon_24_2,this._query_Icon_24_2.notifyOnChanges()),this._query_Button_39_1.dirty&&(this._query_Button_39_1.reset([]),this._Item_39_4._buttons=this._query_Button_39_1,this._query_Button_39_1.notifyOnChanges()),this._query_Icon_39_2.dirty&&(this._query_Icon_39_2.reset([]),this._Item_39_4._icons=this._query_Icon_39_2,this._query_Icon_39_2.notifyOnChanges()),this._query_Button_48_1.dirty&&(this._query_Button_48_1.reset([]),this._Item_48_4._buttons=this._query_Button_48_1,this._query_Button_48_1.notifyOnChanges()),this._query_Icon_48_2.dirty&&(this._query_Icon_48_2.reset([]),this._Item_48_4._icons=this._query_Icon_48_2,this._query_Icon_48_2.notifyOnChanges()),this._query_Button_99_1.dirty&&(this._query_Button_99_1.reset([]),this._Item_99_4._buttons=this._query_Button_99_1,this._query_Button_99_1.notifyOnChanges()),this._query_Icon_99_2.dirty&&(this._query_Icon_99_2.reset([]),this._Item_99_4._icons=this._query_Icon_99_2,this._query_Icon_99_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_13_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_24_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_39_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_48_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_72_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_80_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_99_4.ngAfterContentInit());var l=this._Content_0_4._sbPadding;p.c(t,this._expr_0,l)&&(this.renderer.setElementClass(this._el_0,"statusbar-padding",l),this._expr_0=l);var h=p.e(1,"\n ",this.context.firmwareStatus,"\n ");p.c(t,this._expr_7,h)&&(this.renderer.setText(this._text_45,h),this._expr_7=h);var c=p.e(1,"\n ",this.context.cautionMessage(),"\n ");p.c(t,this._expr_8,c)&&(this.renderer.setText(this._text_61,c),this._expr_8=c);var u=p.e(1,"\n ",this.context.firmwareStatus,"\n ");p.c(t,this._expr_13,u)&&(this.renderer.setText(this._text_105,u),this._expr_13=u),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._DropdownPopoverComponent_20_4.ngAfterViewInit()},e.prototype.destroyInternal=function(){this._Slide_4_4.ngOnDestroy(),this._Slide_90_4.ngOnDestroy(),this._Content_0_4.ngOnDestroy()},e.prototype._handle_onSelection_20_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.dropdownDeviceChange(t)!==!1;return e},e.prototype._handle_change_64_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.fileChange(t)!==!1;return e},e.prototype._handle_click_72_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.closeModal()!==!1;return e},e.prototype._handle_click_80_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.toProgressBar()!==!1;return e},e.prototype._handle_progressBarDone_97_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.doneUpdating()!==!1;return e},e}(h.a),ot=function(t){function e(n,i,r){t.call(this,e,rt,d.a.EMBEDDED,n,i,r,f.b.CheckAlways)}return K(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"dropdown-popover",null),this._appEl_0=new c.a(0,null,this,this._el_0);var e=Y.b(this.viewUtils,this.injector(0),this._appEl_0);this._DropdownPopoverComponent_0_4=new N.a(this.parent.parentInjector.get($.a),new B.a(this._el_0),this.parent.parentInjector.get(X.f)),this._appEl_0.initComponent(this._DropdownPopoverComponent_0_4,[],e),e.create(this._DropdownPopoverComponent_0_4,[],null);var n=this.renderer.listen(this._el_0,"onSelection",this.eventHandler(this._handle_onSelection_0_0.bind(this)));this._expr_1=f.n;var i=this._DropdownPopoverComponent_0_4.onSelection.subscribe(this.eventHandler(this._handle_onSelection_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0],[n],[i]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===N.a&&0===e?this._DropdownPopoverComponent_0_4:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.context.firmwareNames;p.c(t,this._expr_1,n)&&(this._DropdownPopoverComponent_0_4.dataArray=n,null===e&&(e={}),e.dataArray=new f.m(this._expr_1,n),this._expr_1=n),null!==e&&this._DropdownPopoverComponent_0_4.ngOnChanges(e),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._DropdownPopoverComponent_0_4.ngAfterViewInit()},e.prototype._handle_onSelection_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.dropdownFirmwareChange(t)!==!1;return e},e}(h.a),at=function(t){function e(n,i,r){t.call(this,e,rt,d.a.EMBEDDED,n,i,r,f.b.CheckAlways)}return K(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","text-button-side disable-hover item-button"),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new c.a(0,null,this,this._el_0);var e=Q.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new D.a(null,"",this.parent.parentInjector.get(L.c),new B.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"Browse",null),e.create(this._Button_0_4,[[].concat([this._text_1])],null);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===D.a&&0<=e&&e<=1?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype.dirtyParentQueriesInternal=function(){this.parent._query_Button_24_1.setDirty()},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.openFileInput()!==!1;return e},e}(h.a),_t=function(t){function e(n,i,r){t.call(this,e,rt,d.a.EMBEDDED,n,i,r,f.b.CheckAlways)}return K(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","configure-item item item-block"),this._appEl_0=new c.a(0,null,this,this._el_0);var e=G.a(this.viewUtils,this.injector(0),this._appEl_0);this._Item_0_4=new O.a(this.parent.parentInjector.get(W.a),this.parent.parentInjector.get(L.c),new B.a(this._el_0),this.renderer),this._ItemContent_0_5=new O.b,this._query_Label_0_0=new T.a,this._query_Button_0_1=new T.a,this._query_Icon_0_2=new T.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"ion-label",null),this._Label_2_3=new k.a(this.parent.parentInjector.get(L.c),new B.a(this._el_2),this.renderer,null,null,null,null),this._text_3=this.renderer.createText(this._el_2,"Upload Firmware",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_5,"class","item-content-right"),this.renderer.setElementAttribute(this._el_5,"item-right",""),this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._el_7=this.renderer.createElement(this._el_5,"button",null),this.renderer.setElementAttribute(this._el_7,"class","text-button-side disable-hover item-button"),this.renderer.setElementAttribute(this._el_7,"ion-button",""),this._appEl_7=new c.a(7,5,this,this._el_7);var n=Q.a(this.viewUtils,this.injector(7),this._appEl_7);this._Button_7_4=new D.a(null,"",this.parent.parentInjector.get(L.c),new B.a(this._el_7),this.renderer),this._appEl_7.initComponent(this._Button_7_4,[],n),this._text_8=this.renderer.createText(null,"Browse",null),n.create(this._Button_7_4,[[].concat([this._text_8])],null),this._text_9=this.renderer.createText(this._el_5,"\n ",null),this._text_10=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([this._Label_2_3]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[].concat([this._el_2]),[].concat([this._text_1,this._text_4,this._text_10]),[],[].concat([this._el_5])],null);var i=this.renderer.listen(this._el_7,"click",this.eventHandler(this._handle_click_7_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._text_9,this._text_10],[i],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===k.a&&2<=e&&e<=3?this._Label_2_3:t===D.a&&7<=e&&e<=8?this._Button_7_4:t===O.a&&0<=e&&e<=10?this._Item_0_4:t===O.b&&0<=e&&e<=10?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([this._Button_7_4]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Button_7_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit()),this.detectViewChildrenChanges(t)},e.prototype._handle_click_7_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.openFileInput()!==!1;return e},e}(h.a),lt=function(t){function e(n,i,r){t.call(this,e,rt,d.a.EMBEDDED,n,i,r,f.b.CheckAlways)}return K(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_0,"icon-right",""),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new c.a(0,null,this,this._el_0);var e=Q.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new D.a(null,"",this.parent.parentInjector.get(L.c),new B.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"\n Done\n ",null),this._el_2=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_2,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_2,"src","assets/img/check.svg"),this._text_3=this.renderer.createText(null,"\n ",null),e.create(this._Button_0_4,[[].concat([this._text_1,this._el_2,this._text_3])],null);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===D.a&&0<=e&&e<=3?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.closeModal()!==!1;return e},e}(h.a),ht=function(t){function e(n,i,r){t.call(this,e,rt,d.a.EMBEDDED,n,i,r,f.b.CheckAlways)}return K(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_0,"icon-right",""),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new c.a(0,null,this,this._el_0);var e=Q.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new D.a(null,"",this.parent.parentInjector.get(L.c),new B.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"\n Cancel\n ",null),this._el_2=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_2,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_2,"src","assets/img/close.svg"),this._text_3=this.renderer.createText(null,"\n ",null),e.create(this._Button_0_4,[[].concat([this._text_1,this._el_2,this._text_3])],null);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===D.a&&0<=e&&e<=3?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.closeModal()!==!1;return e},e}(h.a)},function(t,e,n){"use strict";function i(t,e,n){return null===Et&&(Et=t.createRenderComponentType("",0,R.c.None,[],{})),new Tt(t,e,n)}function r(t,e,n){return null===St&&(St=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/pages/logger/openlogger/openlogger-logger.html",0,R.c.None,It,{})),new Ot(t,e,n)}function s(t,e,n){return new kt(t,e,n)}function o(t,e,n){return new Nt(t,e,n)}function a(t,e,n){return new Pt(t,e,n)}function _(t,e,n){return new Rt(t,e,n)}function l(t,e,n){return new Dt(t,e,n)}function h(t,e,n){return new jt(t,e,n)}function c(t,e,n){return new Mt(t,e,n)}function u(t,e,n){return new Lt(t,e,n)}function p(t,e,n){return new Bt(t,e,n)}function d(t,e,n){return new Ft(t,e,n)}function f(t,e,n){return new qt(t,e,n)}function m(t,e,n){return new Vt(t,e,n)}var g=n(10),v=n(6),x=n(377),y=n(11),b=n(5),w=n(4),C=n(71),E=n(27),T=n(99),A=n(121),I=n(47),S=n(28),O=n(104),k=n(43),N=n(83),P=n(38),R=n(8),D=n(7),j=n(34),M=n(46),L=n(35),B=n(33),F=n(223),q=n(20),V=n(70),H=n(222),U=n(276),z=n(189),G=n(188),W=n(187),Y=n(81),$=n(2),X=n(14),J=n(22),Q=n(49),Z=n(56),K=n(13),tt=n(67),et=n(21),nt=n(472),it=n(25),rt=n(51),st=n(23),ot=n(471),at=n(803),_t=n(66),lt=n(82),ht=n(103),ct=n(31),ut=n(170),pt=n(363),dt=n(110),ft=n(361),mt=n(359),gt=n(73),vt=n(228),xt=n(302),yt=n(113),bt=n(152),wt=n(122);n.d(e,"a",function(){return At});var Ct=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Et=null,Tt=function(t){function e(n,i,r){t.call(this,e,Et,b.a.HOST,n,i,r,w.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ng-component",t,null),this._appEl_0=new v.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._OpenLoggerLoggerPage_0_4=new x.a(this.parentInjector.get(C.a),this.parentInjector.get(E.a),this.parentInjector.get(T.a),this.parentInjector.get(A.a),this.parentInjector.get(I.a),this.parentInjector.get(S.a),this.parentInjector.get(O.a),this.parentInjector.get(k.DeviceManagerService),this.parentInjector.get(N.a),this.parentInjector.get(P.a)),this._appEl_0.initComponent(this._OpenLoggerLoggerPage_0_4,[],e),e.create(this._OpenLoggerLoggerPage_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===x.a&&0===e?this._OpenLoggerLoggerPage_0_4:n},e.prototype.detectChangesInternal=function(t){0!==this.numberOfChecks||t||this._OpenLoggerLoggerPage_0_4.ngOnInit(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._OpenLoggerLoggerPage_0_4.ngOnDestroy()},e}(g.a),At=new D.a("ng-component",i,x.a),It=[],St=null,Ot=function(t){function e(n,i,r){t.call(this,e,St,b.a.COMPONENT,n,i,r,w.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_loggerComponent_0=new j.a,this._viewQuery_chart_1=new j.a,this._viewQuery_timeline_2=new j.a,this._viewQuery_gpioComponent_3=new j.a,this._viewQuery_fgenComponent_4=new j.a,this._viewQuery_dcComponent_5=new j.a,this._el_0=this.renderer.createElement(e,"ion-content",null),this.renderer.setElementAttribute(this._el_0,"class","openlogger-page-container"),this._appEl_0=new v.a(0,null,this,this._el_0);var n=Y.a(this.viewUtils,this.injector(0),this._appEl_0);this._Content_0_4=new M.a(this.parentInjector.get($.c),new X.a(this._el_0),this.renderer,this.parentInjector.get(J.a),this.parentInjector.get(Q.a),this.parentInjector.get(Z.a),this.parentInjector.get(K.a,null),this.parentInjector.get(tt.a,null)),this._appEl_0.initComponent(this._Content_0_4,[],n),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"div",null),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-row",null),this.renderer.setElementAttribute(this._el_4,"class","logger-header"),this._Row_4_3=new L.c,this._text_5=this.renderer.createText(this._el_4,"\n ",null),this._el_6=this.renderer.createElement(this._el_4,"ion-col",null),this.renderer.setElementAttribute(this._el_6,"center",""),this.renderer.setElementAttribute(this._el_6,"class","back-button-col timeline-back-button"),this.renderer.setElementAttribute(this._el_6,"text-center",""),this._Col_6_3=new L.a,this._text_7=this.renderer.createText(this._el_6,"\n ",null),this._anchor_8=this.renderer.createTemplateAnchor(this._el_6,null),this._appEl_8=new v.a(8,6,this,this._anchor_8),this._TemplateRef_8_5=new et.a(this._appEl_8,s),this._NgIf_8_6=new B.a(this._appEl_8.vcRef,this._TemplateRef_8_5),this._text_9=this.renderer.createText(this._el_6,"\n\n ",null),this._anchor_10=this.renderer.createTemplateAnchor(this._el_6,null),this._appEl_10=new v.a(10,6,this,this._anchor_10),this._TemplateRef_10_5=new et.a(this._appEl_10,o),this._NgIf_10_6=new B.a(this._appEl_10.vcRef,this._TemplateRef_10_5),this._text_11=this.renderer.createText(this._el_6,"\n ",null),this._text_12=this.renderer.createText(this._el_4,"\n ",null),this._el_13=this.renderer.createElement(this._el_4,"ion-col",null),this.renderer.setElementAttribute(this._el_13,"center",""),this.renderer.setElementAttribute(this._el_13,"class","config-title-menu-col logger-timeline-container"),this._Col_13_3=new L.a,this._text_14=this.renderer.createText(this._el_13,"\n ",null),this._el_15=this.renderer.createElement(this._el_13,"logger-timeline",null),this._appEl_15=new v.a(15,13,this,this._el_15);var i=nt.a(this.viewUtils,this.injector(15),this._appEl_15);this._LoggerTimelineComponent_15_4=new F.a(this.parentInjector.get(T.a),this.parentInjector.get(k.DeviceManagerService)),this._appEl_15.initComponent(this._LoggerTimelineComponent_15_4,[],i),i.create(this._LoggerTimelineComponent_15_4,[],null),this._text_16=this.renderer.createText(this._el_13,"\n ",null),this._text_17=this.renderer.createText(this._el_4,"\n ",null),this._el_18=this.renderer.createElement(this._el_4,"ion-col",null),this.renderer.setElementAttribute(this._el_18,"center",""),this.renderer.setElementAttribute(this._el_18,"class","timeline-row-button-container"),this.renderer.setElementAttribute(this._el_18,"text-center",""),this._Col_18_3=new L.a,this._text_19=this.renderer.createText(this._el_18,"\n ",null),this._el_20=this.renderer.createElement(this._el_18,"div",null),this._text_21=this.renderer.createText(this._el_20,"\n ",null),this._el_22=this.renderer.createElement(this._el_20,"div",null),this._text_23=this.renderer.createText(this._el_22,"\n ",null),this._el_24=this.renderer.createElement(this._el_22,"button",null),this.renderer.setElementAttribute(this._el_24,"class","text-button-side disable-hover main-button"),this.renderer.setElementAttribute(this._el_24,"icon-right",""),this.renderer.setElementAttribute(this._el_24,"ion-button",""),this._appEl_24=new v.a(24,22,this,this._el_24);var r=it.a(this.viewUtils,this.injector(24),this._appEl_24);this._Button_24_4=new q.a(null,"",this.parentInjector.get($.c),new X.a(this._el_24),this.renderer),this._appEl_24.initComponent(this._Button_24_4,[],r),this._text_25=this.renderer.createText(null,"\n ",null),this._el_26=this.renderer.createElement(null,"span",null),this.renderer.setElementAttribute(this._el_26,"class","collapse-button"),this._text_27=this.renderer.createText(this._el_26,"",null),this._text_28=this.renderer.createText(null,"\n ",null),this._el_29=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_29,"class","custom-image-button"),this._text_30=this.renderer.createText(null,"\n ",null),r.create(this._Button_24_4,[[].concat([this._text_25,this._el_26,this._text_28,this._el_29,this._text_30])],null),this._text_31=this.renderer.createText(this._el_22,"\n ",null),this._text_32=this.renderer.createText(this._el_20,"\n ",null),this._el_33=this.renderer.createElement(this._el_20,"div",null),this.renderer.setElementAttribute(this._el_33,"class","overal-run-status-container"),this.renderer.setElementAttribute(this._el_33,"text-center",""),this._text_34=this.renderer.createText(this._el_33,"",null),this._text_35=this.renderer.createText(this._el_20,"\n ",null),this._text_36=this.renderer.createText(this._el_18,"\n ",null),this._text_37=this.renderer.createText(this._el_4,"\n ",null),this._text_38=this.renderer.createText(this._el_2,"\n ",null),this._text_39=this.renderer.createText(null,"\n\n ",null),this._el_40=this.renderer.createElement(null,"ion-row",null),this.renderer.setElementAttribute(this._el_40,"class","page-row"),this._Row_40_3=new L.c,this._text_41=this.renderer.createText(this._el_40,"\n ",null),this._el_42=this.renderer.createElement(this._el_40,"ion-col",null),this.renderer.setElementAttribute(this._el_42,"class","chart-container-col"),this._Col_42_3=new L.a,this._text_43=this.renderer.createText(this._el_42,"\n ",null),this._el_44=this.renderer.createElement(this._el_42,"div",null),this.renderer.setElementAttribute(this._el_44,"class","chart-button-container"),this._text_45=this.renderer.createText(this._el_44,"\n ",null),this._el_46=this.renderer.createElement(this._el_44,"button",null),this.renderer.setElementAttribute(this._el_46,"class","chart-button disable-hover"),this.renderer.setElementAttribute(this._el_46,"ion-button",""),this.renderer.setElementAttribute(this._el_46,"tooltipPlacement","left"),this._appEl_46=new v.a(46,44,this,this._el_46);var g=it.a(this.viewUtils,this.injector(46),this._appEl_46);this._Tooltip_46_5=new V.a(this._appEl_46.vcRef,this.parentInjector.get(rt.a),this.parentInjector.get(st.f)),this._Button_46_6=new q.a(null,"",this.parentInjector.get($.c),new X.a(this._el_46),this.renderer),this._appEl_46.initComponent(this._Button_46_6,[],g),this._text_47=this.renderer.createText(null,"\n ",null),this._el_48=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_48,"class","button-side-svg"),this.renderer.setElementAttribute(this._el_48,"src","assets/img/logger-to-front.svg"),this._text_49=this.renderer.createText(null,"\n ",null),g.create(this._Button_46_6,[[].concat([this._text_47,this._el_48,this._text_49])],null),this._text_50=this.renderer.createText(this._el_44,"\n ",null), this._el_51=this.renderer.createElement(this._el_44,"button",null),this.renderer.setElementAttribute(this._el_51,"class","chart-button disable-hover"),this.renderer.setElementAttribute(this._el_51,"ion-button",""),this.renderer.setElementAttribute(this._el_51,"tooltipPlacement","left"),this._appEl_51=new v.a(51,44,this,this._el_51);var x=it.a(this.viewUtils,this.injector(51),this._appEl_51);this._Tooltip_51_5=new V.a(this._appEl_51.vcRef,this.parentInjector.get(rt.a),this.parentInjector.get(st.f)),this._Button_51_6=new q.a(null,"",this.parentInjector.get($.c),new X.a(this._el_51),this.renderer),this._appEl_51.initComponent(this._Button_51_6,[],x),this._text_52=this.renderer.createText(null,"\n ",null),this._el_53=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_53,"class","button-side-svg"),this.renderer.setElementAttribute(this._el_53,"src","assets/img/download.svg"),this._text_54=this.renderer.createText(null,"\n ",null),x.create(this._Button_51_6,[[].concat([this._text_52,this._el_53,this._text_54])],null),this._text_55=this.renderer.createText(this._el_44,"\n ",null),this._el_56=this.renderer.createElement(this._el_44,"button",null),this.renderer.setElementAttribute(this._el_56,"class","chart-button disable-hover"),this.renderer.setElementAttribute(this._el_56,"ion-button",""),this.renderer.setElementAttribute(this._el_56,"tooltipPlacement","left"),this._appEl_56=new v.a(56,44,this,this._el_56);var y=it.a(this.viewUtils,this.injector(56),this._appEl_56);this._Tooltip_56_5=new V.a(this._appEl_56.vcRef,this.parentInjector.get(rt.a),this.parentInjector.get(st.f)),this._Button_56_6=new q.a(null,"",this.parentInjector.get($.c),new X.a(this._el_56),this.renderer),this._appEl_56.initComponent(this._Button_56_6,[],y),this._text_57=this.renderer.createText(null,"\n ",null),this._el_58=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_58,"class","button-side-svg"),this.renderer.setElementAttribute(this._el_58,"src","assets/img/folder.svg"),this._text_59=this.renderer.createText(null,"\n ",null),y.create(this._Button_56_6,[[].concat([this._text_57,this._el_58,this._text_59])],null),this._text_60=this.renderer.createText(this._el_44,"\n ",null),this._el_61=this.renderer.createElement(this._el_44,"button",null),this.renderer.setElementAttribute(this._el_61,"class","chart-button disable-hover"),this.renderer.setElementAttribute(this._el_61,"ion-button",""),this.renderer.setElementAttribute(this._el_61,"tooltipPlacement","left"),this._appEl_61=new v.a(61,44,this,this._el_61);var b=it.a(this.viewUtils,this.injector(61),this._appEl_61);this._Tooltip_61_5=new V.a(this._appEl_61.vcRef,this.parentInjector.get(rt.a),this.parentInjector.get(st.f)),this._Button_61_6=new q.a(null,"",this.parentInjector.get($.c),new X.a(this._el_61),this.renderer),this._appEl_61.initComponent(this._Button_61_6,[],b),this._text_62=this.renderer.createText(null,"\n PIN\n ",null),b.create(this._Button_61_6,[[].concat([this._text_62])],null),this._text_63=this.renderer.createText(this._el_44,"\n ",null),this._el_64=this.renderer.createElement(this._el_44,"button",null),this.renderer.setElementAttribute(this._el_64,"class","chart-button disable-hover"),this.renderer.setElementAttribute(this._el_64,"ion-button",""),this.renderer.setElementAttribute(this._el_64,"tooltipPlacement","left"),this._appEl_64=new v.a(64,44,this,this._el_64);var C=it.a(this.viewUtils,this.injector(64),this._appEl_64);this._Tooltip_64_5=new V.a(this._appEl_64.vcRef,this.parentInjector.get(rt.a),this.parentInjector.get(st.f)),this._Button_64_6=new q.a(null,"",this.parentInjector.get($.c),new X.a(this._el_64),this.renderer),this._appEl_64.initComponent(this._Button_64_6,[],C),this._text_65=this.renderer.createText(null,"\n ",null),this._el_66=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_66,"class","button-size-svg"),this.renderer.setElementAttribute(this._el_66,"src","assets/img/restore.svg"),this._text_67=this.renderer.createText(null,"\n ",null),C.create(this._Button_64_6,[[].concat([this._text_65,this._el_66,this._text_67])],null),this._text_68=this.renderer.createText(this._el_44,"\n ",null),this._text_69=this.renderer.createText(this._el_42,"\n ",null),this._el_70=this.renderer.createElement(this._el_42,"div",null),this.renderer.setElementAttribute(this._el_70,"class","chart-and-bottom-container"),this._text_71=this.renderer.createText(this._el_70,"\n ",null),this._el_72=this.renderer.createElement(this._el_70,"div",null),this.renderer.setElementAttribute(this._el_72,"class","logger-page-chart-container"),this._text_73=this.renderer.createText(this._el_72,"\n ",null),this._el_74=this.renderer.createElement(this._el_72,"logger-chart",null),this._appEl_74=new v.a(74,72,this,this._el_74);var E=ot.a(this.viewUtils,this.injector(74),this._appEl_74);this._LoggerChartComponent_74_4=new H.a(this.parentInjector.get(T.a),this.parentInjector.get(k.DeviceManagerService),this.parentInjector.get(O.a)),this._appEl_74.initComponent(this._LoggerChartComponent_74_4,[],E),E.create(this._LoggerChartComponent_74_4,[],null),this._text_75=this.renderer.createText(this._el_72,"\n ",null),this._text_76=this.renderer.createText(this._el_70,"\n ",null),this._el_77=this.renderer.createElement(this._el_70,"div",null),this.renderer.setElementAttribute(this._el_77,"class","logger-chart-bottom-container"),this._text_78=this.renderer.createText(this._el_77,"\n ",null),this._el_79=this.renderer.createElement(this._el_77,"ion-row",null),this.renderer.setElementAttribute(this._el_79,"class","chart-info"),this._Row_79_3=new L.c,this._text_80=this.renderer.createText(this._el_79,"\n ",null),this._el_81=this.renderer.createElement(this._el_79,"ion-col",null),this.renderer.setElementAttribute(this._el_81,"center",""),this.renderer.setElementAttribute(this._el_81,"class","info-col"),this._Col_81_3=new L.a,this._text_82=this.renderer.createText(this._el_81,"\n ",null),this._el_83=this.renderer.createElement(this._el_81,"ion-row",null),this.renderer.setElementAttribute(this._el_83,"center",""),this.renderer.setElementAttribute(this._el_83,"class","cursor-container"),this._Row_83_3=new L.c,this._text_84=this.renderer.createText(this._el_83,"\n ",null),this._el_85=this.renderer.createElement(this._el_83,"button",null),this.renderer.setElementAttribute(this._el_85,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_85,"icon-right",""),this.renderer.setElementAttribute(this._el_85,"ion-button",""),this.renderer.setElementAttribute(this._el_85,"tooltipPlacement","right"),this._appEl_85=new v.a(85,83,this,this._el_85);var A=it.a(this.viewUtils,this.injector(85),this._appEl_85);this._Tooltip_85_5=new V.a(this._appEl_85.vcRef,this.parentInjector.get(rt.a),this.parentInjector.get(st.f)),this._Button_85_6=new q.a(null,"",this.parentInjector.get($.c),new X.a(this._el_85),this.renderer),this._appEl_85.initComponent(this._Button_85_6,[],A),this._text_86=this.renderer.createText(null,"\n ",null),this._el_87=this.renderer.createElement(null,"span",null),this.renderer.setElementAttribute(this._el_87,"class","collapse-button"),this._text_88=this.renderer.createText(this._el_87,"Math",null),this._text_89=this.renderer.createText(null,"\n ",null),this._el_90=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_90,"class","button-side-svg"),this.renderer.setElementAttribute(this._el_90,"src","assets/img/math.svg"),this._text_91=this.renderer.createText(null,"\n ",null),A.create(this._Button_85_6,[[].concat([this._text_86,this._el_87,this._text_89,this._el_90,this._text_91])],null),this._text_92=this.renderer.createText(this._el_83,"\n ",null),this._el_93=this.renderer.createElement(this._el_83,"button",null),this.renderer.setElementAttribute(this._el_93,"class","icon-only-button-side disable-hover"),this.renderer.setElementAttribute(this._el_93,"ion-button",""),this.renderer.setElementAttribute(this._el_93,"tooltipPlacement","right"),this._appEl_93=new v.a(93,83,this,this._el_93);var R=it.a(this.viewUtils,this.injector(93),this._appEl_93);this._Tooltip_93_5=new V.a(this._appEl_93.vcRef,this.parentInjector.get(rt.a),this.parentInjector.get(st.f)),this._Button_93_6=new q.a(null,"",this.parentInjector.get($.c),new X.a(this._el_93),this.renderer),this._appEl_93.initComponent(this._Button_93_6,[],R),this._text_94=this.renderer.createText(null,"\n ",null),this._el_95=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_95,"class","button-side-svg"),this.renderer.setElementAttribute(this._el_95,"src","assets/img/refresh.svg"),this._text_96=this.renderer.createText(null,"\n ",null),R.create(this._Button_93_6,[[].concat([this._text_94,this._el_95,this._text_96])],null),this._text_97=this.renderer.createText(this._el_83,"\n ",null),this._el_98=this.renderer.createElement(this._el_83,"ion-col",null),this.renderer.setElementAttribute(this._el_98,"center",""),this.renderer.setElementAttribute(this._el_98,"class","cursor-info-col"),this.renderer.setElementAttribute(this._el_98,"id","test-test"),this._Col_98_3=new L.a,this._text_99=this.renderer.createText(this._el_98,"\n ",null),this._anchor_100=this.renderer.createTemplateAnchor(this._el_98,null),this._appEl_100=new v.a(100,98,this,this._anchor_100),this._TemplateRef_100_5=new et.a(this._appEl_100,a),this._NgIf_100_6=new B.a(this._appEl_100.vcRef,this._TemplateRef_100_5),this._text_101=this.renderer.createText(this._el_98,"\n ",null),this._el_102=this.renderer.createElement(this._el_98,"br",null),this._text_103=this.renderer.createText(this._el_98,"\n ",null),this._anchor_104=this.renderer.createTemplateAnchor(this._el_98,null),this._appEl_104=new v.a(104,98,this,this._anchor_104),this._TemplateRef_104_5=new et.a(this._appEl_104,_),this._NgIf_104_6=new B.a(this._appEl_104.vcRef,this._TemplateRef_104_5),this._text_105=this.renderer.createText(this._el_98,"\n ",null),this._text_106=this.renderer.createText(this._el_83,"\n ",null),this._el_107=this.renderer.createElement(this._el_83,"ion-col",null),this.renderer.setElementAttribute(this._el_107,"center",""),this.renderer.setElementAttribute(this._el_107,"class","cursor-info-col"),this._Col_107_3=new L.a,this._text_108=this.renderer.createText(this._el_107,"\n ",null),this._anchor_109=this.renderer.createTemplateAnchor(this._el_107,null),this._appEl_109=new v.a(109,107,this,this._anchor_109),this._TemplateRef_109_5=new et.a(this._appEl_109,l),this._NgIf_109_6=new B.a(this._appEl_109.vcRef,this._TemplateRef_109_5),this._text_110=this.renderer.createText(this._el_107,"\n ",null),this._el_111=this.renderer.createElement(this._el_107,"br",null),this._text_112=this.renderer.createText(this._el_107,"\n ",null),this._anchor_113=this.renderer.createTemplateAnchor(this._el_107,null),this._appEl_113=new v.a(113,107,this,this._anchor_113),this._TemplateRef_113_5=new et.a(this._appEl_113,h),this._NgIf_113_6=new B.a(this._appEl_113.vcRef,this._TemplateRef_113_5),this._text_114=this.renderer.createText(this._el_107,"\n ",null),this._text_115=this.renderer.createText(this._el_83,"\n ",null),this._text_116=this.renderer.createText(this._el_81,"\n ",null),this._text_117=this.renderer.createText(this._el_79,"\n ",null),this._el_118=this.renderer.createElement(this._el_79,"ion-col",null),this.renderer.setElementAttribute(this._el_118,"center",""),this.renderer.setElementAttribute(this._el_118,"class","info-col"),this._Col_118_3=new L.a,this._text_119=this.renderer.createText(this._el_118,"\n ",null),this._el_120=this.renderer.createElement(this._el_118,"ion-row",null),this.renderer.setElementAttribute(this._el_120,"center",""),this.renderer.setElementAttribute(this._el_120,"class","cursor-container"),this._Row_120_3=new L.c,this._text_121=this.renderer.createText(this._el_120,"\n ",null),this._el_122=this.renderer.createElement(this._el_120,"button",null),this.renderer.setElementAttribute(this._el_122,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_122,"icon-right",""),this.renderer.setElementAttribute(this._el_122,"ion-button",""),this.renderer.setElementAttribute(this._el_122,"tooltipPlacement","right"),this._appEl_122=new v.a(122,120,this,this._el_122);var D=it.a(this.viewUtils,this.injector(122),this._appEl_122);this._Tooltip_122_5=new V.a(this._appEl_122.vcRef,this.parentInjector.get(rt.a),this.parentInjector.get(st.f)),this._Button_122_6=new q.a(null,"",this.parentInjector.get($.c),new X.a(this._el_122),this.renderer),this._appEl_122.initComponent(this._Button_122_6,[],D),this._text_123=this.renderer.createText(null,"\n ",null),this._el_124=this.renderer.createElement(null,"span",null),this.renderer.setElementAttribute(this._el_124,"class","collapse-button"),this._text_125=this.renderer.createText(this._el_124,"Cursors",null),this._text_126=this.renderer.createText(null,"\n ",null),this._el_127=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_127,"class","button-side-svg"),this.renderer.setElementAttribute(this._el_127,"src","assets/img/edit.svg"),this._text_128=this.renderer.createText(null,"\n ",null),D.create(this._Button_122_6,[[].concat([this._text_123,this._el_124,this._text_126,this._el_127,this._text_128])],null),this._text_129=this.renderer.createText(this._el_120,"\n ",null),this._anchor_130=this.renderer.createTemplateAnchor(this._el_120,null),this._appEl_130=new v.a(130,120,this,this._anchor_130),this._TemplateRef_130_5=new et.a(this._appEl_130,c),this._NgIf_130_6=new B.a(this._appEl_130.vcRef,this._TemplateRef_130_5),this._text_131=this.renderer.createText(this._el_120,"\n ",null),this._anchor_132=this.renderer.createTemplateAnchor(this._el_120,null),this._appEl_132=new v.a(132,120,this,this._anchor_132),this._TemplateRef_132_5=new et.a(this._appEl_132,u),this._NgIf_132_6=new B.a(this._appEl_132.vcRef,this._TemplateRef_132_5),this._text_133=this.renderer.createText(this._el_120,"\n ",null),this._anchor_134=this.renderer.createTemplateAnchor(this._el_120,null),this._appEl_134=new v.a(134,120,this,this._anchor_134),this._TemplateRef_134_5=new et.a(this._appEl_134,p),this._NgIf_134_6=new B.a(this._appEl_134.vcRef,this._TemplateRef_134_5),this._text_135=this.renderer.createText(this._el_120,"\n ",null),this._anchor_136=this.renderer.createTemplateAnchor(this._el_120,null),this._appEl_136=new v.a(136,120,this,this._anchor_136),this._TemplateRef_136_5=new et.a(this._appEl_136,d),this._NgIf_136_6=new B.a(this._appEl_136.vcRef,this._TemplateRef_136_5),this._text_137=this.renderer.createText(this._el_120,"\n ",null),this._anchor_138=this.renderer.createTemplateAnchor(this._el_120,null),this._appEl_138=new v.a(138,120,this,this._anchor_138),this._TemplateRef_138_5=new et.a(this._appEl_138,f),this._NgIf_138_6=new B.a(this._appEl_138.vcRef,this._TemplateRef_138_5),this._text_139=this.renderer.createText(this._el_120,"\n ",null),this._anchor_140=this.renderer.createTemplateAnchor(this._el_120,null),this._appEl_140=new v.a(140,120,this,this._anchor_140),this._TemplateRef_140_5=new et.a(this._appEl_140,m),this._NgIf_140_6=new B.a(this._appEl_140.vcRef,this._TemplateRef_140_5),this._text_141=this.renderer.createText(this._el_120,"\n ",null),this._text_142=this.renderer.createText(this._el_118,"\n ",null),this._text_143=this.renderer.createText(this._el_79,"\n ",null),this._text_144=this.renderer.createText(this._el_77,"\n ",null),this._text_145=this.renderer.createText(this._el_70,"\n ",null),this._text_146=this.renderer.createText(this._el_42,"\n ",null),this._text_147=this.renderer.createText(this._el_40,"\n \n ",null),this._el_148=this.renderer.createElement(this._el_40,"ion-col",null),this.renderer.setElementAttribute(this._el_148,"class","controls-col"),this._Col_148_3=new L.a,this._text_149=this.renderer.createText(this._el_148,"\n ",null),this._el_150=this.renderer.createElement(this._el_148,"ion-row",null),this.renderer.setElementAttribute(this._el_150,"class","controls-row"),this._Row_150_3=new L.c,this._text_151=this.renderer.createText(this._el_150,"\n ",null),this._el_152=this.renderer.createElement(this._el_150,"openlogger-logger-component",null),this._appEl_152=new v.a(152,150,this,this._el_152);var gt=at.a(this.viewUtils,this.injector(152),this._appEl_152);this._OpenLoggerLoggerComponent_152_4=new U.a(this.parentInjector.get(k.DeviceManagerService),this.parentInjector.get(N.a),this.parentInjector.get(P.a),this.parentInjector.get(_t.a),this.parentInjector.get(T.a),this.parentInjector.get(lt.a),this.parentInjector.get(ht.a),this.parentInjector.get(ct.a),this.parentInjector.get(S.a),this.parentInjector.get(I.a),this.parentInjector.get(O.a),this.parentInjector.get(ut.a)),this._appEl_152.initComponent(this._OpenLoggerLoggerComponent_152_4,[],gt),gt.create(this._OpenLoggerLoggerComponent_152_4,[],null),this._text_153=this.renderer.createText(this._el_150,"\n\n ",null),this._el_154=this.renderer.createElement(this._el_150,"fgen",null),this._appEl_154=new v.a(154,150,this,this._el_154);var vt=pt.b(this.viewUtils,this.injector(154),this._appEl_154);this._FgenComponent_154_4=new z.a(this.parentInjector.get(k.DeviceManagerService),this.parentInjector.get(P.a),this.parentInjector.get(ct.a),this.parentInjector.get(S.a),this.parentInjector.get(dt.a),this.parentInjector.get(O.a)),this._appEl_154.initComponent(this._FgenComponent_154_4,[],vt),vt.create(this._FgenComponent_154_4,[],null),this._text_155=this.renderer.createText(this._el_150,"\n\n ",null),this._el_156=this.renderer.createElement(this._el_150,"digital-io",null),this._appEl_156=new v.a(156,150,this,this._el_156);var xt=ft.b(this.viewUtils,this.injector(156),this._appEl_156);this._DigitalIoComponent_156_4=new G.a(this.parentInjector.get(ht.a),this.parentInjector.get(S.a),this.parentInjector.get(k.DeviceManagerService),this.parentInjector.get(I.a),this.parentInjector.get(P.a),this.parentInjector.get(dt.a)),this._appEl_156.initComponent(this._DigitalIoComponent_156_4,[],xt),xt.create(this._DigitalIoComponent_156_4,[],null),this._text_157=this.renderer.createText(this._el_150,"\n \n ",null),this._el_158=this.renderer.createElement(this._el_150,"dc-supply",null),this._appEl_158=new v.a(158,150,this,this._el_158);var yt=mt.b(this.viewUtils,this.injector(158),this._appEl_158);this._DcSupplyComponent_158_4=new W.a(this.parentInjector.get(k.DeviceManagerService),this.parentInjector.get(P.a),this.parentInjector.get(S.a),this.parentInjector.get(O.a)),this._appEl_158.initComponent(this._DcSupplyComponent_158_4,[],yt),yt.create(this._DcSupplyComponent_158_4,[],null),this._text_159=this.renderer.createText(this._el_150,"\n ",null),this._text_160=this.renderer.createText(this._el_148,"\n\n ",null),this._el_161=this.renderer.createElement(this._el_148,"ion-row",null),this._Row_161_3=new L.c,this._text_162=this.renderer.createText(this._el_161,"\n ",null),this._el_163=this.renderer.createElement(this._el_161,"ion-col",null),this.renderer.setElementAttribute(this._el_163,"center",""),this.renderer.setElementAttribute(this._el_163,"no-padding",""),this.renderer.setElementAttribute(this._el_163,"text-center",""),this._Col_163_3=new L.a,this._text_164=this.renderer.createText(this._el_163,"\n ",null),this._el_165=this.renderer.createElement(this._el_163,"button",null),this.renderer.setElementAttribute(this._el_165,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_165,"ion-button",""),this._appEl_165=new v.a(165,163,this,this._el_165);var bt=it.a(this.viewUtils,this.injector(165),this._appEl_165);this._Button_165_4=new q.a(null,"",this.parentInjector.get($.c),new X.a(this._el_165),this.renderer),this._appEl_165.initComponent(this._Button_165_4,[],bt),this._text_166=this.renderer.createText(null,"Restore Defaults",null),bt.create(this._Button_165_4,[[].concat([this._text_166])],null),this._text_167=this.renderer.createText(this._el_163,"\n ",null),this._text_168=this.renderer.createText(this._el_161,"\n ",null),this._text_169=this.renderer.createText(this._el_148,"\n ",null),this._text_170=this.renderer.createText(this._el_40,"\n ",null),this._text_171=this.renderer.createText(null,"\n",null),n.create(this._Content_0_4,[[],[].concat([this._text_1,this._el_2,this._text_39,this._el_40,this._text_171]),[]],null),this._expr_0=w.n,this._expr_1=w.n,this._expr_2=w.n;var wt=this.renderer.listen(this._el_24,"tap",this.eventHandler(this._handle_tap_24_0.bind(this)));this._expr_4=w.n,this._expr_5=w.n,this._expr_6=w.n,this._expr_12=w.n;var Ct=this.renderer.listen(this._el_46,"tap",this.eventHandler(this._handle_tap_46_0.bind(this))),Et=this.renderer.listen(this._el_46,"focusin",this.eventHandler(this._handle_focusin_46_1.bind(this))),Tt=this.renderer.listen(this._el_46,"mouseenter",this.eventHandler(this._handle_mouseenter_46_2.bind(this))),At=this.renderer.listen(this._el_46,"focusout",this.eventHandler(this._handle_focusout_46_3.bind(this))),It=this.renderer.listen(this._el_46,"mouseleave",this.eventHandler(this._handle_mouseleave_46_4.bind(this)));this._expr_13=w.n,this._expr_14=w.n,this._expr_15=w.n,this._expr_21=w.n;var St=this.renderer.listen(this._el_51,"tap",this.eventHandler(this._handle_tap_51_0.bind(this))),Ot=this.renderer.listen(this._el_51,"focusin",this.eventHandler(this._handle_focusin_51_1.bind(this))),kt=this.renderer.listen(this._el_51,"mouseenter",this.eventHandler(this._handle_mouseenter_51_2.bind(this))),Nt=this.renderer.listen(this._el_51,"focusout",this.eventHandler(this._handle_focusout_51_3.bind(this))),Pt=this.renderer.listen(this._el_51,"mouseleave",this.eventHandler(this._handle_mouseleave_51_4.bind(this)));this._expr_22=w.n,this._expr_23=w.n,this._expr_24=w.n,this._expr_30=w.n;var Rt=this.renderer.listen(this._el_56,"tap",this.eventHandler(this._handle_tap_56_0.bind(this))),Dt=this.renderer.listen(this._el_56,"focusin",this.eventHandler(this._handle_focusin_56_1.bind(this))),jt=this.renderer.listen(this._el_56,"mouseenter",this.eventHandler(this._handle_mouseenter_56_2.bind(this))),Mt=this.renderer.listen(this._el_56,"focusout",this.eventHandler(this._handle_focusout_56_3.bind(this))),Lt=this.renderer.listen(this._el_56,"mouseleave",this.eventHandler(this._handle_mouseleave_56_4.bind(this)));this._expr_31=w.n,this._expr_32=w.n,this._expr_33=w.n;var Bt=this.renderer.listen(this._el_61,"tap",this.eventHandler(this._handle_tap_61_0.bind(this))),Ft=this.renderer.listen(this._el_61,"focusin",this.eventHandler(this._handle_focusin_61_1.bind(this))),qt=this.renderer.listen(this._el_61,"mouseenter",this.eventHandler(this._handle_mouseenter_61_2.bind(this))),Vt=this.renderer.listen(this._el_61,"focusout",this.eventHandler(this._handle_focusout_61_3.bind(this))),Ht=this.renderer.listen(this._el_61,"mouseleave",this.eventHandler(this._handle_mouseleave_61_4.bind(this)));this._expr_39=w.n,this._expr_40=w.n,this._expr_41=w.n;var Ut=this.renderer.listen(this._el_64,"tap",this.eventHandler(this._handle_tap_64_0.bind(this))),zt=this.renderer.listen(this._el_64,"focusin",this.eventHandler(this._handle_focusin_64_1.bind(this))),Gt=this.renderer.listen(this._el_64,"mouseenter",this.eventHandler(this._handle_mouseenter_64_2.bind(this))),Wt=this.renderer.listen(this._el_64,"focusout",this.eventHandler(this._handle_focusout_64_3.bind(this))),Yt=this.renderer.listen(this._el_64,"mouseleave",this.eventHandler(this._handle_mouseleave_64_4.bind(this)));this._expr_47=w.n,this._expr_48=w.n,this._expr_49=w.n,this._expr_55=w.n;var $t=this.renderer.listen(this._el_85,"tap",this.eventHandler(this._handle_tap_85_0.bind(this))),Xt=this.renderer.listen(this._el_85,"focusin",this.eventHandler(this._handle_focusin_85_1.bind(this))),Jt=this.renderer.listen(this._el_85,"mouseenter",this.eventHandler(this._handle_mouseenter_85_2.bind(this))),Qt=this.renderer.listen(this._el_85,"focusout",this.eventHandler(this._handle_focusout_85_3.bind(this))),Zt=this.renderer.listen(this._el_85,"mouseleave",this.eventHandler(this._handle_mouseleave_85_4.bind(this)));this._expr_56=w.n,this._expr_57=w.n,this._expr_58=w.n;var Kt=this.renderer.listen(this._el_93,"tap",this.eventHandler(this._handle_tap_93_0.bind(this))),te=this.renderer.listen(this._el_93,"focusin",this.eventHandler(this._handle_focusin_93_1.bind(this))),ee=this.renderer.listen(this._el_93,"mouseenter",this.eventHandler(this._handle_mouseenter_93_2.bind(this))),ne=this.renderer.listen(this._el_93,"focusout",this.eventHandler(this._handle_focusout_93_3.bind(this))),ie=this.renderer.listen(this._el_93,"mouseleave",this.eventHandler(this._handle_mouseleave_93_4.bind(this)));this._expr_64=w.n,this._expr_65=w.n,this._expr_66=w.n,this._expr_67=w.n,this._expr_68=w.n,this._expr_69=w.n,this._expr_70=w.n,this._expr_76=w.n;var re=this.renderer.listen(this._el_122,"tap",this.eventHandler(this._handle_tap_122_0.bind(this))),se=this.renderer.listen(this._el_122,"focusin",this.eventHandler(this._handle_focusin_122_1.bind(this))),oe=this.renderer.listen(this._el_122,"mouseenter",this.eventHandler(this._handle_mouseenter_122_2.bind(this))),ae=this.renderer.listen(this._el_122,"focusout",this.eventHandler(this._handle_focusout_122_3.bind(this))),_e=this.renderer.listen(this._el_122,"mouseleave",this.eventHandler(this._handle_mouseleave_122_4.bind(this)));this._expr_77=w.n,this._expr_78=w.n,this._expr_79=w.n,this._expr_80=w.n,this._expr_81=w.n,this._expr_82=w.n,this._expr_83=w.n,this._expr_84=w.n,this._expr_85=w.n,this._expr_86=w.n;var le=this.renderer.listen(this._el_154,"fgenTutorialFinish",this.eventHandler(this._handle_fgenTutorialFinish_154_0.bind(this))),he=this._FgenComponent_154_4.fgenTutorialFinish.subscribe(this.eventHandler(this._handle_fgenTutorialFinish_154_0.bind(this)));this._expr_88=w.n,this._expr_90=w.n;var ce=this.renderer.listen(this._el_165,"tap",this.eventHandler(this._handle_tap_165_0.bind(this)));return this._viewQuery_loggerComponent_0.reset([this._OpenLoggerLoggerComponent_152_4]),this.context.loggerComponent=this._viewQuery_loggerComponent_0.first,this._viewQuery_chart_1.reset([this._LoggerChartComponent_74_4]),this.context.loggerChart=this._viewQuery_chart_1.first,this._viewQuery_timeline_2.reset([this._LoggerTimelineComponent_15_4]),this.context.timeline=this._viewQuery_timeline_2.first,this._viewQuery_gpioComponent_3.reset([this._DigitalIoComponent_156_4]),this.context.gpioComponent=this._viewQuery_gpioComponent_3.first,this._viewQuery_fgenComponent_4.reset([this._FgenComponent_154_4]),this.context.fGenComponent=this._viewQuery_fgenComponent_4.first,this._viewQuery_dcComponent_5.reset([this._DcSupplyComponent_158_4]),this.context.dcComponent=this._viewQuery_dcComponent_5.first,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._anchor_8,this._text_9,this._anchor_10,this._text_11,this._text_12,this._el_13,this._text_14,this._el_15,this._text_16,this._text_17,this._el_18,this._text_19,this._el_20,this._text_21,this._el_22,this._text_23,this._el_24,this._text_25,this._el_26,this._text_27,this._text_28,this._el_29,this._text_30,this._text_31,this._text_32,this._el_33,this._text_34,this._text_35,this._text_36,this._text_37,this._text_38,this._text_39,this._el_40,this._text_41,this._el_42,this._text_43,this._el_44,this._text_45,this._el_46,this._text_47,this._el_48,this._text_49,this._text_50,this._el_51,this._text_52,this._el_53,this._text_54,this._text_55,this._el_56,this._text_57,this._el_58,this._text_59,this._text_60,this._el_61,this._text_62,this._text_63,this._el_64,this._text_65,this._el_66,this._text_67,this._text_68,this._text_69,this._el_70,this._text_71,this._el_72,this._text_73,this._el_74,this._text_75,this._text_76,this._el_77,this._text_78,this._el_79,this._text_80,this._el_81,this._text_82,this._el_83,this._text_84,this._el_85,this._text_86,this._el_87,this._text_88,this._text_89,this._el_90,this._text_91,this._text_92,this._el_93,this._text_94,this._el_95,this._text_96,this._text_97,this._el_98,this._text_99,this._anchor_100,this._text_101,this._el_102,this._text_103,this._anchor_104,this._text_105,this._text_106,this._el_107,this._text_108,this._anchor_109,this._text_110,this._el_111,this._text_112,this._anchor_113,this._text_114,this._text_115,this._text_116,this._text_117,this._el_118,this._text_119,this._el_120,this._text_121,this._el_122,this._text_123,this._el_124,this._text_125,this._text_126,this._el_127,this._text_128,this._text_129,this._anchor_130,this._text_131,this._anchor_132,this._text_133,this._anchor_134,this._text_135,this._anchor_136,this._text_137,this._anchor_138,this._text_139,this._anchor_140,this._text_141,this._text_142,this._text_143,this._text_144,this._text_145,this._text_146,this._text_147,this._el_148,this._text_149,this._el_150,this._text_151,this._el_152,this._text_153,this._el_154,this._text_155,this._el_156,this._text_157,this._el_158,this._text_159,this._text_160,this._el_161,this._text_162,this._el_163,this._text_164,this._el_165,this._text_166,this._text_167,this._text_168,this._text_169,this._text_170,this._text_171],[wt,Ct,Et,Tt,At,It,St,Ot,kt,Nt,Pt,Rt,Dt,jt,Mt,Lt,Bt,Ft,qt,Vt,Ht,Ut,zt,Gt,Wt,Yt,$t,Xt,Jt,Qt,Zt,Kt,te,ee,ne,ie,re,se,oe,ae,_e,le,ce],[he]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===et.b&&8===e?this._TemplateRef_8_5:t===B.a&&8===e?this._NgIf_8_6:t===et.b&&10===e?this._TemplateRef_10_5:t===B.a&&10===e?this._NgIf_10_6:t===L.a&&6<=e&&e<=11?this._Col_6_3:t===F.a&&15===e?this._LoggerTimelineComponent_15_4:t===L.a&&13<=e&&e<=16?this._Col_13_3:t===q.a&&24<=e&&e<=30?this._Button_24_4:t===L.a&&18<=e&&e<=36?this._Col_18_3:t===L.c&&4<=e&&e<=37?this._Row_4_3:t===V.a&&46<=e&&e<=49?this._Tooltip_46_5:t===q.a&&46<=e&&e<=49?this._Button_46_6:t===V.a&&51<=e&&e<=54?this._Tooltip_51_5:t===q.a&&51<=e&&e<=54?this._Button_51_6:t===V.a&&56<=e&&e<=59?this._Tooltip_56_5:t===q.a&&56<=e&&e<=59?this._Button_56_6:t===V.a&&61<=e&&e<=62?this._Tooltip_61_5:t===q.a&&61<=e&&e<=62?this._Button_61_6:t===V.a&&64<=e&&e<=67?this._Tooltip_64_5:t===q.a&&64<=e&&e<=67?this._Button_64_6:t===H.a&&74===e?this._LoggerChartComponent_74_4:t===V.a&&85<=e&&e<=91?this._Tooltip_85_5:t===q.a&&85<=e&&e<=91?this._Button_85_6:t===V.a&&93<=e&&e<=96?this._Tooltip_93_5:t===q.a&&93<=e&&e<=96?this._Button_93_6:t===et.b&&100===e?this._TemplateRef_100_5:t===B.a&&100===e?this._NgIf_100_6:t===et.b&&104===e?this._TemplateRef_104_5:t===B.a&&104===e?this._NgIf_104_6:t===L.a&&98<=e&&e<=105?this._Col_98_3:t===et.b&&109===e?this._TemplateRef_109_5:t===B.a&&109===e?this._NgIf_109_6:t===et.b&&113===e?this._TemplateRef_113_5:t===B.a&&113===e?this._NgIf_113_6:t===L.a&&107<=e&&e<=114?this._Col_107_3:t===L.c&&83<=e&&e<=115?this._Row_83_3:t===L.a&&81<=e&&e<=116?this._Col_81_3:t===V.a&&122<=e&&e<=128?this._Tooltip_122_5:t===q.a&&122<=e&&e<=128?this._Button_122_6:t===et.b&&130===e?this._TemplateRef_130_5:t===B.a&&130===e?this._NgIf_130_6:t===et.b&&132===e?this._TemplateRef_132_5:t===B.a&&132===e?this._NgIf_132_6:t===et.b&&134===e?this._TemplateRef_134_5:t===B.a&&134===e?this._NgIf_134_6:t===et.b&&136===e?this._TemplateRef_136_5:t===B.a&&136===e?this._NgIf_136_6:t===et.b&&138===e?this._TemplateRef_138_5:t===B.a&&138===e?this._NgIf_138_6:t===et.b&&140===e?this._TemplateRef_140_5:t===B.a&&140===e?this._NgIf_140_6:t===L.c&&120<=e&&e<=141?this._Row_120_3:t===L.a&&118<=e&&e<=142?this._Col_118_3:t===L.c&&79<=e&&e<=143?this._Row_79_3:t===L.a&&42<=e&&e<=146?this._Col_42_3:t===U.a&&152===e?this._OpenLoggerLoggerComponent_152_4:t===z.a&&154===e?this._FgenComponent_154_4:t===G.a&&156===e?this._DigitalIoComponent_156_4:t===W.a&&158===e?this._DcSupplyComponent_158_4:t===L.c&&150<=e&&e<=159?this._Row_150_3:t===q.a&&165<=e&&e<=166?this._Button_165_4:t===L.a&&163<=e&&e<=167?this._Col_163_3:t===L.c&&161<=e&&e<=168?this._Row_161_3:t===L.a&&148<=e&&e<=169?this._Col_148_3:t===L.c&&40<=e&&e<=170?this._Row_40_3:t===M.a&&0<=e&&e<=171?this._Content_0_4:n; },e.prototype.detectChangesInternal=function(t){var e=null;0!==this.numberOfChecks||t||this._Content_0_4.ngOnInit();var n=this.context.isRoot===!1;y.c(t,this._expr_1,n)&&(this._NgIf_8_6.ngIf=n,this._expr_1=n);var i=this.context.isRoot===!0;y.c(t,this._expr_2,i)&&(this._NgIf_10_6.ngIf=i,this._expr_2=i),e=null;var r=this.context.tooltipService.getTooltip("chartSetViewToFront").message;y.c(t,this._expr_13,r)&&(this._Tooltip_46_5.content=r,null===e&&(e={}),e.content=new w.m(this._expr_13,r),this._expr_13=r);var s=!0;y.c(t,this._expr_14,s)&&(this._Tooltip_46_5.tooltipAnimation=s,null===e&&(e={}),e.tooltipAnimation=new w.m(this._expr_14,s),this._expr_14=s);var o="left";y.c(t,this._expr_15,o)&&(this._Tooltip_46_5.tooltipPlacement=o,null===e&&(e={}),e.tooltipPlacement=new w.m(this._expr_15,o),this._expr_15=o),null!==e&&this._Tooltip_46_5.ngOnChanges(e),e=null;var a=this.context.tooltipService.getTooltip("chartSettings").message;y.c(t,this._expr_22,a)&&(this._Tooltip_51_5.content=a,null===e&&(e={}),e.content=new w.m(this._expr_22,a),this._expr_22=a);var _=!0;y.c(t,this._expr_23,_)&&(this._Tooltip_51_5.tooltipAnimation=_,null===e&&(e={}),e.tooltipAnimation=new w.m(this._expr_23,_),this._expr_23=_);var l="left";y.c(t,this._expr_24,l)&&(this._Tooltip_51_5.tooltipPlacement=l,null===e&&(e={}),e.tooltipPlacement=new w.m(this._expr_24,l),this._expr_24=l),null!==e&&this._Tooltip_51_5.ngOnChanges(e),e=null;var h=this.context.tooltipService.getTooltip("chartToFileExplorer").message;y.c(t,this._expr_31,h)&&(this._Tooltip_56_5.content=h,null===e&&(e={}),e.content=new w.m(this._expr_31,h),this._expr_31=h);var c=!0;y.c(t,this._expr_32,c)&&(this._Tooltip_56_5.tooltipAnimation=c,null===e&&(e={}),e.tooltipAnimation=new w.m(this._expr_32,c),this._expr_32=c);var u="left";y.c(t,this._expr_33,u)&&(this._Tooltip_56_5.tooltipPlacement=u,null===e&&(e={}),e.tooltipPlacement=new w.m(this._expr_33,u),this._expr_33=u),null!==e&&this._Tooltip_56_5.ngOnChanges(e),e=null;var p=this.context.tooltipService.getTooltip("chartShowDevicePinout").message;y.c(t,this._expr_39,p)&&(this._Tooltip_61_5.content=p,null===e&&(e={}),e.content=new w.m(this._expr_39,p),this._expr_39=p);var d=!0;y.c(t,this._expr_40,d)&&(this._Tooltip_61_5.tooltipAnimation=d,null===e&&(e={}),e.tooltipAnimation=new w.m(this._expr_40,d),this._expr_40=d);var f="left";y.c(t,this._expr_41,f)&&(this._Tooltip_61_5.tooltipPlacement=f,null===e&&(e={}),e.tooltipPlacement=new w.m(this._expr_41,f),this._expr_41=f),null!==e&&this._Tooltip_61_5.ngOnChanges(e),e=null;var m=this.context.tooltipService.getTooltip("chartResetInstruments").message;y.c(t,this._expr_47,m)&&(this._Tooltip_64_5.content=m,null===e&&(e={}),e.content=new w.m(this._expr_47,m),this._expr_47=m);var g=!0;y.c(t,this._expr_48,g)&&(this._Tooltip_64_5.tooltipAnimation=g,null===e&&(e={}),e.tooltipAnimation=new w.m(this._expr_48,g),this._expr_48=g);var v="left";y.c(t,this._expr_49,v)&&(this._Tooltip_64_5.tooltipPlacement=v,null===e&&(e={}),e.tooltipPlacement=new w.m(this._expr_49,v),this._expr_49=v),null!==e&&this._Tooltip_64_5.ngOnChanges(e),e=null;var x=this.context.tooltipService.getTooltip("mathButton").message;y.c(t,this._expr_56,x)&&(this._Tooltip_85_5.content=x,null===e&&(e={}),e.content=new w.m(this._expr_56,x),this._expr_56=x);var b=!0;y.c(t,this._expr_57,b)&&(this._Tooltip_85_5.tooltipAnimation=b,null===e&&(e={}),e.tooltipAnimation=new w.m(this._expr_57,b),this._expr_57=b);var C="right";y.c(t,this._expr_58,C)&&(this._Tooltip_85_5.tooltipPlacement=C,null===e&&(e={}),e.tooltipPlacement=new w.m(this._expr_58,C),this._expr_58=C),null!==e&&this._Tooltip_85_5.ngOnChanges(e),e=null;var E=this.context.tooltipService.getTooltip("refreshMathButton").message;y.c(t,this._expr_64,E)&&(this._Tooltip_93_5.content=E,null===e&&(e={}),e.content=new w.m(this._expr_64,E),this._expr_64=E);var T=!0;y.c(t,this._expr_65,T)&&(this._Tooltip_93_5.tooltipAnimation=T,null===e&&(e={}),e.tooltipAnimation=new w.m(this._expr_65,T),this._expr_65=T);var A="right";y.c(t,this._expr_66,A)&&(this._Tooltip_93_5.tooltipPlacement=A,null===e&&(e={}),e.tooltipPlacement=new w.m(this._expr_66,A),this._expr_66=A),null!==e&&this._Tooltip_93_5.ngOnChanges(e);var I=this.context.selectedMathInfo[0];y.c(t,this._expr_67,I)&&(this._NgIf_100_6.ngIf=I,this._expr_67=I);var S=this.context.selectedMathInfo[1];y.c(t,this._expr_68,S)&&(this._NgIf_104_6.ngIf=S,this._expr_68=S);var O=this.context.selectedMathInfo[2];y.c(t,this._expr_69,O)&&(this._NgIf_109_6.ngIf=O,this._expr_69=O);var k=this.context.selectedMathInfo[3];y.c(t,this._expr_70,k)&&(this._NgIf_113_6.ngIf=k,this._expr_70=k),e=null;var N=this.context.tooltipService.getTooltip("cursorButton").message;y.c(t,this._expr_77,N)&&(this._Tooltip_122_5.content=N,null===e&&(e={}),e.content=new w.m(this._expr_77,N),this._expr_77=N);var P=!0;y.c(t,this._expr_78,P)&&(this._Tooltip_122_5.tooltipAnimation=P,null===e&&(e={}),e.tooltipAnimation=new w.m(this._expr_78,P),this._expr_78=P);var R="right";y.c(t,this._expr_79,R)&&(this._Tooltip_122_5.tooltipPlacement=R,null===e&&(e={}),e.tooltipPlacement=new w.m(this._expr_79,R),this._expr_79=R),null!==e&&this._Tooltip_122_5.ngOnChanges(e);var D=this.context.cursorInfo&&"time"===this.context.cursorInfo.currentType;y.c(t,this._expr_80,D)&&(this._NgIf_130_6.ngIf=D,this._expr_80=D);var j=this.context.cursorInfo&&"time"===this.context.cursorInfo.currentType;y.c(t,this._expr_81,j)&&(this._NgIf_132_6.ngIf=j,this._expr_81=j);var M=this.context.cursorInfo&&"track"===this.context.cursorInfo.currentType;y.c(t,this._expr_82,M)&&(this._NgIf_134_6.ngIf=M,this._expr_82=M);var L=this.context.cursorInfo&&"track"===this.context.cursorInfo.currentType;y.c(t,this._expr_83,L)&&(this._NgIf_136_6.ngIf=L,this._expr_83=L);var B=this.context.cursorInfo&&"voltage"===this.context.cursorInfo.currentType;y.c(t,this._expr_84,B)&&(this._NgIf_138_6.ngIf=B,this._expr_84=B);var F=this.context.cursorInfo&&"voltage"===this.context.cursorInfo.currentType;y.c(t,this._expr_85,F)&&(this._NgIf_140_6.ngIf=F,this._expr_85=F);var q=this.context.loggerChart.colorArray;y.c(t,this._expr_86,q)&&(this._OpenLoggerLoggerComponent_152_4.colorArray=q,this._expr_86=q),t||this._OpenLoggerLoggerComponent_152_4.ngDoCheck();var V=this.context.chart1;y.c(t,this._expr_88,V)&&(this._DigitalIoComponent_156_4.chart=V,this._expr_88=V),0!==this.numberOfChecks||t||this._DcSupplyComponent_158_4.ngOnInit(),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_24_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_46_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_51_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_56_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_61_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_64_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_85_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_93_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_122_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_165_4.ngAfterContentInit());var H=this._Content_0_4._sbPadding;y.c(t,this._expr_0,H)&&(this.renderer.setElementClass(this._el_0,"statusbar-padding",H),this._expr_0=H);var U=y.e(1,"",this._OpenLoggerLoggerComponent_152_4.running?"Stop":"chart"===this._OpenLoggerLoggerComponent_152_4.selectedLogLocation?"Stream":"Log","");y.c(t,this._expr_4,U)&&(this.renderer.setText(this._text_27,U),this._expr_4=U);var z=this._OpenLoggerLoggerComponent_152_4.running?"assets/img/stop.svg":"assets/img/run.svg";y.c(t,this._expr_5,z)&&(this.renderer.setElementProperty(this._el_29,"src",this.viewUtils.sanitizer.sanitize(gt.b.URL,z)),this._expr_5=z);var G=y.e(1,"\n ",this._OpenLoggerLoggerComponent_152_4.running?"chart"===this._OpenLoggerLoggerComponent_152_4.selectedLogLocation?"Streaming":"Logging":"Idle","\n ");y.c(t,this._expr_6,G)&&(this.renderer.setText(this._text_34,G),this._expr_6=G);var W=!this._OpenLoggerLoggerComponent_152_4.viewMoved&&this._OpenLoggerLoggerComponent_152_4.running;y.c(t,this._expr_12,W)&&(this.renderer.setElementProperty(this._el_46,"disabled",W),this._expr_12=W);var Y=this._OpenLoggerLoggerComponent_152_4.running;y.c(t,this._expr_21,Y)&&(this.renderer.setElementProperty(this._el_51,"disabled",Y),this._expr_21=Y);var $=this._OpenLoggerLoggerComponent_152_4.running;y.c(t,this._expr_30,$)&&(this.renderer.setElementProperty(this._el_56,"disabled",$),this._expr_30=$);var X=this._OpenLoggerLoggerComponent_152_4.running||!this._OpenLoggerLoggerComponent_152_4.dataAvailable;y.c(t,this._expr_55,X)&&(this.renderer.setElementProperty(this._el_85,"disabled",X),this._expr_55=X);var J=this._OpenLoggerLoggerComponent_152_4.running||!this._OpenLoggerLoggerComponent_152_4.dataAvailable;y.c(t,this._expr_76,J)&&(this.renderer.setElementProperty(this._el_122,"disabled",J),this._expr_76=J);var Q=this._OpenLoggerLoggerComponent_152_4.running;y.c(t,this._expr_90,Q)&&(this.renderer.setElementProperty(this._el_165,"disabled",Q),this._expr_90=Q),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._LoggerChartComponent_74_4.ngOnDestroy(),this._OpenLoggerLoggerComponent_152_4.ngOnDestroy(),this._FgenComponent_154_4.ngOnDestroy(),this._DcSupplyComponent_158_4.ngOnDestroy(),this._Content_0_4.ngOnDestroy()},e.prototype._handle_tap_24_0=function(t){this.markPathToRootAsCheckOnce();var e=(this._OpenLoggerLoggerComponent_152_4.running?this.context.stopLogger():this.context.runLogger())!==!1;return e},e.prototype._handle_tap_46_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.snapViewToFront()!==!1;return e},e.prototype._handle_focusin_46_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_46_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_46_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_46_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_46_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_46_5.hide()!==!1;return e},e.prototype._handle_mouseleave_46_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_46_5.hide()!==!1;return e},e.prototype._handle_tap_51_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.presentExportPop(t)!==!1;return e},e.prototype._handle_focusin_51_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_51_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_51_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_51_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_51_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_51_5.hide()!==!1;return e},e.prototype._handle_mouseleave_51_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_51_5.hide()!==!1;return e},e.prototype._handle_tap_56_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.openFileBrowser()!==!1;return e},e.prototype._handle_focusin_56_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_56_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_56_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_56_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_56_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_56_5.hide()!==!1;return e},e.prototype._handle_mouseleave_56_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_56_5.hide()!==!1;return e},e.prototype._handle_tap_61_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.openDevicePinout(t)!==!1;return e},e.prototype._handle_focusin_61_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_61_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_61_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_61_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_61_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_61_5.hide()!==!1;return e},e.prototype._handle_mouseleave_61_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_61_5.hide()!==!1;return e},e.prototype._handle_tap_64_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.resetInstruments()!==!1;return e},e.prototype._handle_focusin_64_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_64_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_64_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_64_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_64_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_64_5.hide()!==!1;return e},e.prototype._handle_mouseleave_64_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_64_5.hide()!==!1;return e},e.prototype._handle_tap_85_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.openMathPopover(t)!==!1;return e},e.prototype._handle_focusin_85_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_85_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_85_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_85_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_85_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_85_5.hide()!==!1;return e},e.prototype._handle_mouseleave_85_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_85_5.hide()!==!1;return e},e.prototype._handle_tap_93_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.updateMath()!==!1;return e},e.prototype._handle_focusin_93_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_93_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_93_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_93_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_93_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_93_5.hide()!==!1;return e},e.prototype._handle_mouseleave_93_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_93_5.hide()!==!1;return e},e.prototype._handle_tap_122_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.openCursorModal(t)!==!1;return e},e.prototype._handle_focusin_122_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_122_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_122_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_122_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_122_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_122_5.hide()!==!1;return e},e.prototype._handle_mouseleave_122_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_122_5.hide()!==!1;return e},e.prototype._handle_fgenTutorialFinish_154_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.fgenTutorialFinished(t)!==!1;return e},e.prototype._handle_tap_165_0=function(t){this.markPathToRootAsCheckOnce();var e=this._OpenLoggerLoggerComponent_152_4.restoreDefaults()!==!1;return e},e}(g.a),kt=function(t){function e(n,i,r){t.call(this,e,St,b.a.EMBEDDED,n,i,r,w.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","custom-back-button disable-hover"),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new v.a(0,null,this,this._el_0);var e=it.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new q.a(null,"",this.parent.parentInjector.get($.c),new X.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_2,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_2,"src","assets/img/arrow-back.svg"),this._text_3=this.renderer.createText(null,"\n ",null),e.create(this._Button_0_4,[[].concat([this._text_1,this._el_2,this._text_3])],null);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===q.a&&0<=e&&e<=3?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.done()!==!1;return e},e}(g.a),Nt=function(t){function e(n,i,r){t.call(this,e,St,b.a.EMBEDDED,n,i,r,w.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","menu-button-container"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"button",null),this.renderer.setElementAttribute(this._el_2,"class","custom-menu-button disable-hover"),this.renderer.setElementAttribute(this._el_2,"clear",""),this.renderer.setElementAttribute(this._el_2,"ion-button",""),this.renderer.setElementAttribute(this._el_2,"menuToggle",""),this._appEl_2=new v.a(2,0,this,this._el_2);var e=it.a(this.viewUtils,this.injector(2),this._appEl_2);this._Button_2_4=new q.a("","",this.parent.parentInjector.get($.c),new X.a(this._el_2),this.renderer),this._MenuToggle_2_5=new vt.a(this.parent.parentInjector.get(yt.a),new X.a(this._el_2),this.parent.parentInjector.get(K.a,null),this.parent.parentInjector.get(bt.a,null)),this._ToolbarItem_2_6=new xt.a(this.parent.parentInjector.get($.c),new X.a(this._el_2),this.renderer,this.parent.parentInjector.get(wt.c,null),this.parent.parentInjector.get(bt.a,null)),this._query_Button_2_0=new j.a,this._appEl_2.initComponent(this._Button_2_4,[],e),this._text_3=this.renderer.createText(null,"\n ",null),this._el_4=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_4,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_4,"src","assets/img/menu.svg"),this._text_5=this.renderer.createText(null,"\n ",null),e.create(this._Button_2_4,[[].concat([this._text_3,this._el_4,this._text_5])],null),this._text_6=this.renderer.createText(this._el_0,"\n ",null);var n=this.renderer.listen(this._el_2,"click",this.eventHandler(this._handle_click_2_0.bind(this)));return this._expr_1=w.n,this._expr_2=w.n,this._expr_3=w.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===q.a&&2<=e&&e<=5?this._Button_2_4:t===vt.a&&2<=e&&e<=5?this._MenuToggle_2_5:t===xt.a&&2<=e&&e<=5?this._ToolbarItem_2_6:n},e.prototype.detectChangesInternal=function(t){var e=!0;e=!1;var n="";y.c(t,this._expr_1,n)&&(this._Button_2_4.clear=n,e=!0,this._expr_1=n),e&&this._appEl_2.componentView.markAsCheckOnce();var i="";y.c(t,this._expr_2,i)&&(this._MenuToggle_2_5.menuToggle=i,this._expr_2=i),this.detectContentChildrenChanges(t),t||(this._query_Button_2_0.dirty&&(this._query_Button_2_0.reset([this._Button_2_4]),this._ToolbarItem_2_6._buttons=this._query_Button_2_0,this._query_Button_2_0.notifyOnChanges()),0===this.numberOfChecks&&this._Button_2_4.ngAfterContentInit());var r=this._MenuToggle_2_5.isHidden;y.c(t,this._expr_3,r)&&(this.renderer.setElementProperty(this._el_2,"hidden",r),this._expr_3=r),this.detectViewChildrenChanges(t)},e.prototype._handle_click_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this._MenuToggle_2_5.toggle()!==!1;return e},e}(g.a),Pt=function(t){function e(n,i,r){t.call(this,e,St,b.a.EMBEDDED,n,i,r,w.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"span",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"span",null),this._text_3=this.renderer.createText(this._el_2,"■",null),this._text_4=this.renderer.createText(this._el_0,"",null),this._expr_0=w.n,this._expr_1=w.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this.parent.context.loggerPlotService.chart.getData()[this.parent.context.selectedMathInfo[0].mathChannel.seriesOffset].color;y.c(t,this._expr_0,e)&&(this.renderer.setElementStyle(this._el_2,"color",null==this.viewUtils.sanitizer.sanitize(gt.b.STYLE,e)?null:this.viewUtils.sanitizer.sanitize(gt.b.STYLE,e).toString()),this._expr_0=e);var n=y.e(2,"\n ",this.parent.context.selectedMathInfo[0].mathInfo,": ",this.parent.context.selectedMathInfo[0].value,"\n ");y.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_4,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(g.a),Rt=function(t){function e(n,i,r){t.call(this,e,St,b.a.EMBEDDED,n,i,r,w.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"span",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"span",null),this._text_3=this.renderer.createText(this._el_2,"■",null),this._text_4=this.renderer.createText(this._el_0,"",null),this._expr_0=w.n,this._expr_1=w.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this.parent.context.loggerPlotService.chart.getData()[this.parent.context.selectedMathInfo[1].mathChannel.seriesOffset].color;y.c(t,this._expr_0,e)&&(this.renderer.setElementStyle(this._el_2,"color",null==this.viewUtils.sanitizer.sanitize(gt.b.STYLE,e)?null:this.viewUtils.sanitizer.sanitize(gt.b.STYLE,e).toString()),this._expr_0=e);var n=y.e(2,"\n ",this.parent.context.selectedMathInfo[1].mathInfo,": ",this.parent.context.selectedMathInfo[1].value,"\n ");y.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_4,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(g.a),Dt=function(t){function e(n,i,r){t.call(this,e,St,b.a.EMBEDDED,n,i,r,w.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"span",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"span",null),this._text_3=this.renderer.createText(this._el_2,"■",null),this._text_4=this.renderer.createText(this._el_0,"",null),this._expr_0=w.n,this._expr_1=w.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this.parent.context.loggerPlotService.chart.getData()[this.parent.context.selectedMathInfo[2].mathChannel.seriesOffset].color;y.c(t,this._expr_0,e)&&(this.renderer.setElementStyle(this._el_2,"color",null==this.viewUtils.sanitizer.sanitize(gt.b.STYLE,e)?null:this.viewUtils.sanitizer.sanitize(gt.b.STYLE,e).toString()),this._expr_0=e);var n=y.e(2,"\n ",this.parent.context.selectedMathInfo[2].mathInfo,": ",this.parent.context.selectedMathInfo[2].value,"\n ");y.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_4,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(g.a),jt=function(t){function e(n,i,r){t.call(this,e,St,b.a.EMBEDDED,n,i,r,w.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"span",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"span",null),this._text_3=this.renderer.createText(this._el_2,"■",null),this._text_4=this.renderer.createText(this._el_0,"",null),this._expr_0=w.n,this._expr_1=w.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this.parent.context.loggerPlotService.chart.getData()[this.parent.context.selectedMathInfo[3].mathChannel.seriesOffset].color;y.c(t,this._expr_0,e)&&(this.renderer.setElementStyle(this._el_2,"color",null==this.viewUtils.sanitizer.sanitize(gt.b.STYLE,e)?null:this.viewUtils.sanitizer.sanitize(gt.b.STYLE,e).toString()),this._expr_0=e);var n=y.e(2,"\n ",this.parent.context.selectedMathInfo[3].mathInfo,": ",this.parent.context.selectedMathInfo[3].value,"\n ");y.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_4,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(g.a),Mt=function(t){function e(n,i,r){t.call(this,e,St,b.a.EMBEDDED,n,i,r,w.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"ion-col",null),this.renderer.setElementAttribute(this._el_0,"center",""),this.renderer.setElementAttribute(this._el_0,"class","cursor-info-col"),this._Col_0_3=new L.a,this._text_1=this.renderer.createText(this._el_0,"",null),this._el_2=this.renderer.createElement(this._el_0,"br",null),this._text_3=this.renderer.createText(this._el_0,"",null),this._expr_0=w.n,this._expr_1=w.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===L.a&&0<=e&&e<=3?this._Col_0_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=y.e(1,"\n 1: ",this.parent.context.getCursorInfo("cursorPosition0")," ");y.c(t,this._expr_0,e)&&(this.renderer.setText(this._text_1,e),this._expr_0=e);var n=y.e(1," 2: ",this.parent.context.getCursorInfo("cursorPosition1"),"\n ");y.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_3,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(g.a),Lt=function(t){function e(n,i,r){t.call(this,e,St,b.a.EMBEDDED,n,i,r,w.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"ion-col",null),this.renderer.setElementAttribute(this._el_0,"center",""),this.renderer.setElementAttribute(this._el_0,"class","cursor-info-col"),this._Col_0_3=new L.a,this._text_1=this.renderer.createText(this._el_0,"",null),this._el_2=this.renderer.createElement(this._el_0,"br",null),this._text_3=this.renderer.createText(this._el_0,"",null),this._expr_0=w.n,this._expr_1=w.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===L.a&&0<=e&&e<=3?this._Col_0_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=y.e(1,"\n ΔX: ",this.parent.context.getCursorInfo("xDelta")," ");y.c(t,this._expr_0,e)&&(this.renderer.setText(this._text_1,e),this._expr_0=e);var n=y.e(1," 1/ΔX: ",this.parent.context.getCursorInfo("xFreq"),"\n ");y.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_3,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(g.a),Bt=function(t){function e(n,i,r){t.call(this,e,St,b.a.EMBEDDED,n,i,r,w.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"ion-col",null),this.renderer.setElementAttribute(this._el_0,"center",""),this.renderer.setElementAttribute(this._el_0,"class","cursor-info-col"),this._Col_0_3=new L.a,this._text_1=this.renderer.createText(this._el_0,"",null),this._el_2=this.renderer.createElement(this._el_0,"br",null),this._text_3=this.renderer.createText(this._el_0,"",null),this._expr_0=w.n,this._expr_1=w.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===L.a&&0<=e&&e<=3?this._Col_0_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=y.e(1,"\n 1: ",this.parent.context.getCursorInfo("cursorPosition0")," ");y.c(t,this._expr_0,e)&&(this.renderer.setText(this._text_1,e),this._expr_0=e);var n=y.e(1," 2: ",this.parent.context.getCursorInfo("cursorPosition1"),"\n ");y.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_3,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(g.a),Ft=function(t){function e(n,i,r){t.call(this,e,St,b.a.EMBEDDED,n,i,r,w.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"ion-col",null),this.renderer.setElementAttribute(this._el_0,"center",""),this.renderer.setElementAttribute(this._el_0,"class","cursor-info-col"),this._Col_0_3=new L.a,this._text_1=this.renderer.createText(this._el_0,"",null),this._el_2=this.renderer.createElement(this._el_0,"br",null),this._text_3=this.renderer.createText(this._el_0,"",null),this._expr_0=w.n,this._expr_1=w.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===L.a&&0<=e&&e<=3?this._Col_0_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=y.e(2,"\n ΔX: ",this.parent.context.getCursorInfo("xDelta")," ΔY: ",this.parent.context.getCursorInfo("yDelta")," ");y.c(t,this._expr_0,e)&&(this.renderer.setText(this._text_1,e),this._expr_0=e);var n=y.e(1,"\n 1/ΔX: ",this.parent.context.getCursorInfo("xFreq"),"\n ");y.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_3,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(g.a),qt=function(t){function e(n,i,r){t.call(this,e,St,b.a.EMBEDDED,n,i,r,w.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"ion-col",null),this.renderer.setElementAttribute(this._el_0,"center",""),this.renderer.setElementAttribute(this._el_0,"class","cursor-info-col"),this._Col_0_3=new L.a,this._text_1=this.renderer.createText(this._el_0,"",null),this._el_2=this.renderer.createElement(this._el_0,"br",null),this._text_3=this.renderer.createText(this._el_0,"",null),this._expr_0=w.n,this._expr_1=w.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===L.a&&0<=e&&e<=3?this._Col_0_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=y.e(1,"\n 1: ",this.parent.context.getCursorInfo("cursorPosition0")," ");y.c(t,this._expr_0,e)&&(this.renderer.setText(this._text_1,e),this._expr_0=e);var n=y.e(1," 2: ",this.parent.context.getCursorInfo("cursorPosition1"),"\n ");y.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_3,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(g.a),Vt=function(t){function e(n,i,r){t.call(this,e,St,b.a.EMBEDDED,n,i,r,w.b.CheckAlways)}return Ct(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"ion-col",null),this.renderer.setElementAttribute(this._el_0,"center",""), this.renderer.setElementAttribute(this._el_0,"class","cursor-info-col"),this._Col_0_3=new L.a,this._text_1=this.renderer.createText(this._el_0,"",null),this._expr_0=w.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===L.a&&0<=e&&e<=1?this._Col_0_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=y.e(1,"\n ΔY: ",this.parent.context.getCursorInfo("yDelta"),"\n ");y.c(t,this._expr_0,e)&&(this.renderer.setText(this._text_1,e),this._expr_0=e),this.detectViewChildrenChanges(t)},e}(g.a)},function(t,e,n){"use strict";function i(t,e,n){return null===ht&&(ht=t.createRenderComponentType("",0,S.c.None,[],{})),new ct(t,e,n)}function r(t,e,n){return null===dt&&(dt=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/pages/logger/openscope/openscope-logger.html",0,S.c.None,pt,{})),new ft(t,e,n)}function s(t,e,n){return new mt(t,e,n)}function o(t,e,n){return new gt(t,e,n)}function a(t,e,n){return new vt(t,e,n)}function _(t,e,n){return new xt(t,e,n)}function l(t,e,n){return new yt(t,e,n)}function h(t,e,n){return new bt(t,e,n)}function c(t,e,n){return new wt(t,e,n)}function u(t,e,n){return new Ct(t,e,n)}function p(t,e,n){return new Et(t,e,n)}function d(t,e,n){return new Tt(t,e,n)}function f(t,e,n){return new At(t,e,n)}var m=n(10),g=n(6),v=n(378),x=n(11),y=n(5),b=n(4),w=n(71),C=n(27),E=n(99),T=n(121),A=n(47),I=n(28),S=n(8),O=n(7),k=n(34),N=n(46),P=n(35),R=n(20),D=n(223),j=n(33),M=n(222),L=n(70),B=n(277),F=n(81),q=n(2),V=n(14),H=n(22),U=n(49),z=n(56),G=n(13),W=n(67),Y=n(25),$=n(472),X=n(43),J=n(21),Q=n(471),Z=n(104),K=n(51),tt=n(23),et=n(804),nt=n(83),it=n(38),rt=n(66),st=n(82),ot=n(103),at=n(31),_t=n(73);n.d(e,"a",function(){return ut});var lt=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},ht=null,ct=function(t){function e(n,i,r){t.call(this,e,ht,y.a.HOST,n,i,r,b.b.CheckAlways)}return lt(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ng-component",t,null),this._appEl_0=new g.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._OpenScopeLoggerPage_0_4=new v.a(this.parentInjector.get(w.a),this.parentInjector.get(C.a),this.parentInjector.get(E.a),this.parentInjector.get(T.a),this.parentInjector.get(A.a),this.parentInjector.get(I.a)),this._appEl_0.initComponent(this._OpenScopeLoggerPage_0_4,[],e),e.create(this._OpenScopeLoggerPage_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===v.a&&0===e?this._OpenScopeLoggerPage_0_4:n},e.prototype.detectChangesInternal=function(t){0!==this.numberOfChecks||t||this._OpenScopeLoggerPage_0_4.ngOnInit(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._OpenScopeLoggerPage_0_4.ngOnDestroy()},e}(m.a),ut=new O.a("ng-component",i,v.a),pt=[],dt=null,ft=function(t){function e(n,i,r){t.call(this,e,dt,y.a.COMPONENT,n,i,r,b.b.CheckAlways)}return lt(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_loggerComponent_0=new k.a,this._el_0=this.renderer.createElement(e,"ion-content",null),this.renderer.setElementAttribute(this._el_0,"class","logger-page-container"),this._appEl_0=new g.a(0,null,this,this._el_0);var n=F.a(this.viewUtils,this.injector(0),this._appEl_0);this._Content_0_4=new N.a(this.parentInjector.get(q.c),new V.a(this._el_0),this.renderer,this.parentInjector.get(H.a),this.parentInjector.get(U.a),this.parentInjector.get(z.a),this.parentInjector.get(G.a,null),this.parentInjector.get(W.a,null)),this._appEl_0.initComponent(this._Content_0_4,[],n),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"div",null),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-row",null),this.renderer.setElementAttribute(this._el_4,"class","logger-header"),this._Row_4_3=new P.c,this._text_5=this.renderer.createText(this._el_4,"\n ",null),this._el_6=this.renderer.createElement(this._el_4,"ion-col",null),this.renderer.setElementAttribute(this._el_6,"center",""),this.renderer.setElementAttribute(this._el_6,"class","back-button-col timeline-back-button"),this.renderer.setElementAttribute(this._el_6,"text-center",""),this._Col_6_3=new P.a,this._text_7=this.renderer.createText(this._el_6,"\n ",null),this._el_8=this.renderer.createElement(this._el_6,"button",null),this.renderer.setElementAttribute(this._el_8,"class","custom-back-button disable-hover"),this.renderer.setElementAttribute(this._el_8,"ion-button",""),this._appEl_8=new g.a(8,6,this,this._el_8);var i=Y.a(this.viewUtils,this.injector(8),this._appEl_8);this._Button_8_4=new R.a(null,"",this.parentInjector.get(q.c),new V.a(this._el_8),this.renderer),this._appEl_8.initComponent(this._Button_8_4,[],i),this._text_9=this.renderer.createText(null,"\n ",null),this._el_10=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_10,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_10,"src","assets/img/arrow-back.svg"),this._text_11=this.renderer.createText(null,"\n ",null),i.create(this._Button_8_4,[[].concat([this._text_9,this._el_10,this._text_11])],null),this._text_12=this.renderer.createText(this._el_6,"\n ",null),this._text_13=this.renderer.createText(this._el_4,"\n ",null),this._el_14=this.renderer.createElement(this._el_4,"ion-col",null),this.renderer.setElementAttribute(this._el_14,"center",""),this.renderer.setElementAttribute(this._el_14,"class","config-title-menu-col logger-timeline-container"),this._Col_14_3=new P.a,this._text_15=this.renderer.createText(this._el_14,"\n ",null),this._el_16=this.renderer.createElement(this._el_14,"logger-timeline",null),this._appEl_16=new g.a(16,14,this,this._el_16);var r=$.a(this.viewUtils,this.injector(16),this._appEl_16);this._LoggerTimelineComponent_16_4=new D.a(this.parentInjector.get(E.a),this.parentInjector.get(X.DeviceManagerService)),this._appEl_16.initComponent(this._LoggerTimelineComponent_16_4,[],r),r.create(this._LoggerTimelineComponent_16_4,[],null),this._text_17=this.renderer.createText(this._el_14,"\n ",null),this._text_18=this.renderer.createText(this._el_4,"\n ",null),this._el_19=this.renderer.createElement(this._el_4,"ion-col",null),this.renderer.setElementAttribute(this._el_19,"center",""),this.renderer.setElementAttribute(this._el_19,"class","timeline-row-button-container"),this.renderer.setElementAttribute(this._el_19,"text-center",""),this._Col_19_3=new P.a,this._text_20=this.renderer.createText(this._el_19,"\n ",null),this._el_21=this.renderer.createElement(this._el_19,"div",null),this._text_22=this.renderer.createText(this._el_21,"\n ",null),this._el_23=this.renderer.createElement(this._el_21,"div",null),this._text_24=this.renderer.createText(this._el_23,"\n ",null),this._el_25=this.renderer.createElement(this._el_23,"button",null),this.renderer.setElementAttribute(this._el_25,"class","text-button-side disable-hover main-button"),this.renderer.setElementAttribute(this._el_25,"icon-right",""),this.renderer.setElementAttribute(this._el_25,"ion-button",""),this._appEl_25=new g.a(25,23,this,this._el_25);var m=Y.a(this.viewUtils,this.injector(25),this._appEl_25);this._Button_25_4=new R.a(null,"",this.parentInjector.get(q.c),new V.a(this._el_25),this.renderer),this._appEl_25.initComponent(this._Button_25_4,[],m),this._text_26=this.renderer.createText(null,"\n ",null),this._text_27=this.renderer.createText(null,"\n ",null),this._el_28=this.renderer.createElement(null,"span",null),this.renderer.setElementAttribute(this._el_28,"class","collapse-button"),this._text_29=this.renderer.createText(this._el_28,"",null),this._text_30=this.renderer.createText(null,"\n ",null),this._el_31=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_31,"class","custom-image-button"),this._text_32=this.renderer.createText(null,"\n ",null),m.create(this._Button_25_4,[[].concat([this._text_26,this._text_27,this._el_28,this._text_30,this._el_31,this._text_32])],null),this._text_33=this.renderer.createText(this._el_23,"\n ",null),this._anchor_34=this.renderer.createTemplateAnchor(this._el_23,null),this._appEl_34=new g.a(34,23,this,this._anchor_34),this._TemplateRef_34_5=new J.a(this._appEl_34,s),this._NgIf_34_6=new j.a(this._appEl_34.vcRef,this._TemplateRef_34_5),this._text_35=this.renderer.createText(this._el_23,"\n ",null),this._text_36=this.renderer.createText(this._el_21,"\n ",null),this._el_37=this.renderer.createElement(this._el_21,"div",null),this.renderer.setElementAttribute(this._el_37,"class","overal-run-status-container"),this.renderer.setElementAttribute(this._el_37,"text-center",""),this._text_38=this.renderer.createText(this._el_37,"",null),this._text_39=this.renderer.createText(this._el_21,"\n ",null),this._text_40=this.renderer.createText(this._el_19,"\n ",null),this._text_41=this.renderer.createText(this._el_4,"\n ",null),this._text_42=this.renderer.createText(this._el_2,"\n ",null),this._text_43=this.renderer.createText(null,"\n\n ",null),this._el_44=this.renderer.createElement(null,"ion-row",null),this.renderer.setElementAttribute(this._el_44,"class","page-row"),this._Row_44_3=new P.c,this._text_45=this.renderer.createText(this._el_44,"\n ",null),this._el_46=this.renderer.createElement(this._el_44,"ion-col",null),this.renderer.setElementAttribute(this._el_46,"class","chart-container-col"),this._Col_46_3=new P.a,this._text_47=this.renderer.createText(this._el_46,"\n ",null),this._el_48=this.renderer.createElement(this._el_46,"div",null),this.renderer.setElementAttribute(this._el_48,"class","chart-button-container"),this._text_49=this.renderer.createText(this._el_48,"\n ",null),this._el_50=this.renderer.createElement(this._el_48,"button",null),this.renderer.setElementAttribute(this._el_50,"class","chart-button disable-hover"),this.renderer.setElementAttribute(this._el_50,"ion-button",""),this._appEl_50=new g.a(50,48,this,this._el_50);var v=Y.a(this.viewUtils,this.injector(50),this._appEl_50);this._Button_50_4=new R.a(null,"",this.parentInjector.get(q.c),new V.a(this._el_50),this.renderer),this._appEl_50.initComponent(this._Button_50_4,[],v),this._text_51=this.renderer.createText(null,"\n ",null),this._el_52=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_52,"class","button-side-svg"),this.renderer.setElementAttribute(this._el_52,"src","assets/img/logger-to-front.svg"),this._text_53=this.renderer.createText(null,"\n ",null),v.create(this._Button_50_4,[[].concat([this._text_51,this._el_52,this._text_53])],null),this._text_54=this.renderer.createText(this._el_48,"\n ",null),this._el_55=this.renderer.createElement(this._el_48,"button",null),this.renderer.setElementAttribute(this._el_55,"class","chart-button disable-hover"),this.renderer.setElementAttribute(this._el_55,"ion-button",""),this._appEl_55=new g.a(55,48,this,this._el_55);var x=Y.a(this.viewUtils,this.injector(55),this._appEl_55);this._Button_55_4=new R.a(null,"",this.parentInjector.get(q.c),new V.a(this._el_55),this.renderer),this._appEl_55.initComponent(this._Button_55_4,[],x),this._text_56=this.renderer.createText(null,"\n ",null),this._el_57=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_57,"class","button-side-svg"),this.renderer.setElementAttribute(this._el_57,"src","assets/img/download.svg"),this._text_58=this.renderer.createText(null,"\n ",null),x.create(this._Button_55_4,[[].concat([this._text_56,this._el_57,this._text_58])],null),this._text_59=this.renderer.createText(this._el_48,"\n ",null),this._el_60=this.renderer.createElement(this._el_48,"button",null),this.renderer.setElementAttribute(this._el_60,"class","chart-button disable-hover"),this.renderer.setElementAttribute(this._el_60,"ion-button",""),this._appEl_60=new g.a(60,48,this,this._el_60);var y=Y.a(this.viewUtils,this.injector(60),this._appEl_60);this._Button_60_4=new R.a(null,"",this.parentInjector.get(q.c),new V.a(this._el_60),this.renderer),this._appEl_60.initComponent(this._Button_60_4,[],y),this._text_61=this.renderer.createText(null,"\n ",null),this._el_62=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_62,"class","button-side-svg"),this.renderer.setElementAttribute(this._el_62,"src","assets/img/folder.svg"),this._text_63=this.renderer.createText(null,"\n ",null),y.create(this._Button_60_4,[[].concat([this._text_61,this._el_62,this._text_63])],null),this._text_64=this.renderer.createText(this._el_48,"\n ",null),this._el_65=this.renderer.createElement(this._el_48,"button",null),this.renderer.setElementAttribute(this._el_65,"class","chart-button disable-hover"),this.renderer.setElementAttribute(this._el_65,"ion-button",""),this._appEl_65=new g.a(65,48,this,this._el_65);var w=Y.a(this.viewUtils,this.injector(65),this._appEl_65);this._Button_65_4=new R.a(null,"",this.parentInjector.get(q.c),new V.a(this._el_65),this.renderer),this._appEl_65.initComponent(this._Button_65_4,[],w),this._text_66=this.renderer.createText(null,"\n PIN\n ",null),w.create(this._Button_65_4,[[].concat([this._text_66])],null),this._text_67=this.renderer.createText(this._el_48,"\n ",null),this._text_68=this.renderer.createText(this._el_46,"\n ",null),this._el_69=this.renderer.createElement(this._el_46,"div",null),this.renderer.setElementAttribute(this._el_69,"class","chart-and-bottom-container"),this._text_70=this.renderer.createText(this._el_69,"\n ",null),this._el_71=this.renderer.createElement(this._el_69,"div",null),this.renderer.setElementAttribute(this._el_71,"class","logger-page-chart-container"),this._text_72=this.renderer.createText(this._el_71,"\n ",null),this._el_73=this.renderer.createElement(this._el_71,"logger-chart",null),this._appEl_73=new g.a(73,71,this,this._el_73);var C=Q.a(this.viewUtils,this.injector(73),this._appEl_73);this._LoggerChartComponent_73_4=new M.a(this.parentInjector.get(E.a),this.parentInjector.get(X.DeviceManagerService),this.parentInjector.get(Z.a)),this._appEl_73.initComponent(this._LoggerChartComponent_73_4,[],C),C.create(this._LoggerChartComponent_73_4,[],null),this._text_74=this.renderer.createText(this._el_71,"\n ",null),this._text_75=this.renderer.createText(this._el_69,"\n ",null),this._el_76=this.renderer.createElement(this._el_69,"div",null),this.renderer.setElementAttribute(this._el_76,"class","logger-chart-bottom-container"),this._text_77=this.renderer.createText(this._el_76,"\n ",null),this._el_78=this.renderer.createElement(this._el_76,"ion-row",null),this.renderer.setElementAttribute(this._el_78,"class","chart-info"),this._Row_78_3=new P.c,this._text_79=this.renderer.createText(this._el_78,"\n ",null),this._el_80=this.renderer.createElement(this._el_78,"ion-col",null),this.renderer.setElementAttribute(this._el_80,"center",""),this.renderer.setElementAttribute(this._el_80,"class","info-col"),this._Col_80_3=new P.a,this._text_81=this.renderer.createText(this._el_80,"\n ",null),this._el_82=this.renderer.createElement(this._el_80,"ion-row",null),this.renderer.setElementAttribute(this._el_82,"center",""),this.renderer.setElementAttribute(this._el_82,"class","cursor-container"),this._Row_82_3=new P.c,this._text_83=this.renderer.createText(this._el_82,"\n ",null),this._el_84=this.renderer.createElement(this._el_82,"button",null),this.renderer.setElementAttribute(this._el_84,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_84,"icon-right",""),this.renderer.setElementAttribute(this._el_84,"ion-button",""),this.renderer.setElementAttribute(this._el_84,"tooltipPlacement","right"),this._appEl_84=new g.a(84,82,this,this._el_84);var T=Y.a(this.viewUtils,this.injector(84),this._appEl_84);this._Tooltip_84_5=new L.a(this._appEl_84.vcRef,this.parentInjector.get(K.a),this.parentInjector.get(tt.f)),this._Button_84_6=new R.a(null,"",this.parentInjector.get(q.c),new V.a(this._el_84),this.renderer),this._appEl_84.initComponent(this._Button_84_6,[],T),this._text_85=this.renderer.createText(null,"\n ",null),this._el_86=this.renderer.createElement(null,"span",null),this.renderer.setElementAttribute(this._el_86,"class","collapse-button"),this._text_87=this.renderer.createText(this._el_86,"Math",null),this._text_88=this.renderer.createText(null,"\n ",null),this._el_89=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_89,"class","button-side-svg"),this.renderer.setElementAttribute(this._el_89,"src","assets/img/math.svg"),this._text_90=this.renderer.createText(null,"\n ",null),T.create(this._Button_84_6,[[].concat([this._text_85,this._el_86,this._text_88,this._el_89,this._text_90])],null),this._text_91=this.renderer.createText(this._el_82,"\n ",null),this._el_92=this.renderer.createElement(this._el_82,"button",null),this.renderer.setElementAttribute(this._el_92,"class","icon-only-button-side disable-hover"),this.renderer.setElementAttribute(this._el_92,"ion-button",""),this.renderer.setElementAttribute(this._el_92,"tooltipPlacement","right"),this._appEl_92=new g.a(92,82,this,this._el_92);var A=Y.a(this.viewUtils,this.injector(92),this._appEl_92);this._Tooltip_92_5=new L.a(this._appEl_92.vcRef,this.parentInjector.get(K.a),this.parentInjector.get(tt.f)),this._Button_92_6=new R.a(null,"",this.parentInjector.get(q.c),new V.a(this._el_92),this.renderer),this._appEl_92.initComponent(this._Button_92_6,[],A),this._text_93=this.renderer.createText(null,"\n ",null),this._el_94=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_94,"class","button-side-svg"),this.renderer.setElementAttribute(this._el_94,"src","assets/img/refresh.svg"),this._text_95=this.renderer.createText(null,"\n ",null),A.create(this._Button_92_6,[[].concat([this._text_93,this._el_94,this._text_95])],null),this._text_96=this.renderer.createText(this._el_82,"\n ",null),this._el_97=this.renderer.createElement(this._el_82,"ion-col",null),this.renderer.setElementAttribute(this._el_97,"center",""),this.renderer.setElementAttribute(this._el_97,"class","cursor-info-col"),this.renderer.setElementAttribute(this._el_97,"id","test-test"),this._Col_97_3=new P.a,this._text_98=this.renderer.createText(this._el_97,"\n ",null),this._anchor_99=this.renderer.createTemplateAnchor(this._el_97,null),this._appEl_99=new g.a(99,97,this,this._anchor_99),this._TemplateRef_99_5=new J.a(this._appEl_99,o),this._NgIf_99_6=new j.a(this._appEl_99.vcRef,this._TemplateRef_99_5),this._text_100=this.renderer.createText(this._el_97,"\n ",null),this._el_101=this.renderer.createElement(this._el_97,"br",null),this._text_102=this.renderer.createText(this._el_97,"\n ",null),this._anchor_103=this.renderer.createTemplateAnchor(this._el_97,null),this._appEl_103=new g.a(103,97,this,this._anchor_103),this._TemplateRef_103_5=new J.a(this._appEl_103,a),this._NgIf_103_6=new j.a(this._appEl_103.vcRef,this._TemplateRef_103_5),this._text_104=this.renderer.createText(this._el_97,"\n ",null),this._text_105=this.renderer.createText(this._el_82,"\n ",null),this._el_106=this.renderer.createElement(this._el_82,"ion-col",null),this.renderer.setElementAttribute(this._el_106,"center",""),this.renderer.setElementAttribute(this._el_106,"class","cursor-info-col"),this._Col_106_3=new P.a,this._text_107=this.renderer.createText(this._el_106,"\n ",null),this._anchor_108=this.renderer.createTemplateAnchor(this._el_106,null),this._appEl_108=new g.a(108,106,this,this._anchor_108),this._TemplateRef_108_5=new J.a(this._appEl_108,_),this._NgIf_108_6=new j.a(this._appEl_108.vcRef,this._TemplateRef_108_5),this._text_109=this.renderer.createText(this._el_106,"\n ",null),this._el_110=this.renderer.createElement(this._el_106,"br",null),this._text_111=this.renderer.createText(this._el_106,"\n ",null),this._anchor_112=this.renderer.createTemplateAnchor(this._el_106,null),this._appEl_112=new g.a(112,106,this,this._anchor_112),this._TemplateRef_112_5=new J.a(this._appEl_112,l),this._NgIf_112_6=new j.a(this._appEl_112.vcRef,this._TemplateRef_112_5),this._text_113=this.renderer.createText(this._el_106,"\n ",null),this._text_114=this.renderer.createText(this._el_82,"\n ",null),this._text_115=this.renderer.createText(this._el_80,"\n ",null),this._text_116=this.renderer.createText(this._el_78,"\n ",null),this._el_117=this.renderer.createElement(this._el_78,"ion-col",null),this.renderer.setElementAttribute(this._el_117,"center",""),this.renderer.setElementAttribute(this._el_117,"class","info-col"),this._Col_117_3=new P.a,this._text_118=this.renderer.createText(this._el_117,"\n ",null),this._el_119=this.renderer.createElement(this._el_117,"ion-row",null),this.renderer.setElementAttribute(this._el_119,"center",""),this.renderer.setElementAttribute(this._el_119,"class","cursor-container"),this._Row_119_3=new P.c,this._text_120=this.renderer.createText(this._el_119,"\n ",null),this._el_121=this.renderer.createElement(this._el_119,"button",null),this.renderer.setElementAttribute(this._el_121,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_121,"icon-right",""),this.renderer.setElementAttribute(this._el_121,"ion-button",""),this.renderer.setElementAttribute(this._el_121,"tooltipPlacement","right"),this._appEl_121=new g.a(121,119,this,this._el_121);var S=Y.a(this.viewUtils,this.injector(121),this._appEl_121);this._Tooltip_121_5=new L.a(this._appEl_121.vcRef,this.parentInjector.get(K.a),this.parentInjector.get(tt.f)),this._Button_121_6=new R.a(null,"",this.parentInjector.get(q.c),new V.a(this._el_121),this.renderer),this._appEl_121.initComponent(this._Button_121_6,[],S),this._text_122=this.renderer.createText(null,"\n ",null),this._el_123=this.renderer.createElement(null,"span",null),this.renderer.setElementAttribute(this._el_123,"class","collapse-button"),this._text_124=this.renderer.createText(this._el_123,"Cursors",null),this._text_125=this.renderer.createText(null,"\n ",null),this._el_126=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_126,"class","button-side-svg"),this.renderer.setElementAttribute(this._el_126,"src","assets/img/edit.svg"),this._text_127=this.renderer.createText(null,"\n ",null),S.create(this._Button_121_6,[[].concat([this._text_122,this._el_123,this._text_125,this._el_126,this._text_127])],null),this._text_128=this.renderer.createText(this._el_119,"\n ",null),this._anchor_129=this.renderer.createTemplateAnchor(this._el_119,null),this._appEl_129=new g.a(129,119,this,this._anchor_129),this._TemplateRef_129_5=new J.a(this._appEl_129,h),this._NgIf_129_6=new j.a(this._appEl_129.vcRef,this._TemplateRef_129_5),this._text_130=this.renderer.createText(this._el_119,"\n ",null),this._anchor_131=this.renderer.createTemplateAnchor(this._el_119,null),this._appEl_131=new g.a(131,119,this,this._anchor_131),this._TemplateRef_131_5=new J.a(this._appEl_131,c),this._NgIf_131_6=new j.a(this._appEl_131.vcRef,this._TemplateRef_131_5),this._text_132=this.renderer.createText(this._el_119,"\n ",null),this._anchor_133=this.renderer.createTemplateAnchor(this._el_119,null),this._appEl_133=new g.a(133,119,this,this._anchor_133),this._TemplateRef_133_5=new J.a(this._appEl_133,u),this._NgIf_133_6=new j.a(this._appEl_133.vcRef,this._TemplateRef_133_5),this._text_134=this.renderer.createText(this._el_119,"\n ",null),this._anchor_135=this.renderer.createTemplateAnchor(this._el_119,null),this._appEl_135=new g.a(135,119,this,this._anchor_135),this._TemplateRef_135_5=new J.a(this._appEl_135,p),this._NgIf_135_6=new j.a(this._appEl_135.vcRef,this._TemplateRef_135_5),this._text_136=this.renderer.createText(this._el_119,"\n ",null),this._anchor_137=this.renderer.createTemplateAnchor(this._el_119,null),this._appEl_137=new g.a(137,119,this,this._anchor_137),this._TemplateRef_137_5=new J.a(this._appEl_137,d),this._NgIf_137_6=new j.a(this._appEl_137.vcRef,this._TemplateRef_137_5),this._text_138=this.renderer.createText(this._el_119,"\n ",null),this._anchor_139=this.renderer.createTemplateAnchor(this._el_119,null),this._appEl_139=new g.a(139,119,this,this._anchor_139),this._TemplateRef_139_5=new J.a(this._appEl_139,f),this._NgIf_139_6=new j.a(this._appEl_139.vcRef,this._TemplateRef_139_5),this._text_140=this.renderer.createText(this._el_119,"\n ",null),this._text_141=this.renderer.createText(this._el_117,"\n ",null),this._text_142=this.renderer.createText(this._el_78,"\n ",null),this._text_143=this.renderer.createText(this._el_76,"\n ",null),this._text_144=this.renderer.createText(this._el_69,"\n ",null),this._text_145=this.renderer.createText(this._el_46,"\n ",null),this._text_146=this.renderer.createText(this._el_44,"\n\n ",null),this._el_147=this.renderer.createElement(this._el_44,"ion-col",null),this.renderer.setElementAttribute(this._el_147,"class","controls-col"),this._Col_147_3=new P.a,this._text_148=this.renderer.createText(this._el_147,"\n ",null),this._el_149=this.renderer.createElement(this._el_147,"openscope-logger-component",null),this._appEl_149=new g.a(149,147,this,this._el_149);var O=et.a(this.viewUtils,this.injector(149),this._appEl_149);this._OpenScopeLoggerComponent_149_4=new B.a(this.parentInjector.get(X.DeviceManagerService),this.parentInjector.get(nt.a),this.parentInjector.get(it.a),this.parentInjector.get(rt.a),this.parentInjector.get(E.a),this.parentInjector.get(st.a),this.parentInjector.get(ot.a),this.parentInjector.get(at.a),this.parentInjector.get(I.a)),this._appEl_149.initComponent(this._OpenScopeLoggerComponent_149_4,[],O),O.create(this._OpenScopeLoggerComponent_149_4,[],null),this._text_150=this.renderer.createText(this._el_147,"\n ",null),this._text_151=this.renderer.createText(this._el_44,"\n ",null),this._text_152=this.renderer.createText(null,"\n",null),n.create(this._Content_0_4,[[],[].concat([this._text_1,this._el_2,this._text_43,this._el_44,this._text_152]),[]],null),this._expr_0=b.n;var _t=this.renderer.listen(this._el_8,"click",this.eventHandler(this._handle_click_8_0.bind(this))),lt=this.renderer.listen(this._el_25,"tap",this.eventHandler(this._handle_tap_25_0.bind(this)));this._expr_3=b.n,this._expr_4=b.n,this._expr_5=b.n,this._expr_6=b.n,this._expr_8=b.n;var ht=this.renderer.listen(this._el_50,"tap",this.eventHandler(this._handle_tap_50_0.bind(this)));this._expr_10=b.n;var ct=this.renderer.listen(this._el_55,"tap",this.eventHandler(this._handle_tap_55_0.bind(this)));this._expr_12=b.n;var ut=this.renderer.listen(this._el_60,"tap",this.eventHandler(this._handle_tap_60_0.bind(this)));this._expr_14=b.n;var pt=this.renderer.listen(this._el_65,"tap",this.eventHandler(this._handle_tap_65_0.bind(this)));this._expr_20=b.n;var dt=this.renderer.listen(this._el_84,"tap",this.eventHandler(this._handle_tap_84_0.bind(this))),ft=this.renderer.listen(this._el_84,"focusin",this.eventHandler(this._handle_focusin_84_1.bind(this))),mt=this.renderer.listen(this._el_84,"mouseenter",this.eventHandler(this._handle_mouseenter_84_2.bind(this))),gt=this.renderer.listen(this._el_84,"focusout",this.eventHandler(this._handle_focusout_84_3.bind(this))),vt=this.renderer.listen(this._el_84,"mouseleave",this.eventHandler(this._handle_mouseleave_84_4.bind(this)));this._expr_21=b.n,this._expr_22=b.n,this._expr_23=b.n;var xt=this.renderer.listen(this._el_92,"tap",this.eventHandler(this._handle_tap_92_0.bind(this))),yt=this.renderer.listen(this._el_92,"focusin",this.eventHandler(this._handle_focusin_92_1.bind(this))),bt=this.renderer.listen(this._el_92,"mouseenter",this.eventHandler(this._handle_mouseenter_92_2.bind(this))),wt=this.renderer.listen(this._el_92,"focusout",this.eventHandler(this._handle_focusout_92_3.bind(this))),Ct=this.renderer.listen(this._el_92,"mouseleave",this.eventHandler(this._handle_mouseleave_92_4.bind(this)));this._expr_29=b.n,this._expr_30=b.n,this._expr_31=b.n,this._expr_32=b.n,this._expr_33=b.n,this._expr_34=b.n,this._expr_35=b.n,this._expr_41=b.n;var Et=this.renderer.listen(this._el_121,"tap",this.eventHandler(this._handle_tap_121_0.bind(this))),Tt=this.renderer.listen(this._el_121,"focusin",this.eventHandler(this._handle_focusin_121_1.bind(this))),At=this.renderer.listen(this._el_121,"mouseenter",this.eventHandler(this._handle_mouseenter_121_2.bind(this))),It=this.renderer.listen(this._el_121,"focusout",this.eventHandler(this._handle_focusout_121_3.bind(this))),St=this.renderer.listen(this._el_121,"mouseleave",this.eventHandler(this._handle_mouseleave_121_4.bind(this)));return this._expr_42=b.n,this._expr_43=b.n,this._expr_44=b.n,this._expr_45=b.n,this._expr_46=b.n,this._expr_47=b.n,this._expr_48=b.n,this._expr_49=b.n,this._expr_50=b.n,this._viewQuery_loggerComponent_0.reset([this._OpenScopeLoggerComponent_149_4]),this.context.loggerComponent=this._viewQuery_loggerComponent_0.first,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9,this._el_10,this._text_11,this._text_12,this._text_13,this._el_14,this._text_15,this._el_16,this._text_17,this._text_18,this._el_19,this._text_20,this._el_21,this._text_22,this._el_23,this._text_24,this._el_25,this._text_26,this._text_27,this._el_28,this._text_29,this._text_30,this._el_31,this._text_32,this._text_33,this._anchor_34,this._text_35,this._text_36,this._el_37,this._text_38,this._text_39,this._text_40,this._text_41,this._text_42,this._text_43,this._el_44,this._text_45,this._el_46,this._text_47,this._el_48,this._text_49,this._el_50,this._text_51,this._el_52,this._text_53,this._text_54,this._el_55,this._text_56,this._el_57,this._text_58,this._text_59,this._el_60,this._text_61,this._el_62,this._text_63,this._text_64,this._el_65,this._text_66,this._text_67,this._text_68,this._el_69,this._text_70,this._el_71,this._text_72,this._el_73,this._text_74,this._text_75,this._el_76,this._text_77,this._el_78,this._text_79,this._el_80,this._text_81,this._el_82,this._text_83,this._el_84,this._text_85,this._el_86,this._text_87,this._text_88,this._el_89,this._text_90,this._text_91,this._el_92,this._text_93,this._el_94,this._text_95,this._text_96,this._el_97,this._text_98,this._anchor_99,this._text_100,this._el_101,this._text_102,this._anchor_103,this._text_104,this._text_105,this._el_106,this._text_107,this._anchor_108,this._text_109,this._el_110,this._text_111,this._anchor_112,this._text_113,this._text_114,this._text_115,this._text_116,this._el_117,this._text_118,this._el_119,this._text_120,this._el_121,this._text_122,this._el_123,this._text_124,this._text_125,this._el_126,this._text_127,this._text_128,this._anchor_129,this._text_130,this._anchor_131,this._text_132,this._anchor_133,this._text_134,this._anchor_135,this._text_136,this._anchor_137,this._text_138,this._anchor_139,this._text_140,this._text_141,this._text_142,this._text_143,this._text_144,this._text_145,this._text_146,this._el_147,this._text_148,this._el_149,this._text_150,this._text_151,this._text_152],[_t,lt,ht,ct,ut,pt,dt,ft,mt,gt,vt,xt,yt,bt,wt,Ct,Et,Tt,At,It,St],[]), null},e.prototype.injectorGetInternal=function(t,e,n){return t===R.a&&8<=e&&e<=11?this._Button_8_4:t===P.a&&6<=e&&e<=12?this._Col_6_3:t===D.a&&16===e?this._LoggerTimelineComponent_16_4:t===P.a&&14<=e&&e<=17?this._Col_14_3:t===R.a&&25<=e&&e<=32?this._Button_25_4:t===J.b&&34===e?this._TemplateRef_34_5:t===j.a&&34===e?this._NgIf_34_6:t===P.a&&19<=e&&e<=40?this._Col_19_3:t===P.c&&4<=e&&e<=41?this._Row_4_3:t===R.a&&50<=e&&e<=53?this._Button_50_4:t===R.a&&55<=e&&e<=58?this._Button_55_4:t===R.a&&60<=e&&e<=63?this._Button_60_4:t===R.a&&65<=e&&e<=66?this._Button_65_4:t===M.a&&73===e?this._LoggerChartComponent_73_4:t===L.a&&84<=e&&e<=90?this._Tooltip_84_5:t===R.a&&84<=e&&e<=90?this._Button_84_6:t===L.a&&92<=e&&e<=95?this._Tooltip_92_5:t===R.a&&92<=e&&e<=95?this._Button_92_6:t===J.b&&99===e?this._TemplateRef_99_5:t===j.a&&99===e?this._NgIf_99_6:t===J.b&&103===e?this._TemplateRef_103_5:t===j.a&&103===e?this._NgIf_103_6:t===P.a&&97<=e&&e<=104?this._Col_97_3:t===J.b&&108===e?this._TemplateRef_108_5:t===j.a&&108===e?this._NgIf_108_6:t===J.b&&112===e?this._TemplateRef_112_5:t===j.a&&112===e?this._NgIf_112_6:t===P.a&&106<=e&&e<=113?this._Col_106_3:t===P.c&&82<=e&&e<=114?this._Row_82_3:t===P.a&&80<=e&&e<=115?this._Col_80_3:t===L.a&&121<=e&&e<=127?this._Tooltip_121_5:t===R.a&&121<=e&&e<=127?this._Button_121_6:t===J.b&&129===e?this._TemplateRef_129_5:t===j.a&&129===e?this._NgIf_129_6:t===J.b&&131===e?this._TemplateRef_131_5:t===j.a&&131===e?this._NgIf_131_6:t===J.b&&133===e?this._TemplateRef_133_5:t===j.a&&133===e?this._NgIf_133_6:t===J.b&&135===e?this._TemplateRef_135_5:t===j.a&&135===e?this._NgIf_135_6:t===J.b&&137===e?this._TemplateRef_137_5:t===j.a&&137===e?this._NgIf_137_6:t===J.b&&139===e?this._TemplateRef_139_5:t===j.a&&139===e?this._NgIf_139_6:t===P.c&&119<=e&&e<=140?this._Row_119_3:t===P.a&&117<=e&&e<=141?this._Col_117_3:t===P.c&&78<=e&&e<=142?this._Row_78_3:t===P.a&&46<=e&&e<=145?this._Col_46_3:t===B.a&&149===e?this._OpenScopeLoggerComponent_149_4:t===P.a&&147<=e&&e<=150?this._Col_147_3:t===P.c&&44<=e&&e<=151?this._Row_44_3:t===N.a&&0<=e&&e<=152?this._Content_0_4:n},e.prototype.detectChangesInternal=function(t){var e=null;0!==this.numberOfChecks||t||this._Content_0_4.ngOnInit();var n="stream"!==this._OpenScopeLoggerComponent_149_4.selectedMode&&this._OpenScopeLoggerComponent_149_4.running;x.c(t,this._expr_5,n)&&(this._NgIf_34_6.ngIf=n,this._expr_5=n),e=null;var i=this.context.tooltipService.getTooltip("mathButton").message;x.c(t,this._expr_21,i)&&(this._Tooltip_84_5.content=i,null===e&&(e={}),e.content=new b.m(this._expr_21,i),this._expr_21=i);var r=!0;x.c(t,this._expr_22,r)&&(this._Tooltip_84_5.tooltipAnimation=r,null===e&&(e={}),e.tooltipAnimation=new b.m(this._expr_22,r),this._expr_22=r);var s="right";x.c(t,this._expr_23,s)&&(this._Tooltip_84_5.tooltipPlacement=s,null===e&&(e={}),e.tooltipPlacement=new b.m(this._expr_23,s),this._expr_23=s),null!==e&&this._Tooltip_84_5.ngOnChanges(e),e=null;var o=this.context.tooltipService.getTooltip("refreshMathButton").message;x.c(t,this._expr_29,o)&&(this._Tooltip_92_5.content=o,null===e&&(e={}),e.content=new b.m(this._expr_29,o),this._expr_29=o);var a=!0;x.c(t,this._expr_30,a)&&(this._Tooltip_92_5.tooltipAnimation=a,null===e&&(e={}),e.tooltipAnimation=new b.m(this._expr_30,a),this._expr_30=a);var _="right";x.c(t,this._expr_31,_)&&(this._Tooltip_92_5.tooltipPlacement=_,null===e&&(e={}),e.tooltipPlacement=new b.m(this._expr_31,_),this._expr_31=_),null!==e&&this._Tooltip_92_5.ngOnChanges(e);var l=this.context.selectedMathInfo[0];x.c(t,this._expr_32,l)&&(this._NgIf_99_6.ngIf=l,this._expr_32=l);var h=this.context.selectedMathInfo[1];x.c(t,this._expr_33,h)&&(this._NgIf_103_6.ngIf=h,this._expr_33=h);var c=this.context.selectedMathInfo[2];x.c(t,this._expr_34,c)&&(this._NgIf_108_6.ngIf=c,this._expr_34=c);var u=this.context.selectedMathInfo[3];x.c(t,this._expr_35,u)&&(this._NgIf_112_6.ngIf=u,this._expr_35=u),e=null;var p=this.context.tooltipService.getTooltip("cursorButton").message;x.c(t,this._expr_42,p)&&(this._Tooltip_121_5.content=p,null===e&&(e={}),e.content=new b.m(this._expr_42,p),this._expr_42=p);var d=!0;x.c(t,this._expr_43,d)&&(this._Tooltip_121_5.tooltipAnimation=d,null===e&&(e={}),e.tooltipAnimation=new b.m(this._expr_43,d),this._expr_43=d);var f="right";x.c(t,this._expr_44,f)&&(this._Tooltip_121_5.tooltipPlacement=f,null===e&&(e={}),e.tooltipPlacement=new b.m(this._expr_44,f),this._expr_44=f),null!==e&&this._Tooltip_121_5.ngOnChanges(e);var m=this.context.cursorInfo&&"time"===this.context.cursorInfo.currentType;x.c(t,this._expr_45,m)&&(this._NgIf_129_6.ngIf=m,this._expr_45=m);var g=this.context.cursorInfo&&"time"===this.context.cursorInfo.currentType;x.c(t,this._expr_46,g)&&(this._NgIf_131_6.ngIf=g,this._expr_46=g);var v=this.context.cursorInfo&&"track"===this.context.cursorInfo.currentType;x.c(t,this._expr_47,v)&&(this._NgIf_133_6.ngIf=v,this._expr_47=v);var y=this.context.cursorInfo&&"track"===this.context.cursorInfo.currentType;x.c(t,this._expr_48,y)&&(this._NgIf_135_6.ngIf=y,this._expr_48=y);var w=this.context.cursorInfo&&"voltage"===this.context.cursorInfo.currentType;x.c(t,this._expr_49,w)&&(this._NgIf_137_6.ngIf=w,this._expr_49=w);var C=this.context.cursorInfo&&"voltage"===this.context.cursorInfo.currentType;x.c(t,this._expr_50,C)&&(this._NgIf_139_6.ngIf=C,this._expr_50=C),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_8_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_25_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_50_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_55_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_60_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_65_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_84_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_92_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_121_6.ngAfterContentInit());var E=this._Content_0_4._sbPadding;x.c(t,this._expr_0,E)&&(this.renderer.setElementClass(this._el_0,"statusbar-padding",E),this._expr_0=E);var T=x.e(1,"",this._OpenScopeLoggerComponent_149_4.running?"Stop":"stream"===this._OpenScopeLoggerComponent_149_4.selectedMode?"Stream":"both"===this._OpenScopeLoggerComponent_149_4.selectedMode?"Run":"Log","");x.c(t,this._expr_3,T)&&(this.renderer.setText(this._text_29,T),this._expr_3=T);var A=this._OpenScopeLoggerComponent_149_4.running?"assets/img/stop.svg":"assets/img/run.svg";x.c(t,this._expr_4,A)&&(this.renderer.setElementProperty(this._el_31,"src",this.viewUtils.sanitizer.sanitize(_t.b.URL,A)),this._expr_4=A);var I=x.e(1,"\n ",this._OpenScopeLoggerComponent_149_4.running?"stream"===this._OpenScopeLoggerComponent_149_4.selectedMode?"Streaming":"both"===this._OpenScopeLoggerComponent_149_4.selectedMode?"Running":"Logging":"Idle","\n ");x.c(t,this._expr_6,I)&&(this.renderer.setText(this._text_38,I),this._expr_6=I);var S=!this._OpenScopeLoggerComponent_149_4.viewMoved&&this._OpenScopeLoggerComponent_149_4.running;x.c(t,this._expr_8,S)&&(this.renderer.setElementProperty(this._el_50,"disabled",S),this._expr_8=S);var O=this._OpenScopeLoggerComponent_149_4.running;x.c(t,this._expr_10,O)&&(this.renderer.setElementProperty(this._el_55,"disabled",O),this._expr_10=O);var k=this._OpenScopeLoggerComponent_149_4.running;x.c(t,this._expr_12,k)&&(this.renderer.setElementProperty(this._el_60,"disabled",k),this._expr_12=k);var N=this._OpenScopeLoggerComponent_149_4.running;x.c(t,this._expr_14,N)&&(this.renderer.setElementProperty(this._el_65,"disabled",N),this._expr_14=N);var P=this._OpenScopeLoggerComponent_149_4.running||!this._OpenScopeLoggerComponent_149_4.dataAvailable;x.c(t,this._expr_20,P)&&(this.renderer.setElementProperty(this._el_84,"disabled",P),this._expr_20=P);var R=this._OpenScopeLoggerComponent_149_4.running||!this._OpenScopeLoggerComponent_149_4.dataAvailable;x.c(t,this._expr_41,R)&&(this.renderer.setElementProperty(this._el_121,"disabled",R),this._expr_41=R),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._LoggerChartComponent_73_4.ngOnDestroy(),this._OpenScopeLoggerComponent_149_4.ngOnDestroy(),this._Content_0_4.ngOnDestroy()},e.prototype._handle_click_8_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.done()!==!1;return e},e.prototype._handle_tap_25_0=function(t){this.markPathToRootAsCheckOnce();var e=(this._OpenScopeLoggerComponent_149_4.running?this.context.stopLogger():this.context.runLogger())!==!1;return e},e.prototype._handle_tap_50_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.snapViewToFront()!==!1;return e},e.prototype._handle_tap_55_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.presentExportPop(t)!==!1;return e},e.prototype._handle_tap_60_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.openFileBrowser()!==!1;return e},e.prototype._handle_tap_65_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.openDevicePinout(t)!==!1;return e},e.prototype._handle_tap_84_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.openMathPopover(t)!==!1;return e},e.prototype._handle_focusin_84_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_84_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_84_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_84_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_84_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_84_5.hide()!==!1;return e},e.prototype._handle_mouseleave_84_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_84_5.hide()!==!1;return e},e.prototype._handle_tap_92_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.updateMath()!==!1;return e},e.prototype._handle_focusin_92_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_92_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_92_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_92_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_92_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_92_5.hide()!==!1;return e},e.prototype._handle_mouseleave_92_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_92_5.hide()!==!1;return e},e.prototype._handle_tap_121_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.openCursorModal(t)!==!1;return e},e.prototype._handle_focusin_121_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_121_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_121_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_121_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_121_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_121_5.hide()!==!1;return e},e.prototype._handle_mouseleave_121_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_121_5.hide()!==!1;return e},e}(m.a),mt=function(t){function e(n,i,r){t.call(this,e,dt,y.a.EMBEDDED,n,i,r,b.b.CheckAlways)}return lt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","text-button-side disable-hover main-button"),this.renderer.setElementAttribute(this._el_0,"icon-right",""),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new g.a(0,null,this,this._el_0);var e=Y.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new R.a(null,"",this.parent.parentInjector.get(q.c),new V.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"span",null),this.renderer.setElementAttribute(this._el_2,"class","collapse-button"),this._text_3=this.renderer.createText(this._el_2,"Stream",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_5,"class","custom-image-button"),this._text_6=this.renderer.createText(null,"\n ",null),e.create(this._Button_0_4,[[].concat([this._text_1,this._el_2,this._text_4,this._el_5,this._text_6])],null);var n=this.renderer.listen(this._el_0,"tap",this.eventHandler(this._handle_tap_0_0.bind(this)));return this._expr_1=b.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===R.a&&0<=e&&e<=6?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit();var e="log"===this.parent._OpenScopeLoggerComponent_149_4.selectedMode?"assets/img/run.svg":"assets/img/stop.svg";x.c(t,this._expr_1,e)&&(this.renderer.setElementProperty(this._el_5,"src",this.viewUtils.sanitizer.sanitize(_t.b.URL,e)),this._expr_1=e),this.detectViewChildrenChanges(t)},e.prototype._handle_tap_0_0=function(t){this.markPathToRootAsCheckOnce();var e=("log"===this.parent._OpenScopeLoggerComponent_149_4.selectedMode?this.parent._OpenScopeLoggerComponent_149_4.bothStartStream():this.parent._OpenScopeLoggerComponent_149_4.bothStopStream())!==!1;return e},e}(m.a),gt=function(t){function e(n,i,r){t.call(this,e,dt,y.a.EMBEDDED,n,i,r,b.b.CheckAlways)}return lt(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"span",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"span",null),this._text_3=this.renderer.createText(this._el_2,"■",null),this._text_4=this.renderer.createText(this._el_0,"",null),this._expr_0=b.n,this._expr_1=b.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this.parent.context.loggerPlotService.chart.getData()[this.parent.context.selectedMathInfo[0].mathChannel.seriesOffset].color;x.c(t,this._expr_0,e)&&(this.renderer.setElementStyle(this._el_2,"color",null==this.viewUtils.sanitizer.sanitize(_t.b.STYLE,e)?null:this.viewUtils.sanitizer.sanitize(_t.b.STYLE,e).toString()),this._expr_0=e);var n=x.e(2,"\n ",this.parent.context.selectedMathInfo[0].mathInfo,": ",this.parent.context.selectedMathInfo[0].value,"\n ");x.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_4,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(m.a),vt=function(t){function e(n,i,r){t.call(this,e,dt,y.a.EMBEDDED,n,i,r,b.b.CheckAlways)}return lt(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"span",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"span",null),this._text_3=this.renderer.createText(this._el_2,"■",null),this._text_4=this.renderer.createText(this._el_0,"",null),this._expr_0=b.n,this._expr_1=b.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this.parent.context.loggerPlotService.chart.getData()[this.parent.context.selectedMathInfo[1].mathChannel.seriesOffset].color;x.c(t,this._expr_0,e)&&(this.renderer.setElementStyle(this._el_2,"color",null==this.viewUtils.sanitizer.sanitize(_t.b.STYLE,e)?null:this.viewUtils.sanitizer.sanitize(_t.b.STYLE,e).toString()),this._expr_0=e);var n=x.e(2,"\n ",this.parent.context.selectedMathInfo[1].mathInfo,": ",this.parent.context.selectedMathInfo[1].value,"\n ");x.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_4,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(m.a),xt=function(t){function e(n,i,r){t.call(this,e,dt,y.a.EMBEDDED,n,i,r,b.b.CheckAlways)}return lt(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"span",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"span",null),this._text_3=this.renderer.createText(this._el_2,"■",null),this._text_4=this.renderer.createText(this._el_0,"",null),this._expr_0=b.n,this._expr_1=b.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this.parent.context.loggerPlotService.chart.getData()[this.parent.context.selectedMathInfo[2].mathChannel.seriesOffset].color;x.c(t,this._expr_0,e)&&(this.renderer.setElementStyle(this._el_2,"color",null==this.viewUtils.sanitizer.sanitize(_t.b.STYLE,e)?null:this.viewUtils.sanitizer.sanitize(_t.b.STYLE,e).toString()),this._expr_0=e);var n=x.e(2,"\n ",this.parent.context.selectedMathInfo[2].mathInfo,": ",this.parent.context.selectedMathInfo[2].value,"\n ");x.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_4,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(m.a),yt=function(t){function e(n,i,r){t.call(this,e,dt,y.a.EMBEDDED,n,i,r,b.b.CheckAlways)}return lt(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"span",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"span",null),this._text_3=this.renderer.createText(this._el_2,"■",null),this._text_4=this.renderer.createText(this._el_0,"",null),this._expr_0=b.n,this._expr_1=b.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=this.parent.context.loggerPlotService.chart.getData()[this.parent.context.selectedMathInfo[3].mathChannel.seriesOffset].color;x.c(t,this._expr_0,e)&&(this.renderer.setElementStyle(this._el_2,"color",null==this.viewUtils.sanitizer.sanitize(_t.b.STYLE,e)?null:this.viewUtils.sanitizer.sanitize(_t.b.STYLE,e).toString()),this._expr_0=e);var n=x.e(2,"\n ",this.parent.context.selectedMathInfo[3].mathInfo,": ",this.parent.context.selectedMathInfo[3].value,"\n ");x.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_4,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(m.a),bt=function(t){function e(n,i,r){t.call(this,e,dt,y.a.EMBEDDED,n,i,r,b.b.CheckAlways)}return lt(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"ion-col",null),this.renderer.setElementAttribute(this._el_0,"center",""),this.renderer.setElementAttribute(this._el_0,"class","cursor-info-col"),this._Col_0_3=new P.a,this._text_1=this.renderer.createText(this._el_0,"",null),this._el_2=this.renderer.createElement(this._el_0,"br",null),this._text_3=this.renderer.createText(this._el_0,"",null),this._expr_0=b.n,this._expr_1=b.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===P.a&&0<=e&&e<=3?this._Col_0_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=x.e(1,"\n 1: ",this.parent.context.getCursorInfo("cursorPosition0"),"\n ");x.c(t,this._expr_0,e)&&(this.renderer.setText(this._text_1,e),this._expr_0=e);var n=x.e(1," 2: ",this.parent.context.getCursorInfo("cursorPosition1"),"\n ");x.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_3,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(m.a),wt=function(t){function e(n,i,r){t.call(this,e,dt,y.a.EMBEDDED,n,i,r,b.b.CheckAlways)}return lt(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"ion-col",null),this.renderer.setElementAttribute(this._el_0,"center",""),this.renderer.setElementAttribute(this._el_0,"class","cursor-info-col"),this._Col_0_3=new P.a,this._text_1=this.renderer.createText(this._el_0,"",null),this._el_2=this.renderer.createElement(this._el_0,"br",null),this._text_3=this.renderer.createText(this._el_0,"",null),this._expr_0=b.n,this._expr_1=b.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===P.a&&0<=e&&e<=3?this._Col_0_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=x.e(1,"\n ΔX: ",this.parent.context.getCursorInfo("xDelta"),"\n ");x.c(t,this._expr_0,e)&&(this.renderer.setText(this._text_1,e),this._expr_0=e);var n=x.e(1," 1/ΔX: ",this.parent.context.getCursorInfo("xFreq"),"\n ");x.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_3,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(m.a),Ct=function(t){function e(n,i,r){t.call(this,e,dt,y.a.EMBEDDED,n,i,r,b.b.CheckAlways)}return lt(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"ion-col",null),this.renderer.setElementAttribute(this._el_0,"center",""),this.renderer.setElementAttribute(this._el_0,"class","cursor-info-col"),this._Col_0_3=new P.a,this._text_1=this.renderer.createText(this._el_0,"",null),this._el_2=this.renderer.createElement(this._el_0,"br",null),this._text_3=this.renderer.createText(this._el_0,"",null),this._expr_0=b.n,this._expr_1=b.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===P.a&&0<=e&&e<=3?this._Col_0_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=x.e(1,"\n 1: ",this.parent.context.getCursorInfo("cursorPosition0"),"\n ");x.c(t,this._expr_0,e)&&(this.renderer.setText(this._text_1,e),this._expr_0=e);var n=x.e(1," 2: ",this.parent.context.getCursorInfo("cursorPosition1"),"\n ");x.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_3,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(m.a),Et=function(t){function e(n,i,r){t.call(this,e,dt,y.a.EMBEDDED,n,i,r,b.b.CheckAlways)}return lt(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"ion-col",null),this.renderer.setElementAttribute(this._el_0,"center",""),this.renderer.setElementAttribute(this._el_0,"class","cursor-info-col"),this._Col_0_3=new P.a,this._text_1=this.renderer.createText(this._el_0,"",null),this._el_2=this.renderer.createElement(this._el_0,"br",null),this._text_3=this.renderer.createText(this._el_0,"",null),this._expr_0=b.n,this._expr_1=b.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===P.a&&0<=e&&e<=3?this._Col_0_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=x.e(2,"\n ΔX: ",this.parent.context.getCursorInfo("xDelta")," ΔY: ",this.parent.context.getCursorInfo("yDelta"),"\n ");x.c(t,this._expr_0,e)&&(this.renderer.setText(this._text_1,e),this._expr_0=e);var n=x.e(1," 1/ΔX: ",this.parent.context.getCursorInfo("xFreq"),"\n ");x.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_3,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(m.a),Tt=function(t){function e(n,i,r){t.call(this,e,dt,y.a.EMBEDDED,n,i,r,b.b.CheckAlways)}return lt(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"ion-col",null),this.renderer.setElementAttribute(this._el_0,"center",""),this.renderer.setElementAttribute(this._el_0,"class","cursor-info-col"),this._Col_0_3=new P.a,this._text_1=this.renderer.createText(this._el_0,"",null),this._el_2=this.renderer.createElement(this._el_0,"br",null),this._text_3=this.renderer.createText(this._el_0,"",null),this._expr_0=b.n,this._expr_1=b.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===P.a&&0<=e&&e<=3?this._Col_0_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=x.e(1,"\n 1: ",this.parent.context.getCursorInfo("cursorPosition0"),"\n ");x.c(t,this._expr_0,e)&&(this.renderer.setText(this._text_1,e),this._expr_0=e);var n=x.e(1," 2: ",this.parent.context.getCursorInfo("cursorPosition1"),"\n ");x.c(t,this._expr_1,n)&&(this.renderer.setText(this._text_3,n),this._expr_1=n),this.detectViewChildrenChanges(t)},e}(m.a),At=function(t){function e(n,i,r){t.call(this,e,dt,y.a.EMBEDDED,n,i,r,b.b.CheckAlways)}return lt(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"ion-col",null),this.renderer.setElementAttribute(this._el_0,"center",""),this.renderer.setElementAttribute(this._el_0,"class","cursor-info-col"),this._Col_0_3=new P.a,this._text_1=this.renderer.createText(this._el_0,"",null),this._expr_0=b.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===P.a&&0<=e&&e<=1?this._Col_0_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=x.e(1,"\n ΔY: ",this.parent.context.getCursorInfo("yDelta"),"\n ");x.c(t,this._expr_0,e)&&(this.renderer.setText(this._text_1,e),this._expr_0=e),this.detectViewChildrenChanges(t)},e}(m.a)},function(t,e,n){"use strict";function i(t,e,n){return null===O&&(O=t.createRenderComponentType("",0,v.c.None,[],{})),new k(t,e,n)}function r(t,e,n){return null===R&&(R=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/pages/math-modal/math-modal.html",0,v.c.None,P,{})),new D(t,e,n)}function s(t,e,n){return new j(t,e,n)}function o(t,e,n){return new M(t,e,n)}var a=n(10),_=n(6),l=n(379),h=n(11),c=n(5),u=n(4),p=n(23),d=n(13),f=n(27),m=n(47),g=n(43),v=n(8),x=n(7),y=n(20),b=n(55),w=n(25),C=n(2),E=n(14),T=n(21),A=n(37),I=n(35);n.d(e,"a",function(){return N});var S=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},O=null,k=function(t){function e(n,i,r){t.call(this,e,O,c.a.HOST,n,i,r,u.b.CheckAlways)}return S(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ng-component",t,null),this._appEl_0=new _.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._MathModalPage_0_4=new l.a(this.parentInjector.get(p.f),this.parentInjector.get(d.a),this.parentInjector.get(f.a),this.parentInjector.get(m.a),this.parentInjector.get(g.DeviceManagerService)),this._appEl_0.initComponent(this._MathModalPage_0_4,[],e),e.create(this._MathModalPage_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===l.a&&0===e?this._MathModalPage_0_4:n},e}(a.a),N=new x.a("ng-component",i,l.a),P=[],R=null,D=function(t){function e(n,i,r){t.call(this,e,R,c.a.COMPONENT,n,i,r,u.b.CheckAlways)}return S(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","math-modal-wrapper"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_2,"class","channel-separator"),this.renderer.setElementAttribute(this._el_2,"text-center",""),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"button",null),this.renderer.setElementAttribute(this._el_4,"class","select-button disable-hover"),this.renderer.setElementAttribute(this._el_4,"icon-right",""),this.renderer.setElementAttribute(this._el_4,"ion-button",""),this._appEl_4=new _.a(4,2,this,this._el_4);var n=w.a(this.viewUtils,this.injector(4),this._appEl_4);this._Button_4_4=new y.a(null,"",this.parentInjector.get(C.c),new E.a(this._el_4),this.renderer),this._appEl_4.initComponent(this._Button_4_4,[],n),this._text_5=this.renderer.createText(null,"",null),this._el_6=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_6,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_6,"src","assets/img/arrow-dropdown.svg"),this._text_7=this.renderer.createText(null,"\n ",null),n.create(this._Button_4_4,[[].concat([this._text_5,this._el_6,this._text_7])],null),this._text_8=this.renderer.createText(this._el_2,"\n ",null),this._text_9=this.renderer.createText(this._el_0,"\n ",null),this._text_10=this.renderer.createText(this._el_0,"\n ",null),this._anchor_11=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_11=new _.a(11,0,this,this._anchor_11),this._TemplateRef_11_5=new T.a(this._appEl_11,s),this._NgFor_11_6=new b.a(this._appEl_11.vcRef,this._TemplateRef_11_5,this.parentInjector.get(A.a),this.ref),this._text_12=this.renderer.createText(this._el_0,"\n",null);var i=this.renderer.listen(this._el_4,"click",this.eventHandler(this._handle_click_4_0.bind(this)));return this._expr_1=u.n,this._expr_2=u.n,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._text_8,this._text_9,this._text_10,this._anchor_11,this._text_12],[i],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===y.a&&4<=e&&e<=7?this._Button_4_4:t===T.b&&11===e?this._TemplateRef_11_5:t===b.a&&11===e?this._NgFor_11_6:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.context.buttonNames;h.c(t,this._expr_2,n)&&(this._NgFor_11_6.ngForOf=n,null===e&&(e={}),e.ngForOf=new u.m(this._expr_2,n),this._expr_2=n),null!==e&&this._NgFor_11_6.ngOnChanges(e),t||this._NgFor_11_6.ngDoCheck(),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_4_4.ngAfterContentInit();var i=h.e(2,"\n ",this.context.selectedData.instrument," Ch ",this.context.selectedData.channel,"\n ");h.c(t,this._expr_1,i)&&(this.renderer.setText(this._text_5,i),this._expr_1=i),this.detectViewChildrenChanges(t)},e.prototype._handle_click_4_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.openChannelSelect(t)!==!1;return e},e}(a.a),j=function(t){function e(n,i,r){t.call(this,e,R,c.a.EMBEDDED,n,i,r,u.b.CheckAlways)}return S(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"ion-row",null),this._Row_0_3=new I.c,this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._anchor_2=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_2=new _.a(2,0,this,this._anchor_2),this._TemplateRef_2_5=new T.a(this._appEl_2,o),this._NgFor_2_6=new b.a(this._appEl_2.vcRef,this._TemplateRef_2_5,this.parent.parentInjector.get(A.a),this.parent.ref), this._text_3=this.renderer.createText(this._el_0,"\n ",null),this._expr_0=u.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._anchor_2,this._text_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===T.b&&2===e?this._TemplateRef_2_5:t===b.a&&2===e?this._NgFor_2_6:t===I.c&&0<=e&&e<=3?this._Row_0_3:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.context.$implicit;h.c(t,this._expr_0,n)&&(this._NgFor_2_6.ngForOf=n,null===e&&(e={}),e.ngForOf=new u.m(this._expr_0,n),this._expr_0=n),null!==e&&this._NgFor_2_6.ngOnChanges(e),t||this._NgFor_2_6.ngDoCheck(),this.detectContentChildrenChanges(t),this.detectViewChildrenChanges(t)},e}(a.a),M=function(t){function e(n,i,r){t.call(this,e,R,c.a.EMBEDDED,n,i,r,u.b.CheckAlways)}return S(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-col",null),this.renderer.setElementAttribute(this._el_0,"text-center",""),this._Col_0_3=new I.a,this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"div",null),this._el_3=this.renderer.createElement(this._el_2,"button",null),this.renderer.setElementAttribute(this._el_3,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_3,"ion-button",""),this._appEl_3=new _.a(3,2,this,this._el_3);var e=w.a(this.viewUtils,this.injector(3),this._appEl_3);this._Button_3_4=new y.a(null,"",this.parent.parent.parentInjector.get(C.c),new E.a(this._el_3),this.renderer),this._appEl_3.initComponent(this._Button_3_4,[],e),this._text_4=this.renderer.createText(null,"",null),e.create(this._Button_3_4,[[].concat([this._text_4])],null),this._text_5=this.renderer.createText(this._el_0,"\n ",null),this._el_6=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_6,"class","center"),this._text_7=this.renderer.createText(this._el_6,"",null),this._text_8=this.renderer.createText(this._el_0,"\n ",null);var n=this.renderer.listen(this._el_3,"click",this.eventHandler(this._handle_click_3_0.bind(this)));return this._expr_1=u.n,this._expr_2=u.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._el_3,this._text_4,this._text_5,this._el_6,this._text_7,this._text_8],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===y.a&&3<=e&&e<=4?this._Button_3_4:t===I.a&&0<=e&&e<=8?this._Col_0_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_3_4.ngAfterContentInit();var e=h.e(1,"",this.context.$implicit,"");h.c(t,this._expr_1,e)&&(this.renderer.setText(this._text_4,e),this._expr_1=e);var n=h.e(1,"",this.parent.parent.context.getMetrics(this.context.$implicit),"");h.c(t,this._expr_2,n)&&(this.renderer.setText(this._text_7,n),this._expr_2=n),this.detectViewChildrenChanges(t)},e.prototype._handle_click_3_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.exportMathInfoToChart(this.context.$implicit)!==!1;return e},e}(a.a)},function(t,e,n){"use strict";function i(t,e,n){return null===_t&&(_t=t.createRenderComponentType("",0,v.c.None,[],{})),new lt(t,e,n)}function r(t,e,n,i){t.cancelActiveAnimation(e,"rotate","void"==i);var r={},s=null,o=0,a=ut["*"],_=ut[n];null==_&&(_=a);var l=ut[i];null==l&&(l=a),y.e(e,t.renderer,y.d(_)),null==s&&"void"==n&&(s=new b.a([t.renderer.animate(e,new w.a(y.f(r,[_])),[new C.a(0,new w.a(y.f(r,[{}]))),new C.a(1,new w.a(y.f(r,[{}])))],0,0,null)]),o=0),null==s&&(s=new b.a([t.renderer.animate(e,new w.a(y.f(r,[_])),y.b(r,l,[new C.a(0,new w.a(y.f(r,[{}]))),new C.a(1,new w.a(y.f(r,[{}])))]),250,0,"ease-in-out")]),o=250),null==s&&(s=new E.a),s.onDone(function(){y.e(e,t.renderer,y.a(_,l))}),t.queueAnimation(e,"rotate",s,o,n,i)}function s(t,e,n){return null===pt&&(pt=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/pages/settings/settings.html",0,v.c.None,ct,{rotate:r})),new dt(t,e,n)}function o(t,e,n){return new ft(t,e,n)}function a(t,e,n){return new mt(t,e,n)}var _=n(10),l=n(6),h=n(380),c=n(11),u=n(5),p=n(4),d=n(59),f=n(47),m=n(31),g=n(71),v=n(8),x=n(7),y=n(164),b=n(163),w=n(165),C=n(162),E=n(136),T=n(58),A=n(46),I=n(35),S=n(20),O=n(112),k=n(44),N=n(34),P=n(111),R=n(33),D=n(122),j=n(55),M=n(63),L=n(37),B=n(52),F=n(14),q=n(81),V=n(2),H=n(22),U=n(49),z=n(56),G=n(13),W=n(67),Y=n(25),$=n(48),X=n(118),J=n(39),Q=n(21),Z=n(469),K=n(60),tt=n(62),et=n(61),nt=n(230),it=n(468),rt=n(123),st=n(41),ot=n(53);n.d(e,"a",function(){return ht});var at=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},_t=null,lt=function(t){function e(n,i,r){t.call(this,e,_t,u.a.HOST,n,i,r,p.b.CheckAlways)}return at(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ng-component",t,null),this._appEl_0=new l.a(0,null,this,this._el_0);var e=s(this.viewUtils,this.injector(0),this._appEl_0);return this._SettingsPage_0_4=new h.a(this.parentInjector.get(d.a),this.parentInjector.get(f.a),this.parentInjector.get(m.a),this.parentInjector.get(g.a)),this._appEl_0.initComponent(this._SettingsPage_0_4,[],e),e.create(this._SettingsPage_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===h.a&&0===e?this._SettingsPage_0_4:n},e}(_.a),ht=new x.a("ng-component",i,h.a),ct=[],ut={true:{transform:"rotate(-180deg)"},false:{transform:"rotate(0deg)"},"*":{},void:{}},pt=null,dt=function(t){function e(n,i,r){t.call(this,e,pt,u.a.COMPONENT,n,i,r,p.b.CheckAlways)}return at(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._el_0=this.renderer.createElement(e,"div",null),this.renderer.setElementAttribute(this._el_0,"class","keith-container"),this.renderer.setElementAttribute(this._el_0,"text-center",""),this._NgClass_0_3=new T.a(this.parentInjector.get(L.a),this.parentInjector.get(B.a),new F.a(this._el_0),this.renderer),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"div",null),this.renderer.setElementAttribute(this._el_2,"class","keith-img-wrapper"),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"img",null),this.renderer.setElementAttribute(this._el_4,"class","keith-img"),this.renderer.setElementAttribute(this._el_4,"src","assets/img/keith.svg"),this._text_5=this.renderer.createText(this._el_2,"\n ",null),this._text_6=this.renderer.createText(this._el_0,"\n",null),this._text_7=this.renderer.createText(e,"\n\n\n",null),this._el_8=this.renderer.createElement(e,"ion-content",null),this.renderer.setElementAttribute(this._el_8,"class","settings-body"),this._appEl_8=new l.a(8,null,this,this._el_8);var n=q.a(this.viewUtils,this.injector(8),this._appEl_8);this._Content_8_4=new A.a(this.parentInjector.get(V.c),new F.a(this._el_8),this.renderer,this.parentInjector.get(H.a),this.parentInjector.get(U.a),this.parentInjector.get(z.a),this.parentInjector.get(G.a,null),this.parentInjector.get(W.a,null)),this._appEl_8.initComponent(this._Content_8_4,[],n),this._text_9=this.renderer.createText(null,"\n\n ",null),this._el_10=this.renderer.createElement(null,"div",null),this._text_11=this.renderer.createText(this._el_10,"\n ",null),this._el_12=this.renderer.createElement(this._el_10,"ion-row",null),this._Row_12_3=new I.c,this._text_13=this.renderer.createText(this._el_12,"\n ",null),this._el_14=this.renderer.createElement(this._el_12,"ion-col",null),this.renderer.setElementAttribute(this._el_14,"center",""),this.renderer.setElementAttribute(this._el_14,"class","back-button-col"),this._Col_14_3=new I.a,this._text_15=this.renderer.createText(this._el_14,"\n ",null),this._el_16=this.renderer.createElement(this._el_14,"button",null),this.renderer.setElementAttribute(this._el_16,"class","custom-back-button disable-hover"),this.renderer.setElementAttribute(this._el_16,"ion-button",""),this._appEl_16=new l.a(16,14,this,this._el_16);var i=Y.a(this.viewUtils,this.injector(16),this._appEl_16);this._Button_16_4=new S.a(null,"",this.parentInjector.get(V.c),new F.a(this._el_16),this.renderer),this._appEl_16.initComponent(this._Button_16_4,[],i),this._text_17=this.renderer.createText(null,"\n ",null),this._el_18=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_18,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_18,"src","assets/img/arrow-back.svg"),this._text_19=this.renderer.createText(null,"\n ",null),i.create(this._Button_16_4,[[].concat([this._text_17,this._el_18,this._text_19])],null),this._text_20=this.renderer.createText(this._el_14,"\n ",null),this._text_21=this.renderer.createText(this._el_12,"\n ",null),this._el_22=this.renderer.createElement(this._el_12,"ion-col",null),this.renderer.setElementAttribute(this._el_22,"center",""),this.renderer.setElementAttribute(this._el_22,"class","config-title-menu-col"),this._Col_22_3=new I.a,this._text_23=this.renderer.createText(this._el_22,"\n Settings\n ",null),this._text_24=this.renderer.createText(this._el_12,"\n ",null),this._text_25=this.renderer.createText(this._el_10,"\n ",null),this._text_26=this.renderer.createText(null,"\n ",null),this._el_27=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_27,"text-center",""),this._text_28=this.renderer.createText(this._el_27,"\n ",null),this._el_29=this.renderer.createElement(this._el_27,"div",null),this.renderer.setElementAttribute(this._el_29,"class","configure-item-wrapper"),this._text_30=this.renderer.createText(this._el_29,"\n ",null),this._el_31=this.renderer.createElement(this._el_29,"ion-list",null),this.renderer.setElementAttribute(this._el_31,"class","section-list"),this._List_31_3=new O.a(this.parentInjector.get(V.c),new F.a(this._el_31),this.renderer,this.parentInjector.get($.a)),this._text_32=this.renderer.createText(this._el_31,"\n ",null),this._el_33=this.renderer.createElement(this._el_31,"ion-item-divider",null),this.renderer.setElementAttribute(this._el_33,"class","list-header item"),this._appEl_33=new l.a(33,31,this,this._el_33);var r=X.a(this.viewUtils,this.injector(33),this._appEl_33);this._Item_33_4=new k.a(this.parentInjector.get(J.a),this.parentInjector.get(V.c),new F.a(this._el_33),this.renderer),this._query_Label_33_0=new N.a,this._query_Button_33_1=new N.a,this._query_Icon_33_2=new N.a,this._appEl_33.initComponent(this._Item_33_4,[],r),this._text_34=this.renderer.createText(null,"Chart Hotkeys",null),this._query_Label_33_0.reset([]),this._Item_33_4.contentLabel=this._query_Label_33_0.first,r.create(this._Item_33_4,[[],[],[].concat([this._text_34]),[],[]],null),this._text_35=this.renderer.createText(this._el_31,"\n ",null),this._el_36=this.renderer.createElement(this._el_31,"ion-item",null),this.renderer.setElementAttribute(this._el_36,"class","configure-item item item-block"),this._appEl_36=new l.a(36,31,this,this._el_36);var s=X.a(this.viewUtils,this.injector(36),this._appEl_36);this._Item_36_4=new k.a(this.parentInjector.get(J.a),this.parentInjector.get(V.c),new F.a(this._el_36),this.renderer),this._ItemContent_36_5=new k.b,this._query_Label_36_0=new N.a,this._query_Button_36_1=new N.a,this._query_Icon_36_2=new N.a,this._appEl_36.initComponent(this._Item_36_4,[],s),this._text_37=this.renderer.createText(null,"\n ",null),this._el_38=this.renderer.createElement(null,"ion-label",null),this._Label_38_3=new P.a(this.parentInjector.get(V.c),new F.a(this._el_38),this.renderer,null,null,null,null),this._text_39=this.renderer.createText(this._el_38,"Zoom On Center",null),this._text_40=this.renderer.createText(null,"\n ",null),this._el_41=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_41,"class","item-content-right"),this.renderer.setElementAttribute(this._el_41,"item-right",""),this._text_42=this.renderer.createText(this._el_41,"Mousewheel",null),this._text_43=this.renderer.createText(null,"\n ",null),this._query_Label_36_0.reset([this._Label_38_3]),this._Item_36_4.contentLabel=this._query_Label_36_0.first,s.create(this._Item_36_4,[[],[].concat([this._el_38]),[].concat([this._text_37,this._text_40,this._text_43]),[],[].concat([this._el_41])],null),this._text_44=this.renderer.createText(this._el_31,"\n ",null),this._el_45=this.renderer.createElement(this._el_31,"ion-item",null),this.renderer.setElementAttribute(this._el_45,"class","configure-item item item-block"),this._appEl_45=new l.a(45,31,this,this._el_45);var _=X.a(this.viewUtils,this.injector(45),this._appEl_45);this._Item_45_4=new k.a(this.parentInjector.get(J.a),this.parentInjector.get(V.c),new F.a(this._el_45),this.renderer),this._ItemContent_45_5=new k.b,this._query_Label_45_0=new N.a,this._query_Button_45_1=new N.a,this._query_Icon_45_2=new N.a,this._appEl_45.initComponent(this._Item_45_4,[],_),this._text_46=this.renderer.createText(null,"\n ",null),this._el_47=this.renderer.createElement(null,"ion-label",null),this._Label_47_3=new P.a(this.parentInjector.get(V.c),new F.a(this._el_47),this.renderer,null,null,null,null),this._text_48=this.renderer.createText(this._el_47,"Zoom On Mouse",null),this._text_49=this.renderer.createText(null,"\n ",null),this._el_50=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_50,"class","item-content-right"),this.renderer.setElementAttribute(this._el_50,"item-right",""),this._text_51=this.renderer.createText(this._el_50,"Ctrl + Mousewheel",null),this._text_52=this.renderer.createText(null,"\n ",null),this._query_Label_45_0.reset([this._Label_47_3]),this._Item_45_4.contentLabel=this._query_Label_45_0.first,_.create(this._Item_45_4,[[],[].concat([this._el_47]),[].concat([this._text_46,this._text_49,this._text_52]),[],[].concat([this._el_50])],null),this._text_53=this.renderer.createText(this._el_31,"\n ",null),this._el_54=this.renderer.createElement(this._el_31,"ion-item",null),this.renderer.setElementAttribute(this._el_54,"class","configure-item item item-block"),this._appEl_54=new l.a(54,31,this,this._el_54);var h=X.a(this.viewUtils,this.injector(54),this._appEl_54);this._Item_54_4=new k.a(this.parentInjector.get(J.a),this.parentInjector.get(V.c),new F.a(this._el_54),this.renderer),this._ItemContent_54_5=new k.b,this._query_Label_54_0=new N.a,this._query_Button_54_1=new N.a,this._query_Icon_54_2=new N.a,this._appEl_54.initComponent(this._Item_54_4,[],h),this._text_55=this.renderer.createText(null,"\n ",null),this._el_56=this.renderer.createElement(null,"ion-label",null),this._Label_56_3=new P.a(this.parentInjector.get(V.c),new F.a(this._el_56),this.renderer,null,null,null,null),this._text_57=this.renderer.createText(this._el_56,"Highlight Area And Zoom",null),this._text_58=this.renderer.createText(null,"\n ",null),this._el_59=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_59,"class","item-content-right"),this.renderer.setElementAttribute(this._el_59,"item-right",""),this._text_60=this.renderer.createText(this._el_59,"MButton And Drag",null),this._text_61=this.renderer.createText(null,"\n ",null),this._query_Label_54_0.reset([this._Label_56_3]),this._Item_54_4.contentLabel=this._query_Label_54_0.first,h.create(this._Item_54_4,[[],[].concat([this._el_56]),[].concat([this._text_55,this._text_58,this._text_61]),[],[].concat([this._el_59])],null),this._text_62=this.renderer.createText(this._el_31,"\n ",null),this._el_63=this.renderer.createElement(this._el_31,"ion-item",null),this.renderer.setElementAttribute(this._el_63,"class","configure-item item item-block"),this._appEl_63=new l.a(63,31,this,this._el_63);var u=X.a(this.viewUtils,this.injector(63),this._appEl_63);this._Item_63_4=new k.a(this.parentInjector.get(J.a),this.parentInjector.get(V.c),new F.a(this._el_63),this.renderer),this._ItemContent_63_5=new k.b,this._query_Label_63_0=new N.a,this._query_Button_63_1=new N.a,this._query_Icon_63_2=new N.a,this._appEl_63.initComponent(this._Item_63_4,[],u),this._text_64=this.renderer.createText(null,"\n ",null),this._el_65=this.renderer.createElement(null,"ion-label",null),this._Label_65_3=new P.a(this.parentInjector.get(V.c),new F.a(this._el_65),this.renderer,null,null,null,null),this._text_66=this.renderer.createText(this._el_65,"Change Volts/Div",null),this._text_67=this.renderer.createText(null,"\n ",null),this._el_68=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_68,"class","item-content-right"),this.renderer.setElementAttribute(this._el_68,"item-right",""),this._text_69=this.renderer.createText(this._el_68,"Shift + Mousewheel",null),this._text_70=this.renderer.createText(null,"\n ",null),this._query_Label_63_0.reset([this._Label_65_3]),this._Item_63_4.contentLabel=this._query_Label_63_0.first,u.create(this._Item_63_4,[[],[].concat([this._el_65]),[].concat([this._text_64,this._text_67,this._text_70]),[],[].concat([this._el_68])],null),this._text_71=this.renderer.createText(this._el_31,"\n ",null),this._el_72=this.renderer.createElement(this._el_31,"ion-item",null),this.renderer.setElementAttribute(this._el_72,"class","configure-item item item-block"),this._appEl_72=new l.a(72,31,this,this._el_72);var d=X.a(this.viewUtils,this.injector(72),this._appEl_72);this._Item_72_4=new k.a(this.parentInjector.get(J.a),this.parentInjector.get(V.c),new F.a(this._el_72),this.renderer),this._ItemContent_72_5=new k.b,this._query_Label_72_0=new N.a,this._query_Button_72_1=new N.a,this._query_Icon_72_2=new N.a,this._appEl_72.initComponent(this._Item_72_4,[],d),this._text_73=this.renderer.createText(null,"\n ",null),this._el_74=this.renderer.createElement(null,"ion-label",null),this._Label_74_3=new P.a(this.parentInjector.get(V.c),new F.a(this._el_74),this.renderer,null,null,null,null),this._text_75=this.renderer.createText(this._el_74,"Vertical Pan",null),this._text_76=this.renderer.createText(null,"\n ",null),this._el_77=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_77,"class","item-content-right"),this.renderer.setElementAttribute(this._el_77,"item-right",""),this._text_78=this.renderer.createText(this._el_77,"Shift + Click And Drag",null),this._text_79=this.renderer.createText(null,"\n ",null),this._query_Label_72_0.reset([this._Label_74_3]),this._Item_72_4.contentLabel=this._query_Label_72_0.first,d.create(this._Item_72_4,[[],[].concat([this._el_74]),[].concat([this._text_73,this._text_76,this._text_79]),[],[].concat([this._el_77])],null),this._text_80=this.renderer.createText(this._el_31,"\n ",null),this._text_81=this.renderer.createText(this._el_29,"\n ",null),this._el_82=this.renderer.createElement(this._el_29,"button",null),this.renderer.setElementAttribute(this._el_82,"class","advanced-button"),this.renderer.setElementAttribute(this._el_82,"clear",""),this.renderer.setElementAttribute(this._el_82,"icon-right",""),this.renderer.setElementAttribute(this._el_82,"ion-button",""),this._appEl_82=new l.a(82,29,this,this._el_82);var f=Y.a(this.viewUtils,this.injector(82),this._appEl_82);this._Button_82_4=new S.a(null,"",this.parentInjector.get(V.c),new F.a(this._el_82),this.renderer),this._appEl_82.initComponent(this._Button_82_4,[],f),this._text_83=this.renderer.createText(null,"\n Advanced\n ",null),this._el_84=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_84,"class","rotate-image-container"),this._text_85=this.renderer.createText(this._el_84,"\n ",null),this._el_86=this.renderer.createElement(this._el_84,"img",null),this.renderer.setElementAttribute(this._el_86,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_86,"src","assets/img/arrow-dropdown-white.svg"),this._text_87=this.renderer.createText(this._el_84,"\n ",null),this._text_88=this.renderer.createText(null,"\n ",null),f.create(this._Button_82_4,[[].concat([this._text_83,this._el_84,this._text_88])],null),this._text_89=this.renderer.createText(this._el_29,"\n ",null),this._anchor_90=this.renderer.createTemplateAnchor(this._el_29,null),this._appEl_90=new l.a(90,29,this,this._anchor_90),this._TemplateRef_90_5=new Q.a(this._appEl_90,o),this._NgIf_90_6=new R.a(this._appEl_90.vcRef,this._TemplateRef_90_5),this._text_91=this.renderer.createText(this._el_29,"\n ",null),this._text_92=this.renderer.createText(this._el_27,"\n ",null),this._text_93=this.renderer.createText(null,"\n\n",null),n.create(this._Content_8_4,[[],[].concat([this._text_9,this._el_10,this._text_26,this._el_27,this._text_93]),[]],null),this._text_94=this.renderer.createText(e,"\n\n",null),this._el_95=this.renderer.createElement(e,"ion-footer",null),this._Footer_95_3=new D.a(this.parentInjector.get(V.c),new F.a(this._el_95),this.renderer,this.parentInjector.get(G.a,null)),this._text_96=this.renderer.createText(this._el_95,"\n ",null),this._el_97=this.renderer.createElement(this._el_95,"ion-toolbar",null),this.renderer.setElementAttribute(this._el_97,"class","toolbar"),this._appEl_97=new l.a(97,95,this,this._el_97);var m=Z.a(this.viewUtils,this.injector(97),this._appEl_97);this._Toolbar_97_4=new D.c(this.parentInjector.get(G.a,null),this.parentInjector.get(V.c),new F.a(this._el_97),this.renderer),this._appEl_97.initComponent(this._Toolbar_97_4,[],m),this._text_98=this.renderer.createText(null,"\n ",null),this._el_99=this.renderer.createElement(null,"ion-row",null),this._Row_99_3=new I.c,this._text_100=this.renderer.createText(this._el_99,"\n ",null),this._el_101=this.renderer.createElement(this._el_99,"ion-col",null),this.renderer.setElementAttribute(this._el_101,"center",""),this._Col_101_3=new I.a,this._text_102=this.renderer.createText(this._el_101,"",null),this._text_103=this.renderer.createText(this._el_99,"\n ",null),this._el_104=this.renderer.createElement(this._el_99,"ion-col",null),this.renderer.setElementAttribute(this._el_104,"center",""),this._Col_104_3=new I.a,this._text_105=this.renderer.createText(this._el_104,"\n ",null),this._anchor_106=this.renderer.createTemplateAnchor(this._el_104,null),this._appEl_106=new l.a(106,104,this,this._anchor_106),this._TemplateRef_106_5=new Q.a(this._appEl_106,a),this._NgFor_106_6=new j.a(this._appEl_106.vcRef,this._TemplateRef_106_5,this.parentInjector.get(L.a),this.ref),this._text_107=this.renderer.createText(this._el_104,"\n ",null),this._text_108=this.renderer.createText(this._el_99,"\n ",null),this._text_109=this.renderer.createText(null,"\n ",null),m.create(this._Toolbar_97_4,[[],[],[],[].concat([this._text_98,this._el_99,this._text_109])],null),this._text_110=this.renderer.createText(this._el_95,"\n",null),this._expr_0=p.n,this._map_0=c.h(function(t){return{"show-keith":t}}),this._expr_1=p.n,this._expr_2=p.n;var g=this.renderer.listen(this._el_16,"click",this.eventHandler(this._handle_click_16_0.bind(this))),v=this.renderer.listen(this._el_82,"tap",this.eventHandler(this._handle_tap_82_0.bind(this)));this._expr_5=p.n,this._expr_6=p.n,this._expr_7=p.n,this._pipe_unitFormat_0=new M.a;var x=this.renderer.listen(this._el_95,"tap",this.eventHandler(this._handle_tap_95_0.bind(this)));return this._expr_9=p.n,this._expr_10=p.n,this._expr_11=p.n,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._text_7,this._el_8,this._text_9,this._el_10,this._text_11,this._el_12,this._text_13,this._el_14,this._text_15,this._el_16,this._text_17,this._el_18,this._text_19,this._text_20,this._text_21,this._el_22,this._text_23,this._text_24,this._text_25,this._text_26,this._el_27,this._text_28,this._el_29,this._text_30,this._el_31,this._text_32,this._el_33,this._text_34,this._text_35,this._el_36,this._text_37,this._el_38,this._text_39,this._text_40,this._el_41,this._text_42,this._text_43,this._text_44,this._el_45,this._text_46,this._el_47,this._text_48,this._text_49,this._el_50,this._text_51,this._text_52,this._text_53,this._el_54,this._text_55,this._el_56,this._text_57,this._text_58,this._el_59,this._text_60,this._text_61,this._text_62,this._el_63,this._text_64,this._el_65,this._text_66,this._text_67,this._el_68,this._text_69,this._text_70,this._text_71,this._el_72,this._text_73,this._el_74,this._text_75,this._text_76,this._el_77,this._text_78,this._text_79,this._text_80,this._text_81,this._el_82,this._text_83,this._el_84,this._text_85,this._el_86,this._text_87,this._text_88,this._text_89,this._anchor_90,this._text_91,this._text_92,this._text_93,this._text_94,this._el_95,this._text_96,this._el_97,this._text_98,this._el_99,this._text_100,this._el_101,this._text_102,this._text_103,this._el_104,this._text_105,this._anchor_106,this._text_107,this._text_108,this._text_109,this._text_110],[g,v,x],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===T.a&&0<=e&&e<=6?this._NgClass_0_3:t===S.a&&16<=e&&e<=19?this._Button_16_4:t===I.a&&14<=e&&e<=20?this._Col_14_3:t===I.a&&22<=e&&e<=23?this._Col_22_3:t===I.c&&12<=e&&e<=24?this._Row_12_3:t===k.a&&33<=e&&e<=34?this._Item_33_4:t===P.a&&38<=e&&e<=39?this._Label_38_3:t===k.a&&36<=e&&e<=43?this._Item_36_4:t===k.b&&36<=e&&e<=43?this._ItemContent_36_5:t===P.a&&47<=e&&e<=48?this._Label_47_3:t===k.a&&45<=e&&e<=52?this._Item_45_4:t===k.b&&45<=e&&e<=52?this._ItemContent_45_5:t===P.a&&56<=e&&e<=57?this._Label_56_3:t===k.a&&54<=e&&e<=61?this._Item_54_4:t===k.b&&54<=e&&e<=61?this._ItemContent_54_5:t===P.a&&65<=e&&e<=66?this._Label_65_3:t===k.a&&63<=e&&e<=70?this._Item_63_4:t===k.b&&63<=e&&e<=70?this._ItemContent_63_5:t===P.a&&74<=e&&e<=75?this._Label_74_3:t===k.a&&72<=e&&e<=79?this._Item_72_4:t===k.b&&72<=e&&e<=79?this._ItemContent_72_5:t===O.a&&31<=e&&e<=80?this._List_31_3:t===S.a&&82<=e&&e<=88?this._Button_82_4:t===Q.b&&90===e?this._TemplateRef_90_5:t===R.a&&90===e?this._NgIf_90_6:t===A.a&&8<=e&&e<=93?this._Content_8_4:t===I.a&&101<=e&&e<=102?this._Col_101_3:t===Q.b&&106===e?this._TemplateRef_106_5:t===j.a&&106===e?this._NgFor_106_6:t===I.a&&104<=e&&e<=107?this._Col_104_3:t===I.c&&99<=e&&e<=108?this._Row_99_3:t===D.c&&97<=e&&e<=109?this._Toolbar_97_4:t===D.a&&95<=e&&e<=110?this._Footer_95_3:n},e.prototype.detectChangesInternal=function(t){var e=!0,n=null,i=this.context.showAdvancedSettings;if(c.c(t,this._expr_6,i)){var r=this._expr_6;r==p.n&&(r="void");var s=i;s==p.n&&(s="void"),this.componentType.animations.rotate(this,this._el_84,r,s),this._expr_6=i}var o="keith-container";c.c(t,this._expr_0,o)&&(this._NgClass_0_3.klass=o,this._expr_0=o);var a=this._map_0(this.context.showKeith);c.c(t,this._expr_1,a)&&(this._NgClass_0_3.ngClass=a,this._expr_1=a),t||this._NgClass_0_3.ngDoCheck(),0!==this.numberOfChecks||t||this._Content_8_4.ngOnInit(),e=!1;var _="";c.c(t,this._expr_5,_)&&(this._Button_82_4.clear=_,e=!0,this._expr_5=_),e&&this._appEl_82.componentView.markAsCheckOnce();var l=this.context.showAdvancedSettings;c.c(t,this._expr_7,l)&&(this._NgIf_90_6.ngIf=l,this._expr_7=l),n=null;var h=this.context.currentSelectedDeviceInfoArray;c.c(t,this._expr_11,h)&&(this._NgFor_106_6.ngForOf=h,null===n&&(n={}),n.ngForOf=new p.m(this._expr_11,h),this._expr_11=h),null!==n&&this._NgFor_106_6.ngOnChanges(n),t||this._NgFor_106_6.ngDoCheck(),this.detectContentChildrenChanges(t),t||(this._query_Button_33_1.dirty&&(this._query_Button_33_1.reset([]),this._Item_33_4._buttons=this._query_Button_33_1,this._query_Button_33_1.notifyOnChanges()),this._query_Icon_33_2.dirty&&(this._query_Icon_33_2.reset([]),this._Item_33_4._icons=this._query_Icon_33_2,this._query_Icon_33_2.notifyOnChanges()),this._query_Button_36_1.dirty&&(this._query_Button_36_1.reset([]),this._Item_36_4._buttons=this._query_Button_36_1,this._query_Button_36_1.notifyOnChanges()),this._query_Icon_36_2.dirty&&(this._query_Icon_36_2.reset([]),this._Item_36_4._icons=this._query_Icon_36_2,this._query_Icon_36_2.notifyOnChanges()),this._query_Button_45_1.dirty&&(this._query_Button_45_1.reset([]),this._Item_45_4._buttons=this._query_Button_45_1,this._query_Button_45_1.notifyOnChanges()),this._query_Icon_45_2.dirty&&(this._query_Icon_45_2.reset([]),this._Item_45_4._icons=this._query_Icon_45_2,this._query_Icon_45_2.notifyOnChanges()),this._query_Button_54_1.dirty&&(this._query_Button_54_1.reset([]),this._Item_54_4._buttons=this._query_Button_54_1,this._query_Button_54_1.notifyOnChanges()),this._query_Icon_54_2.dirty&&(this._query_Icon_54_2.reset([]),this._Item_54_4._icons=this._query_Icon_54_2,this._query_Icon_54_2.notifyOnChanges()),this._query_Button_63_1.dirty&&(this._query_Button_63_1.reset([]),this._Item_63_4._buttons=this._query_Button_63_1,this._query_Button_63_1.notifyOnChanges()),this._query_Icon_63_2.dirty&&(this._query_Icon_63_2.reset([]),this._Item_63_4._icons=this._query_Icon_63_2,this._query_Icon_63_2.notifyOnChanges()),this._query_Button_72_1.dirty&&(this._query_Button_72_1.reset([]),this._Item_72_4._buttons=this._query_Button_72_1,this._query_Button_72_1.notifyOnChanges()),this._query_Icon_72_2.dirty&&(this._query_Icon_72_2.reset([]),this._Item_72_4._icons=this._query_Icon_72_2,this._query_Icon_72_2.notifyOnChanges()),0===this.numberOfChecks&&this._Button_16_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_33_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_36_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_45_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_54_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_63_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_72_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_82_4.ngAfterContentInit());var u=this._Content_8_4._sbPadding;c.c(t,this._expr_2,u)&&(this.renderer.setElementClass(this._el_8,"statusbar-padding",u),this._expr_2=u);var d=this._Toolbar_97_4._sbPadding;c.c(t,this._expr_9,d)&&(this.renderer.setElementClass(this._el_97,"statusbar-padding",d),this._expr_9=d);var f=c.e(1,"\n Waveforms Live Version: ",this.context.settingsService.wflVersion,"\n ");c.c(t,this._expr_10,f)&&(this.renderer.setText(this._text_102,f),this._expr_10=f),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Content_8_4.ngOnDestroy()},e.prototype.detachInternal=function(){this.componentType.animations.rotate(this,this._el_84,this._expr_6,"void")},e.prototype._handle_click_16_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.done()!==!1;return e},e.prototype._handle_tap_82_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.toggleAdvancedSettings()!==!1;return e},e.prototype._handle_tap_95_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.keithifyMeCaptain()!==!1;return e},e}(_.a),ft=function(t){function e(n,i,r){t.call(this,e,pt,u.a.EMBEDDED,n,i,r,p.b.CheckAlways)}return at(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","configure-item-wrapper"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-list",null),this.renderer.setElementAttribute(this._el_2,"class","section-list"),this._List_2_3=new O.a(this.parent.parentInjector.get(V.c),new F.a(this._el_2),this.renderer,this.parent.parentInjector.get($.a)), this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-item-divider",null),this.renderer.setElementAttribute(this._el_4,"class","list-header item"),this._appEl_4=new l.a(4,2,this,this._el_4);var e=X.a(this.viewUtils,this.injector(4),this._appEl_4);this._Item_4_4=new k.a(this.parent.parentInjector.get(J.a),this.parent.parentInjector.get(V.c),new F.a(this._el_4),this.renderer),this._query_Label_4_0=new N.a,this._query_Button_4_1=new N.a,this._query_Icon_4_2=new N.a,this._appEl_4.initComponent(this._Item_4_4,[],e),this._text_5=this.renderer.createText(null,"App Logging",null),this._query_Label_4_0.reset([]),this._Item_4_4.contentLabel=this._query_Label_4_0.first,e.create(this._Item_4_4,[[],[],[].concat([this._text_5]),[],[]],null),this._text_6=this.renderer.createText(this._el_2,"\n ",null),this._el_7=this.renderer.createElement(this._el_2,"ion-item",null),this.renderer.setElementAttribute(this._el_7,"class","configure-item only-button-item item item-block"),this._appEl_7=new l.a(7,2,this,this._el_7);var n=X.a(this.viewUtils,this.injector(7),this._appEl_7);this._Item_7_4=new k.a(this.parent.parentInjector.get(J.a),this.parent.parentInjector.get(V.c),new F.a(this._el_7),this.renderer),this._ItemContent_7_5=new k.b,this._query_Label_7_0=new N.a,this._query_Button_7_1=new N.a,this._query_Icon_7_2=new N.a,this._appEl_7.initComponent(this._Item_7_4,[],n),this._text_8=this.renderer.createText(null,"\n ",null),this._el_9=this.renderer.createElement(null,"ion-label",null),this._Label_9_3=new P.a(this.parent.parentInjector.get(V.c),new F.a(this._el_9),this.renderer,null,null,null,null),this._text_10=this.renderer.createText(this._el_9,"Change Logging Behavior",null),this._text_11=this.renderer.createText(null,"\n ",null),this._el_12=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_12,"item-right",""),this._text_13=this.renderer.createText(this._el_12,"\n ",null),this._el_14=this.renderer.createElement(this._el_12,"button",null),this.renderer.setElementAttribute(this._el_14,"class","text-button-side item-button disable-hover"),this.renderer.setElementAttribute(this._el_14,"ion-button",""),this._appEl_14=new l.a(14,12,this,this._el_14);var i=Y.a(this.viewUtils,this.injector(14),this._appEl_14);this._Button_14_4=new S.a(null,"",this.parent.parentInjector.get(V.c),new F.a(this._el_14),this.renderer),this._appEl_14.initComponent(this._Button_14_4,[],i),this._text_15=this.renderer.createText(null,"Change Console Log",null),i.create(this._Button_14_4,[[].concat([this._text_15])],null),this._text_16=this.renderer.createText(this._el_12,"\n ",null),this._text_17=this.renderer.createText(null,"\n ",null),this._query_Label_7_0.reset([this._Label_9_3]),this._Item_7_4.contentLabel=this._query_Label_7_0.first,n.create(this._Item_7_4,[[],[].concat([this._el_9]),[].concat([this._text_8,this._text_11,this._text_17]),[],[].concat([this._el_12])],null),this._text_18=this.renderer.createText(this._el_2,"\n ",null),this._el_19=this.renderer.createElement(this._el_2,"ion-item",null),this.renderer.setElementAttribute(this._el_19,"class","configure-item only-button-item item item-block"),this._appEl_19=new l.a(19,2,this,this._el_19);var r=X.a(this.viewUtils,this.injector(19),this._appEl_19);this._Item_19_4=new k.a(this.parent.parentInjector.get(J.a),this.parent.parentInjector.get(V.c),new F.a(this._el_19),this.renderer),this._ItemContent_19_5=new k.b,this._query_Label_19_0=new N.a,this._query_Button_19_1=new N.a,this._query_Icon_19_2=new N.a,this._appEl_19.initComponent(this._Item_19_4,[],r),this._text_20=this.renderer.createText(null,"\n ",null),this._el_21=this.renderer.createElement(null,"ion-label",null),this._Label_21_3=new P.a(this.parent.parentInjector.get(V.c),new F.a(this._el_21),this.renderer,null,null,null,null),this._text_22=this.renderer.createText(this._el_21,"Export Log",null),this._text_23=this.renderer.createText(null,"\n ",null),this._el_24=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_24,"item-right",""),this._text_25=this.renderer.createText(this._el_24,"\n ",null),this._el_26=this.renderer.createElement(this._el_24,"button",null),this.renderer.setElementAttribute(this._el_26,"class","text-button-side item-button disable-hover"),this.renderer.setElementAttribute(this._el_26,"ion-button",""),this._appEl_26=new l.a(26,24,this,this._el_26);var s=Y.a(this.viewUtils,this.injector(26),this._appEl_26);this._Button_26_4=new S.a(null,"",this.parent.parentInjector.get(V.c),new F.a(this._el_26),this.renderer),this._appEl_26.initComponent(this._Button_26_4,[],s),this._text_27=this.renderer.createText(null,"Export Log",null),s.create(this._Button_26_4,[[].concat([this._text_27])],null),this._text_28=this.renderer.createText(this._el_24,"\n ",null),this._text_29=this.renderer.createText(null,"\n ",null),this._query_Label_19_0.reset([this._Label_21_3]),this._Item_19_4.contentLabel=this._query_Label_19_0.first,r.create(this._Item_19_4,[[],[].concat([this._el_21]),[].concat([this._text_20,this._text_23,this._text_29]),[],[].concat([this._el_24])],null),this._text_30=this.renderer.createText(this._el_2,"\n ",null),this._el_31=this.renderer.createElement(this._el_2,"ion-item",null),this.renderer.setElementAttribute(this._el_31,"class","configure-item only-button-item item item-block"),this._appEl_31=new l.a(31,2,this,this._el_31);var o=X.a(this.viewUtils,this.injector(31),this._appEl_31);this._Item_31_4=new k.a(this.parent.parentInjector.get(J.a),this.parent.parentInjector.get(V.c),new F.a(this._el_31),this.renderer),this._ItemContent_31_5=new k.b,this._query_Label_31_0=new N.a,this._query_Button_31_1=new N.a,this._query_Icon_31_2=new N.a,this._appEl_31.initComponent(this._Item_31_4,[],o),this._text_32=this.renderer.createText(null,"\n ",null),this._el_33=this.renderer.createElement(null,"ion-label",null),this._Label_33_3=new P.a(this.parent.parentInjector.get(V.c),new F.a(this._el_33),this.renderer,null,null,null,null),this._text_34=this.renderer.createText(this._el_33,"Clear Local App Log",null),this._text_35=this.renderer.createText(null,"\n ",null),this._el_36=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_36,"item-right",""),this._text_37=this.renderer.createText(this._el_36,"\n ",null),this._el_38=this.renderer.createElement(this._el_36,"button",null),this.renderer.setElementAttribute(this._el_38,"class","text-button-side item-button disable-hover"),this.renderer.setElementAttribute(this._el_38,"ion-button",""),this._appEl_38=new l.a(38,36,this,this._el_38);var a=Y.a(this.viewUtils,this.injector(38),this._appEl_38);this._Button_38_4=new S.a(null,"",this.parent.parentInjector.get(V.c),new F.a(this._el_38),this.renderer),this._appEl_38.initComponent(this._Button_38_4,[],a),this._text_39=this.renderer.createText(null,"Clear App Log",null),a.create(this._Button_38_4,[[].concat([this._text_39])],null),this._text_40=this.renderer.createText(this._el_36,"\n ",null),this._text_41=this.renderer.createText(null,"\n ",null),this._query_Label_31_0.reset([this._Label_33_3]),this._Item_31_4.contentLabel=this._query_Label_31_0.first,o.create(this._Item_31_4,[[],[].concat([this._el_33]),[].concat([this._text_32,this._text_35,this._text_41]),[],[].concat([this._el_36])],null),this._text_42=this.renderer.createText(this._el_2,"\n ",null),this._el_43=this.renderer.createElement(this._el_2,"ion-item",null),this.renderer.setElementAttribute(this._el_43,"class","configure-item only-button-item item item-block"),this._appEl_43=new l.a(43,2,this,this._el_43);var _=X.a(this.viewUtils,this.injector(43),this._appEl_43);this._Item_43_4=new k.a(this.parent.parentInjector.get(J.a),this.parent.parentInjector.get(V.c),new F.a(this._el_43),this.renderer),this._ItemContent_43_5=new k.b,this._query_Label_43_0=new N.a,this._query_Button_43_1=new N.a,this._query_Icon_43_2=new N.a,this._appEl_43.initComponent(this._Item_43_4,[],_),this._text_44=this.renderer.createText(null,"\n ",null),this._el_45=this.renderer.createElement(null,"ion-label",null),this._Label_45_3=new P.a(this.parent.parentInjector.get(V.c),new F.a(this._el_45),this.renderer,null,null,null,null),this._text_46=this.renderer.createText(this._el_45,"Http Timeout",null),this._text_47=this.renderer.createText(null,"\n ",null),this._el_48=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_48,"class","timeout-container"),this.renderer.setElementAttribute(this._el_48,"item-right",""),this._text_49=this.renderer.createText(this._el_48,"\n ",null),this._el_50=this.renderer.createElement(this._el_48,"input",null),this.renderer.setElementAttribute(this._el_50,"class","custom-input"),this.renderer.setElementAttribute(this._el_50,"step","any"),this._DefaultValueAccessor_50_3=new K.a(this.renderer,new F.a(this._el_50)),this._NG_VALUE_ACCESSOR_50_4=[this._DefaultValueAccessor_50_3],this._NgModel_50_5=new tt.a(null,null,null,this._NG_VALUE_ACCESSOR_50_4),this._NgControl_50_6=this._NgModel_50_5,this._NgControlStatus_50_7=new et.a(this._NgControl_50_6),this._text_51=this.renderer.createText(this._el_48,"\n ",null),this._el_52=this.renderer.createElement(this._el_48,"button",null),this.renderer.setElementAttribute(this._el_52,"class","text-button-side item-button disable-hover"),this.renderer.setElementAttribute(this._el_52,"ion-button",""),this._appEl_52=new l.a(52,48,this,this._el_52);var h=Y.a(this.viewUtils,this.injector(52),this._appEl_52);this._Button_52_4=new S.a(null,"",this.parent.parentInjector.get(V.c),new F.a(this._el_52),this.renderer),this._appEl_52.initComponent(this._Button_52_4,[],h),this._text_53=this.renderer.createText(null,"Set",null),h.create(this._Button_52_4,[[].concat([this._text_53])],null),this._text_54=this.renderer.createText(this._el_48,"\n ",null),this._text_55=this.renderer.createText(null,"\n ",null),this._query_Label_43_0.reset([this._Label_45_3]),this._Item_43_4.contentLabel=this._query_Label_43_0.first,_.create(this._Item_43_4,[[],[].concat([this._el_45]),[].concat([this._text_44,this._text_47,this._text_55]),[],[].concat([this._el_48])],null),this._text_56=this.renderer.createText(this._el_2,"\n ",null),this._el_57=this.renderer.createElement(this._el_2,"ion-item",null),this.renderer.setElementAttribute(this._el_57,"class","configure-item item item-block"),this._appEl_57=new l.a(57,2,this,this._el_57);var u=X.a(this.viewUtils,this.injector(57),this._appEl_57);this._Item_57_4=new k.a(this.parent.parentInjector.get(J.a),this.parent.parentInjector.get(V.c),new F.a(this._el_57),this.renderer),this._ItemContent_57_5=new k.b,this._query_Label_57_0=new N.a,this._query_Button_57_1=new N.a,this._query_Icon_57_2=new N.a,this._appEl_57.initComponent(this._Item_57_4,[],u),this._text_58=this.renderer.createText(null,"\n ",null),this._el_59=this.renderer.createElement(null,"ion-label",null),this._Label_59_3=new P.a(this.parent.parentInjector.get(V.c),new F.a(this._el_59),this.renderer,null,null,null,null),this._text_60=this.renderer.createText(this._el_59,"Use Dev Firmware Builds",null),this._text_61=this.renderer.createText(null,"\n ",null),this._el_62=this.renderer.createElement(null,"ion-toggle",null),this._appEl_62=new l.a(62,57,this,this._el_62);var d=it.a(this.viewUtils,this.injector(62),this._appEl_62);this._Toggle_62_4=new nt.a(this.parent.parentInjector.get(J.a),this.parent.parentInjector.get(V.c),new F.a(this._el_62),this.renderer,this.parent.parentInjector.get(rt.a),this._Item_57_4),this._NG_VALUE_ACCESSOR_62_5=[this._Toggle_62_4],this._NgModel_62_6=new tt.a(null,null,null,this._NG_VALUE_ACCESSOR_62_5),this._NgControl_62_7=this._NgModel_62_6,this._NgControlStatus_62_8=new et.a(this._NgControl_62_7),this._appEl_62.initComponent(this._Toggle_62_4,[],d),d.create(this._Toggle_62_4,[],null),this._text_63=this.renderer.createText(null,"\n ",null),this._query_Label_57_0.reset([this._Label_59_3]),this._Item_57_4.contentLabel=this._query_Label_57_0.first,u.create(this._Item_57_4,[[],[].concat([this._el_59]),[].concat([this._text_58,this._text_61,this._text_63]),[],[].concat([this._el_62])],null),this._text_64=this.renderer.createText(this._el_2,"\n ",null),this._text_65=this.renderer.createText(this._el_0,"\n ",null);var f=this.renderer.listen(this._el_14,"click",this.eventHandler(this._handle_click_14_0.bind(this))),m=this.renderer.listen(this._el_26,"click",this.eventHandler(this._handle_click_26_0.bind(this))),g=this.renderer.listen(this._el_38,"click",this.eventHandler(this._handle_click_38_0.bind(this))),v=this.renderer.listen(this._el_50,"focusout",this.eventHandler(this._handle_focusout_50_0.bind(this))),x=this.renderer.listen(this._el_50,"keypress",this.eventHandler(this._handle_keypress_50_1.bind(this))),y=this.renderer.listen(this._el_50,"input",this.eventHandler(this._handle_input_50_2.bind(this))),b=this.renderer.listen(this._el_50,"blur",this.eventHandler(this._handle_blur_50_3.bind(this)));this._pipe_unitFormat_0_0=c.i(this.parent._pipe_unitFormat_0.transform.bind(this.parent._pipe_unitFormat_0)),this._expr_7=p.n,this._expr_8=p.n,this._expr_9=p.n,this._expr_10=p.n,this._expr_11=p.n,this._expr_12=p.n,this._expr_13=p.n,this._expr_15=p.n;var w=this.renderer.listen(this._el_52,"click",this.eventHandler(this._handle_click_52_0.bind(this))),C=this.renderer.listen(this._el_62,"ngModelChange",this.eventHandler(this._handle_ngModelChange_62_0.bind(this)));this._expr_18=p.n,this._expr_19=p.n;var E=this._NgModel_62_6.update.subscribe(this.eventHandler(this._handle_ngModelChange_62_0.bind(this)));return this._expr_20=p.n,this._expr_21=p.n,this._expr_22=p.n,this._expr_23=p.n,this._expr_24=p.n,this._expr_25=p.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._text_11,this._el_12,this._text_13,this._el_14,this._text_15,this._text_16,this._text_17,this._text_18,this._el_19,this._text_20,this._el_21,this._text_22,this._text_23,this._el_24,this._text_25,this._el_26,this._text_27,this._text_28,this._text_29,this._text_30,this._el_31,this._text_32,this._el_33,this._text_34,this._text_35,this._el_36,this._text_37,this._el_38,this._text_39,this._text_40,this._text_41,this._text_42,this._el_43,this._text_44,this._el_45,this._text_46,this._text_47,this._el_48,this._text_49,this._el_50,this._text_51,this._el_52,this._text_53,this._text_54,this._text_55,this._text_56,this._el_57,this._text_58,this._el_59,this._text_60,this._text_61,this._el_62,this._text_63,this._text_64,this._text_65],[f,m,g,v,x,y,b,w,C],[E]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===k.a&&4<=e&&e<=5?this._Item_4_4:t===P.a&&9<=e&&e<=10?this._Label_9_3:t===S.a&&14<=e&&e<=15?this._Button_14_4:t===k.a&&7<=e&&e<=17?this._Item_7_4:t===k.b&&7<=e&&e<=17?this._ItemContent_7_5:t===P.a&&21<=e&&e<=22?this._Label_21_3:t===S.a&&26<=e&&e<=27?this._Button_26_4:t===k.a&&19<=e&&e<=29?this._Item_19_4:t===k.b&&19<=e&&e<=29?this._ItemContent_19_5:t===P.a&&33<=e&&e<=34?this._Label_33_3:t===S.a&&38<=e&&e<=39?this._Button_38_4:t===k.a&&31<=e&&e<=41?this._Item_31_4:t===k.b&&31<=e&&e<=41?this._ItemContent_31_5:t===P.a&&45<=e&&e<=46?this._Label_45_3:t===K.a&&50===e?this._DefaultValueAccessor_50_3:t===st.a&&50===e?this._NG_VALUE_ACCESSOR_50_4:t===tt.a&&50===e?this._NgModel_50_5:t===ot.a&&50===e?this._NgControl_50_6:t===et.a&&50===e?this._NgControlStatus_50_7:t===S.a&&52<=e&&e<=53?this._Button_52_4:t===k.a&&43<=e&&e<=55?this._Item_43_4:t===k.b&&43<=e&&e<=55?this._ItemContent_43_5:t===P.a&&59<=e&&e<=60?this._Label_59_3:t===nt.a&&62===e?this._Toggle_62_4:t===st.a&&62===e?this._NG_VALUE_ACCESSOR_62_5:t===tt.a&&62===e?this._NgModel_62_6:t===ot.a&&62===e?this._NgControl_62_7:t===et.a&&62===e?this._NgControlStatus_62_8:t===k.a&&57<=e&&e<=63?this._Item_57_4:t===k.b&&57<=e&&e<=63?this._ItemContent_57_5:t===O.a&&2<=e&&e<=64?this._List_2_3:n},e.prototype.detectChangesInternal=function(t){var e=null,n=new p.o;e=null,n.reset();var i=n.unwrap(c.r(this._pipe_unitFormat_0_0,this.parent._pipe_unitFormat_0.transform)(this.parent.context.timeout,"sec"));(n.hasWrappedValue||c.c(t,this._expr_7,i))&&(this._NgModel_50_5.model=i,null===e&&(e={}),e.model=new p.m(this._expr_7,i),this._expr_7=i),null!==e&&this._NgModel_50_5.ngOnChanges(e),e=null;var r=this.parent.context.settingsService.useDevBuilds;c.c(t,this._expr_19,r)&&(this._NgModel_62_6.model=r,null===e&&(e={}),e.model=new p.m(this._expr_19,r),this._expr_19=r),null!==e&&this._NgModel_62_6.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(this._query_Button_4_1.dirty&&(this._query_Button_4_1.reset([]),this._Item_4_4._buttons=this._query_Button_4_1,this._query_Button_4_1.notifyOnChanges()),this._query_Icon_4_2.dirty&&(this._query_Icon_4_2.reset([]),this._Item_4_4._icons=this._query_Icon_4_2,this._query_Icon_4_2.notifyOnChanges()),this._query_Button_7_1.dirty&&(this._query_Button_7_1.reset([this._Button_14_4]),this._Item_7_4._buttons=this._query_Button_7_1,this._query_Button_7_1.notifyOnChanges()),this._query_Icon_7_2.dirty&&(this._query_Icon_7_2.reset([]),this._Item_7_4._icons=this._query_Icon_7_2,this._query_Icon_7_2.notifyOnChanges()),this._query_Button_19_1.dirty&&(this._query_Button_19_1.reset([this._Button_26_4]),this._Item_19_4._buttons=this._query_Button_19_1,this._query_Button_19_1.notifyOnChanges()),this._query_Icon_19_2.dirty&&(this._query_Icon_19_2.reset([]),this._Item_19_4._icons=this._query_Icon_19_2,this._query_Icon_19_2.notifyOnChanges()),this._query_Button_31_1.dirty&&(this._query_Button_31_1.reset([this._Button_38_4]),this._Item_31_4._buttons=this._query_Button_31_1,this._query_Button_31_1.notifyOnChanges()),this._query_Icon_31_2.dirty&&(this._query_Icon_31_2.reset([]),this._Item_31_4._icons=this._query_Icon_31_2,this._query_Icon_31_2.notifyOnChanges()),this._query_Button_43_1.dirty&&(this._query_Button_43_1.reset([this._Button_52_4]),this._Item_43_4._buttons=this._query_Button_43_1,this._query_Button_43_1.notifyOnChanges()),this._query_Icon_43_2.dirty&&(this._query_Icon_43_2.reset([]),this._Item_43_4._icons=this._query_Icon_43_2,this._query_Icon_43_2.notifyOnChanges()),this._query_Button_57_1.dirty&&(this._query_Button_57_1.reset([]),this._Item_57_4._buttons=this._query_Button_57_1,this._query_Button_57_1.notifyOnChanges()),this._query_Icon_57_2.dirty&&(this._query_Icon_57_2.reset([]),this._Item_57_4._icons=this._query_Icon_57_2,this._query_Icon_57_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_4_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_14_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_7_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_26_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_19_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_38_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_31_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_52_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_43_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Toggle_62_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_57_4.ngAfterContentInit());var s=this._NgControlStatus_50_7.ngClassUntouched;c.c(t,this._expr_8,s)&&(this.renderer.setElementClass(this._el_50,"ng-untouched",s),this._expr_8=s);var o=this._NgControlStatus_50_7.ngClassTouched;c.c(t,this._expr_9,o)&&(this.renderer.setElementClass(this._el_50,"ng-touched",o),this._expr_9=o);var a=this._NgControlStatus_50_7.ngClassPristine;c.c(t,this._expr_10,a)&&(this.renderer.setElementClass(this._el_50,"ng-pristine",a),this._expr_10=a);var _=this._NgControlStatus_50_7.ngClassDirty;c.c(t,this._expr_11,_)&&(this.renderer.setElementClass(this._el_50,"ng-dirty",_),this._expr_11=_);var l=this._NgControlStatus_50_7.ngClassValid;c.c(t,this._expr_12,l)&&(this.renderer.setElementClass(this._el_50,"ng-valid",l),this._expr_12=l);var h=this._NgControlStatus_50_7.ngClassInvalid;c.c(t,this._expr_13,h)&&(this.renderer.setElementClass(this._el_50,"ng-invalid",h),this._expr_13=h);var u=1e3*this.parent.context.timeout===this.parent.context.currentTimeout;c.c(t,this._expr_15,u)&&(this.renderer.setElementProperty(this._el_52,"disabled",u),this._expr_15=u);var d=this._Toggle_62_4._disabled;c.c(t,this._expr_18,d)&&(this.renderer.setElementClass(this._el_62,"toggle-disabled",d),this._expr_18=d);var f=this._NgControlStatus_62_8.ngClassUntouched;c.c(t,this._expr_20,f)&&(this.renderer.setElementClass(this._el_62,"ng-untouched",f),this._expr_20=f);var m=this._NgControlStatus_62_8.ngClassTouched;c.c(t,this._expr_21,m)&&(this.renderer.setElementClass(this._el_62,"ng-touched",m),this._expr_21=m);var g=this._NgControlStatus_62_8.ngClassPristine;c.c(t,this._expr_22,g)&&(this.renderer.setElementClass(this._el_62,"ng-pristine",g),this._expr_22=g);var v=this._NgControlStatus_62_8.ngClassDirty;c.c(t,this._expr_23,v)&&(this.renderer.setElementClass(this._el_62,"ng-dirty",v),this._expr_23=v);var x=this._NgControlStatus_62_8.ngClassValid;c.c(t,this._expr_24,x)&&(this.renderer.setElementClass(this._el_62,"ng-valid",x),this._expr_24=x);var y=this._NgControlStatus_62_8.ngClassInvalid;c.c(t,this._expr_25,y)&&(this.renderer.setElementClass(this._el_62,"ng-invalid",y),this._expr_25=y),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_50_5.ngOnDestroy(),this._Toggle_62_4.ngOnDestroy(),this._NgModel_62_6.ngOnDestroy()},e.prototype._handle_click_14_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.changeConsoleLog(t)!==!1;return e},e.prototype._handle_click_26_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.exportLogFile()!==!1;return e},e.prototype._handle_click_38_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.clearAppLog()!==!1;return e},e.prototype._handle_focusout_50_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.inputLeave(t)!==!1;return e},e.prototype._handle_keypress_50_1=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.checkForEnter(t)!==!1;return e},e.prototype._handle_input_50_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_50_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_50_3=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_50_3.onTouched()!==!1;return e},e.prototype._handle_click_52_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.setTimeout()!==!1;return e},e.prototype._handle_ngModelChange_62_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.context.settingsService.useDevBuilds=t)!==!1,n=this.parent.context.saveDevBuilds(t)!==!1;return e&&n},e}(_.a),mt=function(t){function e(n,i,r){t.call(this,e,pt,u.a.EMBEDDED,n,i,r,p.b.CheckAlways)}return at(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"ion-row",null),this._Row_0_3=new I.c,this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-col",null),this._Col_2_3=new I.a,this._text_3=this.renderer.createText(this._el_2,"",null),this._text_4=this.renderer.createText(this._el_0,"\n ",null),this._expr_0=p.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===I.a&&2<=e&&e<=3?this._Col_2_3:t===I.c&&0<=e&&e<=4?this._Row_0_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=c.e(2,"\n ",1===this.context.index?"Address: ":""," ",this.context.$implicit,"\n ");c.c(t,this._expr_0,e)&&(this.renderer.setText(this._text_3,e),this._expr_0=e),this.detectViewChildrenChanges(t)},e}(_.a)},function(t,e,n){"use strict";function i(t,e,n){return null===I&&(I=t.createRenderComponentType("",0,p.c.None,[],{})),new S(t,e,n)}function r(t,e,n){return null===N&&(N=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/pages/slow-usb-modal/slow-usb-modal.html",0,p.c.None,k,{})),new P(t,e,n)}var s=n(10),o=n(6),a=n(486),_=n(11),l=n(5),h=n(4),c=n(71),u=n(13),p=n(8),d=n(7),f=n(46),m=n(35),g=n(20),v=n(81),x=n(2),y=n(14),b=n(22),w=n(49),C=n(56),E=n(67),T=n(25);n.d(e,"a",function(){return O});var A=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},I=null,S=function(t){function e(n,i,r){t.call(this,e,I,l.a.HOST,n,i,r,h.b.CheckAlways)}return A(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("page-slow-usb-modal",t,null),this._appEl_0=new o.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._SlowUSBModalPage_0_4=new a.a(this.parentInjector.get(c.a),this.parentInjector.get(u.a)),this._appEl_0.initComponent(this._SlowUSBModalPage_0_4,[],e),e.create(this._SlowUSBModalPage_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===a.a&&0===e?this._SlowUSBModalPage_0_4:n},e}(s.a),O=new d.a("page-slow-usb-modal",i,a.a),k=[],N=null,P=function(t){function e(n,i,r){t.call(this,e,N,l.a.COMPONENT,n,i,r,h.b.CheckAlways)}return A(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._el_0=this.renderer.createElement(e,"ion-content",null),this.renderer.setElementAttribute(this._el_0,"class","slow-usb-container"),this.renderer.setElementAttribute(this._el_0,"padding",""),this._appEl_0=new o.a(0,null,this,this._el_0);var n=v.a(this.viewUtils,this.injector(0),this._appEl_0);this._Content_0_4=new f.a(this.parentInjector.get(x.c),new y.a(this._el_0),this.renderer,this.parentInjector.get(b.a),this.parentInjector.get(w.a),this.parentInjector.get(C.a),this.parentInjector.get(u.a,null),this.parentInjector.get(E.a,null)),this._appEl_0.initComponent(this._Content_0_4,[],n),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_2,"class","modal-header"),this._text_3=this.renderer.createText(this._el_2,"Insufficient USB Bandwidth",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_5,"class","usb-content-container"),this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._el_7=this.renderer.createElement(this._el_5,"ion-row",null),this._Row_7_3=new m.c,this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"div",null),this.renderer.setElementAttribute(this._el_9,"class","usb-content-section"),this.renderer.setElementAttribute(this._el_9,"text-left",""),this._text_10=this.renderer.createText(this._el_9,"\n ",null),this._el_11=this.renderer.createElement(this._el_9,"div",null),this.renderer.setElementAttribute(this._el_11,"class","slow-usb-explanation"),this._text_12=this.renderer.createText(this._el_11,"\n WaveForms Live detected an issue during data transfer. This could be caused\n by a USB 2.0 Full Speed or slower port or hub. Please connect the device directly to\n a USB 2.0 High Speed or faster port on the computer.\n ",null),this._el_13=this.renderer.createElement(this._el_11,"br",null),this._el_14=this.renderer.createElement(this._el_11,"br",null),this._text_15=this.renderer.createText(this._el_11,"\n Visit the ",null),this._el_16=this.renderer.createElement(this._el_11,"a",null),this.renderer.setElementAttribute(this._el_16,"href","https://reference.digilentinc.com/reference/instrumentation/openscope-mz/faq#known_issues"),this.renderer.setElementAttribute(this._el_16,"target","_blank"),this._text_17=this.renderer.createText(this._el_16,"FAQ",null),this._text_18=this.renderer.createText(this._el_11,"\n for more information, or post on the ",null),this._el_19=this.renderer.createElement(this._el_11,"a",null),this.renderer.setElementAttribute(this._el_19,"href","https://forum.digilentinc.com/forum/30-waveforms-live-and-openscope-mz/"),this.renderer.setElementAttribute(this._el_19,"target","_blank"),this._text_20=this.renderer.createText(this._el_19,"Forums",null),this._text_21=this.renderer.createText(this._el_11," for technical support.\n ",null),this._text_22=this.renderer.createText(this._el_9,"\n ",null),this._text_23=this.renderer.createText(this._el_7,"\n ",null),this._text_24=this.renderer.createText(this._el_5,"\n ",null),this._text_25=this.renderer.createText(null,"\n ",null),this._el_26=this.renderer.createElement(null,"ion-row",null),this.renderer.setElementAttribute(this._el_26,"class","navigation-button-container"),this._Row_26_3=new m.c,this._text_27=this.renderer.createText(this._el_26,"\n ",null),this._el_28=this.renderer.createElement(this._el_26,"ion-col",null),this.renderer.setElementAttribute(this._el_28,"text-left",""),this._Col_28_3=new m.a,this._text_29=this.renderer.createText(this._el_28,"\n ",null),this._el_30=this.renderer.createElement(this._el_28,"button",null),this.renderer.setElementAttribute(this._el_30,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_30,"icon-left",""),this.renderer.setElementAttribute(this._el_30,"ion-button",""),this._appEl_30=new o.a(30,28,this,this._el_30);var i=T.a(this.viewUtils,this.injector(30),this._appEl_30);this._Button_30_4=new g.a(null,"",this.parentInjector.get(x.c),new y.a(this._el_30),this.renderer),this._appEl_30.initComponent(this._Button_30_4,[],i),this._text_31=this.renderer.createText(null,"\n ",null),this._el_32=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_32,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_32,"src","assets/img/close.svg"),this._text_33=this.renderer.createText(null,"\n Close\n ",null),i.create(this._Button_30_4,[[].concat([this._text_31,this._el_32,this._text_33])],null),this._text_34=this.renderer.createText(this._el_28,"\n ",null),this._text_35=this.renderer.createText(this._el_26,"\n ",null),this._text_36=this.renderer.createText(null,"\n",null),n.create(this._Content_0_4,[[],[].concat([this._text_1,this._el_2,this._text_4,this._el_5,this._text_25,this._el_26,this._text_36]),[]],null),this._expr_0=h.n;var r=this.renderer.listen(this._el_30,"click",this.eventHandler(this._handle_click_30_0.bind(this)));return this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._el_11,this._text_12,this._el_13,this._el_14,this._text_15,this._el_16,this._text_17,this._text_18,this._el_19,this._text_20,this._text_21,this._text_22,this._text_23,this._text_24,this._text_25,this._el_26,this._text_27,this._el_28,this._text_29,this._el_30,this._text_31,this._el_32,this._text_33,this._text_34,this._text_35,this._text_36],[r],[]), null},e.prototype.injectorGetInternal=function(t,e,n){return t===m.c&&7<=e&&e<=23?this._Row_7_3:t===g.a&&30<=e&&e<=33?this._Button_30_4:t===m.a&&28<=e&&e<=34?this._Col_28_3:t===m.c&&26<=e&&e<=35?this._Row_26_3:t===f.a&&0<=e&&e<=36?this._Content_0_4:n},e.prototype.detectChangesInternal=function(t){0!==this.numberOfChecks||t||this._Content_0_4.ngOnInit(),this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_30_4.ngAfterContentInit();var e=this._Content_0_4._sbPadding;_.c(t,this._expr_0,e)&&(this.renderer.setElementClass(this._el_0,"statusbar-padding",e),this._expr_0=e),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Content_0_4.ngOnDestroy()},e.prototype._handle_click_30_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.closeModal()!==!1;return e},e}(s.a)},function(t,e,n){"use strict";function i(t,e,n){return null===it&&(it=t.createRenderComponentType("",0,A.c.None,[],{})),new rt(t,e,n)}function r(t,e,n){return null===at&&(at=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/pages/update-firmware/update-firmware.html",0,A.c.None,ot,{})),new _t(t,e,n)}function s(t,e,n){return new lt(t,e,n)}function o(t,e,n){return new ht(t,e,n)}function a(t,e,n){return new ct(t,e,n)}function _(t,e,n){return new ut(t,e,n)}function l(t,e,n){return new pt(t,e,n)}function h(t,e,n){return new dt(t,e,n)}var c=n(10),u=n(6),p=n(287),d=n(11),f=n(5),m=n(4),g=n(59),v=n(31),x=n(27),y=n(13),b=n(169),w=n(66),C=n(120),E=n(43),T=n(172),A=n(8),I=n(7),S=n(34),O=n(46),k=n(139),N=n(112),P=n(44),R=n(111),D=n(65),j=n(33),M=n(35),L=n(20),B=n(167),F=n(81),q=n(2),V=n(14),H=n(22),U=n(49),z=n(56),G=n(67),W=n(186),Y=n(48),$=n(118),X=n(39),J=n(98),Q=n(47),Z=n(23),K=n(21),tt=n(25),et=n(279);n.d(e,"a",function(){return st});var nt=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},it=null,rt=function(t){function e(n,i,r){t.call(this,e,it,f.a.HOST,n,i,r,m.b.CheckAlways)}return nt(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ng-component",t,null),this._appEl_0=new u.a(0,null,this,this._el_0);var e=r(this.viewUtils,this.injector(0),this._appEl_0);return this._UpdateFirmwarePage_0_4=new p.a(this.parentInjector.get(g.a),this.parentInjector.get(v.a),this.parentInjector.get(x.a),this.parentInjector.get(y.a),this.parentInjector.get(b.a),this.parentInjector.get(w.a),this.parentInjector.get(C.a),this.parentInjector.get(E.DeviceManagerService),this.parentInjector.get(T.a)),this._appEl_0.initComponent(this._UpdateFirmwarePage_0_4,[],e),e.create(this._UpdateFirmwarePage_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===p.a&&0===e?this._UpdateFirmwarePage_0_4:n},e}(c.a),st=new I.a("ng-component",i,p.a),ot=[],at=null,_t=function(t){function e(n,i,r){t.call(this,e,at,f.a.COMPONENT,n,i,r,m.b.CheckAlways)}return nt(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_updateFirmwareSlider_0=new S.a,this._viewQuery_digilentProgressBar_1=new S.a,this._el_0=this.renderer.createElement(e,"ion-content",null),this.renderer.setElementAttribute(this._el_0,"class","update-firmware-container"),this._appEl_0=new u.a(0,null,this,this._el_0);var n=F.a(this.viewUtils,this.injector(0),this._appEl_0);this._Content_0_4=new O.a(this.parentInjector.get(q.c),new V.a(this._el_0),this.renderer,this.parentInjector.get(H.a),this.parentInjector.get(U.a),this.parentInjector.get(z.a),this.parentInjector.get(y.a,null),this.parentInjector.get(G.a,null)),this._appEl_0.initComponent(this._Content_0_4,[],n),this._text_1=this.renderer.createText(null,"\n\n ",null),this._el_2=this.renderer.createElement(null,"ion-slides",null),this._appEl_2=new u.a(2,0,this,this._el_2);var i=W.a(this.viewUtils,this.injector(2),this._appEl_2);this._Slides_2_4=new k.b(this.parentInjector.get(q.c),new V.a(this._el_2),this.renderer),this._appEl_2.initComponent(this._Slides_2_4,[],i),this._text_3=this.renderer.createText(null,"\n\n ",null),this._el_4=this.renderer.createElement(null,"ion-slide",null),this.renderer.setElementAttribute(this._el_4,"class","slide-container"),this._appEl_4=new u.a(4,2,this,this._el_4);var r=W.b(this.viewUtils,this.injector(4),this._appEl_4);this._Slide_4_4=new k.a(new V.a(this._el_4),this._Slides_2_4),this._appEl_4.initComponent(this._Slide_4_4,[],r),this._text_5=this.renderer.createText(null,"\n ",null),this._el_6=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_6,"class","content-container"),this._text_7=this.renderer.createText(this._el_6,"\n ",null),this._el_8=this.renderer.createElement(this._el_6,"div",null),this.renderer.setElementAttribute(this._el_8,"class","slide-header"),this._text_9=this.renderer.createText(this._el_8,"Update Firmware",null),this._text_10=this.renderer.createText(this._el_6,"\n ",null),this._el_11=this.renderer.createElement(this._el_6,"ion-list",null),this.renderer.setElementAttribute(this._el_11,"class","firmware-list"),this._List_11_3=new N.a(this.parentInjector.get(q.c),new V.a(this._el_11),this.renderer,this.parentInjector.get(Y.a)),this._text_12=this.renderer.createText(this._el_11,"\n ",null),this._el_13=this.renderer.createElement(this._el_11,"ion-item",null),this.renderer.setElementAttribute(this._el_13,"class","firmware-item item item-block"),this._appEl_13=new u.a(13,11,this,this._el_13);var c=$.a(this.viewUtils,this.injector(13),this._appEl_13);this._Item_13_4=new P.a(this.parentInjector.get(X.a),this.parentInjector.get(q.c),new V.a(this._el_13),this.renderer),this._ItemContent_13_5=new P.b,this._query_Label_13_0=new S.a,this._query_Button_13_1=new S.a,this._query_Icon_13_2=new S.a,this._appEl_13.initComponent(this._Item_13_4,[],c),this._text_14=this.renderer.createText(null,"\n ",null),this._el_15=this.renderer.createElement(null,"ion-label",null),this.renderer.setElementAttribute(this._el_15,"fixed",""),this._Label_15_3=new R.a(this.parentInjector.get(q.c),new V.a(this._el_15),this.renderer,null,null,"",null),this._text_16=this.renderer.createText(this._el_15,"Current Firmware Version",null),this._text_17=this.renderer.createText(null,"\n ",null),this._el_18=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_18,"class","general-content"),this.renderer.setElementAttribute(this._el_18,"item-right",""),this._text_19=this.renderer.createText(this._el_18,"",null),this._text_20=this.renderer.createText(null,"\n ",null),this._query_Label_13_0.reset([this._Label_15_3]),this._Item_13_4.contentLabel=this._query_Label_13_0.first,c.create(this._Item_13_4,[[],[].concat([this._el_15]),[].concat([this._text_14,this._text_17,this._text_20]),[],[].concat([this._el_18])],null),this._text_21=this.renderer.createText(this._el_11,"\n ",null),this._el_22=this.renderer.createElement(this._el_11,"ion-item",null),this.renderer.setElementAttribute(this._el_22,"class","firmware-item item item-block"),this._appEl_22=new u.a(22,11,this,this._el_22);var p=$.a(this.viewUtils,this.injector(22),this._appEl_22);this._Item_22_4=new P.a(this.parentInjector.get(X.a),this.parentInjector.get(q.c),new V.a(this._el_22),this.renderer),this._ItemContent_22_5=new P.b,this._query_Label_22_0=new S.a,this._query_Button_22_1=new S.a,this._query_Icon_22_2=new S.a,this._appEl_22.initComponent(this._Item_22_4,[],p),this._text_23=this.renderer.createText(null,"\n ",null),this._el_24=this.renderer.createElement(null,"ion-label",null),this.renderer.setElementAttribute(this._el_24,"fixed",""),this._Label_24_3=new R.a(this.parentInjector.get(q.c),new V.a(this._el_24),this.renderer,null,null,"",null),this._text_25=this.renderer.createText(this._el_24,"Latest Firmware Version",null),this._text_26=this.renderer.createText(null,"\n ",null),this._el_27=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_27,"class","general-content"),this.renderer.setElementAttribute(this._el_27,"item-right",""),this._text_28=this.renderer.createText(this._el_27,"",null),this._text_29=this.renderer.createText(null,"\n ",null),this._query_Label_22_0.reset([this._Label_24_3]),this._Item_22_4.contentLabel=this._query_Label_22_0.first,p.create(this._Item_22_4,[[],[].concat([this._el_24]),[].concat([this._text_23,this._text_26,this._text_29]),[],[].concat([this._el_27])],null),this._text_30=this.renderer.createText(this._el_11,"\n ",null),this._el_31=this.renderer.createElement(this._el_11,"ion-item",null),this.renderer.setElementAttribute(this._el_31,"class","configure-item item item-block"),this._appEl_31=new u.a(31,11,this,this._el_31);var d=$.a(this.viewUtils,this.injector(31),this._appEl_31);this._Item_31_4=new P.a(this.parentInjector.get(X.a),this.parentInjector.get(q.c),new V.a(this._el_31),this.renderer),this._ItemContent_31_5=new P.b,this._query_Label_31_0=new S.a,this._query_Button_31_1=new S.a,this._query_Icon_31_2=new S.a,this._appEl_31.initComponent(this._Item_31_4,[],d),this._text_32=this.renderer.createText(null,"\n ",null),this._el_33=this.renderer.createElement(null,"ion-label",null),this._Label_33_3=new R.a(this.parentInjector.get(q.c),new V.a(this._el_33),this.renderer,null,null,null,null),this._text_34=this.renderer.createText(this._el_33,"Available Firmware Versions",null),this._text_35=this.renderer.createText(null,"\n ",null),this._el_36=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_36,"class","item-content-right dropdown-popover-item-right"),this.renderer.setElementAttribute(this._el_36,"item-right",""),this._text_37=this.renderer.createText(this._el_36,"\n ",null),this._el_38=this.renderer.createElement(this._el_36,"dropdown-popover",null),this._appEl_38=new u.a(38,36,this,this._el_38);var f=J.b(this.viewUtils,this.injector(38),this._appEl_38);this._DropdownPopoverComponent_38_4=new D.a(this.parentInjector.get(Q.a),new V.a(this._el_38),this.parentInjector.get(Z.f)),this._appEl_38.initComponent(this._DropdownPopoverComponent_38_4,[],f),f.create(this._DropdownPopoverComponent_38_4,[],null),this._text_39=this.renderer.createText(this._el_36,"\n ",null),this._text_40=this.renderer.createText(null,"\n ",null),this._query_Label_31_0.reset([this._Label_33_3]),this._Item_31_4.contentLabel=this._query_Label_31_0.first,d.create(this._Item_31_4,[[],[].concat([this._el_33]),[].concat([this._text_32,this._text_35,this._text_40]),[],[].concat([this._el_36])],null),this._text_41=this.renderer.createText(this._el_11,"\n ",null),this._anchor_42=this.renderer.createTemplateAnchor(this._el_11,null),this._appEl_42=new u.a(42,11,this,this._anchor_42),this._TemplateRef_42_5=new K.a(this._appEl_42,s),this._NgIf_42_6=new j.a(this._appEl_42.vcRef,this._TemplateRef_42_5),this._text_43=this.renderer.createText(this._el_11,"\n ",null),this._el_44=this.renderer.createElement(this._el_11,"ion-item",null),this.renderer.setElementAttribute(this._el_44,"class","firmware-item item item-block"),this._appEl_44=new u.a(44,11,this,this._el_44);var g=$.a(this.viewUtils,this.injector(44),this._appEl_44);this._Item_44_4=new P.a(this.parentInjector.get(X.a),this.parentInjector.get(q.c),new V.a(this._el_44),this.renderer),this._ItemContent_44_5=new P.b,this._query_Label_44_0=new S.a,this._query_Button_44_1=new S.a,this._query_Icon_44_2=new S.a,this._appEl_44.initComponent(this._Item_44_4,[],g),this._text_45=this.renderer.createText(null,"\n ",null),this._el_46=this.renderer.createElement(null,"ion-label",null),this.renderer.setElementAttribute(this._el_46,"fixed",""),this._Label_46_3=new R.a(this.parentInjector.get(q.c),new V.a(this._el_46),this.renderer,null,null,"",null),this._text_47=this.renderer.createText(this._el_46,"Status",null),this._text_48=this.renderer.createText(null,"\n ",null),this._el_49=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_49,"class","general-content"),this.renderer.setElementAttribute(this._el_49,"item-right",""),this._text_50=this.renderer.createText(this._el_49,"",null),this._text_51=this.renderer.createText(null,"\n ",null),this._query_Label_44_0.reset([this._Label_46_3]),this._Item_44_4.contentLabel=this._query_Label_44_0.first,g.create(this._Item_44_4,[[],[].concat([this._el_46]),[].concat([this._text_45,this._text_48,this._text_51]),[],[].concat([this._el_49])],null),this._text_52=this.renderer.createText(this._el_11,"\n\n ",null),this._anchor_53=this.renderer.createTemplateAnchor(this._el_11,null),this._appEl_53=new u.a(53,11,this,this._anchor_53),this._TemplateRef_53_5=new K.a(this._appEl_53,o),this._NgIf_53_6=new j.a(this._appEl_53.vcRef,this._TemplateRef_53_5),this._text_54=this.renderer.createText(this._el_11,"\n\n ",null),this._anchor_55=this.renderer.createTemplateAnchor(this._el_11,null),this._appEl_55=new u.a(55,11,this,this._anchor_55),this._TemplateRef_55_5=new K.a(this._appEl_55,a),this._NgIf_55_6=new j.a(this._appEl_55.vcRef,this._TemplateRef_55_5),this._text_56=this.renderer.createText(this._el_11,"\n ",null),this._text_57=this.renderer.createText(this._el_6,"\n \n ",null),this._el_58=this.renderer.createElement(this._el_6,"input",null),this.renderer.setElementAttribute(this._el_58,"class","hidden-file-input"),this.renderer.setElementAttribute(this._el_58,"id","updateFileSelect"),this.renderer.setElementAttribute(this._el_58,"name","firmwareFileSelect"),this.renderer.setElementAttribute(this._el_58,"type","file"),this._text_59=this.renderer.createText(this._el_6,"\n\n ",null),this._el_60=this.renderer.createElement(this._el_6,"div",null),this.renderer.setElementAttribute(this._el_60,"class","navigation-button-container"),this._text_61=this.renderer.createText(this._el_60,"\n ",null),this._el_62=this.renderer.createElement(this._el_60,"ion-row",null),this._Row_62_3=new M.c,this._text_63=this.renderer.createText(this._el_62,"\n ",null),this._el_64=this.renderer.createElement(this._el_62,"ion-col",null),this.renderer.setElementAttribute(this._el_64,"text-left",""),this._Col_64_3=new M.a,this._text_65=this.renderer.createText(this._el_64,"\n ",null),this._el_66=this.renderer.createElement(this._el_64,"button",null),this.renderer.setElementAttribute(this._el_66,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_66,"icon-left",""),this.renderer.setElementAttribute(this._el_66,"ion-button",""),this._appEl_66=new u.a(66,64,this,this._el_66);var v=tt.a(this.viewUtils,this.injector(66),this._appEl_66);this._Button_66_4=new L.a(null,"",this.parentInjector.get(q.c),new V.a(this._el_66),this.renderer),this._appEl_66.initComponent(this._Button_66_4,[],v),this._text_67=this.renderer.createText(null,"\n ",null),this._el_68=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_68,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_68,"src","assets/img/close.svg"),this._text_69=this.renderer.createText(null,"\n Close\n ",null),v.create(this._Button_66_4,[[].concat([this._text_67,this._el_68,this._text_69])],null),this._text_70=this.renderer.createText(this._el_64,"\n ",null),this._text_71=this.renderer.createText(this._el_62,"\n ",null),this._anchor_72=this.renderer.createTemplateAnchor(this._el_62,null),this._appEl_72=new u.a(72,62,this,this._anchor_72),this._TemplateRef_72_5=new K.a(this._appEl_72,_),this._NgIf_72_6=new j.a(this._appEl_72.vcRef,this._TemplateRef_72_5),this._text_73=this.renderer.createText(this._el_62,"\n ",null),this._text_74=this.renderer.createText(this._el_60,"\n ",null),this._text_75=this.renderer.createText(this._el_6,"\n ",null),this._text_76=this.renderer.createText(null,"\n ",null),r.create(this._Slide_4_4,[[].concat([this._text_5,this._el_6,this._text_76])],null),this._text_77=this.renderer.createText(null,"\n\n ",null),this._el_78=this.renderer.createElement(null,"ion-slide",null),this.renderer.setElementAttribute(this._el_78,"class","slide-container"),this._appEl_78=new u.a(78,2,this,this._el_78);var x=W.b(this.viewUtils,this.injector(78),this._appEl_78);this._Slide_78_4=new k.a(new V.a(this._el_78),this._Slides_2_4),this._appEl_78.initComponent(this._Slide_78_4,[],x),this._text_79=this.renderer.createText(null,"\n ",null),this._el_80=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_80,"class","content-container"),this._text_81=this.renderer.createText(this._el_80,"\n ",null),this._el_82=this.renderer.createElement(this._el_80,"div",null),this.renderer.setElementAttribute(this._el_82,"class","slide-header"),this._text_83=this.renderer.createText(this._el_82,"Updating Firmware",null),this._text_84=this.renderer.createText(this._el_80,"\n ",null),this._el_85=this.renderer.createElement(this._el_80,"digilent-progress-bar",null),this._appEl_85=new u.a(85,80,this,this._el_85);var b=et.b(this.viewUtils,this.injector(85),this._appEl_85);this._ProgressBarComponent_85_4=new B.a,this._appEl_85.initComponent(this._ProgressBarComponent_85_4,[],b),b.create(this._ProgressBarComponent_85_4,[],null),this._text_86=this.renderer.createText(this._el_80,"\n\n ",null),this._el_87=this.renderer.createElement(this._el_80,"ion-item",null),this.renderer.setElementAttribute(this._el_87,"class","firmware-item item item-block"),this._appEl_87=new u.a(87,80,this,this._el_87);var w=$.a(this.viewUtils,this.injector(87),this._appEl_87);this._Item_87_4=new P.a(this.parentInjector.get(X.a),this.parentInjector.get(q.c),new V.a(this._el_87),this.renderer),this._ItemContent_87_5=new P.b,this._query_Label_87_0=new S.a,this._query_Button_87_1=new S.a,this._query_Icon_87_2=new S.a,this._appEl_87.initComponent(this._Item_87_4,[],w),this._text_88=this.renderer.createText(null,"\n ",null),this._el_89=this.renderer.createElement(null,"ion-label",null),this.renderer.setElementAttribute(this._el_89,"fixed",""),this._Label_89_3=new R.a(this.parentInjector.get(q.c),new V.a(this._el_89),this.renderer,null,null,"",null),this._text_90=this.renderer.createText(this._el_89,"Status",null),this._text_91=this.renderer.createText(null,"\n ",null),this._el_92=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_92,"class","general-content"),this.renderer.setElementAttribute(this._el_92,"item-right",""),this._text_93=this.renderer.createText(this._el_92,"",null),this._text_94=this.renderer.createText(null,"\n ",null),this._query_Label_87_0.reset([this._Label_89_3]),this._Item_87_4.contentLabel=this._query_Label_87_0.first,w.create(this._Item_87_4,[[],[].concat([this._el_89]),[].concat([this._text_88,this._text_91,this._text_94]),[],[].concat([this._el_92])],null),this._text_95=this.renderer.createText(this._el_80,"\n \n ",null),this._el_96=this.renderer.createElement(this._el_80,"div",null),this.renderer.setElementAttribute(this._el_96,"class","navigation-button-container"),this._text_97=this.renderer.createText(this._el_96,"\n ",null),this._el_98=this.renderer.createElement(this._el_96,"ion-row",null),this._Row_98_3=new M.c,this._text_99=this.renderer.createText(this._el_98,"\n ",null),this._el_100=this.renderer.createElement(this._el_98,"ion-col",null),this.renderer.setElementAttribute(this._el_100,"text-right",""),this._Col_100_3=new M.a,this._text_101=this.renderer.createText(this._el_100,"\n ",null),this._anchor_102=this.renderer.createTemplateAnchor(this._el_100,null),this._appEl_102=new u.a(102,100,this,this._anchor_102),this._TemplateRef_102_5=new K.a(this._appEl_102,l),this._NgIf_102_6=new j.a(this._appEl_102.vcRef,this._TemplateRef_102_5),this._text_103=this.renderer.createText(this._el_100,"\n ",null),this._anchor_104=this.renderer.createTemplateAnchor(this._el_100,null),this._appEl_104=new u.a(104,100,this,this._anchor_104),this._TemplateRef_104_5=new K.a(this._appEl_104,h),this._NgIf_104_6=new j.a(this._appEl_104.vcRef,this._TemplateRef_104_5),this._text_105=this.renderer.createText(this._el_100,"\n ",null),this._text_106=this.renderer.createText(this._el_98,"\n ",null),this._text_107=this.renderer.createText(this._el_96,"\n ",null),this._text_108=this.renderer.createText(this._el_80,"\n ",null),this._text_109=this.renderer.createText(null,"\n ",null),x.create(this._Slide_78_4,[[].concat([this._text_79,this._el_80,this._text_109])],null),this._text_110=this.renderer.createText(null,"\n\n ",null),i.create(this._Slides_2_4,[[].concat([this._text_3,this._el_4,this._text_77,this._el_78,this._text_110])],null),this._text_111=this.renderer.createText(null,"\n\n",null),n.create(this._Content_0_4,[[],[].concat([this._text_1,this._el_2,this._text_111]),[]],null),this._expr_0=m.n,this._expr_1=m.n,this._expr_2=m.n;var C=this.renderer.listen(this._el_38,"onSelection",this.eventHandler(this._handle_onSelection_38_0.bind(this)));this._expr_4=m.n,this._expr_5=m.n;var E=this._DropdownPopoverComponent_38_4.onSelection.subscribe(this.eventHandler(this._handle_onSelection_38_0.bind(this)));this._expr_6=m.n,this._expr_7=m.n,this._expr_8=m.n,this._expr_9=m.n;var T=this.renderer.listen(this._el_58,"change",this.eventHandler(this._handle_change_58_0.bind(this))),A=this.renderer.listen(this._el_66,"click",this.eventHandler(this._handle_click_66_0.bind(this)));this._expr_12=m.n;var I=this.renderer.listen(this._el_85,"progressBarDone",this.eventHandler(this._handle_progressBarDone_85_0.bind(this))),nt=this._ProgressBarComponent_85_4.progressBarDone.subscribe(this.eventHandler(this._handle_progressBarDone_85_0.bind(this)));return this._expr_14=m.n,this._expr_15=m.n,this._expr_16=m.n,this._viewQuery_updateFirmwareSlider_0.reset([this._Slides_2_4]),this.context.slider=this._viewQuery_updateFirmwareSlider_0.first,this._viewQuery_digilentProgressBar_1.reset([this._ProgressBarComponent_85_4]),this.context.progressBarComponent=this._viewQuery_digilentProgressBar_1.first,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9,this._text_10,this._el_11,this._text_12,this._el_13,this._text_14,this._el_15,this._text_16,this._text_17,this._el_18,this._text_19,this._text_20,this._text_21,this._el_22,this._text_23,this._el_24,this._text_25,this._text_26,this._el_27,this._text_28,this._text_29,this._text_30,this._el_31,this._text_32,this._el_33,this._text_34,this._text_35,this._el_36,this._text_37,this._el_38,this._text_39,this._text_40,this._text_41,this._anchor_42,this._text_43,this._el_44,this._text_45,this._el_46,this._text_47,this._text_48,this._el_49,this._text_50,this._text_51,this._text_52,this._anchor_53,this._text_54,this._anchor_55,this._text_56,this._text_57,this._el_58,this._text_59,this._el_60,this._text_61,this._el_62,this._text_63,this._el_64,this._text_65,this._el_66,this._text_67,this._el_68,this._text_69,this._text_70,this._text_71,this._anchor_72,this._text_73,this._text_74,this._text_75,this._text_76,this._text_77,this._el_78,this._text_79,this._el_80,this._text_81,this._el_82,this._text_83,this._text_84,this._el_85,this._text_86,this._el_87,this._text_88,this._el_89,this._text_90,this._text_91,this._el_92,this._text_93,this._text_94,this._text_95,this._el_96,this._text_97,this._el_98,this._text_99,this._el_100,this._text_101,this._anchor_102,this._text_103,this._anchor_104,this._text_105,this._text_106,this._text_107,this._text_108,this._text_109,this._text_110,this._text_111],[C,T,A,I],[E,nt]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===R.a&&15<=e&&e<=16?this._Label_15_3:t===P.a&&13<=e&&e<=20?this._Item_13_4:t===P.b&&13<=e&&e<=20?this._ItemContent_13_5:t===R.a&&24<=e&&e<=25?this._Label_24_3:t===P.a&&22<=e&&e<=29?this._Item_22_4:t===P.b&&22<=e&&e<=29?this._ItemContent_22_5:t===R.a&&33<=e&&e<=34?this._Label_33_3:t===D.a&&38===e?this._DropdownPopoverComponent_38_4:t===P.a&&31<=e&&e<=40?this._Item_31_4:t===P.b&&31<=e&&e<=40?this._ItemContent_31_5:t===K.b&&42===e?this._TemplateRef_42_5:t===j.a&&42===e?this._NgIf_42_6:t===R.a&&46<=e&&e<=47?this._Label_46_3:t===P.a&&44<=e&&e<=51?this._Item_44_4:t===P.b&&44<=e&&e<=51?this._ItemContent_44_5:t===K.b&&53===e?this._TemplateRef_53_5:t===j.a&&53===e?this._NgIf_53_6:t===K.b&&55===e?this._TemplateRef_55_5:t===j.a&&55===e?this._NgIf_55_6:t===N.a&&11<=e&&e<=56?this._List_11_3:t===L.a&&66<=e&&e<=69?this._Button_66_4:t===M.a&&64<=e&&e<=70?this._Col_64_3:t===K.b&&72===e?this._TemplateRef_72_5:t===j.a&&72===e?this._NgIf_72_6:t===M.c&&62<=e&&e<=73?this._Row_62_3:t===k.a&&4<=e&&e<=76?this._Slide_4_4:t===B.a&&85===e?this._ProgressBarComponent_85_4:t===R.a&&89<=e&&e<=90?this._Label_89_3:t===P.a&&87<=e&&e<=94?this._Item_87_4:t===P.b&&87<=e&&e<=94?this._ItemContent_87_5:t===K.b&&102===e?this._TemplateRef_102_5:t===j.a&&102===e?this._NgIf_102_6:t===K.b&&104===e?this._TemplateRef_104_5:t===j.a&&104===e?this._NgIf_104_6:t===M.a&&100<=e&&e<=105?this._Col_100_3:t===M.c&&98<=e&&e<=106?this._Row_98_3:t===k.a&&78<=e&&e<=109?this._Slide_78_4:t===k.b&&2<=e&&e<=110?this._Slides_2_4:t===O.a&&0<=e&&e<=111?this._Content_0_4:n},e.prototype.detectChangesInternal=function(t){var e=null;0!==this.numberOfChecks||t||this._Content_0_4.ngOnInit(),0!==this.numberOfChecks||t||this._Slides_2_4.ngOnInit(),e=null;var n=this.context.availableFirmwareVersions;d.c(t,this._expr_4,n)&&(this._DropdownPopoverComponent_38_4.dataArray=n,null===e&&(e={}),e.dataArray=new m.m(this._expr_4,n),this._expr_4=n);var i=!0;d.c(t,this._expr_5,i)&&(this._DropdownPopoverComponent_38_4.forcePopover=i,null===e&&(e={}),e.forcePopover=new m.m(this._expr_5,i),this._expr_5=i),null!==e&&this._DropdownPopoverComponent_38_4.ngOnChanges(e);var r=this.context.hexFileStaged;d.c(t,this._expr_6,r)&&(this._NgIf_42_6.ngIf=r,this._expr_6=r);var s=this.context.errorDevice;d.c(t,this._expr_8,s)&&(this._NgIf_53_6.ngIf=s,this._expr_8=s);var o="Other"===this.context.selectedFirmwareVersion;d.c(t,this._expr_9,o)&&(this._NgIf_55_6.ngIf=o,this._expr_9=o);var a=!this.context.firmwareUpToDate;d.c(t,this._expr_12,a)&&(this._NgIf_72_6.ngIf=a,this._expr_12=a);var _=this.context.updateComplete&&!this.context.errorUpdatingFirmware;d.c(t,this._expr_15,_)&&(this._NgIf_102_6.ngIf=_,this._expr_15=_);var l=this.context.errorUpdatingFirmware;d.c(t,this._expr_16,l)&&(this._NgIf_104_6.ngIf=l,this._expr_16=l),this.detectContentChildrenChanges(t),t||(this._query_Button_13_1.dirty&&(this._query_Button_13_1.reset([]),this._Item_13_4._buttons=this._query_Button_13_1,this._query_Button_13_1.notifyOnChanges()),this._query_Icon_13_2.dirty&&(this._query_Icon_13_2.reset([]),this._Item_13_4._icons=this._query_Icon_13_2,this._query_Icon_13_2.notifyOnChanges()),this._query_Button_22_1.dirty&&(this._query_Button_22_1.reset([]),this._Item_22_4._buttons=this._query_Button_22_1,this._query_Button_22_1.notifyOnChanges()),this._query_Icon_22_2.dirty&&(this._query_Icon_22_2.reset([]),this._Item_22_4._icons=this._query_Icon_22_2,this._query_Icon_22_2.notifyOnChanges()),this._query_Button_31_1.dirty&&(this._query_Button_31_1.reset([]),this._Item_31_4._buttons=this._query_Button_31_1,this._query_Button_31_1.notifyOnChanges()),this._query_Icon_31_2.dirty&&(this._query_Icon_31_2.reset([]),this._Item_31_4._icons=this._query_Icon_31_2,this._query_Icon_31_2.notifyOnChanges()),this._query_Button_44_1.dirty&&(this._query_Button_44_1.reset([]),this._Item_44_4._buttons=this._query_Button_44_1,this._query_Button_44_1.notifyOnChanges()),this._query_Icon_44_2.dirty&&(this._query_Icon_44_2.reset([]),this._Item_44_4._icons=this._query_Icon_44_2,this._query_Icon_44_2.notifyOnChanges()),this._query_Button_87_1.dirty&&(this._query_Button_87_1.reset([]),this._Item_87_4._buttons=this._query_Button_87_1,this._query_Button_87_1.notifyOnChanges()),this._query_Icon_87_2.dirty&&(this._query_Icon_87_2.reset([]),this._Item_87_4._icons=this._query_Icon_87_2,this._query_Icon_87_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_13_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_22_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_31_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_44_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_66_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_87_4.ngAfterContentInit());var h=this._Content_0_4._sbPadding;d.c(t,this._expr_0,h)&&(this.renderer.setElementClass(this._el_0,"statusbar-padding",h),this._expr_0=h);var c=d.e(1,"",this.context.deviceFirmwareVersion,"");d.c(t,this._expr_1,c)&&(this.renderer.setText(this._text_19,c),this._expr_1=c);var u=d.e(1,"",this.context.latestFirmwareVersion,"");d.c(t,this._expr_2,u)&&(this.renderer.setText(this._text_28,u),this._expr_2=u);var p=d.e(1,"",this.context.updateStatus,"");d.c(t,this._expr_7,p)&&(this.renderer.setText(this._text_50,p),this._expr_7=p);var f=d.e(1,"",this.context.updateStatus,"");d.c(t,this._expr_14,f)&&(this.renderer.setText(this._text_93,f),this._expr_14=f),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._DropdownPopoverComponent_38_4.ngAfterViewInit()},e.prototype.destroyInternal=function(){this._Slide_4_4.ngOnDestroy(),this._Slide_78_4.ngOnDestroy(),this._Content_0_4.ngOnDestroy()},e.prototype._handle_onSelection_38_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.availableFirmwareVersionsChange(t)!==!1;return e},e.prototype._handle_change_58_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.fileChange(t)!==!1;return e},e.prototype._handle_click_66_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.closeModal()!==!1;return e},e.prototype._handle_progressBarDone_85_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.doneUpdating()!==!1;return e},e}(c.a),lt=function(t){function e(n,i,r){t.call(this,e,at,f.a.EMBEDDED,n,i,r,m.b.CheckAlways)}return nt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","configure-item item item-block"),this._appEl_0=new u.a(0,null,this,this._el_0);var e=$.a(this.viewUtils,this.injector(0),this._appEl_0);this._Item_0_4=new P.a(this.parent.parentInjector.get(X.a),this.parent.parentInjector.get(q.c),new V.a(this._el_0),this.renderer),this._ItemContent_0_5=new P.b,this._query_Label_0_0=new S.a,this._query_Button_0_1=new S.a,this._query_Icon_0_2=new S.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"ion-label",null),this._Label_2_3=new R.a(this.parent.parentInjector.get(q.c),new V.a(this._el_2),this.renderer,null,null,null,null),this._text_3=this.renderer.createText(this._el_2,"Upload Firmware",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_5,"class","item-content-right"), this.renderer.setElementAttribute(this._el_5,"item-right",""),this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._el_7=this.renderer.createElement(this._el_5,"button",null),this.renderer.setElementAttribute(this._el_7,"class","text-button-side disable-hover item-button"),this.renderer.setElementAttribute(this._el_7,"ion-button",""),this._appEl_7=new u.a(7,5,this,this._el_7);var n=tt.a(this.viewUtils,this.injector(7),this._appEl_7);this._Button_7_4=new L.a(null,"",this.parent.parentInjector.get(q.c),new V.a(this._el_7),this.renderer),this._appEl_7.initComponent(this._Button_7_4,[],n),this._text_8=this.renderer.createText(null,"Browse",null),n.create(this._Button_7_4,[[].concat([this._text_8])],null),this._text_9=this.renderer.createText(this._el_5,"\n ",null),this._text_10=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([this._Label_2_3]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[].concat([this._el_2]),[].concat([this._text_1,this._text_4,this._text_10]),[],[].concat([this._el_5])],null);var i=this.renderer.listen(this._el_7,"click",this.eventHandler(this._handle_click_7_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._text_9,this._text_10],[i],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===R.a&&2<=e&&e<=3?this._Label_2_3:t===L.a&&7<=e&&e<=8?this._Button_7_4:t===P.a&&0<=e&&e<=10?this._Item_0_4:t===P.b&&0<=e&&e<=10?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([this._Button_7_4]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Button_7_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit()),this.detectViewChildrenChanges(t)},e.prototype._handle_click_7_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.openFileInput()!==!1;return e},e}(c.a),ht=function(t){function e(n,i,r){t.call(this,e,at,f.a.EMBEDDED,n,i,r,m.b.CheckAlways)}return nt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","firmware-item item item-block"),this._appEl_0=new u.a(0,null,this,this._el_0);var e=$.a(this.viewUtils,this.injector(0),this._appEl_0);this._Item_0_4=new P.a(this.parent.parentInjector.get(X.a),this.parent.parentInjector.get(q.c),new V.a(this._el_0),this.renderer),this._ItemContent_0_5=new P.b,this._query_Label_0_0=new S.a,this._query_Button_0_1=new S.a,this._query_Icon_0_2=new S.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_2,"item-center",""),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"p",null),this._text_5=this.renderer.createText(this._el_4,"",null),this._text_6=this.renderer.createText(this._el_2,"\n \n ",null),this._el_7=this.renderer.createElement(this._el_2,"button",null),this.renderer.setElementAttribute(this._el_7,"class","text-button-side disable-hover item-button"),this.renderer.setElementAttribute(this._el_7,"ion-button",""),this.renderer.setElementAttribute(this._el_7,"item-right",""),this._appEl_7=new u.a(7,2,this,this._el_7);var n=tt.a(this.viewUtils,this.injector(7),this._appEl_7);this._Button_7_4=new L.a(null,"",this.parent.parentInjector.get(q.c),new V.a(this._el_7),this.renderer),this._appEl_7.initComponent(this._Button_7_4,[],n),this._text_8=this.renderer.createText(null,"Yes",null),n.create(this._Button_7_4,[[].concat([this._text_8])],null),this._text_9=this.renderer.createText(this._el_2,"\n ",null),this._text_10=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[],[].concat([this._text_1,this._el_2,this._text_10]),[],[]],null),this._expr_0=m.n;var i=this.renderer.listen(this._el_7,"click",this.eventHandler(this._handle_click_7_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._text_9,this._text_10],[i],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===L.a&&7<=e&&e<=8?this._Button_7_4:t===P.a&&0<=e&&e<=10?this._Item_0_4:t===P.b&&0<=e&&e<=10?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([this._Button_7_4]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Button_7_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit());var e=d.e(1,"Expected ",this.parent.context.deviceObject.deviceDescriptor.deviceModel," but found instead. Is this right?");d.c(t,this._expr_0,e)&&(this.renderer.setText(this._text_5,e),this._expr_0=e),this.detectViewChildrenChanges(t)},e.prototype._handle_click_7_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.confirmNewDevice()!==!1;return e},e}(c.a),ct=function(t){function e(n,i,r){t.call(this,e,at,f.a.EMBEDDED,n,i,r,m.b.CheckAlways)}return nt(e,t),e.prototype.createInternal=function(t){return this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","caution-message"),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"p",null),this._text_3=this.renderer.createText(this._el_2,"",null),this._text_4=this.renderer.createText(this._el_0,"\n ",null),this._expr_0=m.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[],[]),null},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t);var e=d.e(1,"\n ",this.parent.context.cautionMessage(),"\n ");d.c(t,this._expr_0,e)&&(this.renderer.setText(this._text_3,e),this._expr_0=e),this.detectViewChildrenChanges(t)},e}(c.a),ut=function(t){function e(n,i,r){t.call(this,e,at,f.a.EMBEDDED,n,i,r,m.b.CheckAlways)}return nt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-col",null),this.renderer.setElementAttribute(this._el_0,"text-right",""),this._Col_0_3=new M.a,this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"button",null),this.renderer.setElementAttribute(this._el_2,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_2,"icon-right",""),this.renderer.setElementAttribute(this._el_2,"ion-button",""),this._appEl_2=new u.a(2,0,this,this._el_2);var e=tt.a(this.viewUtils,this.injector(2),this._appEl_2);this._Button_2_4=new L.a(null,"",this.parent.parentInjector.get(q.c),new V.a(this._el_2),this.renderer),this._appEl_2.initComponent(this._Button_2_4,[],e),this._text_3=this.renderer.createText(null,"\n Update\n ",null),this._el_4=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_4,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_4,"src","assets/img/arrow-forward.svg"),this._text_5=this.renderer.createText(null,"\n ",null),e.create(this._Button_2_4,[[].concat([this._text_3,this._el_4,this._text_5])],null),this._text_6=this.renderer.createText(this._el_0,"\n ",null);var n=this.renderer.listen(this._el_2,"click",this.eventHandler(this._handle_click_2_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===L.a&&2<=e&&e<=5?this._Button_2_4:t===M.a&&0<=e&&e<=6?this._Col_0_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_2_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_click_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.toProgressBar()!==!1;return e},e}(c.a),pt=function(t){function e(n,i,r){t.call(this,e,at,f.a.EMBEDDED,n,i,r,m.b.CheckAlways)}return nt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_0,"icon-right",""),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new u.a(0,null,this,this._el_0);var e=tt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new L.a(null,"",this.parent.parentInjector.get(q.c),new V.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"\n Done\n ",null),this._el_2=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_2,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_2,"src","assets/img/check.svg"),this._text_3=this.renderer.createText(null,"\n ",null),e.create(this._Button_0_4,[[].concat([this._text_1,this._el_2,this._text_3])],null);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===L.a&&0<=e&&e<=3?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.closeModal()!==!1;return e},e}(c.a),dt=function(t){function e(n,i,r){t.call(this,e,at,f.a.EMBEDDED,n,i,r,m.b.CheckAlways)}return nt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_0,"icon-right",""),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new u.a(0,null,this,this._el_0);var e=tt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new L.a(null,"",this.parent.parentInjector.get(q.c),new V.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_2,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_2,"src","assets/img/remove.svg"),this._text_3=this.renderer.createText(null,"\n ",null),e.create(this._Button_0_4,[[].concat([this._text_1,this._el_2,this._text_3])],null);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===L.a&&0<=e&&e<=3?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.closeModal()!==!1;return e},e}(c.a)},function(t,e,n){"use strict";function i(t,e,n){return null===Bt&&(Bt=t.createRenderComponentType("",0,U.c.None,[],{})),new Ft(t,e,n)}function r(t,e,n,i){t.cancelActiveAnimation(e,"expand","void"==i);var r={},s=null,o=0,a=Ht["*"],_=Ht[n];null==_&&(_=a);var l=Ht[i];null==l&&(l=a),G.e(e,t.renderer,G.d(_)),null==s&&"void"==n&&(s=new W.a([t.renderer.animate(e,new Y.a(G.f(r,[_])),[new $.a(0,new Y.a(G.f(r,[{}]))),new $.a(1,new Y.a(G.f(r,[{}])))],0,0,null)]),o=0),null==s&&(s=new W.a([t.renderer.animate(e,new Y.a(G.f(r,[_])),G.b(r,l,[new $.a(0,new Y.a(G.f(r,[{}]))),new $.a(1,new Y.a(G.f(r,[{}])))]),250,0,"ease-in-out")]),o=250),null==s&&(s=new X.a),s.onDone(function(){G.e(e,t.renderer,G.a(_,l))}),t.queueAnimation(e,"expand",s,o,n,i)}function s(t,e,n,i){t.cancelActiveAnimation(e,"rotate","void"==i);var r={},s=null,o=0,a=Ut["*"],_=Ut[n];null==_&&(_=a);var l=Ut[i];null==l&&(l=a),G.e(e,t.renderer,G.d(_)),null==s&&"void"==n&&(s=new W.a([t.renderer.animate(e,new Y.a(G.f(r,[_])),[new $.a(0,new Y.a(G.f(r,[{}]))),new $.a(1,new Y.a(G.f(r,[{}])))],0,0,null)]),o=0),null==s&&(s=new W.a([t.renderer.animate(e,new Y.a(G.f(r,[_])),G.b(r,l,[new $.a(0,new Y.a(G.f(r,[{}]))),new $.a(1,new Y.a(G.f(r,[{}])))]),250,0,"ease-in-out")]),o=250),null==s&&(s=new X.a),s.onDone(function(){G.e(e,t.renderer,G.a(_,l))}),t.queueAnimation(e,"rotate",s,o,n,i)}function o(t,e,n){return null===zt&&(zt=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/pages/wifi-setup/openlogger/wifi-setup.html",0,U.c.None,Vt,{expand:r,rotate:s})),new Gt(t,e,n)}function a(t,e,n){return new Wt(t,e,n)}function _(t,e,n){return new Yt(t,e,n)}function l(t,e,n){return new $t(t,e,n)}function h(t,e,n){return new Xt(t,e,n)}function c(t,e,n){return new Jt(t,e,n)}function u(t,e,n){return new Qt(t,e,n)}function p(t,e,n){return new Zt(t,e,n)}function d(t,e,n){return new Kt(t,e,n)}function f(t,e,n){return new te(t,e,n)}function m(t,e,n){return new ee(t,e,n)}function g(t,e,n){return new ne(t,e,n)}function v(t,e,n){return new ie(t,e,n)}function x(t,e,n){return new re(t,e,n)}function y(t,e,n){return new se(t,e,n)}function b(t,e,n){return new oe(t,e,n)}function w(t,e,n){return new ae(t,e,n)}function C(t,e,n){return new _e(t,e,n)}function E(t,e,n){return new le(t,e,n)}function T(t,e,n){return new he(t,e,n)}function A(t,e,n){return new ce(t,e,n)}function I(t,e,n){return new ue(t,e,n)}var S=n(10),O=n(6),k=n(381),N=n(11),P=n(5),R=n(4),D=n(59),j=n(31),M=n(43),L=n(27),B=n(13),F=n(120),q=n(47),V=n(71),H=n(28),U=n(8),z=n(7),G=n(164),W=n(163),Y=n(165),$=n(162),X=n(136),J=n(34),Q=n(46),Z=n(139),K=n(35),tt=n(33),et=n(55),nt=n(20),it=n(44),rt=n(111),st=n(65),ot=n(81),at=n(2),_t=n(14),lt=n(22),ht=n(49),ct=n(56),ut=n(67),pt=n(186),dt=n(21),ft=n(37),mt=n(25),gt=n(118),vt=n(39),xt=n(98),yt=n(23),bt=n(70),wt=n(51),Ct=n(194),Et=n(355),Tt=n(226),At=n(112),It=n(151),St=n(62),Ot=n(61),kt=n(48),Nt=n(221),Pt=n(41),Rt=n(53),Dt=n(60),jt=n(58),Mt=n(52);n.d(e,"a",function(){return qt});var Lt=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Bt=null,Ft=function(t){function e(n,i,r){t.call(this,e,Bt,P.a.HOST,n,i,r,R.b.CheckAlways)}return Lt(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ng-component",t,null),this._appEl_0=new O.a(0,null,this,this._el_0);var e=o(this.viewUtils,this.injector(0),this._appEl_0);return this._WifiSetupPage_0_4=new k.a(this.parentInjector.get(D.a),this.parentInjector.get(j.a),this.parentInjector.get(M.DeviceManagerService),this.parentInjector.get(L.a),this.parentInjector.get(B.a),this.parentInjector.get(F.a),this.parentInjector.get(q.a),this.parentInjector.get(V.a),this.parentInjector.get(H.a)),this._appEl_0.initComponent(this._WifiSetupPage_0_4,[],e),e.create(this._WifiSetupPage_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===k.a&&0===e?this._WifiSetupPage_0_4:n},e}(S.a),qt=new z.a("ng-component",i,k.a),Vt=[],Ht={true:{height:"45px"},false:{height:"0"},"*":{},void:{}},Ut={true:{transform:"rotate(-180deg)"},false:{transform:"rotate(0deg)"},"*":{},void:{}},zt=null,Gt=function(t){function e(n,i,r){t.call(this,e,zt,P.a.COMPONENT,n,i,r,R.b.CheckAlways)}return Lt(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_wifiSlider_0=new J.a,this._el_0=this.renderer.createElement(e,"ion-content",null),this.renderer.setElementAttribute(this._el_0,"class","wifi-setup-container"),this._appEl_0=new O.a(0,null,this,this._el_0);var n=ot.a(this.viewUtils,this.injector(0),this._appEl_0);this._Content_0_4=new Q.a(this.parentInjector.get(at.c),new _t.a(this._el_0),this.renderer,this.parentInjector.get(lt.a),this.parentInjector.get(ht.a),this.parentInjector.get(ct.a),this.parentInjector.get(B.a,null),this.parentInjector.get(ut.a,null)),this._appEl_0.initComponent(this._Content_0_4,[],n),this._text_1=this.renderer.createText(null,"\n\n ",null),this._el_2=this.renderer.createElement(null,"ion-slides",null),this._appEl_2=new O.a(2,0,this,this._el_2);var i=pt.a(this.viewUtils,this.injector(2),this._appEl_2);this._Slides_2_4=new Z.b(this.parentInjector.get(at.c),new _t.a(this._el_2),this.renderer),this._appEl_2.initComponent(this._Slides_2_4,[],i),this._text_3=this.renderer.createText(null,"\n ",null),this._el_4=this.renderer.createElement(null,"ion-slide",null),this.renderer.setElementAttribute(this._el_4,"class","slide-container"),this._appEl_4=new O.a(4,2,this,this._el_4);var r=pt.b(this.viewUtils,this.injector(4),this._appEl_4);this._Slide_4_4=new Z.a(new _t.a(this._el_4),this._Slides_2_4),this._appEl_4.initComponent(this._Slide_4_4,[],r),this._text_5=this.renderer.createText(null,"\n ",null),this._el_6=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_6,"class","content-container wifi-content-container"),this._text_7=this.renderer.createText(this._el_6,"\n ",null),this._el_8=this.renderer.createElement(this._el_6,"div",null),this.renderer.setElementAttribute(this._el_8,"class","slide-header"),this._text_9=this.renderer.createText(this._el_8,"Networks",null),this._text_10=this.renderer.createText(this._el_6,"\n ",null),this._el_11=this.renderer.createElement(this._el_6,"ion-row",null),this.renderer.setElementAttribute(this._el_11,"class","network-container"),this.renderer.setElementAttribute(this._el_11,"wrap",""),this._Row_11_3=new K.c,this._text_12=this.renderer.createText(this._el_11,"\n ",null),this._el_13=this.renderer.createElement(this._el_11,"ion-col",null),this.renderer.setElementAttribute(this._el_13,"class","network-container-column"),this.renderer.setElementAttribute(this._el_13,"text-center",""),this._Col_13_3=new K.a,this._text_14=this.renderer.createText(this._el_13,"\n ",null),this._el_15=this.renderer.createElement(this._el_13,"div",null),this.renderer.setElementAttribute(this._el_15,"class","network-header"),this._text_16=this.renderer.createText(this._el_15,"\n Available Networks\n ",null),this._text_17=this.renderer.createText(this._el_13,"\n ",null),this._anchor_18=this.renderer.createTemplateAnchor(this._el_13,null),this._appEl_18=new O.a(18,13,this,this._anchor_18),this._TemplateRef_18_5=new dt.a(this._appEl_18,a),this._NgIf_18_6=new tt.a(this._appEl_18.vcRef,this._TemplateRef_18_5),this._text_19=this.renderer.createText(this._el_13,"\n ",null),this._anchor_20=this.renderer.createTemplateAnchor(this._el_13,null),this._appEl_20=new O.a(20,13,this,this._anchor_20),this._TemplateRef_20_5=new dt.a(this._appEl_20,_),this._NgIf_20_6=new tt.a(this._appEl_20.vcRef,this._TemplateRef_20_5),this._text_21=this.renderer.createText(this._el_13,"\n ",null),this._el_22=this.renderer.createElement(this._el_13,"div",null),this.renderer.setElementAttribute(this._el_22,"class","available-network-container"),this._text_23=this.renderer.createText(this._el_22,"\n ",null),this._anchor_24=this.renderer.createTemplateAnchor(this._el_22,null),this._appEl_24=new O.a(24,22,this,this._anchor_24),this._TemplateRef_24_5=new dt.a(this._appEl_24,l),this._NgFor_24_6=new et.a(this._appEl_24.vcRef,this._TemplateRef_24_5,this.parentInjector.get(ft.a),this.ref),this._text_25=this.renderer.createText(this._el_22,"\n ",null),this._text_26=this.renderer.createText(this._el_13,"\n ",null),this._text_27=this.renderer.createText(this._el_11,"\n ",null),this._el_28=this.renderer.createElement(this._el_11,"ion-col",null),this.renderer.setElementAttribute(this._el_28,"class","network-container-column"),this.renderer.setElementAttribute(this._el_28,"text-center",""),this._Col_28_3=new K.a,this._text_29=this.renderer.createText(this._el_28,"\n ",null),this._el_30=this.renderer.createElement(this._el_28,"div",null),this.renderer.setElementAttribute(this._el_30,"class","network-header"),this._text_31=this.renderer.createText(this._el_30,"\n Saved Networks\n ",null),this._text_32=this.renderer.createText(this._el_28,"\n ",null),this._el_33=this.renderer.createElement(this._el_28,"div",null),this.renderer.setElementAttribute(this._el_33,"class","available-button-container"),this.renderer.setElementAttribute(this._el_33,"text-center",""),this._text_34=this.renderer.createText(this._el_33,"\n ",null),this._el_35=this.renderer.createElement(this._el_33,"button",null),this.renderer.setElementAttribute(this._el_35,"class","icon-only-button-side available-network-button disable-hover"),this.renderer.setElementAttribute(this._el_35,"ion-button",""),this._appEl_35=new O.a(35,33,this,this._el_35);var s=mt.a(this.viewUtils,this.injector(35),this._appEl_35);this._Button_35_4=new nt.a(null,"",this.parentInjector.get(at.c),new _t.a(this._el_35),this.renderer),this._appEl_35.initComponent(this._Button_35_4,[],s),this._text_36=this.renderer.createText(null,"\n ",null),this._el_37=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_37,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_37,"src","assets/img/refresh.svg"),this._text_38=this.renderer.createText(null,"\n ",null),s.create(this._Button_35_4,[[].concat([this._text_36,this._el_37,this._text_38])],null),this._text_39=this.renderer.createText(this._el_33,"\n ",null),this._text_40=this.renderer.createText(this._el_28,"\n ",null),this._el_41=this.renderer.createElement(this._el_28,"div",null),this.renderer.setElementAttribute(this._el_41,"class","available-network-container"),this._text_42=this.renderer.createText(this._el_41,"\n ",null),this._anchor_43=this.renderer.createTemplateAnchor(this._el_41,null),this._appEl_43=new O.a(43,41,this,this._anchor_43),this._TemplateRef_43_5=new dt.a(this._appEl_43,h),this._NgFor_43_6=new et.a(this._appEl_43.vcRef,this._TemplateRef_43_5,this.parentInjector.get(ft.a),this.ref),this._text_44=this.renderer.createText(this._el_41,"\n ",null),this._text_45=this.renderer.createText(this._el_28,"\n \n ",null),this._text_46=this.renderer.createText(this._el_11,"\n ",null),this._text_47=this.renderer.createText(this._el_6,"\n ",null),this._el_48=this.renderer.createElement(this._el_6,"div",null),this.renderer.setElementAttribute(this._el_48,"text-center",""),this._text_49=this.renderer.createText(this._el_48,"\n ",null),this._el_50=this.renderer.createElement(this._el_48,"div",null),this.renderer.setElementAttribute(this._el_50,"class","configure-item"),this._text_51=this.renderer.createText(this._el_50,"\n ",null),this._anchor_52=this.renderer.createTemplateAnchor(this._el_50,null),this._appEl_52=new O.a(52,50,this,this._anchor_52),this._TemplateRef_52_5=new dt.a(this._appEl_52,c),this._NgIf_52_6=new tt.a(this._appEl_52.vcRef,this._TemplateRef_52_5),this._text_53=this.renderer.createText(this._el_50,"\n ",null),this._text_54=this.renderer.createText(this._el_48,"\n\n ",null),this._el_55=this.renderer.createElement(this._el_48,"button",null),this.renderer.setElementAttribute(this._el_55,"class","advanced-button"),this.renderer.setElementAttribute(this._el_55,"clear",""),this.renderer.setElementAttribute(this._el_55,"icon-right",""),this.renderer.setElementAttribute(this._el_55,"ion-button",""),this._appEl_55=new O.a(55,48,this,this._el_55);var o=mt.a(this.viewUtils,this.injector(55),this._appEl_55);this._Button_55_4=new nt.a(null,"",this.parentInjector.get(at.c),new _t.a(this._el_55),this.renderer),this._appEl_55.initComponent(this._Button_55_4,[],o),this._text_56=this.renderer.createText(null,"\n Advanced\n ",null),this._el_57=this.renderer.createElement(null,"div",null),this._text_58=this.renderer.createText(this._el_57,"\n ",null),this._el_59=this.renderer.createElement(this._el_57,"img",null),this.renderer.setElementAttribute(this._el_59,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_59,"src","assets/img/arrow-dropdown-white.svg"),this._text_60=this.renderer.createText(this._el_57,"\n ",null),this._text_61=this.renderer.createText(null,"\n ",null),o.create(this._Button_55_4,[[].concat([this._text_56,this._el_57,this._text_61])],null),this._text_62=this.renderer.createText(this._el_48," \n ",null),this._text_63=this.renderer.createText(this._el_6,"\n ",null),this._el_64=this.renderer.createElement(this._el_6,"div",null),this._text_65=this.renderer.createText(this._el_64,"\n ",null),this._el_66=this.renderer.createElement(this._el_64,"ion-item",null),this.renderer.setElementAttribute(this._el_66,"class","configure-item collapse-card item item-block"),this._appEl_66=new O.a(66,64,this,this._el_66);var p=gt.a(this.viewUtils,this.injector(66),this._appEl_66);this._Item_66_4=new it.a(this.parentInjector.get(vt.a),this.parentInjector.get(at.c),new _t.a(this._el_66),this.renderer),this._ItemContent_66_5=new it.b,this._query_Label_66_0=new J.a,this._query_Button_66_1=new J.a,this._query_Icon_66_2=new J.a,this._appEl_66.initComponent(this._Item_66_4,[],p),this._text_67=this.renderer.createText(null,"\n ",null),this._el_68=this.renderer.createElement(null,"ion-label",null),this._Label_68_3=new rt.a(this.parentInjector.get(at.c),new _t.a(this._el_68),this.renderer,null,null,null,null),this._text_69=this.renderer.createText(this._el_68,"NIC",null),this._text_70=this.renderer.createText(null,"\n ",null),this._el_71=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_71,"class","item-content-right dropdown-popover-item-right"),this.renderer.setElementAttribute(this._el_71,"item-right",""),this._text_72=this.renderer.createText(this._el_71,"\n ",null),this._el_73=this.renderer.createElement(this._el_71,"dropdown-popover",null),this._appEl_73=new O.a(73,71,this,this._el_73);var d=xt.b(this.viewUtils,this.injector(73),this._appEl_73);this._DropdownPopoverComponent_73_4=new st.a(this.parentInjector.get(q.a),new _t.a(this._el_73),this.parentInjector.get(yt.f)),this._appEl_73.initComponent(this._DropdownPopoverComponent_73_4,[],d),d.create(this._DropdownPopoverComponent_73_4,[],null),this._text_74=this.renderer.createText(this._el_71,"\n ",null),this._text_75=this.renderer.createText(null,"\n ",null),this._query_Label_66_0.reset([this._Label_68_3]),this._Item_66_4.contentLabel=this._query_Label_66_0.first,p.create(this._Item_66_4,[[],[].concat([this._el_68]),[].concat([this._text_67,this._text_70,this._text_75]),[],[].concat([this._el_71])],null),this._text_76=this.renderer.createText(this._el_64,"\n ",null),this._el_77=this.renderer.createElement(this._el_64,"ion-item",null),this.renderer.setElementAttribute(this._el_77,"class","configure-item collapse-card item item-block"),this._appEl_77=new O.a(77,64,this,this._el_77);var f=gt.a(this.viewUtils,this.injector(77),this._appEl_77);this._Item_77_4=new it.a(this.parentInjector.get(vt.a),this.parentInjector.get(at.c),new _t.a(this._el_77),this.renderer),this._ItemContent_77_5=new it.b,this._query_Label_77_0=new J.a,this._query_Button_77_1=new J.a,this._query_Icon_77_2=new J.a,this._appEl_77.initComponent(this._Item_77_4,[],f),this._text_78=this.renderer.createText(null,"\n ",null),this._el_79=this.renderer.createElement(null,"ion-label",null),this._Label_79_3=new rt.a(this.parentInjector.get(at.c),new _t.a(this._el_79),this.renderer,null,null,null,null),this._text_80=this.renderer.createText(this._el_79,"Storage Location",null),this._text_81=this.renderer.createText(null,"\n ",null),this._el_82=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_82,"class","item-content-right dropdown-popover-item-right"),this.renderer.setElementAttribute(this._el_82,"item-right",""),this._text_83=this.renderer.createText(this._el_82,"\n ",null),this._el_84=this.renderer.createElement(this._el_82,"dropdown-popover",null),this._appEl_84=new O.a(84,82,this,this._el_84);var m=xt.b(this.viewUtils,this.injector(84),this._appEl_84);this._DropdownPopoverComponent_84_4=new st.a(this.parentInjector.get(q.a),new _t.a(this._el_84),this.parentInjector.get(yt.f)),this._appEl_84.initComponent(this._DropdownPopoverComponent_84_4,[],m),m.create(this._DropdownPopoverComponent_84_4,[],null),this._text_85=this.renderer.createText(this._el_82,"\n ",null),this._text_86=this.renderer.createText(null,"\n ",null),this._query_Label_77_0.reset([this._Label_79_3]),this._Item_77_4.contentLabel=this._query_Label_77_0.first,f.create(this._Item_77_4,[[],[].concat([this._el_79]),[].concat([this._text_78,this._text_81,this._text_86]),[],[].concat([this._el_82])],null),this._text_87=this.renderer.createText(this._el_64,"\n ",null),this._text_88=this.renderer.createText(this._el_6,"\n ",null),this._text_89=this.renderer.createText(null,"\n ",null),this._el_90=this.renderer.createElement(null,"ion-row",null),this.renderer.setElementAttribute(this._el_90,"class","navigation-button-container"),this._Row_90_3=new K.c,this._text_91=this.renderer.createText(this._el_90,"\n ",null),this._el_92=this.renderer.createElement(this._el_90,"ion-col",null),this.renderer.setElementAttribute(this._el_92,"text-left",""),this._Col_92_3=new K.a,this._text_93=this.renderer.createText(this._el_92,"\n ",null), this._el_94=this.renderer.createElement(this._el_92,"button",null),this.renderer.setElementAttribute(this._el_94,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_94,"icon-left",""),this.renderer.setElementAttribute(this._el_94,"ion-button",""),this._appEl_94=new O.a(94,92,this,this._el_94);var g=mt.a(this.viewUtils,this.injector(94),this._appEl_94);this._Button_94_4=new nt.a(null,"",this.parentInjector.get(at.c),new _t.a(this._el_94),this.renderer),this._appEl_94.initComponent(this._Button_94_4,[],g),this._text_95=this.renderer.createText(null,"\n ",null),this._el_96=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_96,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_96,"src","assets/img/close.svg"),this._text_97=this.renderer.createText(null,"\n Close\n ",null),g.create(this._Button_94_4,[[].concat([this._text_95,this._el_96,this._text_97])],null),this._text_98=this.renderer.createText(this._el_92,"\n ",null),this._text_99=this.renderer.createText(this._el_90,"\n ",null),this._text_100=this.renderer.createText(null,"\n ",null),r.create(this._Slide_4_4,[[].concat([this._text_5,this._el_6,this._text_89,this._el_90,this._text_100])],null),this._text_101=this.renderer.createText(null,"\n\n ",null),this._el_102=this.renderer.createElement(null,"ion-slide",null),this.renderer.setElementAttribute(this._el_102,"class","slide-container"),this._appEl_102=new O.a(102,2,this,this._el_102);var v=pt.b(this.viewUtils,this.injector(102),this._appEl_102);this._Slide_102_4=new Z.a(new _t.a(this._el_102),this._Slides_2_4),this._appEl_102.initComponent(this._Slide_102_4,[],v),this._text_103=this.renderer.createText(null,"\n ",null),this._el_104=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_104,"class","content-container wifi-content-container"),this._text_105=this.renderer.createText(this._el_104,"\n ",null),this._el_106=this.renderer.createElement(this._el_104,"div",null),this.renderer.setElementAttribute(this._el_106,"class","slide-header"),this._text_107=this.renderer.createText(this._el_106,"Setup Wifi",null),this._text_108=this.renderer.createText(this._el_104,"\n\n ",null),this._anchor_109=this.renderer.createTemplateAnchor(this._el_104,null),this._appEl_109=new O.a(109,104,this,this._anchor_109),this._TemplateRef_109_5=new dt.a(this._appEl_109,u),this._NgIf_109_6=new tt.a(this._appEl_109.vcRef,this._TemplateRef_109_5),this._text_110=this.renderer.createText(this._el_104,"\n\n ",null),this._anchor_111=this.renderer.createTemplateAnchor(this._el_104,null),this._appEl_111=new O.a(111,104,this,this._anchor_111),this._TemplateRef_111_5=new dt.a(this._appEl_111,b),this._NgIf_111_6=new tt.a(this._appEl_111.vcRef,this._TemplateRef_111_5),this._text_112=this.renderer.createText(this._el_104,"\n\n ",null),this._text_113=this.renderer.createText(null,"\n ",null),this._el_114=this.renderer.createElement(null,"div",null),this._text_115=this.renderer.createText(this._el_114,"\n ",null),this._el_116=this.renderer.createElement(this._el_114,"ion-row",null),this.renderer.setElementAttribute(this._el_116,"class","navigation-button-container"),this._Row_116_3=new K.c,this._text_117=this.renderer.createText(this._el_116,"\n ",null),this._el_118=this.renderer.createElement(this._el_116,"ion-col",null),this.renderer.setElementAttribute(this._el_118,"text-left",""),this._Col_118_3=new K.a,this._text_119=this.renderer.createText(this._el_118,"\n ",null),this._el_120=this.renderer.createElement(this._el_118,"button",null),this.renderer.setElementAttribute(this._el_120,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_120,"icon-left",""),this.renderer.setElementAttribute(this._el_120,"ion-button",""),this._appEl_120=new O.a(120,118,this,this._el_120);var x=mt.a(this.viewUtils,this.injector(120),this._appEl_120);this._Button_120_4=new nt.a(null,"",this.parentInjector.get(at.c),new _t.a(this._el_120),this.renderer),this._appEl_120.initComponent(this._Button_120_4,[],x),this._text_121=this.renderer.createText(null,"\n ",null),this._el_122=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_122,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_122,"src","assets/img/close.svg"),this._text_123=this.renderer.createText(null,"\n Cancel\n ",null),x.create(this._Button_120_4,[[].concat([this._text_121,this._el_122,this._text_123])],null),this._text_124=this.renderer.createText(this._el_118,"\n ",null),this._text_125=this.renderer.createText(this._el_116,"\n ",null),this._el_126=this.renderer.createElement(this._el_116,"ion-col",null),this.renderer.setElementAttribute(this._el_126,"text-right",""),this._Col_126_3=new K.a,this._text_127=this.renderer.createText(this._el_126,"\n ",null),this._anchor_128=this.renderer.createTemplateAnchor(this._el_126,null),this._appEl_128=new O.a(128,126,this,this._anchor_128),this._TemplateRef_128_5=new dt.a(this._appEl_128,A),this._NgIf_128_6=new tt.a(this._appEl_128.vcRef,this._TemplateRef_128_5),this._text_129=this.renderer.createText(this._el_126,"\n ",null),this._anchor_130=this.renderer.createTemplateAnchor(this._el_126,null),this._appEl_130=new O.a(130,126,this,this._anchor_130),this._TemplateRef_130_5=new dt.a(this._appEl_130,I),this._NgIf_130_6=new tt.a(this._appEl_130.vcRef,this._TemplateRef_130_5),this._text_131=this.renderer.createText(this._el_126,"\n ",null),this._text_132=this.renderer.createText(this._el_116,"\n ",null),this._text_133=this.renderer.createText(this._el_114,"\n ",null),this._text_134=this.renderer.createText(null,"\n ",null),v.create(this._Slide_102_4,[[].concat([this._text_103,this._el_104,this._text_113,this._el_114,this._text_134])],null),this._text_135=this.renderer.createText(null,"\n ",null),i.create(this._Slides_2_4,[[].concat([this._text_3,this._el_4,this._text_101,this._el_102,this._text_135])],null),this._text_136=this.renderer.createText(null,"\n\n",null),n.create(this._Content_0_4,[[],[].concat([this._text_1,this._el_2,this._text_136]),[]],null),this._expr_0=R.n,this._expr_1=R.n,this._expr_2=R.n,this._expr_3=R.n,this._expr_5=R.n;var y=this.renderer.listen(this._el_35,"click",this.eventHandler(this._handle_click_35_0.bind(this)));this._expr_6=R.n,this._expr_7=R.n;var w=this.renderer.listen(this._el_55,"tap",this.eventHandler(this._handle_tap_55_0.bind(this)));this._expr_9=R.n,this._expr_10=R.n,this._expr_11=R.n;var C=this.renderer.listen(this._el_73,"onSelection",this.eventHandler(this._handle_onSelection_73_0.bind(this)));this._expr_13=R.n,this._expr_14=R.n;var E=this._DropdownPopoverComponent_73_4.onSelection.subscribe(this.eventHandler(this._handle_onSelection_73_0.bind(this)));this._expr_15=R.n;var T=this.renderer.listen(this._el_84,"onSelection",this.eventHandler(this._handle_onSelection_84_0.bind(this)));this._expr_17=R.n,this._expr_18=R.n;var S=this._DropdownPopoverComponent_84_4.onSelection.subscribe(this.eventHandler(this._handle_onSelection_84_0.bind(this))),k=this.renderer.listen(this._el_94,"click",this.eventHandler(this._handle_click_94_0.bind(this)));this._expr_20=R.n,this._expr_21=R.n;var N=this.renderer.listen(this._el_120,"click",this.eventHandler(this._handle_click_120_0.bind(this)));return this._expr_23=R.n,this._expr_24=R.n,this._viewQuery_wifiSlider_0.reset([this._Slides_2_4]),this.context.slider=this._viewQuery_wifiSlider_0.first,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9,this._text_10,this._el_11,this._text_12,this._el_13,this._text_14,this._el_15,this._text_16,this._text_17,this._anchor_18,this._text_19,this._anchor_20,this._text_21,this._el_22,this._text_23,this._anchor_24,this._text_25,this._text_26,this._text_27,this._el_28,this._text_29,this._el_30,this._text_31,this._text_32,this._el_33,this._text_34,this._el_35,this._text_36,this._el_37,this._text_38,this._text_39,this._text_40,this._el_41,this._text_42,this._anchor_43,this._text_44,this._text_45,this._text_46,this._text_47,this._el_48,this._text_49,this._el_50,this._text_51,this._anchor_52,this._text_53,this._text_54,this._el_55,this._text_56,this._el_57,this._text_58,this._el_59,this._text_60,this._text_61,this._text_62,this._text_63,this._el_64,this._text_65,this._el_66,this._text_67,this._el_68,this._text_69,this._text_70,this._el_71,this._text_72,this._el_73,this._text_74,this._text_75,this._text_76,this._el_77,this._text_78,this._el_79,this._text_80,this._text_81,this._el_82,this._text_83,this._el_84,this._text_85,this._text_86,this._text_87,this._text_88,this._text_89,this._el_90,this._text_91,this._el_92,this._text_93,this._el_94,this._text_95,this._el_96,this._text_97,this._text_98,this._text_99,this._text_100,this._text_101,this._el_102,this._text_103,this._el_104,this._text_105,this._el_106,this._text_107,this._text_108,this._anchor_109,this._text_110,this._anchor_111,this._text_112,this._text_113,this._el_114,this._text_115,this._el_116,this._text_117,this._el_118,this._text_119,this._el_120,this._text_121,this._el_122,this._text_123,this._text_124,this._text_125,this._el_126,this._text_127,this._anchor_128,this._text_129,this._anchor_130,this._text_131,this._text_132,this._text_133,this._text_134,this._text_135,this._text_136],[y,w,C,T,k,N],[E,S]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===dt.b&&18===e?this._TemplateRef_18_5:t===tt.a&&18===e?this._NgIf_18_6:t===dt.b&&20===e?this._TemplateRef_20_5:t===tt.a&&20===e?this._NgIf_20_6:t===dt.b&&24===e?this._TemplateRef_24_5:t===et.a&&24===e?this._NgFor_24_6:t===K.a&&13<=e&&e<=26?this._Col_13_3:t===nt.a&&35<=e&&e<=38?this._Button_35_4:t===dt.b&&43===e?this._TemplateRef_43_5:t===et.a&&43===e?this._NgFor_43_6:t===K.a&&28<=e&&e<=45?this._Col_28_3:t===K.c&&11<=e&&e<=46?this._Row_11_3:t===dt.b&&52===e?this._TemplateRef_52_5:t===tt.a&&52===e?this._NgIf_52_6:t===nt.a&&55<=e&&e<=61?this._Button_55_4:t===rt.a&&68<=e&&e<=69?this._Label_68_3:t===st.a&&73===e?this._DropdownPopoverComponent_73_4:t===it.a&&66<=e&&e<=75?this._Item_66_4:t===it.b&&66<=e&&e<=75?this._ItemContent_66_5:t===rt.a&&79<=e&&e<=80?this._Label_79_3:t===st.a&&84===e?this._DropdownPopoverComponent_84_4:t===it.a&&77<=e&&e<=86?this._Item_77_4:t===it.b&&77<=e&&e<=86?this._ItemContent_77_5:t===nt.a&&94<=e&&e<=97?this._Button_94_4:t===K.a&&92<=e&&e<=98?this._Col_92_3:t===K.c&&90<=e&&e<=99?this._Row_90_3:t===Z.a&&4<=e&&e<=100?this._Slide_4_4:t===dt.b&&109===e?this._TemplateRef_109_5:t===tt.a&&109===e?this._NgIf_109_6:t===dt.b&&111===e?this._TemplateRef_111_5:t===tt.a&&111===e?this._NgIf_111_6:t===nt.a&&120<=e&&e<=123?this._Button_120_4:t===K.a&&118<=e&&e<=124?this._Col_118_3:t===dt.b&&128===e?this._TemplateRef_128_5:t===tt.a&&128===e?this._NgIf_128_6:t===dt.b&&130===e?this._TemplateRef_130_5:t===tt.a&&130===e?this._NgIf_130_6:t===K.a&&126<=e&&e<=131?this._Col_126_3:t===K.c&&116<=e&&e<=132?this._Row_116_3:t===Z.a&&102<=e&&e<=134?this._Slide_102_4:t===Z.b&&2<=e&&e<=135?this._Slides_2_4:t===Q.a&&0<=e&&e<=136?this._Content_0_4:n},e.prototype.detectChangesInternal=function(t){var e=!0,n=null,i=this.context.showMainAdvanced;if(N.c(t,this._expr_10,i)){var r=this._expr_10;r==R.n&&(r="void");var s=i;s==R.n&&(s="void"),this.componentType.animations.rotate(this,this._el_57,r,s),this._expr_10=i}var o=this.context.showMainAdvanced;if(N.c(t,this._expr_11,o)){var r=this._expr_11;r==R.n&&(r="void");var s=o;s==R.n&&(s="void"),this.componentType.animations.expand(this,this._el_66,r,s),this._expr_11=o}var a=this.context.showMainAdvanced;if(N.c(t,this._expr_15,a)){var r=this._expr_15;r==R.n&&(r="void");var s=a;s==R.n&&(s="void"),this.componentType.animations.expand(this,this._el_77,r,s),this._expr_15=a}0!==this.numberOfChecks||t||this._Content_0_4.ngOnInit(),0!==this.numberOfChecks||t||this._Slides_2_4.ngOnInit();var _=!this.context.scanningForNetworks;N.c(t,this._expr_1,_)&&(this._NgIf_18_6.ngIf=_,this._expr_1=_);var l=this.context.scanningForNetworks;N.c(t,this._expr_2,l)&&(this._NgIf_20_6.ngIf=l,this._expr_2=l),n=null;var h=this.context.availableNetworks;N.c(t,this._expr_3,h)&&(this._NgFor_24_6.ngForOf=h,null===n&&(n={}),n.ngForOf=new R.m(this._expr_3,h),this._expr_3=h),null!==n&&this._NgFor_24_6.ngOnChanges(n),t||this._NgFor_24_6.ngDoCheck(),n=null;var c=this.context.savedNetworks;N.c(t,this._expr_6,c)&&(this._NgFor_43_6.ngForOf=c,null===n&&(n={}),n.ngForOf=new R.m(this._expr_6,c),this._expr_6=c),null!==n&&this._NgFor_43_6.ngOnChanges(n),t||this._NgFor_43_6.ngDoCheck();var u="connected"===this.context.currentNicStatus.status&&this.context.deviceObject&&this.context.deviceObject.bridge;N.c(t,this._expr_7,u)&&(this._NgIf_52_6.ngIf=u,this._expr_7=u),e=!1;var p="";N.c(t,this._expr_9,p)&&(this._Button_55_4.clear=p,e=!0,this._expr_9=p),e&&this._appEl_55.componentView.markAsCheckOnce(),n=null;var d=this.context.availableNics;N.c(t,this._expr_13,d)&&(this._DropdownPopoverComponent_73_4.dataArray=d,null===n&&(n={}),n.dataArray=new R.m(this._expr_13,d),this._expr_13=d);var f=!0;N.c(t,this._expr_14,f)&&(this._DropdownPopoverComponent_73_4.forcePopover=f,null===n&&(n={}),n.forcePopover=new R.m(this._expr_14,f),this._expr_14=f),null!==n&&this._DropdownPopoverComponent_73_4.ngOnChanges(n),n=null;var m=this.context.storageLocations;N.c(t,this._expr_17,m)&&(this._DropdownPopoverComponent_84_4.dataArray=m,null===n&&(n={}),n.dataArray=new R.m(this._expr_17,m),this._expr_17=m);var g=!0;N.c(t,this._expr_18,g)&&(this._DropdownPopoverComponent_84_4.forcePopover=g,null===n&&(n={}),n.forcePopover=new R.m(this._expr_18,g),this._expr_18=g),null!==n&&this._DropdownPopoverComponent_84_4.ngOnChanges(n);var v=!this.context.modifyingSaved;N.c(t,this._expr_20,v)&&(this._NgIf_109_6.ngIf=v,this._expr_20=v);var x=this.context.modifyingSaved;N.c(t,this._expr_21,x)&&(this._NgIf_111_6.ngIf=x,this._expr_21=x);var y=!this.context.modifyingSaved;N.c(t,this._expr_23,y)&&(this._NgIf_128_6.ngIf=y,this._expr_23=y);var b=this.context.modifyingSaved;N.c(t,this._expr_24,b)&&(this._NgIf_130_6.ngIf=b,this._expr_24=b),this.detectContentChildrenChanges(t),t||(this._query_Button_66_1.dirty&&(this._query_Button_66_1.reset([]),this._Item_66_4._buttons=this._query_Button_66_1,this._query_Button_66_1.notifyOnChanges()),this._query_Icon_66_2.dirty&&(this._query_Icon_66_2.reset([]),this._Item_66_4._icons=this._query_Icon_66_2,this._query_Icon_66_2.notifyOnChanges()),this._query_Button_77_1.dirty&&(this._query_Button_77_1.reset([]),this._Item_77_4._buttons=this._query_Button_77_1,this._query_Button_77_1.notifyOnChanges()),this._query_Icon_77_2.dirty&&(this._query_Icon_77_2.reset([]),this._Item_77_4._icons=this._query_Icon_77_2,this._query_Icon_77_2.notifyOnChanges()),0===this.numberOfChecks&&this._Button_35_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_55_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_66_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_77_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_94_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_120_4.ngAfterContentInit());var w=this._Content_0_4._sbPadding;N.c(t,this._expr_0,w)&&(this.renderer.setElementClass(this._el_0,"statusbar-padding",w),this._expr_0=w);var C=this.context.scanningForNetworks;N.c(t,this._expr_5,C)&&(this.renderer.setElementProperty(this._el_35,"disabled",C),this._expr_5=C),this.detectViewChildrenChanges(t),t||(0===this.numberOfChecks&&this._DropdownPopoverComponent_73_4.ngAfterViewInit(),0===this.numberOfChecks&&this._DropdownPopoverComponent_84_4.ngAfterViewInit())},e.prototype.destroyInternal=function(){this._Slide_4_4.ngOnDestroy(),this._Slide_102_4.ngOnDestroy(),this._Content_0_4.ngOnDestroy()},e.prototype.detachInternal=function(){this.componentType.animations.rotate(this,this._el_57,this._expr_10,"void"),this.componentType.animations.expand(this,this._el_66,this._expr_11,"void"),this.componentType.animations.expand(this,this._el_77,this._expr_15,"void")},e.prototype._handle_click_35_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.refreshSavedNetworks()!==!1;return e},e.prototype._handle_tap_55_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.toggleMainAdvanced()!==!1;return e},e.prototype._handle_onSelection_73_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.nicSelection(t)!==!1;return e},e.prototype._handle_onSelection_84_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.storageSelection(t)!==!1;return e},e.prototype._handle_click_94_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.closeModal()!==!1;return e},e.prototype._handle_click_120_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.backToNetworks()!==!1;return e},e}(S.a),Wt=function(t){function e(n,i,r){t.call(this,e,zt,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Lt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","available-button-container"),this.renderer.setElementAttribute(this._el_0,"text-center",""),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"button",null),this.renderer.setElementAttribute(this._el_2,"class","icon-only-button-side available-network-button disable-hover"),this.renderer.setElementAttribute(this._el_2,"ion-button",""),this.renderer.setElementAttribute(this._el_2,"tooltipPlacement","bottom"),this._appEl_2=new O.a(2,0,this,this._el_2);var e=mt.a(this.viewUtils,this.injector(2),this._appEl_2);this._Tooltip_2_5=new bt.a(this._appEl_2.vcRef,this.parent.parentInjector.get(wt.a),this.parent.parentInjector.get(yt.f)),this._Button_2_6=new nt.a(null,"",this.parent.parentInjector.get(at.c),new _t.a(this._el_2),this.renderer),this._appEl_2.initComponent(this._Button_2_6,[],e),this._text_3=this.renderer.createText(null,"\n ",null),this._el_4=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_4,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_4,"src","assets/img/refresh.svg"),this._text_5=this.renderer.createText(null,"\n ",null),e.create(this._Button_2_6,[[].concat([this._text_3,this._el_4,this._text_5])],null),this._text_6=this.renderer.createText(this._el_0,"\n ",null),this._el_7=this.renderer.createElement(this._el_0,"button",null),this.renderer.setElementAttribute(this._el_7,"class","icon-only-button-side available-network-button disable-hover"),this.renderer.setElementAttribute(this._el_7,"ion-button",""),this._appEl_7=new O.a(7,0,this,this._el_7);var n=mt.a(this.viewUtils,this.injector(7),this._appEl_7);this._Button_7_4=new nt.a(null,"",this.parent.parentInjector.get(at.c),new _t.a(this._el_7),this.renderer),this._appEl_7.initComponent(this._Button_7_4,[],n),this._text_8=this.renderer.createText(null,"\n ",null),this._el_9=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_9,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_9,"src","assets/img/add.svg"),this._text_10=this.renderer.createText(null,"\n ",null),n.create(this._Button_7_4,[[].concat([this._text_8,this._el_9,this._text_10])],null),this._text_11=this.renderer.createText(this._el_0,"\n ",null),this._expr_5=R.n;var i=this.renderer.listen(this._el_2,"click",this.eventHandler(this._handle_click_2_0.bind(this))),r=this.renderer.listen(this._el_2,"focusin",this.eventHandler(this._handle_focusin_2_1.bind(this))),s=this.renderer.listen(this._el_2,"mouseenter",this.eventHandler(this._handle_mouseenter_2_2.bind(this))),o=this.renderer.listen(this._el_2,"focusout",this.eventHandler(this._handle_focusout_2_3.bind(this))),a=this.renderer.listen(this._el_2,"mouseleave",this.eventHandler(this._handle_mouseleave_2_4.bind(this)));this._expr_6=R.n,this._expr_7=R.n,this._expr_8=R.n;var _=this.renderer.listen(this._el_7,"click",this.eventHandler(this._handle_click_7_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._text_11],[i,r,s,o,a,_],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===bt.a&&2<=e&&e<=5?this._Tooltip_2_5:t===nt.a&&2<=e&&e<=5?this._Button_2_6:t===nt.a&&7<=e&&e<=10?this._Button_7_4:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.context.networkDropMessage;N.c(t,this._expr_6,n)&&(this._Tooltip_2_5.content=n,null===e&&(e={}),e.content=new R.m(this._expr_6,n),this._expr_6=n);var i=!0;N.c(t,this._expr_7,i)&&(this._Tooltip_2_5.tooltipAnimation=i,null===e&&(e={}),e.tooltipAnimation=new R.m(this._expr_7,i),this._expr_7=i);var r="bottom";N.c(t,this._expr_8,r)&&(this._Tooltip_2_5.tooltipPlacement=r,null===e&&(e={}),e.tooltipPlacement=new R.m(this._expr_8,r),this._expr_8=r),null!==e&&this._Tooltip_2_5.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_2_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_7_4.ngAfterContentInit());var s=null==this.parent.context.deviceObject||!this.parent.context.deviceObject.bridge;N.c(t,this._expr_5,s)&&(this.renderer.setElementProperty(this._el_2,"disabled",s),this._expr_5=s),this.detectViewChildrenChanges(t)},e.prototype._handle_click_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.refreshAvailableNetworks()!==!1;return e},e.prototype._handle_focusin_2_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_2_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_2_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_2_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_2_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_2_5.hide()!==!1;return e},e.prototype._handle_mouseleave_2_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_2_5.hide()!==!1;return e},e.prototype._handle_click_7_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.addCustomNetwork()!==!1;return e},e}(S.a),Yt=function(t){function e(n,i,r){t.call(this,e,zt,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Lt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","spinner-container"),this.renderer.setElementAttribute(this._el_0,"text-center",""),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-spinner",null),this.renderer.setElementAttribute(this._el_2,"name","crescent"),this._appEl_2=new O.a(2,0,this,this._el_2);var e=Et.a(this.viewUtils,this.injector(2),this._appEl_2);return this._Spinner_2_4=new Ct.a(this.parent.parentInjector.get(at.c),new _t.a(this._el_2),this.renderer),this._appEl_2.initComponent(this._Spinner_2_4,[],e),e.create(this._Spinner_2_4,[],null),this._text_3=this.renderer.createText(this._el_0,"\n ",null),this._expr_0=R.n,this._expr_1=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===Ct.a&&2===e?this._Spinner_2_4:n},e.prototype.detectChangesInternal=function(t){var e=!0;e=!1;var n="crescent";N.c(t,this._expr_0,n)&&(this._Spinner_2_4.name=n,e=!0,this._expr_0=n),e&&this._appEl_2.componentView.markAsCheckOnce(),0!==this.numberOfChecks||t||this._Spinner_2_4.ngOnInit(),this.detectContentChildrenChanges(t);var i=this._Spinner_2_4.paused;N.c(t,this._expr_1,i)&&(this.renderer.setElementClass(this._el_2,"spinner-paused",i),this._expr_1=i),this.detectViewChildrenChanges(t)},e}(S.a),$t=function(t){function e(n,i,r){t.call(this,e,zt,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Lt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"text-center",""),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-card",null),this.renderer.setElementAttribute(this._el_2,"class","network-card"),this._Card_2_3=new Tt.a(this.parent.parentInjector.get(at.c),new _t.a(this._el_2),this.renderer),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-item",null),this.renderer.setElementAttribute(this._el_4,"class","card-info item item-block"),this._appEl_4=new O.a(4,2,this,this._el_4);var e=gt.a(this.viewUtils,this.injector(4),this._appEl_4);this._Item_4_4=new it.a(this.parent.parentInjector.get(vt.a),this.parent.parentInjector.get(at.c),new _t.a(this._el_4),this.renderer),this._ItemContent_4_5=new it.b,this._query_Label_4_0=new J.a,this._query_Button_4_1=new J.a,this._query_Icon_4_2=new J.a,this._appEl_4.initComponent(this._Item_4_4,[],e),this._text_5=this.renderer.createText(null,"",null),this._query_Label_4_0.reset([]),this._Item_4_4.contentLabel=this._query_Label_4_0.first,e.create(this._Item_4_4,[[],[],[].concat([this._text_5]),[],[]],null),this._text_6=this.renderer.createText(this._el_2,"\n ",null),this._text_7=this.renderer.createText(this._el_0,"\n ",null);var n=this.renderer.listen(this._el_2,"click",this.eventHandler(this._handle_click_2_0.bind(this)));return this._expr_1=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._text_7],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===it.a&&4<=e&&e<=5?this._Item_4_4:t===it.b&&4<=e&&e<=5?this._ItemContent_4_5:t===Tt.a&&2<=e&&e<=6?this._Card_2_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||(this._query_Button_4_1.dirty&&(this._query_Button_4_1.reset([]),this._Item_4_4._buttons=this._query_Button_4_1,this._query_Button_4_1.notifyOnChanges()),this._query_Icon_4_2.dirty&&(this._query_Icon_4_2.reset([]),this._Item_4_4._icons=this._query_Icon_4_2,this._query_Icon_4_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_4_4.ngAfterContentInit());var e=N.e(1,"\n ",this.context.$implicit.ssid,"\n ");N.c(t,this._expr_1,e)&&(this.renderer.setText(this._text_5,e),this._expr_1=e),this.detectViewChildrenChanges(t)},e.prototype._handle_click_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.routeToConfigSlide(this.context.$implicit)!==!1;return e},e}(S.a),Xt=function(t){function e(n,i,r){t.call(this,e,zt,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Lt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"text-center",""),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-card",null),this.renderer.setElementAttribute(this._el_2,"class","network-card"),this._Card_2_3=new Tt.a(this.parent.parentInjector.get(at.c),new _t.a(this._el_2),this.renderer),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-item",null),this.renderer.setElementAttribute(this._el_4,"class","card-info item item-block"),this._appEl_4=new O.a(4,2,this,this._el_4);var e=gt.a(this.viewUtils,this.injector(4),this._appEl_4);this._Item_4_4=new it.a(this.parent.parentInjector.get(vt.a),this.parent.parentInjector.get(at.c),new _t.a(this._el_4),this.renderer),this._ItemContent_4_5=new it.b,this._query_Label_4_0=new J.a,this._query_Button_4_1=new J.a,this._query_Icon_4_2=new J.a,this._appEl_4.initComponent(this._Item_4_4,[],e),this._text_5=this.renderer.createText(null,"",null),this._el_6=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_6,"class","network-button"),this.renderer.setElementAttribute(this._el_6,"clear",""),this.renderer.setElementAttribute(this._el_6,"ion-button",""),this.renderer.setElementAttribute(this._el_6,"item-right",""),this._appEl_6=new O.a(6,4,this,this._el_6);var n=mt.a(this.viewUtils,this.injector(6),this._appEl_6);this._Button_6_4=new nt.a(null,"",this.parent.parentInjector.get(at.c),new _t.a(this._el_6),this.renderer),this._appEl_6.initComponent(this._Button_6_4,[],n),this._text_7=this.renderer.createText(null,"\n ",null),this._el_8=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_8,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_8,"src","assets/img/more.svg"),this._text_9=this.renderer.createText(null,"\n ",null),n.create(this._Button_6_4,[[].concat([this._text_7,this._el_8,this._text_9])],null),this._text_10=this.renderer.createText(null,"\n ",null),this._query_Label_4_0.reset([]),this._Item_4_4.contentLabel=this._query_Label_4_0.first,e.create(this._Item_4_4,[[],[],[].concat([this._text_5,this._text_10]),[],[].concat([this._el_6])],null),this._text_11=this.renderer.createText(this._el_2,"\n ",null),this._text_12=this.renderer.createText(this._el_0,"\n ",null);var i=this.renderer.listen(this._el_2,"click",this.eventHandler(this._handle_click_2_0.bind(this)));this._expr_1=R.n;var r=this.renderer.listen(this._el_6,"click",this.eventHandler(this._handle_click_6_0.bind(this)));return this._expr_3=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9,this._text_10,this._text_11,this._text_12],[i,r],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===nt.a&&6<=e&&e<=9?this._Button_6_4:t===it.a&&4<=e&&e<=10?this._Item_4_4:t===it.b&&4<=e&&e<=10?this._ItemContent_4_5:t===Tt.a&&2<=e&&e<=11?this._Card_2_3:n},e.prototype.detectChangesInternal=function(t){var e=!0;e=!1;var n="";N.c(t,this._expr_3,n)&&(this._Button_6_4.clear=n,e=!0,this._expr_3=n),e&&this._appEl_6.componentView.markAsCheckOnce(),this.detectContentChildrenChanges(t),t||(this._query_Button_4_1.dirty&&(this._query_Button_4_1.reset([this._Button_6_4]),this._Item_4_4._buttons=this._query_Button_4_1,this._query_Button_4_1.notifyOnChanges()),this._query_Icon_4_2.dirty&&(this._query_Icon_4_2.reset([]),this._Item_4_4._icons=this._query_Icon_4_2,this._query_Icon_4_2.notifyOnChanges()),0===this.numberOfChecks&&this._Button_6_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_4_4.ngAfterContentInit());var i=N.e(2,"\n ",this.context.$implicit.ssid," ","connected"===this.parent.context.currentNicStatus.status&&this.context.$implicit.ssid===this.parent.context.currentNicStatus.ssid?"(Connected)":"","\n ");N.c(t,this._expr_1,i)&&(this.renderer.setText(this._text_5,i),this._expr_1=i),this.detectViewChildrenChanges(t)},e.prototype._handle_click_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.loadAndConnect(this.context.index)!==!1; return e},e.prototype._handle_click_6_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.showPopover(t,this.context.index)!==!1;return e},e}(S.a),Jt=function(t){function e(n,i,r){t.call(this,e,zt,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Lt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","text-button-side item-button disable-hover"),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new O.a(0,null,this,this._el_0);var e=mt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new nt.a(null,"",this.parent.parentInjector.get(at.c),new _t.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"\n Disconnect From Network\n ",null),e.create(this._Button_0_4,[[].concat([this._text_1])],null);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===nt.a&&0<=e&&e<=1?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.manualDisconnect()!==!1;return e},e}(S.a),Qt=function(t){function e(n,i,r){t.call(this,e,zt,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Lt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-list",null),this.renderer.setElementAttribute(this._el_0,"class","wifi-list"),this._List_0_3=new At.a(this.parent.parentInjector.get(at.c),new _t.a(this._el_0),this.renderer,this.parent.parentInjector.get(kt.a)),this._text_1=this.renderer.createText(this._el_0,"\n\n ",null),this._anchor_2=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_2=new O.a(2,0,this,this._anchor_2),this._TemplateRef_2_5=new dt.a(this._appEl_2,p),this._NgIf_2_6=new tt.a(this._appEl_2.vcRef,this._TemplateRef_2_5),this._text_3=this.renderer.createText(this._el_0,"\n\n ",null),this._anchor_4=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_4=new O.a(4,0,this,this._anchor_4),this._TemplateRef_4_5=new dt.a(this._appEl_4,d),this._NgIf_4_6=new tt.a(this._appEl_4.vcRef,this._TemplateRef_4_5),this._text_5=this.renderer.createText(this._el_0,"\n\n ",null),this._anchor_6=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_6=new O.a(6,0,this,this._anchor_6),this._TemplateRef_6_5=new dt.a(this._appEl_6,f),this._NgIf_6_6=new tt.a(this._appEl_6.vcRef,this._TemplateRef_6_5),this._text_7=this.renderer.createText(this._el_0,"\n\n ",null),this._anchor_8=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_8=new O.a(8,0,this,this._anchor_8),this._TemplateRef_8_5=new dt.a(this._appEl_8,m),this._NgIf_8_6=new tt.a(this._appEl_8.vcRef,this._TemplateRef_8_5),this._text_9=this.renderer.createText(this._el_0,"\n\n ",null),this._anchor_10=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_10=new O.a(10,0,this,this._anchor_10),this._TemplateRef_10_5=new dt.a(this._appEl_10,g),this._NgIf_10_6=new tt.a(this._appEl_10.vcRef,this._TemplateRef_10_5),this._text_11=this.renderer.createText(this._el_0,"\n ",null),this._anchor_12=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_12=new O.a(12,0,this,this._anchor_12),this._TemplateRef_12_5=new dt.a(this._appEl_12,v),this._NgIf_12_6=new tt.a(this._appEl_12.vcRef,this._TemplateRef_12_5),this._text_13=this.renderer.createText(this._el_0,"\n \n ",null),this._el_14=this.renderer.createElement(this._el_0,"ion-item",null),this.renderer.setElementAttribute(this._el_14,"class","card-info item item-block"),this._appEl_14=new O.a(14,0,this,this._el_14);var e=gt.a(this.viewUtils,this.injector(14),this._appEl_14);this._Item_14_4=new it.a(this.parent.parentInjector.get(vt.a),this.parent.parentInjector.get(at.c),new _t.a(this._el_14),this.renderer),this._ItemContent_14_5=new it.b,this._query_Label_14_0=new J.a,this._query_Button_14_1=new J.a,this._query_Icon_14_2=new J.a,this._appEl_14.initComponent(this._Item_14_4,[],e),this._text_15=this.renderer.createText(null,"\n ",null),this._el_16=this.renderer.createElement(null,"ion-label",null),this._Label_16_3=new rt.a(this.parent.parentInjector.get(at.c),new _t.a(this._el_16),this.renderer,null,null,null,null),this._text_17=this.renderer.createText(this._el_16,"Status",null),this._text_18=this.renderer.createText(null,"\n ",null),this._el_19=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_19,"class","item-content-right"),this.renderer.setElementAttribute(this._el_19,"item-right",""),this._text_20=this.renderer.createText(this._el_19,"",null),this._text_21=this.renderer.createText(null,"\n ",null),this._query_Label_14_0.reset([this._Label_16_3]),this._Item_14_4.contentLabel=this._query_Label_14_0.first,e.create(this._Item_14_4,[[],[].concat([this._el_16]),[].concat([this._text_15,this._text_18,this._text_21]),[],[].concat([this._el_19])],null),this._text_22=this.renderer.createText(this._el_0,"\n\n ",null),this._el_23=this.renderer.createElement(this._el_0,"button",null),this.renderer.setElementAttribute(this._el_23,"class","advanced-button"),this.renderer.setElementAttribute(this._el_23,"clear",""),this.renderer.setElementAttribute(this._el_23,"icon-right",""),this.renderer.setElementAttribute(this._el_23,"ion-button",""),this._appEl_23=new O.a(23,0,this,this._el_23);var n=mt.a(this.viewUtils,this.injector(23),this._appEl_23);this._Button_23_4=new nt.a(null,"",this.parent.parentInjector.get(at.c),new _t.a(this._el_23),this.renderer),this._appEl_23.initComponent(this._Button_23_4,[],n),this._text_24=this.renderer.createText(null,"\n Advanced\n ",null),this._el_25=this.renderer.createElement(null,"div",null),this._text_26=this.renderer.createText(this._el_25,"\n ",null),this._el_27=this.renderer.createElement(this._el_25,"img",null),this.renderer.setElementAttribute(this._el_27,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_27,"src","assets/img/arrow-dropdown-white.svg"),this._text_28=this.renderer.createText(this._el_25,"\n ",null),this._text_29=this.renderer.createText(null,"\n ",null),n.create(this._Button_23_4,[[].concat([this._text_24,this._el_25,this._text_29])],null),this._text_30=this.renderer.createText(this._el_0," \n\n ",null),this._el_31=this.renderer.createElement(this._el_0,"div",null),this._text_32=this.renderer.createText(this._el_31,"\n ",null),this._el_33=this.renderer.createElement(this._el_31,"ion-item",null),this.renderer.setElementAttribute(this._el_33,"class","card-info collapse-card item item-block"),this._appEl_33=new O.a(33,31,this,this._el_33);var i=gt.a(this.viewUtils,this.injector(33),this._appEl_33);this._Item_33_4=new it.a(this.parent.parentInjector.get(vt.a),this.parent.parentInjector.get(at.c),new _t.a(this._el_33),this.renderer),this._ItemContent_33_5=new it.b,this._query_Label_33_0=new J.a,this._query_Button_33_1=new J.a,this._query_Icon_33_2=new J.a,this._appEl_33.initComponent(this._Item_33_4,[],i),this._text_34=this.renderer.createText(null,"\n ",null),this._el_35=this.renderer.createElement(null,"ion-label",null),this._Label_35_3=new rt.a(this.parent.parentInjector.get(at.c),new _t.a(this._el_35),this.renderer,null,null,null,null),this._text_36=this.renderer.createText(this._el_35,"NIC",null),this._text_37=this.renderer.createText(null,"\n ",null),this._el_38=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_38,"class","item-content-right"),this.renderer.setElementAttribute(this._el_38,"item-right",""),this._text_39=this.renderer.createText(this._el_38,"",null),this._text_40=this.renderer.createText(null,"\n ",null),this._query_Label_33_0.reset([this._Label_35_3]),this._Item_33_4.contentLabel=this._query_Label_33_0.first,i.create(this._Item_33_4,[[],[].concat([this._el_35]),[].concat([this._text_34,this._text_37,this._text_40]),[],[].concat([this._el_38])],null),this._text_41=this.renderer.createText(this._el_31,"\n\n ",null),this._el_42=this.renderer.createElement(this._el_31,"ion-item",null),this.renderer.setElementAttribute(this._el_42,"class","card-info collapse-card item item-block"),this._appEl_42=new O.a(42,31,this,this._el_42);var r=gt.a(this.viewUtils,this.injector(42),this._appEl_42);this._Item_42_4=new it.a(this.parent.parentInjector.get(vt.a),this.parent.parentInjector.get(at.c),new _t.a(this._el_42),this.renderer),this._ItemContent_42_5=new it.b,this._query_Label_42_0=new J.a,this._query_Button_42_1=new J.a,this._query_Icon_42_2=new J.a,this._appEl_42.initComponent(this._Item_42_4,[],r),this._text_43=this.renderer.createText(null,"\n ",null),this._el_44=this.renderer.createElement(null,"ion-label",null),this._Label_44_3=new rt.a(this.parent.parentInjector.get(at.c),new _t.a(this._el_44),this.renderer,null,null,null,null),this._text_45=this.renderer.createText(this._el_44,"Storage Location",null),this._text_46=this.renderer.createText(null,"\n ",null),this._el_47=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_47,"class","item-content-right"),this.renderer.setElementAttribute(this._el_47,"item-right",""),this._text_48=this.renderer.createText(this._el_47,"",null),this._text_49=this.renderer.createText(null,"\n ",null),this._query_Label_42_0.reset([this._Label_44_3]),this._Item_42_4.contentLabel=this._query_Label_42_0.first,r.create(this._Item_42_4,[[],[].concat([this._el_44]),[].concat([this._text_43,this._text_46,this._text_49]),[],[].concat([this._el_47])],null),this._text_50=this.renderer.createText(this._el_31,"\n\n ",null),this._el_51=this.renderer.createElement(this._el_31,"ion-item",null),this.renderer.setElementAttribute(this._el_51,"class","card-info collapse-card item item-block"),this._appEl_51=new O.a(51,31,this,this._el_51);var s=gt.a(this.viewUtils,this.injector(51),this._appEl_51);this._Item_51_4=new it.a(this.parent.parentInjector.get(vt.a),this.parent.parentInjector.get(at.c),new _t.a(this._el_51),this.renderer),this._ItemContent_51_5=new it.b,this._query_Label_51_0=new J.a,this._query_Button_51_1=new J.a,this._query_Icon_51_2=new J.a,this._appEl_51.initComponent(this._Item_51_4,[],s),this._text_52=this.renderer.createText(null,"\n ",null),this._el_53=this.renderer.createElement(null,"ion-label",null),this._Label_53_3=new rt.a(this.parent.parentInjector.get(at.c),new _t.a(this._el_53),this.renderer,null,null,null,null),this._text_54=this.renderer.createText(this._el_53,"Save Network",null),this._text_55=this.renderer.createText(null,"\n ",null),this._el_56=this.renderer.createElement(null,"ion-checkbox",null),this.renderer.setElementAttribute(this._el_56,"item-right",""),this._appEl_56=new O.a(56,51,this,this._el_56);var o=Nt.a(this.viewUtils,this.injector(56),this._appEl_56);this._Checkbox_56_4=new It.a(this.parent.parentInjector.get(at.c),this.parent.parentInjector.get(vt.a),this._Item_51_4,new _t.a(this._el_56),this.renderer),this._NG_VALUE_ACCESSOR_56_5=[this._Checkbox_56_4],this._NgModel_56_6=new St.a(null,null,null,this._NG_VALUE_ACCESSOR_56_5),this._NgControl_56_7=this._NgModel_56_6,this._NgControlStatus_56_8=new Ot.a(this._NgControl_56_7),this._appEl_56.initComponent(this._Checkbox_56_4,[],o),o.create(this._Checkbox_56_4,[],null),this._text_57=this.renderer.createText(null,"\n ",null),this._query_Label_51_0.reset([this._Label_53_3]),this._Item_51_4.contentLabel=this._query_Label_51_0.first,s.create(this._Item_51_4,[[],[].concat([this._el_53]),[].concat([this._text_52,this._text_55,this._text_57]),[],[].concat([this._el_56])],null),this._text_58=this.renderer.createText(this._el_31,"\n \n ",null),this._el_59=this.renderer.createElement(this._el_31,"ion-item",null),this.renderer.setElementAttribute(this._el_59,"class","card-info collapse-card item item-block"),this._appEl_59=new O.a(59,31,this,this._el_59);var a=gt.a(this.viewUtils,this.injector(59),this._appEl_59);this._Item_59_4=new it.a(this.parent.parentInjector.get(vt.a),this.parent.parentInjector.get(at.c),new _t.a(this._el_59),this.renderer),this._ItemContent_59_5=new it.b,this._query_Label_59_0=new J.a,this._query_Button_59_1=new J.a,this._query_Icon_59_2=new J.a,this._appEl_59.initComponent(this._Item_59_4,[],a),this._text_60=this.renderer.createText(null,"\n ",null),this._el_61=this.renderer.createElement(null,"ion-label",null),this._Label_61_3=new rt.a(this.parent.parentInjector.get(at.c),new _t.a(this._el_61),this.renderer,null,null,null,null),this._text_62=this.renderer.createText(this._el_61,"Auto-Connect",null),this._text_63=this.renderer.createText(null,"\n ",null),this._el_64=this.renderer.createElement(null,"ion-checkbox",null),this.renderer.setElementAttribute(this._el_64,"item-right",""),this._appEl_64=new O.a(64,59,this,this._el_64);var _=Nt.a(this.viewUtils,this.injector(64),this._appEl_64);this._Checkbox_64_4=new It.a(this.parent.parentInjector.get(at.c),this.parent.parentInjector.get(vt.a),this._Item_59_4,new _t.a(this._el_64),this.renderer),this._NG_VALUE_ACCESSOR_64_5=[this._Checkbox_64_4],this._NgModel_64_6=new St.a(null,null,null,this._NG_VALUE_ACCESSOR_64_5),this._NgControl_64_7=this._NgModel_64_6,this._NgControlStatus_64_8=new Ot.a(this._NgControl_64_7),this._appEl_64.initComponent(this._Checkbox_64_4,[],_),_.create(this._Checkbox_64_4,[],null),this._text_65=this.renderer.createText(null,"\n ",null),this._query_Label_59_0.reset([this._Label_61_3]),this._Item_59_4.contentLabel=this._query_Label_59_0.first,a.create(this._Item_59_4,[[],[].concat([this._el_61]),[].concat([this._text_60,this._text_63,this._text_65]),[],[].concat([this._el_64])],null),this._text_66=this.renderer.createText(this._el_31,"\n \n ",null),this._anchor_67=this.renderer.createTemplateAnchor(this._el_31,null),this._appEl_67=new O.a(67,31,this,this._anchor_67),this._TemplateRef_67_5=new dt.a(this._appEl_67,y),this._NgIf_67_6=new tt.a(this._appEl_67.vcRef,this._TemplateRef_67_5),this._text_68=this.renderer.createText(this._el_31,"\n ",null),this._text_69=this.renderer.createText(this._el_0,"\n\n ",null),this._expr_0=R.n,this._expr_1=R.n,this._expr_2=R.n,this._expr_3=R.n,this._expr_4=R.n,this._expr_5=R.n,this._expr_6=R.n;var l=this.renderer.listen(this._el_23,"tap",this.eventHandler(this._handle_tap_23_0.bind(this)));this._expr_8=R.n,this._expr_9=R.n,this._expr_10=R.n,this._expr_11=R.n,this._expr_12=R.n,this._expr_13=R.n,this._expr_14=R.n;var h=this.renderer.listen(this._el_56,"ngModelChange",this.eventHandler(this._handle_ngModelChange_56_0.bind(this))),c=this.renderer.listen(this._el_56,"click",this.eventHandler(this._handle_click_56_1.bind(this)));this._expr_18=R.n,this._expr_19=R.n;var u=this._NgModel_56_6.update.subscribe(this.eventHandler(this._handle_ngModelChange_56_0.bind(this)));this._expr_20=R.n,this._expr_21=R.n,this._expr_22=R.n,this._expr_23=R.n,this._expr_24=R.n,this._expr_25=R.n,this._expr_26=R.n;var x=this.renderer.listen(this._el_64,"ngModelChange",this.eventHandler(this._handle_ngModelChange_64_0.bind(this))),b=this.renderer.listen(this._el_64,"click",this.eventHandler(this._handle_click_64_1.bind(this)));this._expr_30=R.n,this._expr_31=R.n,this._expr_32=R.n,this._expr_33=R.n;var w=this._NgModel_64_6.update.subscribe(this.eventHandler(this._handle_ngModelChange_64_0.bind(this)));return this._expr_34=R.n,this._expr_35=R.n,this._expr_36=R.n,this._expr_37=R.n,this._expr_38=R.n,this._expr_39=R.n,this._expr_40=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._anchor_2,this._text_3,this._anchor_4,this._text_5,this._anchor_6,this._text_7,this._anchor_8,this._text_9,this._anchor_10,this._text_11,this._anchor_12,this._text_13,this._el_14,this._text_15,this._el_16,this._text_17,this._text_18,this._el_19,this._text_20,this._text_21,this._text_22,this._el_23,this._text_24,this._el_25,this._text_26,this._el_27,this._text_28,this._text_29,this._text_30,this._el_31,this._text_32,this._el_33,this._text_34,this._el_35,this._text_36,this._text_37,this._el_38,this._text_39,this._text_40,this._text_41,this._el_42,this._text_43,this._el_44,this._text_45,this._text_46,this._el_47,this._text_48,this._text_49,this._text_50,this._el_51,this._text_52,this._el_53,this._text_54,this._text_55,this._el_56,this._text_57,this._text_58,this._el_59,this._text_60,this._el_61,this._text_62,this._text_63,this._el_64,this._text_65,this._text_66,this._anchor_67,this._text_68,this._text_69],[l,h,c,x,b],[u,w]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===dt.b&&2===e?this._TemplateRef_2_5:t===tt.a&&2===e?this._NgIf_2_6:t===dt.b&&4===e?this._TemplateRef_4_5:t===tt.a&&4===e?this._NgIf_4_6:t===dt.b&&6===e?this._TemplateRef_6_5:t===tt.a&&6===e?this._NgIf_6_6:t===dt.b&&8===e?this._TemplateRef_8_5:t===tt.a&&8===e?this._NgIf_8_6:t===dt.b&&10===e?this._TemplateRef_10_5:t===tt.a&&10===e?this._NgIf_10_6:t===dt.b&&12===e?this._TemplateRef_12_5:t===tt.a&&12===e?this._NgIf_12_6:t===rt.a&&16<=e&&e<=17?this._Label_16_3:t===it.a&&14<=e&&e<=21?this._Item_14_4:t===it.b&&14<=e&&e<=21?this._ItemContent_14_5:t===nt.a&&23<=e&&e<=29?this._Button_23_4:t===rt.a&&35<=e&&e<=36?this._Label_35_3:t===it.a&&33<=e&&e<=40?this._Item_33_4:t===it.b&&33<=e&&e<=40?this._ItemContent_33_5:t===rt.a&&44<=e&&e<=45?this._Label_44_3:t===it.a&&42<=e&&e<=49?this._Item_42_4:t===it.b&&42<=e&&e<=49?this._ItemContent_42_5:t===rt.a&&53<=e&&e<=54?this._Label_53_3:t===It.a&&56===e?this._Checkbox_56_4:t===Pt.a&&56===e?this._NG_VALUE_ACCESSOR_56_5:t===St.a&&56===e?this._NgModel_56_6:t===Rt.a&&56===e?this._NgControl_56_7:t===Ot.a&&56===e?this._NgControlStatus_56_8:t===it.a&&51<=e&&e<=57?this._Item_51_4:t===it.b&&51<=e&&e<=57?this._ItemContent_51_5:t===rt.a&&61<=e&&e<=62?this._Label_61_3:t===It.a&&64===e?this._Checkbox_64_4:t===Pt.a&&64===e?this._NG_VALUE_ACCESSOR_64_5:t===St.a&&64===e?this._NgModel_64_6:t===Rt.a&&64===e?this._NgControl_64_7:t===Ot.a&&64===e?this._NgControlStatus_64_8:t===it.a&&59<=e&&e<=65?this._Item_59_4:t===it.b&&59<=e&&e<=65?this._ItemContent_59_5:t===dt.b&&67===e?this._TemplateRef_67_5:t===tt.a&&67===e?this._NgIf_67_6:t===At.a&&0<=e&&e<=69?this._List_0_3:n},e.prototype.detectChangesInternal=function(t){var e=!0,n=null,i=this.parent.context.showAdvancedSettings;if(N.c(t,this._expr_9,i)){var r=this._expr_9;r==R.n&&(r="void");var s=i;s==R.n&&(s="void"),this.componentType.animations.rotate(this,this._el_25,r,s),this._expr_9=i}var o=this.parent.context.showAdvancedSettings;if(N.c(t,this._expr_10,o)){var r=this._expr_10;r==R.n&&(r="void");var s=o;s==R.n&&(s="void"),this.componentType.animations.expand(this,this._el_33,r,s),this._expr_10=o}var a=this.parent.context.showAdvancedSettings;if(N.c(t,this._expr_12,a)){var r=this._expr_12;r==R.n&&(r="void");var s=a;s==R.n&&(s="void"),this.componentType.animations.expand(this,this._el_42,r,s),this._expr_12=a}var _=this.parent.context.showAdvancedSettings;if(N.c(t,this._expr_14,_)){var r=this._expr_14;r==R.n&&(r="void");var s=_;s==R.n&&(s="void"),this.componentType.animations.expand(this,this._el_51,r,s),this._expr_14=_}var l=this.parent.context.showAdvancedSettings;if(N.c(t,this._expr_26,l)){var r=this._expr_26;r==R.n&&(r="void");var s=l;s==R.n&&(s="void"),this.componentType.animations.expand(this,this._el_59,r,s),this._expr_26=l}var h=!this.parent.context.customNetworkConfig;N.c(t,this._expr_0,h)&&(this._NgIf_2_6.ngIf=h,this._expr_0=h);var c=this.parent.context.customNetworkConfig;N.c(t,this._expr_1,c)&&(this._NgIf_4_6.ngIf=c,this._expr_1=c);var u=!this.parent.context.customNetworkConfig;N.c(t,this._expr_2,u)&&(this._NgIf_6_6.ngIf=u,this._expr_2=u);var p=this.parent.context.customNetworkConfig;N.c(t,this._expr_3,p)&&(this._NgIf_8_6.ngIf=p,this._expr_3=p);var d="wpa"===this.parent.context.selectedNetwork.securityType||"wpa2"===this.parent.context.selectedNetwork.securityType;N.c(t,this._expr_4,d)&&(this._NgIf_10_6.ngIf=d,this._expr_4=d);var f="wep40"===this.parent.context.selectedNetwork.securityType||"wep104"===this.parent.context.selectedNetwork.securityType;N.c(t,this._expr_5,f)&&(this._NgIf_12_6.ngIf=f,this._expr_5=f),e=!1;var m="";N.c(t,this._expr_8,m)&&(this._Button_23_4.clear=m,e=!0,this._expr_8=m),e&&this._appEl_23.componentView.markAsCheckOnce(),n=null;var g=this.parent.context.save;N.c(t,this._expr_19,g)&&(this._NgModel_56_6.model=g,null===n&&(n={}),n.model=new R.m(this._expr_19,g),this._expr_19=g),null!==n&&this._NgModel_56_6.ngOnChanges(n);var v=this.parent.context.disableAutoConnect;N.c(t,this._expr_30,v)&&(this._Checkbox_64_4.disabled=v,this._expr_30=v),n=null;var x=this.parent.context.disableAutoConnect;N.c(t,this._expr_32,x)&&(this._NgModel_64_6.isDisabled=x,null===n&&(n={}),n.isDisabled=new R.m(this._expr_32,x),this._expr_32=x);var y=this.parent.context.autoConnect;N.c(t,this._expr_33,y)&&(this._NgModel_64_6.model=y,null===n&&(n={}),n.model=new R.m(this._expr_33,y),this._expr_33=y),null!==n&&this._NgModel_64_6.ngOnChanges(n);var b=null!=this.parent.context.deviceObject&&this.parent.context.deviceObject.bridge;N.c(t,this._expr_40,b)&&(this._NgIf_67_6.ngIf=b,this._expr_40=b),this.detectContentChildrenChanges(t),t||(this._query_Button_14_1.dirty&&(this._query_Button_14_1.reset([]),this._Item_14_4._buttons=this._query_Button_14_1,this._query_Button_14_1.notifyOnChanges()),this._query_Icon_14_2.dirty&&(this._query_Icon_14_2.reset([]),this._Item_14_4._icons=this._query_Icon_14_2,this._query_Icon_14_2.notifyOnChanges()),this._query_Button_33_1.dirty&&(this._query_Button_33_1.reset([]),this._Item_33_4._buttons=this._query_Button_33_1,this._query_Button_33_1.notifyOnChanges()),this._query_Icon_33_2.dirty&&(this._query_Icon_33_2.reset([]),this._Item_33_4._icons=this._query_Icon_33_2,this._query_Icon_33_2.notifyOnChanges()),this._query_Button_42_1.dirty&&(this._query_Button_42_1.reset([]),this._Item_42_4._buttons=this._query_Button_42_1,this._query_Button_42_1.notifyOnChanges()),this._query_Icon_42_2.dirty&&(this._query_Icon_42_2.reset([]),this._Item_42_4._icons=this._query_Icon_42_2,this._query_Icon_42_2.notifyOnChanges()),this._query_Button_51_1.dirty&&(this._query_Button_51_1.reset([]),this._Item_51_4._buttons=this._query_Button_51_1,this._query_Button_51_1.notifyOnChanges()),this._query_Icon_51_2.dirty&&(this._query_Icon_51_2.reset([]),this._Item_51_4._icons=this._query_Icon_51_2,this._query_Icon_51_2.notifyOnChanges()),this._query_Button_59_1.dirty&&(this._query_Button_59_1.reset([]),this._Item_59_4._buttons=this._query_Button_59_1,this._query_Button_59_1.notifyOnChanges()),this._query_Icon_59_2.dirty&&(this._query_Icon_59_2.reset([]),this._Item_59_4._icons=this._query_Icon_59_2,this._query_Icon_59_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_14_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_23_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_33_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_42_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Checkbox_56_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_51_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Checkbox_64_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_59_4.ngAfterContentInit());var w=N.e(1,"",this.parent.context.wifiStatus,"");N.c(t,this._expr_6,w)&&(this.renderer.setText(this._text_20,w),this._expr_6=w);var C=N.e(1,"",this.parent.context.selectedNic,"");N.c(t,this._expr_11,C)&&(this.renderer.setText(this._text_39,C),this._expr_11=C);var E=N.e(1,"",this.parent.context.selectedStorageLocation,"");N.c(t,this._expr_13,E)&&(this.renderer.setText(this._text_48,E),this._expr_13=E);var T=this._Checkbox_56_4._disabled;N.c(t,this._expr_18,T)&&(this.renderer.setElementClass(this._el_56,"checkbox-disabled",T),this._expr_18=T);var A=this._NgControlStatus_56_8.ngClassUntouched;N.c(t,this._expr_20,A)&&(this.renderer.setElementClass(this._el_56,"ng-untouched",A),this._expr_20=A);var I=this._NgControlStatus_56_8.ngClassTouched;N.c(t,this._expr_21,I)&&(this.renderer.setElementClass(this._el_56,"ng-touched",I),this._expr_21=I);var S=this._NgControlStatus_56_8.ngClassPristine;N.c(t,this._expr_22,S)&&(this.renderer.setElementClass(this._el_56,"ng-pristine",S),this._expr_22=S);var O=this._NgControlStatus_56_8.ngClassDirty;N.c(t,this._expr_23,O)&&(this.renderer.setElementClass(this._el_56,"ng-dirty",O),this._expr_23=O);var k=this._NgControlStatus_56_8.ngClassValid;N.c(t,this._expr_24,k)&&(this.renderer.setElementClass(this._el_56,"ng-valid",k),this._expr_24=k);var P=this._NgControlStatus_56_8.ngClassInvalid;N.c(t,this._expr_25,P)&&(this.renderer.setElementClass(this._el_56,"ng-invalid",P),this._expr_25=P);var D=this._Checkbox_64_4._disabled;N.c(t,this._expr_31,D)&&(this.renderer.setElementClass(this._el_64,"checkbox-disabled",D),this._expr_31=D);var j=this._NgControlStatus_64_8.ngClassUntouched;N.c(t,this._expr_34,j)&&(this.renderer.setElementClass(this._el_64,"ng-untouched",j),this._expr_34=j);var M=this._NgControlStatus_64_8.ngClassTouched;N.c(t,this._expr_35,M)&&(this.renderer.setElementClass(this._el_64,"ng-touched",M),this._expr_35=M);var L=this._NgControlStatus_64_8.ngClassPristine;N.c(t,this._expr_36,L)&&(this.renderer.setElementClass(this._el_64,"ng-pristine",L),this._expr_36=L);var B=this._NgControlStatus_64_8.ngClassDirty;N.c(t,this._expr_37,B)&&(this.renderer.setElementClass(this._el_64,"ng-dirty",B),this._expr_37=B);var F=this._NgControlStatus_64_8.ngClassValid;N.c(t,this._expr_38,F)&&(this.renderer.setElementClass(this._el_64,"ng-valid",F),this._expr_38=F);var q=this._NgControlStatus_64_8.ngClassInvalid;N.c(t,this._expr_39,q)&&(this.renderer.setElementClass(this._el_64,"ng-invalid",q),this._expr_39=q),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Checkbox_56_4.ngOnDestroy(),this._NgModel_56_6.ngOnDestroy(),this._Checkbox_64_4.ngOnDestroy(),this._NgModel_64_6.ngOnDestroy()},e.prototype.detachInternal=function(){this.componentType.animations.rotate(this,this._el_25,this._expr_9,"void"),this.componentType.animations.expand(this,this._el_33,this._expr_10,"void"),this.componentType.animations.expand(this,this._el_42,this._expr_12,"void"),this.componentType.animations.expand(this,this._el_51,this._expr_14,"void"),this.componentType.animations.expand(this,this._el_59,this._expr_26,"void")},e.prototype._handle_tap_23_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.toggleAdvancedSettings()!==!1;return e},e.prototype._handle_ngModelChange_56_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.context.save=t)!==!1,n=this.parent.context.checkboxChanged("save")!==!1;return e&&n},e.prototype._handle_click_56_1=function(t){this._appEl_56.componentView.markPathToRootAsCheckOnce();var e=this._Checkbox_56_4._click(t)!==!1;return e},e.prototype._handle_ngModelChange_64_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.context.autoConnect=t)!==!1,n=this.parent.context.checkboxChanged("autoConnect")!==!1;return e&&n},e.prototype._handle_click_64_1=function(t){this._appEl_64.componentView.markPathToRootAsCheckOnce();var e=this._Checkbox_64_4._click(t)!==!1;return e},e}(S.a),Zt=function(t){function e(n,i,r){t.call(this,e,zt,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Lt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","card-info item item-block"),this._appEl_0=new O.a(0,null,this,this._el_0);var e=gt.a(this.viewUtils,this.injector(0),this._appEl_0);return this._Item_0_4=new it.a(this.parent.parent.parentInjector.get(vt.a),this.parent.parent.parentInjector.get(at.c),new _t.a(this._el_0),this.renderer),this._ItemContent_0_5=new it.b,this._query_Label_0_0=new J.a,this._query_Button_0_1=new J.a,this._query_Icon_0_2=new J.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"ion-label",null),this._Label_2_3=new rt.a(this.parent.parent.parentInjector.get(at.c),new _t.a(this._el_2),this.renderer,null,null,null,null),this._text_3=this.renderer.createText(this._el_2,"SSID",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_5,"class","item-content-right"),this.renderer.setElementAttribute(this._el_5,"item-right",""),this._text_6=this.renderer.createText(this._el_5,"",null),this._text_7=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([this._Label_2_3]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[].concat([this._el_2]),[].concat([this._text_1,this._text_4,this._text_7]),[],[].concat([this._el_5])],null),this._expr_0=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._text_7],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===rt.a&&2<=e&&e<=3?this._Label_2_3:t===it.a&&0<=e&&e<=7?this._Item_0_4:t===it.b&&0<=e&&e<=7?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit());var e=N.e(1,"",this.parent.parent.context.selectedNetwork.ssid,"");N.c(t,this._expr_0,e)&&(this.renderer.setText(this._text_6,e),this._expr_0=e),this.detectViewChildrenChanges(t)},e}(S.a),Kt=function(t){function e(n,i,r){t.call(this,e,zt,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Lt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","card-info item item-block"),this._appEl_0=new O.a(0,null,this,this._el_0);var e=gt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Item_0_4=new it.a(this.parent.parent.parentInjector.get(vt.a),this.parent.parent.parentInjector.get(at.c),new _t.a(this._el_0),this.renderer),this._ItemContent_0_5=new it.b,this._query_Label_0_0=new J.a,this._query_Button_0_1=new J.a,this._query_Icon_0_2=new J.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"ion-label",null),this._Label_2_3=new rt.a(this.parent.parent.parentInjector.get(at.c),new _t.a(this._el_2),this.renderer,null,null,null,null),this._text_3=this.renderer.createText(this._el_2,"SSID",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"div",null), this.renderer.setElementAttribute(this._el_5,"class","item-content-right hostname-input-wrapper"),this.renderer.setElementAttribute(this._el_5,"item-right",""),this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._el_7=this.renderer.createElement(this._el_5,"input",null),this.renderer.setElementAttribute(this._el_7,"class","custom-input"),this._DefaultValueAccessor_7_3=new Dt.a(this.renderer,new _t.a(this._el_7)),this._NG_VALUE_ACCESSOR_7_4=[this._DefaultValueAccessor_7_3],this._NgModel_7_5=new St.a(null,null,null,this._NG_VALUE_ACCESSOR_7_4),this._NgControl_7_6=this._NgModel_7_5,this._NgControlStatus_7_7=new Ot.a(this._NgControl_7_6),this._text_8=this.renderer.createText(this._el_5,"\n ",null),this._text_9=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([this._Label_2_3]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[].concat([this._el_2]),[].concat([this._text_1,this._text_4,this._text_9]),[],[].concat([this._el_5])],null);var n=this.renderer.listen(this._el_7,"ngModelChange",this.eventHandler(this._handle_ngModelChange_7_0.bind(this))),i=this.renderer.listen(this._el_7,"input",this.eventHandler(this._handle_input_7_1.bind(this))),r=this.renderer.listen(this._el_7,"blur",this.eventHandler(this._handle_blur_7_2.bind(this)));this._expr_3=R.n;var s=this._NgModel_7_5.update.subscribe(this.eventHandler(this._handle_ngModelChange_7_0.bind(this)));return this._expr_4=R.n,this._expr_5=R.n,this._expr_6=R.n,this._expr_7=R.n,this._expr_8=R.n,this._expr_9=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._text_9],[n,i,r],[s]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===rt.a&&2<=e&&e<=3?this._Label_2_3:t===Dt.a&&7===e?this._DefaultValueAccessor_7_3:t===Pt.a&&7===e?this._NG_VALUE_ACCESSOR_7_4:t===St.a&&7===e?this._NgModel_7_5:t===Rt.a&&7===e?this._NgControl_7_6:t===Ot.a&&7===e?this._NgControlStatus_7_7:t===it.a&&0<=e&&e<=9?this._Item_0_4:t===it.b&&0<=e&&e<=9?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.context.selectedNetwork.ssid;N.c(t,this._expr_3,n)&&(this._NgModel_7_5.model=n,null===e&&(e={}),e.model=new R.m(this._expr_3,n),this._expr_3=n),null!==e&&this._NgModel_7_5.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit());var i=this._NgControlStatus_7_7.ngClassUntouched;N.c(t,this._expr_4,i)&&(this.renderer.setElementClass(this._el_7,"ng-untouched",i),this._expr_4=i);var r=this._NgControlStatus_7_7.ngClassTouched;N.c(t,this._expr_5,r)&&(this.renderer.setElementClass(this._el_7,"ng-touched",r),this._expr_5=r);var s=this._NgControlStatus_7_7.ngClassPristine;N.c(t,this._expr_6,s)&&(this.renderer.setElementClass(this._el_7,"ng-pristine",s),this._expr_6=s);var o=this._NgControlStatus_7_7.ngClassDirty;N.c(t,this._expr_7,o)&&(this.renderer.setElementClass(this._el_7,"ng-dirty",o),this._expr_7=o);var a=this._NgControlStatus_7_7.ngClassValid;N.c(t,this._expr_8,a)&&(this.renderer.setElementClass(this._el_7,"ng-valid",a),this._expr_8=a);var _=this._NgControlStatus_7_7.ngClassInvalid;N.c(t,this._expr_9,_)&&(this.renderer.setElementClass(this._el_7,"ng-invalid",_),this._expr_9=_),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_7_5.ngOnDestroy()},e.prototype._handle_ngModelChange_7_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.parent.context.selectedNetwork.ssid=t)!==!1;return e},e.prototype._handle_input_7_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_7_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_7_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_7_3.onTouched()!==!1;return e},e}(S.a),te=function(t){function e(n,i,r){t.call(this,e,zt,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Lt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","card-info item item-block"),this._appEl_0=new O.a(0,null,this,this._el_0);var e=gt.a(this.viewUtils,this.injector(0),this._appEl_0);return this._Item_0_4=new it.a(this.parent.parent.parentInjector.get(vt.a),this.parent.parent.parentInjector.get(at.c),new _t.a(this._el_0),this.renderer),this._ItemContent_0_5=new it.b,this._query_Label_0_0=new J.a,this._query_Button_0_1=new J.a,this._query_Icon_0_2=new J.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"ion-label",null),this._Label_2_3=new rt.a(this.parent.parent.parentInjector.get(at.c),new _t.a(this._el_2),this.renderer,null,null,null,null),this._text_3=this.renderer.createText(this._el_2,"Security Type",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_5,"class","item-content-right security-type-container"),this.renderer.setElementAttribute(this._el_5,"item-right",""),this._text_6=this.renderer.createText(this._el_5,"",null),this._text_7=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([this._Label_2_3]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[].concat([this._el_2]),[].concat([this._text_1,this._text_4,this._text_7]),[],[].concat([this._el_5])],null),this._expr_0=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._text_7],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===rt.a&&2<=e&&e<=3?this._Label_2_3:t===it.a&&0<=e&&e<=7?this._Item_0_4:t===it.b&&0<=e&&e<=7?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit());var e=N.e(1,"",this.parent.parent.context.selectedNetwork.securityType,"");N.c(t,this._expr_0,e)&&(this.renderer.setText(this._text_6,e),this._expr_0=e),this.detectViewChildrenChanges(t)},e}(S.a),ee=function(t){function e(n,i,r){t.call(this,e,zt,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Lt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","card-info item item-block"),this._appEl_0=new O.a(0,null,this,this._el_0);var e=gt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Item_0_4=new it.a(this.parent.parent.parentInjector.get(vt.a),this.parent.parent.parentInjector.get(at.c),new _t.a(this._el_0),this.renderer),this._ItemContent_0_5=new it.b,this._query_Label_0_0=new J.a,this._query_Button_0_1=new J.a,this._query_Icon_0_2=new J.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"ion-label",null),this._Label_2_3=new rt.a(this.parent.parent.parentInjector.get(at.c),new _t.a(this._el_2),this.renderer,null,null,null,null),this._text_3=this.renderer.createText(this._el_2,"Security Type",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_5,"class","item-content-right dropdown-popover-item-right"),this.renderer.setElementAttribute(this._el_5,"item-right",""),this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._el_7=this.renderer.createElement(this._el_5,"dropdown-popover",null),this._appEl_7=new O.a(7,5,this,this._el_7);var n=xt.b(this.viewUtils,this.injector(7),this._appEl_7);this._DropdownPopoverComponent_7_4=new st.a(this.parent.parent.parentInjector.get(q.a),new _t.a(this._el_7),this.parent.parent.parentInjector.get(yt.f)),this._appEl_7.initComponent(this._DropdownPopoverComponent_7_4,[],n),n.create(this._DropdownPopoverComponent_7_4,[],null),this._text_8=this.renderer.createText(this._el_5,"\n ",null),this._text_9=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([this._Label_2_3]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[].concat([this._el_2]),[].concat([this._text_1,this._text_4,this._text_9]),[],[].concat([this._el_5])],null);var i=this.renderer.listen(this._el_7,"onSelection",this.eventHandler(this._handle_onSelection_7_0.bind(this)));this._expr_1=R.n,this._expr_2=R.n;var r=this._DropdownPopoverComponent_7_4.onSelection.subscribe(this.eventHandler(this._handle_onSelection_7_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._text_9],[i],[r]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===rt.a&&2<=e&&e<=3?this._Label_2_3:t===st.a&&7===e?this._DropdownPopoverComponent_7_4:t===it.a&&0<=e&&e<=9?this._Item_0_4:t===it.b&&0<=e&&e<=9?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.context.securityTypes;N.c(t,this._expr_1,n)&&(this._DropdownPopoverComponent_7_4.dataArray=n,null===e&&(e={}),e.dataArray=new R.m(this._expr_1,n),this._expr_1=n);var i=!0;N.c(t,this._expr_2,i)&&(this._DropdownPopoverComponent_7_4.forcePopover=i,null===e&&(e={}),e.forcePopover=new R.m(this._expr_2,i),this._expr_2=i),null!==e&&this._DropdownPopoverComponent_7_4.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit()),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._DropdownPopoverComponent_7_4.ngAfterViewInit()},e.prototype._handle_onSelection_7_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.customNetworkSecuritySelect(t)!==!1;return e},e}(S.a),ne=function(t){function e(n,i,r){t.call(this,e,zt,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Lt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","card-info item item-block"),this._appEl_0=new O.a(0,null,this,this._el_0);var e=gt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Item_0_4=new it.a(this.parent.parent.parentInjector.get(vt.a),this.parent.parent.parentInjector.get(at.c),new _t.a(this._el_0),this.renderer),this._ItemContent_0_5=new it.b,this._query_Label_0_0=new J.a,this._query_Button_0_1=new J.a,this._query_Icon_0_2=new J.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"ion-label",null),this._Label_2_3=new rt.a(this.parent.parent.parentInjector.get(at.c),new _t.a(this._el_2),this.renderer,null,null,null,null),this._text_3=this.renderer.createText(this._el_2,"Password",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_5,"class","item-content-right hostname-input-wrapper"),this.renderer.setElementAttribute(this._el_5,"item-right",""),this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._el_7=this.renderer.createElement(this._el_5,"input",null),this.renderer.setElementAttribute(this._el_7,"class","custom-input"),this._DefaultValueAccessor_7_3=new Dt.a(this.renderer,new _t.a(this._el_7)),this._NG_VALUE_ACCESSOR_7_4=[this._DefaultValueAccessor_7_3],this._NgModel_7_5=new St.a(null,null,null,this._NG_VALUE_ACCESSOR_7_4),this._NgControl_7_6=this._NgModel_7_5,this._NgControlStatus_7_7=new Ot.a(this._NgControl_7_6),this._text_8=this.renderer.createText(this._el_5,"\n ",null),this._el_9=this.renderer.createElement(this._el_5,"ion-checkbox",null),this.renderer.setElementAttribute(this._el_9,"type","checkbox"),this._appEl_9=new O.a(9,5,this,this._el_9);var n=Nt.a(this.viewUtils,this.injector(9),this._appEl_9);this._Checkbox_9_5=new It.a(this.parent.parent.parentInjector.get(at.c),this.parent.parent.parentInjector.get(vt.a),this._Item_0_4,new _t.a(this._el_9),this.renderer),this._NG_VALUE_ACCESSOR_9_6=[this._Checkbox_9_5],this._NgModel_9_7=new St.a(null,null,null,this._NG_VALUE_ACCESSOR_9_6),this._NgControl_9_8=this._NgModel_9_7,this._NgControlStatus_9_9=new Ot.a(this._NgControl_9_8),this._Tooltip_9_10=new bt.a(this._appEl_9.vcRef,this.parent.parent.parentInjector.get(wt.a),this.parent.parent.parentInjector.get(yt.f)),this._appEl_9.initComponent(this._Checkbox_9_5,[],n),n.create(this._Checkbox_9_5,[],null),this._text_10=this.renderer.createText(this._el_5,"\n ",null),this._text_11=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([this._Label_2_3]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[].concat([this._el_2]),[].concat([this._text_1,this._text_4,this._text_11]),[],[].concat([this._el_5])],null),this._expr_4=R.n;var i=this.renderer.listen(this._el_7,"keyup.enter",this.eventHandler(this._handle_keyup_enter_7_0.bind(this))),r=this.renderer.listen(this._el_7,"ngModelChange",this.eventHandler(this._handle_ngModelChange_7_1.bind(this))),s=this.renderer.listen(this._el_7,"input",this.eventHandler(this._handle_input_7_2.bind(this))),o=this.renderer.listen(this._el_7,"blur",this.eventHandler(this._handle_blur_7_3.bind(this)));this._expr_5=R.n;var a=this._NgModel_7_5.update.subscribe(this.eventHandler(this._handle_ngModelChange_7_1.bind(this)));this._expr_6=R.n,this._expr_7=R.n,this._expr_8=R.n,this._expr_9=R.n,this._expr_10=R.n,this._expr_11=R.n;var _=this.renderer.listen(this._el_9,"ngModelChange",this.eventHandler(this._handle_ngModelChange_9_0.bind(this))),l=this.renderer.listen(this._el_9,"click",this.eventHandler(this._handle_click_9_1.bind(this))),h=this.renderer.listen(this._el_9,"focusin",this.eventHandler(this._handle_focusin_9_2.bind(this))),c=this.renderer.listen(this._el_9,"mouseenter",this.eventHandler(this._handle_mouseenter_9_3.bind(this))),u=this.renderer.listen(this._el_9,"focusout",this.eventHandler(this._handle_focusout_9_4.bind(this))),p=this.renderer.listen(this._el_9,"mouseleave",this.eventHandler(this._handle_mouseleave_9_5.bind(this)));this._expr_18=R.n,this._expr_19=R.n;var d=this._NgModel_9_7.update.subscribe(this.eventHandler(this._handle_ngModelChange_9_0.bind(this)));return this._expr_20=R.n,this._expr_21=R.n,this._expr_22=R.n,this._expr_23=R.n,this._expr_24=R.n,this._expr_25=R.n,this._expr_26=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._text_11],[i,r,s,o,_,l,h,c,u,p],[a,d]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===rt.a&&2<=e&&e<=3?this._Label_2_3:t===Dt.a&&7===e?this._DefaultValueAccessor_7_3:t===Pt.a&&7===e?this._NG_VALUE_ACCESSOR_7_4:t===St.a&&7===e?this._NgModel_7_5:t===Rt.a&&7===e?this._NgControl_7_6:t===Ot.a&&7===e?this._NgControlStatus_7_7:t===It.a&&9===e?this._Checkbox_9_5:t===Pt.a&&9===e?this._NG_VALUE_ACCESSOR_9_6:t===St.a&&9===e?this._NgModel_9_7:t===Rt.a&&9===e?this._NgControl_9_8:t===Ot.a&&9===e?this._NgControlStatus_9_9:t===bt.a&&9===e?this._Tooltip_9_10:t===it.a&&0<=e&&e<=11?this._Item_0_4:t===it.b&&0<=e&&e<=11?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.context.password;N.c(t,this._expr_5,n)&&(this._NgModel_7_5.model=n,null===e&&(e={}),e.model=new R.m(this._expr_5,n),this._expr_5=n),null!==e&&this._NgModel_7_5.ngOnChanges(e),e=null;var i=this.parent.parent.context.showPassword;N.c(t,this._expr_19,i)&&(this._NgModel_9_7.model=i,null===e&&(e={}),e.model=new R.m(this._expr_19,i),this._expr_19=i),null!==e&&this._NgModel_9_7.ngOnChanges(e),e=null;var r=this.parent.parent.context.tooltipService.getTooltip("showPassword").message;N.c(t,this._expr_26,r)&&(this._Tooltip_9_10.content=r,null===e&&(e={}),e.content=new R.m(this._expr_26,r),this._expr_26=r),null!==e&&this._Tooltip_9_10.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Checkbox_9_5.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit());var s=this.parent.parent.context.showPassword?"text":"password";N.c(t,this._expr_4,s)&&(this.renderer.setElementProperty(this._el_7,"type",s),this._expr_4=s);var o=this._NgControlStatus_7_7.ngClassUntouched;N.c(t,this._expr_6,o)&&(this.renderer.setElementClass(this._el_7,"ng-untouched",o),this._expr_6=o);var a=this._NgControlStatus_7_7.ngClassTouched;N.c(t,this._expr_7,a)&&(this.renderer.setElementClass(this._el_7,"ng-touched",a),this._expr_7=a);var _=this._NgControlStatus_7_7.ngClassPristine;N.c(t,this._expr_8,_)&&(this.renderer.setElementClass(this._el_7,"ng-pristine",_),this._expr_8=_);var l=this._NgControlStatus_7_7.ngClassDirty;N.c(t,this._expr_9,l)&&(this.renderer.setElementClass(this._el_7,"ng-dirty",l),this._expr_9=l);var h=this._NgControlStatus_7_7.ngClassValid;N.c(t,this._expr_10,h)&&(this.renderer.setElementClass(this._el_7,"ng-valid",h),this._expr_10=h);var c=this._NgControlStatus_7_7.ngClassInvalid;N.c(t,this._expr_11,c)&&(this.renderer.setElementClass(this._el_7,"ng-invalid",c),this._expr_11=c);var u=this._Checkbox_9_5._disabled;N.c(t,this._expr_18,u)&&(this.renderer.setElementClass(this._el_9,"checkbox-disabled",u),this._expr_18=u);var p=this._NgControlStatus_9_9.ngClassUntouched;N.c(t,this._expr_20,p)&&(this.renderer.setElementClass(this._el_9,"ng-untouched",p),this._expr_20=p);var d=this._NgControlStatus_9_9.ngClassTouched;N.c(t,this._expr_21,d)&&(this.renderer.setElementClass(this._el_9,"ng-touched",d),this._expr_21=d);var f=this._NgControlStatus_9_9.ngClassPristine;N.c(t,this._expr_22,f)&&(this.renderer.setElementClass(this._el_9,"ng-pristine",f),this._expr_22=f);var m=this._NgControlStatus_9_9.ngClassDirty;N.c(t,this._expr_23,m)&&(this.renderer.setElementClass(this._el_9,"ng-dirty",m),this._expr_23=m);var g=this._NgControlStatus_9_9.ngClassValid;N.c(t,this._expr_24,g)&&(this.renderer.setElementClass(this._el_9,"ng-valid",g),this._expr_24=g);var v=this._NgControlStatus_9_9.ngClassInvalid;N.c(t,this._expr_25,v)&&(this.renderer.setElementClass(this._el_9,"ng-invalid",v),this._expr_25=v),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_7_5.ngOnDestroy(),this._Checkbox_9_5.ngOnDestroy(),this._NgModel_9_7.ngOnDestroy()},e.prototype._handle_keyup_enter_7_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.addNetwork()!==!1;return e},e.prototype._handle_ngModelChange_7_1=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.parent.context.password=t)!==!1;return e},e.prototype._handle_input_7_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_7_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_7_3=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_7_3.onTouched()!==!1;return e},e.prototype._handle_ngModelChange_9_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.parent.context.showPassword=t)!==!1;return e},e.prototype._handle_click_9_1=function(t){this._appEl_9.componentView.markPathToRootAsCheckOnce();var e=this._Checkbox_9_5._click(t)!==!1;return e},e.prototype._handle_focusin_9_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_9_10.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_9_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_9_10.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_9_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_9_10.hide()!==!1;return e},e.prototype._handle_mouseleave_9_5=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_9_10.hide()!==!1;return e},e}(S.a),ie=function(t){function e(n,i,r){t.call(this,e,zt,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Lt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-item",null),this.renderer.setElementAttribute(this._el_2,"class","card-info item item-block"),this._appEl_2=new O.a(2,0,this,this._el_2);var e=gt.a(this.viewUtils,this.injector(2),this._appEl_2);this._Item_2_4=new it.a(this.parent.parent.parentInjector.get(vt.a),this.parent.parent.parentInjector.get(at.c),new _t.a(this._el_2),this.renderer),this._ItemContent_2_5=new it.b,this._query_Label_2_0=new J.a,this._query_Button_2_1=new J.a,this._query_Icon_2_2=new J.a,this._appEl_2.initComponent(this._Item_2_4,[],e),this._text_3=this.renderer.createText(null,"\n ",null),this._el_4=this.renderer.createElement(null,"ion-label",null),this._Label_4_3=new rt.a(this.parent.parent.parentInjector.get(at.c),new _t.a(this._el_4),this.renderer,null,null,null,null),this._text_5=this.renderer.createText(this._el_4,"Wep Key Index",null),this._text_6=this.renderer.createText(null,"\n ",null),this._el_7=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_7,"class","item-content-right hostname-input-wrapper"),this.renderer.setElementAttribute(this._el_7,"item-right",""),this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"input",null),this.renderer.setElementAttribute(this._el_9,"class","custom-input"),this._DefaultValueAccessor_9_3=new Dt.a(this.renderer,new _t.a(this._el_9)),this._NG_VALUE_ACCESSOR_9_4=[this._DefaultValueAccessor_9_3],this._NgModel_9_5=new St.a(null,null,null,this._NG_VALUE_ACCESSOR_9_4),this._NgControl_9_6=this._NgModel_9_5,this._NgControlStatus_9_7=new Ot.a(this._NgControl_9_6),this._text_10=this.renderer.createText(this._el_7,"\n ",null),this._text_11=this.renderer.createText(null,"\n ",null),this._query_Label_2_0.reset([this._Label_4_3]),this._Item_2_4.contentLabel=this._query_Label_2_0.first,e.create(this._Item_2_4,[[],[].concat([this._el_4]),[].concat([this._text_3,this._text_6,this._text_11]),[],[].concat([this._el_7])],null),this._text_12=this.renderer.createText(this._el_0,"\n ",null),this._anchor_13=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_13=new O.a(13,0,this,this._anchor_13),this._TemplateRef_13_5=new dt.a(this._appEl_13,x),this._NgFor_13_6=new et.a(this._appEl_13.vcRef,this._TemplateRef_13_5,this.parent.parent.parentInjector.get(ft.a),this.parent.parent.ref),this._text_14=this.renderer.createText(this._el_0,"\n ",null);var n=this.renderer.listen(this._el_9,"ngModelChange",this.eventHandler(this._handle_ngModelChange_9_0.bind(this))),i=this.renderer.listen(this._el_9,"input",this.eventHandler(this._handle_input_9_1.bind(this))),r=this.renderer.listen(this._el_9,"blur",this.eventHandler(this._handle_blur_9_2.bind(this)));this._expr_3=R.n;var s=this._NgModel_9_5.update.subscribe(this.eventHandler(this._handle_ngModelChange_9_0.bind(this)));return this._expr_4=R.n,this._expr_5=R.n,this._expr_6=R.n,this._expr_7=R.n,this._expr_8=R.n,this._expr_9=R.n,this._expr_10=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._text_11,this._text_12,this._anchor_13,this._text_14],[n,i,r],[s]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===rt.a&&4<=e&&e<=5?this._Label_4_3:t===Dt.a&&9===e?this._DefaultValueAccessor_9_3:t===Pt.a&&9===e?this._NG_VALUE_ACCESSOR_9_4:t===St.a&&9===e?this._NgModel_9_5:t===Rt.a&&9===e?this._NgControl_9_6:t===Ot.a&&9===e?this._NgControlStatus_9_7:t===it.a&&2<=e&&e<=11?this._Item_2_4:t===it.b&&2<=e&&e<=11?this._ItemContent_2_5:t===dt.b&&13===e?this._TemplateRef_13_5:t===et.a&&13===e?this._NgFor_13_6:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.context.wepKeyIndex;N.c(t,this._expr_3,n)&&(this._NgModel_9_5.model=n,null===e&&(e={}),e.model=new R.m(this._expr_3,n),this._expr_3=n),null!==e&&this._NgModel_9_5.ngOnChanges(e),e=null;var i=this.parent.parent.context.wepKeyEntryArray;N.c(t,this._expr_10,i)&&(this._NgFor_13_6.ngForOf=i,null===e&&(e={}),e.ngForOf=new R.m(this._expr_10,i),this._expr_10=i),null!==e&&this._NgFor_13_6.ngOnChanges(e),t||this._NgFor_13_6.ngDoCheck(),this.detectContentChildrenChanges(t),t||(this._query_Button_2_1.dirty&&(this._query_Button_2_1.reset([]),this._Item_2_4._buttons=this._query_Button_2_1,this._query_Button_2_1.notifyOnChanges()),this._query_Icon_2_2.dirty&&(this._query_Icon_2_2.reset([]),this._Item_2_4._icons=this._query_Icon_2_2,this._query_Icon_2_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_2_4.ngAfterContentInit());var r=this._NgControlStatus_9_7.ngClassUntouched;N.c(t,this._expr_4,r)&&(this.renderer.setElementClass(this._el_9,"ng-untouched",r),this._expr_4=r);var s=this._NgControlStatus_9_7.ngClassTouched;N.c(t,this._expr_5,s)&&(this.renderer.setElementClass(this._el_9,"ng-touched",s),this._expr_5=s);var o=this._NgControlStatus_9_7.ngClassPristine;N.c(t,this._expr_6,o)&&(this.renderer.setElementClass(this._el_9,"ng-pristine",o),this._expr_6=o);var a=this._NgControlStatus_9_7.ngClassDirty;N.c(t,this._expr_7,a)&&(this.renderer.setElementClass(this._el_9,"ng-dirty",a),this._expr_7=a);var _=this._NgControlStatus_9_7.ngClassValid;N.c(t,this._expr_8,_)&&(this.renderer.setElementClass(this._el_9,"ng-valid",_),this._expr_8=_);var l=this._NgControlStatus_9_7.ngClassInvalid;N.c(t,this._expr_9,l)&&(this.renderer.setElementClass(this._el_9,"ng-invalid",l),this._expr_9=l),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_9_5.ngOnDestroy()},e.prototype._handle_ngModelChange_9_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.parent.context.wepKeyIndex=t)!==!1;return e},e.prototype._handle_input_9_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_9_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_9_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_9_3.onTouched()!==!1;return e},e}(S.a),re=function(t){function e(n,i,r){t.call(this,e,zt,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Lt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","card-info item item-block"),this._appEl_0=new O.a(0,null,this,this._el_0);var e=gt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Item_0_4=new it.a(this.parent.parent.parent.parentInjector.get(vt.a),this.parent.parent.parent.parentInjector.get(at.c),new _t.a(this._el_0),this.renderer),this._ItemContent_0_5=new it.b,this._query_Label_0_0=new J.a,this._query_Button_0_1=new J.a,this._query_Icon_0_2=new J.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"ion-label",null),this._Label_2_3=new rt.a(this.parent.parent.parent.parentInjector.get(at.c),new _t.a(this._el_2),this.renderer,null,null,null,null),this._text_3=this.renderer.createText(this._el_2,"",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_5,"class","item-content-right hostname-input-wrapper"),this.renderer.setElementAttribute(this._el_5,"item-right",""),this._NgClass_5_3=new jt.a(this.parent.parent.parent.parentInjector.get(ft.a),this.parent.parent.parent.parentInjector.get(Mt.a),new _t.a(this._el_5),this.renderer),this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._el_7=this.renderer.createElement(this._el_5,"input",null),this.renderer.setElementAttribute(this._el_7,"class","custom-input"),this._DefaultValueAccessor_7_3=new Dt.a(this.renderer,new _t.a(this._el_7)),this._NG_VALUE_ACCESSOR_7_4=[this._DefaultValueAccessor_7_3],this._NgModel_7_5=new St.a(null,null,null,this._NG_VALUE_ACCESSOR_7_4),this._NgControl_7_6=this._NgModel_7_5,this._NgControlStatus_7_7=new Ot.a(this._NgControl_7_6),this._text_8=this.renderer.createText(this._el_5,"\n ",null),this._text_9=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([this._Label_2_3]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[].concat([this._el_2]),[].concat([this._text_1,this._text_4,this._text_9]),[],[].concat([this._el_5])],null),this._expr_0=R.n,this._expr_1=R.n,this._map_0=N.h(function(t){return{wep104:t}}),this._expr_2=R.n,this._expr_6=R.n;var n=this.renderer.listen(this._el_7,"ngModelChange",this.eventHandler(this._handle_ngModelChange_7_0.bind(this))),i=this.renderer.listen(this._el_7,"input",this.eventHandler(this._handle_input_7_1.bind(this))),r=this.renderer.listen(this._el_7,"blur",this.eventHandler(this._handle_blur_7_2.bind(this)));this._expr_7=R.n;var s=this._NgModel_7_5.update.subscribe(this.eventHandler(this._handle_ngModelChange_7_0.bind(this)));return this._expr_8=R.n,this._expr_9=R.n,this._expr_10=R.n,this._expr_11=R.n,this._expr_12=R.n,this._expr_13=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._text_9],[n,i,r],[s]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===rt.a&&2<=e&&e<=3?this._Label_2_3:t===Dt.a&&7===e?this._DefaultValueAccessor_7_3:t===Pt.a&&7===e?this._NG_VALUE_ACCESSOR_7_4:t===St.a&&7===e?this._NgModel_7_5:t===Rt.a&&7===e?this._NgControl_7_6:t===Ot.a&&7===e?this._NgControlStatus_7_7:t===jt.a&&5<=e&&e<=8?this._NgClass_5_3:t===it.a&&0<=e&&e<=9?this._Item_0_4:t===it.b&&0<=e&&e<=9?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){var e=null,n="item-content-right hostname-input-wrapper";N.c(t,this._expr_1,n)&&(this._NgClass_5_3.klass=n,this._expr_1=n);var i=this._map_0("wep104"===this.parent.parent.parent.context.selectedNetwork.securityType);N.c(t,this._expr_2,i)&&(this._NgClass_5_3.ngClass=i,this._expr_2=i),t||this._NgClass_5_3.ngDoCheck(),e=null;var r=this.parent.parent.parent.context.wepKeyArray[this.context.index]; N.c(t,this._expr_7,r)&&(this._NgModel_7_5.model=r,null===e&&(e={}),e.model=new R.m(this._expr_7,r),this._expr_7=r),null!==e&&this._NgModel_7_5.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit());var s=N.e(1,"Wep Key ",this.context.index+1,"");N.c(t,this._expr_0,s)&&(this.renderer.setText(this._text_3,s),this._expr_0=s);var o="wep40"===this.parent.parent.parent.context.selectedNetwork.securityType?"AA:34:CC:78:12":"AA:BC:32:38:83:09:B8:8C:7D:FE:FF:6D:1A";N.c(t,this._expr_6,o)&&(this.renderer.setElementProperty(this._el_7,"placeholder",o),this._expr_6=o);var a=this._NgControlStatus_7_7.ngClassUntouched;N.c(t,this._expr_8,a)&&(this.renderer.setElementClass(this._el_7,"ng-untouched",a),this._expr_8=a);var _=this._NgControlStatus_7_7.ngClassTouched;N.c(t,this._expr_9,_)&&(this.renderer.setElementClass(this._el_7,"ng-touched",_),this._expr_9=_);var l=this._NgControlStatus_7_7.ngClassPristine;N.c(t,this._expr_10,l)&&(this.renderer.setElementClass(this._el_7,"ng-pristine",l),this._expr_10=l);var h=this._NgControlStatus_7_7.ngClassDirty;N.c(t,this._expr_11,h)&&(this.renderer.setElementClass(this._el_7,"ng-dirty",h),this._expr_11=h);var c=this._NgControlStatus_7_7.ngClassValid;N.c(t,this._expr_12,c)&&(this.renderer.setElementClass(this._el_7,"ng-valid",c),this._expr_12=c);var u=this._NgControlStatus_7_7.ngClassInvalid;N.c(t,this._expr_13,u)&&(this.renderer.setElementClass(this._el_7,"ng-invalid",u),this._expr_13=u),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_7_5.ngOnDestroy()},e.prototype._handle_ngModelChange_7_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.parent.parent.context.wepKeyArray[this.context.index]=t)!==!1;return e},e.prototype._handle_input_7_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_7_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_7_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_7_3.onTouched()!==!1;return e},e}(S.a),se=function(t){function e(n,i,r){t.call(this,e,zt,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Lt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","card-info collapse-card item item-block"),this._appEl_0=new O.a(0,null,this,this._el_0);var e=gt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Item_0_4=new it.a(this.parent.parent.parentInjector.get(vt.a),this.parent.parent.parentInjector.get(at.c),new _t.a(this._el_0),this.renderer),this._ItemContent_0_5=new it.b,this._query_Label_0_0=new J.a,this._query_Button_0_1=new J.a,this._query_Icon_0_2=new J.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"ion-label",null),this._Label_2_3=new rt.a(this.parent.parent.parentInjector.get(at.c),new _t.a(this._el_2),this.renderer,null,null,null,null),this._text_3=this.renderer.createText(this._el_2,"Connect Now",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"ion-checkbox",null),this.renderer.setElementAttribute(this._el_5,"item-right",""),this._appEl_5=new O.a(5,0,this,this._el_5);var n=Nt.a(this.viewUtils,this.injector(5),this._appEl_5);this._Checkbox_5_4=new It.a(this.parent.parent.parentInjector.get(at.c),this.parent.parent.parentInjector.get(vt.a),this._Item_0_4,new _t.a(this._el_5),this.renderer),this._NG_VALUE_ACCESSOR_5_5=[this._Checkbox_5_4],this._NgModel_5_6=new St.a(null,null,null,this._NG_VALUE_ACCESSOR_5_5),this._NgControl_5_7=this._NgModel_5_6,this._NgControlStatus_5_8=new Ot.a(this._NgControl_5_7),this._appEl_5.initComponent(this._Checkbox_5_4,[],n),n.create(this._Checkbox_5_4,[],null),this._text_6=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([this._Label_2_3]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[].concat([this._el_2]),[].concat([this._text_1,this._text_4,this._text_6]),[],[].concat([this._el_5])],null),this._expr_0=R.n;var i=this.renderer.listen(this._el_5,"ngModelChange",this.eventHandler(this._handle_ngModelChange_5_0.bind(this))),r=this.renderer.listen(this._el_5,"click",this.eventHandler(this._handle_click_5_1.bind(this)));this._expr_4=R.n,this._expr_5=R.n;var s=this._NgModel_5_6.update.subscribe(this.eventHandler(this._handle_ngModelChange_5_0.bind(this)));return this._expr_6=R.n,this._expr_7=R.n,this._expr_8=R.n,this._expr_9=R.n,this._expr_10=R.n,this._expr_11=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6],[i,r],[s]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===rt.a&&2<=e&&e<=3?this._Label_2_3:t===It.a&&5===e?this._Checkbox_5_4:t===Pt.a&&5===e?this._NG_VALUE_ACCESSOR_5_5:t===St.a&&5===e?this._NgModel_5_6:t===Rt.a&&5===e?this._NgControl_5_7:t===Ot.a&&5===e?this._NgControlStatus_5_8:t===it.a&&0<=e&&e<=6?this._Item_0_4:t===it.b&&0<=e&&e<=6?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){var e=null,n=this.parent.parent.context.showAdvancedSettings;if(N.c(t,this._expr_0,n)){var i=this._expr_0;i==R.n&&(i="void");var r=n;r==R.n&&(r="void"),this.componentType.animations.expand(this,this._el_0,i,r),this._expr_0=n}e=null;var s=this.parent.parent.context.connectNow;N.c(t,this._expr_5,s)&&(this._NgModel_5_6.model=s,null===e&&(e={}),e.model=new R.m(this._expr_5,s),this._expr_5=s),null!==e&&this._NgModel_5_6.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Checkbox_5_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit());var o=this._Checkbox_5_4._disabled;N.c(t,this._expr_4,o)&&(this.renderer.setElementClass(this._el_5,"checkbox-disabled",o),this._expr_4=o);var a=this._NgControlStatus_5_8.ngClassUntouched;N.c(t,this._expr_6,a)&&(this.renderer.setElementClass(this._el_5,"ng-untouched",a),this._expr_6=a);var _=this._NgControlStatus_5_8.ngClassTouched;N.c(t,this._expr_7,_)&&(this.renderer.setElementClass(this._el_5,"ng-touched",_),this._expr_7=_);var l=this._NgControlStatus_5_8.ngClassPristine;N.c(t,this._expr_8,l)&&(this.renderer.setElementClass(this._el_5,"ng-pristine",l),this._expr_8=l);var h=this._NgControlStatus_5_8.ngClassDirty;N.c(t,this._expr_9,h)&&(this.renderer.setElementClass(this._el_5,"ng-dirty",h),this._expr_9=h);var c=this._NgControlStatus_5_8.ngClassValid;N.c(t,this._expr_10,c)&&(this.renderer.setElementClass(this._el_5,"ng-valid",c),this._expr_10=c);var u=this._NgControlStatus_5_8.ngClassInvalid;N.c(t,this._expr_11,u)&&(this.renderer.setElementClass(this._el_5,"ng-invalid",u),this._expr_11=u),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Checkbox_5_4.ngOnDestroy(),this._NgModel_5_6.ngOnDestroy()},e.prototype.detachInternal=function(){this.componentType.animations.expand(this,this._el_0,this._expr_0,"void")},e.prototype._handle_ngModelChange_5_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.parent.context.connectNow=t)!==!1,n=this.parent.parent.context.checkboxChanged("connectNow")!==!1;return e&&n},e.prototype._handle_click_5_1=function(t){this._appEl_5.componentView.markPathToRootAsCheckOnce();var e=this._Checkbox_5_4._click(t)!==!1;return e},e}(S.a),oe=function(t){function e(n,i,r){t.call(this,e,zt,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Lt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-list",null),this.renderer.setElementAttribute(this._el_0,"class","wifi-list"),this._List_0_3=new At.a(this.parent.parentInjector.get(at.c),new _t.a(this._el_0),this.renderer,this.parent.parentInjector.get(kt.a)),this._text_1=this.renderer.createText(this._el_0,"\n\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-item",null),this.renderer.setElementAttribute(this._el_2,"class","card-info item item-block"),this._appEl_2=new O.a(2,0,this,this._el_2);var e=gt.a(this.viewUtils,this.injector(2),this._appEl_2);this._Item_2_4=new it.a(this.parent.parentInjector.get(vt.a),this.parent.parentInjector.get(at.c),new _t.a(this._el_2),this.renderer),this._ItemContent_2_5=new it.b,this._query_Label_2_0=new J.a,this._query_Button_2_1=new J.a,this._query_Icon_2_2=new J.a,this._appEl_2.initComponent(this._Item_2_4,[],e),this._text_3=this.renderer.createText(null,"\n ",null),this._el_4=this.renderer.createElement(null,"ion-label",null),this._Label_4_3=new rt.a(this.parent.parentInjector.get(at.c),new _t.a(this._el_4),this.renderer,null,null,null,null),this._text_5=this.renderer.createText(this._el_4,"SSID",null),this._text_6=this.renderer.createText(null,"\n ",null),this._el_7=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_7,"class","item-content-right"),this.renderer.setElementAttribute(this._el_7,"item-right",""),this._text_8=this.renderer.createText(this._el_7,"",null),this._text_9=this.renderer.createText(null,"\n ",null),this._query_Label_2_0.reset([this._Label_4_3]),this._Item_2_4.contentLabel=this._query_Label_2_0.first,e.create(this._Item_2_4,[[],[].concat([this._el_4]),[].concat([this._text_3,this._text_6,this._text_9]),[],[].concat([this._el_7])],null),this._text_10=this.renderer.createText(this._el_0,"\n\n ",null),this._el_11=this.renderer.createElement(this._el_0,"ion-item",null),this.renderer.setElementAttribute(this._el_11,"class","card-info item item-block"),this._appEl_11=new O.a(11,0,this,this._el_11);var n=gt.a(this.viewUtils,this.injector(11),this._appEl_11);this._Item_11_4=new it.a(this.parent.parentInjector.get(vt.a),this.parent.parentInjector.get(at.c),new _t.a(this._el_11),this.renderer),this._ItemContent_11_5=new it.b,this._query_Label_11_0=new J.a,this._query_Button_11_1=new J.a,this._query_Icon_11_2=new J.a,this._appEl_11.initComponent(this._Item_11_4,[],n),this._text_12=this.renderer.createText(null,"\n ",null),this._el_13=this.renderer.createElement(null,"ion-label",null),this._Label_13_3=new rt.a(this.parent.parentInjector.get(at.c),new _t.a(this._el_13),this.renderer,null,null,null,null),this._text_14=this.renderer.createText(this._el_13,"Security Type",null),this._text_15=this.renderer.createText(null,"\n ",null),this._el_16=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_16,"class","item-content-right security-type-container"),this.renderer.setElementAttribute(this._el_16,"item-right",""),this._text_17=this.renderer.createText(this._el_16,"",null),this._text_18=this.renderer.createText(null,"\n ",null),this._query_Label_11_0.reset([this._Label_13_3]),this._Item_11_4.contentLabel=this._query_Label_11_0.first,n.create(this._Item_11_4,[[],[].concat([this._el_13]),[].concat([this._text_12,this._text_15,this._text_18]),[],[].concat([this._el_16])],null),this._text_19=this.renderer.createText(this._el_0,"\n\n ",null),this._anchor_20=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_20=new O.a(20,0,this,this._anchor_20),this._TemplateRef_20_5=new dt.a(this._appEl_20,w),this._NgIf_20_6=new tt.a(this._appEl_20.vcRef,this._TemplateRef_20_5),this._text_21=this.renderer.createText(this._el_0,"\n ",null),this._anchor_22=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_22=new O.a(22,0,this,this._anchor_22),this._TemplateRef_22_5=new dt.a(this._appEl_22,C),this._NgIf_22_6=new tt.a(this._appEl_22.vcRef,this._TemplateRef_22_5),this._text_23=this.renderer.createText(this._el_0,"\n\n ",null),this._el_24=this.renderer.createElement(this._el_0,"ion-item",null),this.renderer.setElementAttribute(this._el_24,"class","card-info item item-block"),this._appEl_24=new O.a(24,0,this,this._el_24);var i=gt.a(this.viewUtils,this.injector(24),this._appEl_24);this._Item_24_4=new it.a(this.parent.parentInjector.get(vt.a),this.parent.parentInjector.get(at.c),new _t.a(this._el_24),this.renderer),this._ItemContent_24_5=new it.b,this._query_Label_24_0=new J.a,this._query_Button_24_1=new J.a,this._query_Icon_24_2=new J.a,this._appEl_24.initComponent(this._Item_24_4,[],i),this._text_25=this.renderer.createText(null,"\n ",null),this._el_26=this.renderer.createElement(null,"ion-label",null),this._Label_26_3=new rt.a(this.parent.parentInjector.get(at.c),new _t.a(this._el_26),this.renderer,null,null,null,null),this._text_27=this.renderer.createText(this._el_26,"Storage Location",null),this._text_28=this.renderer.createText(null,"\n ",null),this._el_29=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_29,"class","item-content-right"),this.renderer.setElementAttribute(this._el_29,"item-right",""),this._text_30=this.renderer.createText(this._el_29,"",null),this._text_31=this.renderer.createText(null,"\n ",null),this._query_Label_24_0.reset([this._Label_26_3]),this._Item_24_4.contentLabel=this._query_Label_24_0.first,i.create(this._Item_24_4,[[],[].concat([this._el_26]),[].concat([this._text_25,this._text_28,this._text_31]),[],[].concat([this._el_29])],null),this._text_32=this.renderer.createText(this._el_0,"\n\n ",null),this._el_33=this.renderer.createElement(this._el_0,"ion-item",null),this.renderer.setElementAttribute(this._el_33,"class","card-info item item-block"),this._appEl_33=new O.a(33,0,this,this._el_33);var r=gt.a(this.viewUtils,this.injector(33),this._appEl_33);this._Item_33_4=new it.a(this.parent.parentInjector.get(vt.a),this.parent.parentInjector.get(at.c),new _t.a(this._el_33),this.renderer),this._ItemContent_33_5=new it.b,this._query_Label_33_0=new J.a,this._query_Button_33_1=new J.a,this._query_Icon_33_2=new J.a,this._appEl_33.initComponent(this._Item_33_4,[],r),this._text_34=this.renderer.createText(null,"\n ",null),this._el_35=this.renderer.createElement(null,"ion-label",null),this._Label_35_3=new rt.a(this.parent.parentInjector.get(at.c),new _t.a(this._el_35),this.renderer,null,null,null,null),this._text_36=this.renderer.createText(this._el_35,"Auto-Connect",null),this._text_37=this.renderer.createText(null,"\n ",null),this._el_38=this.renderer.createElement(null,"ion-checkbox",null),this.renderer.setElementAttribute(this._el_38,"item-right",""),this._appEl_38=new O.a(38,33,this,this._el_38);var s=Nt.a(this.viewUtils,this.injector(38),this._appEl_38);this._Checkbox_38_4=new It.a(this.parent.parentInjector.get(at.c),this.parent.parentInjector.get(vt.a),this._Item_33_4,new _t.a(this._el_38),this.renderer),this._NG_VALUE_ACCESSOR_38_5=[this._Checkbox_38_4],this._NgModel_38_6=new St.a(null,null,null,this._NG_VALUE_ACCESSOR_38_5),this._NgControl_38_7=this._NgModel_38_6,this._NgControlStatus_38_8=new Ot.a(this._NgControl_38_7),this._appEl_38.initComponent(this._Checkbox_38_4,[],s),s.create(this._Checkbox_38_4,[],null),this._text_39=this.renderer.createText(null,"\n ",null),this._query_Label_33_0.reset([this._Label_35_3]),this._Item_33_4.contentLabel=this._query_Label_33_0.first,r.create(this._Item_33_4,[[],[].concat([this._el_35]),[].concat([this._text_34,this._text_37,this._text_39]),[],[].concat([this._el_38])],null),this._text_40=this.renderer.createText(this._el_0,"\n\n ",null),this._anchor_41=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_41=new O.a(41,0,this,this._anchor_41),this._TemplateRef_41_5=new dt.a(this._appEl_41,T),this._NgIf_41_6=new tt.a(this._appEl_41.vcRef,this._TemplateRef_41_5),this._text_42=this.renderer.createText(this._el_0,"\n\n ",null),this._expr_0=R.n,this._expr_1=R.n,this._expr_2=R.n,this._expr_3=R.n,this._expr_4=R.n;var o=this.renderer.listen(this._el_38,"ngModelChange",this.eventHandler(this._handle_ngModelChange_38_0.bind(this))),a=this.renderer.listen(this._el_38,"click",this.eventHandler(this._handle_click_38_1.bind(this)));this._expr_7=R.n,this._expr_8=R.n;var _=this._NgModel_38_6.update.subscribe(this.eventHandler(this._handle_ngModelChange_38_0.bind(this)));return this._expr_9=R.n,this._expr_10=R.n,this._expr_11=R.n,this._expr_12=R.n,this._expr_13=R.n,this._expr_14=R.n,this._expr_15=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._text_9,this._text_10,this._el_11,this._text_12,this._el_13,this._text_14,this._text_15,this._el_16,this._text_17,this._text_18,this._text_19,this._anchor_20,this._text_21,this._anchor_22,this._text_23,this._el_24,this._text_25,this._el_26,this._text_27,this._text_28,this._el_29,this._text_30,this._text_31,this._text_32,this._el_33,this._text_34,this._el_35,this._text_36,this._text_37,this._el_38,this._text_39,this._text_40,this._anchor_41,this._text_42],[o,a],[_]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===rt.a&&4<=e&&e<=5?this._Label_4_3:t===it.a&&2<=e&&e<=9?this._Item_2_4:t===it.b&&2<=e&&e<=9?this._ItemContent_2_5:t===rt.a&&13<=e&&e<=14?this._Label_13_3:t===it.a&&11<=e&&e<=18?this._Item_11_4:t===it.b&&11<=e&&e<=18?this._ItemContent_11_5:t===dt.b&&20===e?this._TemplateRef_20_5:t===tt.a&&20===e?this._NgIf_20_6:t===dt.b&&22===e?this._TemplateRef_22_5:t===tt.a&&22===e?this._NgIf_22_6:t===rt.a&&26<=e&&e<=27?this._Label_26_3:t===it.a&&24<=e&&e<=31?this._Item_24_4:t===it.b&&24<=e&&e<=31?this._ItemContent_24_5:t===rt.a&&35<=e&&e<=36?this._Label_35_3:t===It.a&&38===e?this._Checkbox_38_4:t===Pt.a&&38===e?this._NG_VALUE_ACCESSOR_38_5:t===St.a&&38===e?this._NgModel_38_6:t===Rt.a&&38===e?this._NgControl_38_7:t===Ot.a&&38===e?this._NgControlStatus_38_8:t===it.a&&33<=e&&e<=39?this._Item_33_4:t===it.b&&33<=e&&e<=39?this._ItemContent_33_5:t===dt.b&&41===e?this._TemplateRef_41_5:t===tt.a&&41===e?this._NgIf_41_6:t===At.a&&0<=e&&e<=42?this._List_0_3:n},e.prototype.detectChangesInternal=function(t){var e=null,n="wpa"===this.parent.context.selectedNetwork.securityType||"wpa2"===this.parent.context.selectedNetwork.securityType;N.c(t,this._expr_2,n)&&(this._NgIf_20_6.ngIf=n,this._expr_2=n);var i="wep40"===this.parent.context.selectedNetwork.securityType||"wep104"===this.parent.context.selectedNetwork.securityType;N.c(t,this._expr_3,i)&&(this._NgIf_22_6.ngIf=i,this._expr_3=i),e=null;var r=this.parent.context.selectedNetwork.autoConnect;N.c(t,this._expr_8,r)&&(this._NgModel_38_6.model=r,null===e&&(e={}),e.model=new R.m(this._expr_8,r),this._expr_8=r),null!==e&&this._NgModel_38_6.ngOnChanges(e);var s=null!=this.parent.context.deviceObject&&this.parent.context.deviceObject.bridge;N.c(t,this._expr_15,s)&&(this._NgIf_41_6.ngIf=s,this._expr_15=s),this.detectContentChildrenChanges(t),t||(this._query_Button_2_1.dirty&&(this._query_Button_2_1.reset([]),this._Item_2_4._buttons=this._query_Button_2_1,this._query_Button_2_1.notifyOnChanges()),this._query_Icon_2_2.dirty&&(this._query_Icon_2_2.reset([]),this._Item_2_4._icons=this._query_Icon_2_2,this._query_Icon_2_2.notifyOnChanges()),this._query_Button_11_1.dirty&&(this._query_Button_11_1.reset([]),this._Item_11_4._buttons=this._query_Button_11_1,this._query_Button_11_1.notifyOnChanges()),this._query_Icon_11_2.dirty&&(this._query_Icon_11_2.reset([]),this._Item_11_4._icons=this._query_Icon_11_2,this._query_Icon_11_2.notifyOnChanges()),this._query_Button_24_1.dirty&&(this._query_Button_24_1.reset([]),this._Item_24_4._buttons=this._query_Button_24_1,this._query_Button_24_1.notifyOnChanges()),this._query_Icon_24_2.dirty&&(this._query_Icon_24_2.reset([]),this._Item_24_4._icons=this._query_Icon_24_2,this._query_Icon_24_2.notifyOnChanges()),this._query_Button_33_1.dirty&&(this._query_Button_33_1.reset([]),this._Item_33_4._buttons=this._query_Button_33_1,this._query_Button_33_1.notifyOnChanges()),this._query_Icon_33_2.dirty&&(this._query_Icon_33_2.reset([]),this._Item_33_4._icons=this._query_Icon_33_2,this._query_Icon_33_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_2_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_11_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_24_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Checkbox_38_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_33_4.ngAfterContentInit());var o=N.e(1,"",this.parent.context.selectedNetwork.ssid,"");N.c(t,this._expr_0,o)&&(this.renderer.setText(this._text_8,o),this._expr_0=o);var a=N.e(1,"",this.parent.context.selectedNetwork.securityType,"");N.c(t,this._expr_1,a)&&(this.renderer.setText(this._text_17,a),this._expr_1=a);var _=N.e(1,"",this.parent.context.selectedNetwork.storageLocation,"");N.c(t,this._expr_4,_)&&(this.renderer.setText(this._text_30,_),this._expr_4=_);var l=this._Checkbox_38_4._disabled;N.c(t,this._expr_7,l)&&(this.renderer.setElementClass(this._el_38,"checkbox-disabled",l),this._expr_7=l);var h=this._NgControlStatus_38_8.ngClassUntouched;N.c(t,this._expr_9,h)&&(this.renderer.setElementClass(this._el_38,"ng-untouched",h),this._expr_9=h);var c=this._NgControlStatus_38_8.ngClassTouched;N.c(t,this._expr_10,c)&&(this.renderer.setElementClass(this._el_38,"ng-touched",c),this._expr_10=c);var u=this._NgControlStatus_38_8.ngClassPristine;N.c(t,this._expr_11,u)&&(this.renderer.setElementClass(this._el_38,"ng-pristine",u),this._expr_11=u);var p=this._NgControlStatus_38_8.ngClassDirty;N.c(t,this._expr_12,p)&&(this.renderer.setElementClass(this._el_38,"ng-dirty",p),this._expr_12=p);var d=this._NgControlStatus_38_8.ngClassValid;N.c(t,this._expr_13,d)&&(this.renderer.setElementClass(this._el_38,"ng-valid",d),this._expr_13=d);var f=this._NgControlStatus_38_8.ngClassInvalid;N.c(t,this._expr_14,f)&&(this.renderer.setElementClass(this._el_38,"ng-invalid",f),this._expr_14=f),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Checkbox_38_4.ngOnDestroy(),this._NgModel_38_6.ngOnDestroy()},e.prototype._handle_ngModelChange_38_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.context.selectedNetwork.autoConnect=t)!==!1;return e},e.prototype._handle_click_38_1=function(t){this._appEl_38.componentView.markPathToRootAsCheckOnce();var e=this._Checkbox_38_4._click(t)!==!1;return e},e}(S.a),ae=function(t){function e(n,i,r){t.call(this,e,zt,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Lt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","card-info item item-block"),this._appEl_0=new O.a(0,null,this,this._el_0);var e=gt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Item_0_4=new it.a(this.parent.parent.parentInjector.get(vt.a),this.parent.parent.parentInjector.get(at.c),new _t.a(this._el_0),this.renderer),this._ItemContent_0_5=new it.b,this._query_Label_0_0=new J.a,this._query_Button_0_1=new J.a,this._query_Icon_0_2=new J.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"ion-label",null),this._Label_2_3=new rt.a(this.parent.parent.parentInjector.get(at.c),new _t.a(this._el_2),this.renderer,null,null,null,null),this._text_3=this.renderer.createText(this._el_2,"Password",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_5,"class","item-content-right hostname-input-wrapper"),this.renderer.setElementAttribute(this._el_5,"item-right",""),this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._el_7=this.renderer.createElement(this._el_5,"input",null),this.renderer.setElementAttribute(this._el_7,"class","custom-input"),this._DefaultValueAccessor_7_3=new Dt.a(this.renderer,new _t.a(this._el_7)),this._NG_VALUE_ACCESSOR_7_4=[this._DefaultValueAccessor_7_3],this._NgModel_7_5=new St.a(null,null,null,this._NG_VALUE_ACCESSOR_7_4),this._NgControl_7_6=this._NgModel_7_5,this._NgControlStatus_7_7=new Ot.a(this._NgControl_7_6),this._text_8=this.renderer.createText(this._el_5,"\n ",null),this._el_9=this.renderer.createElement(this._el_5,"ion-checkbox",null),this.renderer.setElementAttribute(this._el_9,"type","checkbox"),this._appEl_9=new O.a(9,5,this,this._el_9);var n=Nt.a(this.viewUtils,this.injector(9),this._appEl_9);this._Checkbox_9_5=new It.a(this.parent.parent.parentInjector.get(at.c),this.parent.parent.parentInjector.get(vt.a),this._Item_0_4,new _t.a(this._el_9),this.renderer),this._NG_VALUE_ACCESSOR_9_6=[this._Checkbox_9_5],this._NgModel_9_7=new St.a(null,null,null,this._NG_VALUE_ACCESSOR_9_6),this._NgControl_9_8=this._NgModel_9_7,this._NgControlStatus_9_9=new Ot.a(this._NgControl_9_8),this._Tooltip_9_10=new bt.a(this._appEl_9.vcRef,this.parent.parent.parentInjector.get(wt.a),this.parent.parent.parentInjector.get(yt.f)),this._appEl_9.initComponent(this._Checkbox_9_5,[],n),n.create(this._Checkbox_9_5,[],null),this._text_10=this.renderer.createText(this._el_5,"\n ",null),this._text_11=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([this._Label_2_3]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[].concat([this._el_2]),[].concat([this._text_1,this._text_4,this._text_11]),[],[].concat([this._el_5])],null),this._expr_4=R.n;var i=this.renderer.listen(this._el_7,"keyup.enter",this.eventHandler(this._handle_keyup_enter_7_0.bind(this))),r=this.renderer.listen(this._el_7,"ngModelChange",this.eventHandler(this._handle_ngModelChange_7_1.bind(this))),s=this.renderer.listen(this._el_7,"input",this.eventHandler(this._handle_input_7_2.bind(this))),o=this.renderer.listen(this._el_7,"blur",this.eventHandler(this._handle_blur_7_3.bind(this)));this._expr_5=R.n;var a=this._NgModel_7_5.update.subscribe(this.eventHandler(this._handle_ngModelChange_7_1.bind(this)));this._expr_6=R.n,this._expr_7=R.n,this._expr_8=R.n,this._expr_9=R.n,this._expr_10=R.n,this._expr_11=R.n;var _=this.renderer.listen(this._el_9,"ngModelChange",this.eventHandler(this._handle_ngModelChange_9_0.bind(this))),l=this.renderer.listen(this._el_9,"click",this.eventHandler(this._handle_click_9_1.bind(this))),h=this.renderer.listen(this._el_9,"focusin",this.eventHandler(this._handle_focusin_9_2.bind(this))),c=this.renderer.listen(this._el_9,"mouseenter",this.eventHandler(this._handle_mouseenter_9_3.bind(this))),u=this.renderer.listen(this._el_9,"focusout",this.eventHandler(this._handle_focusout_9_4.bind(this))),p=this.renderer.listen(this._el_9,"mouseleave",this.eventHandler(this._handle_mouseleave_9_5.bind(this)));this._expr_18=R.n,this._expr_19=R.n;var d=this._NgModel_9_7.update.subscribe(this.eventHandler(this._handle_ngModelChange_9_0.bind(this)));return this._expr_20=R.n,this._expr_21=R.n,this._expr_22=R.n,this._expr_23=R.n,this._expr_24=R.n,this._expr_25=R.n,this._expr_26=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._text_11],[i,r,s,o,_,l,h,c,u,p],[a,d]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===rt.a&&2<=e&&e<=3?this._Label_2_3:t===Dt.a&&7===e?this._DefaultValueAccessor_7_3:t===Pt.a&&7===e?this._NG_VALUE_ACCESSOR_7_4:t===St.a&&7===e?this._NgModel_7_5:t===Rt.a&&7===e?this._NgControl_7_6:t===Ot.a&&7===e?this._NgControlStatus_7_7:t===It.a&&9===e?this._Checkbox_9_5:t===Pt.a&&9===e?this._NG_VALUE_ACCESSOR_9_6:t===St.a&&9===e?this._NgModel_9_7:t===Rt.a&&9===e?this._NgControl_9_8:t===Ot.a&&9===e?this._NgControlStatus_9_9:t===bt.a&&9===e?this._Tooltip_9_10:t===it.a&&0<=e&&e<=11?this._Item_0_4:t===it.b&&0<=e&&e<=11?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.context.password;N.c(t,this._expr_5,n)&&(this._NgModel_7_5.model=n,null===e&&(e={}),e.model=new R.m(this._expr_5,n),this._expr_5=n),null!==e&&this._NgModel_7_5.ngOnChanges(e),e=null;var i=this.parent.parent.context.showPassword;N.c(t,this._expr_19,i)&&(this._NgModel_9_7.model=i,null===e&&(e={}),e.model=new R.m(this._expr_19,i),this._expr_19=i),null!==e&&this._NgModel_9_7.ngOnChanges(e),e=null;var r=this.parent.parent.context.tooltipService.getTooltip("showPassword").message;N.c(t,this._expr_26,r)&&(this._Tooltip_9_10.content=r,null===e&&(e={}),e.content=new R.m(this._expr_26,r),this._expr_26=r),null!==e&&this._Tooltip_9_10.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Checkbox_9_5.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit());var s=this.parent.parent.context.showPassword?"text":"password";N.c(t,this._expr_4,s)&&(this.renderer.setElementProperty(this._el_7,"type",s),this._expr_4=s);var o=this._NgControlStatus_7_7.ngClassUntouched;N.c(t,this._expr_6,o)&&(this.renderer.setElementClass(this._el_7,"ng-untouched",o),this._expr_6=o);var a=this._NgControlStatus_7_7.ngClassTouched;N.c(t,this._expr_7,a)&&(this.renderer.setElementClass(this._el_7,"ng-touched",a),this._expr_7=a);var _=this._NgControlStatus_7_7.ngClassPristine;N.c(t,this._expr_8,_)&&(this.renderer.setElementClass(this._el_7,"ng-pristine",_),this._expr_8=_);var l=this._NgControlStatus_7_7.ngClassDirty;N.c(t,this._expr_9,l)&&(this.renderer.setElementClass(this._el_7,"ng-dirty",l),this._expr_9=l);var h=this._NgControlStatus_7_7.ngClassValid;N.c(t,this._expr_10,h)&&(this.renderer.setElementClass(this._el_7,"ng-valid",h),this._expr_10=h);var c=this._NgControlStatus_7_7.ngClassInvalid;N.c(t,this._expr_11,c)&&(this.renderer.setElementClass(this._el_7,"ng-invalid",c),this._expr_11=c);var u=this._Checkbox_9_5._disabled;N.c(t,this._expr_18,u)&&(this.renderer.setElementClass(this._el_9,"checkbox-disabled",u),this._expr_18=u);var p=this._NgControlStatus_9_9.ngClassUntouched;N.c(t,this._expr_20,p)&&(this.renderer.setElementClass(this._el_9,"ng-untouched",p),this._expr_20=p);var d=this._NgControlStatus_9_9.ngClassTouched;N.c(t,this._expr_21,d)&&(this.renderer.setElementClass(this._el_9,"ng-touched",d),this._expr_21=d);var f=this._NgControlStatus_9_9.ngClassPristine;N.c(t,this._expr_22,f)&&(this.renderer.setElementClass(this._el_9,"ng-pristine",f),this._expr_22=f);var m=this._NgControlStatus_9_9.ngClassDirty;N.c(t,this._expr_23,m)&&(this.renderer.setElementClass(this._el_9,"ng-dirty",m),this._expr_23=m);var g=this._NgControlStatus_9_9.ngClassValid;N.c(t,this._expr_24,g)&&(this.renderer.setElementClass(this._el_9,"ng-valid",g),this._expr_24=g);var v=this._NgControlStatus_9_9.ngClassInvalid;N.c(t,this._expr_25,v)&&(this.renderer.setElementClass(this._el_9,"ng-invalid",v),this._expr_25=v),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_7_5.ngOnDestroy(),this._Checkbox_9_5.ngOnDestroy(),this._NgModel_9_7.ngOnDestroy(); },e.prototype._handle_keyup_enter_7_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.addNetwork()!==!1;return e},e.prototype._handle_ngModelChange_7_1=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.parent.context.password=t)!==!1;return e},e.prototype._handle_input_7_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_7_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_7_3=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_7_3.onTouched()!==!1;return e},e.prototype._handle_ngModelChange_9_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.parent.context.showPassword=t)!==!1;return e},e.prototype._handle_click_9_1=function(t){this._appEl_9.componentView.markPathToRootAsCheckOnce();var e=this._Checkbox_9_5._click(t)!==!1;return e},e.prototype._handle_focusin_9_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_9_10.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_9_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_9_10.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_9_4=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_9_10.hide()!==!1;return e},e.prototype._handle_mouseleave_9_5=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_9_10.hide()!==!1;return e},e}(S.a),_e=function(t){function e(n,i,r){t.call(this,e,zt,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Lt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-item",null),this.renderer.setElementAttribute(this._el_2,"class","card-info item item-block"),this._appEl_2=new O.a(2,0,this,this._el_2);var e=gt.a(this.viewUtils,this.injector(2),this._appEl_2);this._Item_2_4=new it.a(this.parent.parent.parentInjector.get(vt.a),this.parent.parent.parentInjector.get(at.c),new _t.a(this._el_2),this.renderer),this._ItemContent_2_5=new it.b,this._query_Label_2_0=new J.a,this._query_Button_2_1=new J.a,this._query_Icon_2_2=new J.a,this._appEl_2.initComponent(this._Item_2_4,[],e),this._text_3=this.renderer.createText(null,"\n ",null),this._el_4=this.renderer.createElement(null,"ion-label",null),this._Label_4_3=new rt.a(this.parent.parent.parentInjector.get(at.c),new _t.a(this._el_4),this.renderer,null,null,null,null),this._text_5=this.renderer.createText(this._el_4,"Wep Key Index",null),this._text_6=this.renderer.createText(null,"\n ",null),this._el_7=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_7,"class","item-content-right hostname-input-wrapper"),this.renderer.setElementAttribute(this._el_7,"item-right",""),this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"input",null),this.renderer.setElementAttribute(this._el_9,"class","custom-input"),this._DefaultValueAccessor_9_3=new Dt.a(this.renderer,new _t.a(this._el_9)),this._NG_VALUE_ACCESSOR_9_4=[this._DefaultValueAccessor_9_3],this._NgModel_9_5=new St.a(null,null,null,this._NG_VALUE_ACCESSOR_9_4),this._NgControl_9_6=this._NgModel_9_5,this._NgControlStatus_9_7=new Ot.a(this._NgControl_9_6),this._text_10=this.renderer.createText(this._el_7,"\n ",null),this._text_11=this.renderer.createText(null,"\n ",null),this._query_Label_2_0.reset([this._Label_4_3]),this._Item_2_4.contentLabel=this._query_Label_2_0.first,e.create(this._Item_2_4,[[],[].concat([this._el_4]),[].concat([this._text_3,this._text_6,this._text_11]),[],[].concat([this._el_7])],null),this._text_12=this.renderer.createText(this._el_0,"\n ",null),this._anchor_13=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_13=new O.a(13,0,this,this._anchor_13),this._TemplateRef_13_5=new dt.a(this._appEl_13,E),this._NgFor_13_6=new et.a(this._appEl_13.vcRef,this._TemplateRef_13_5,this.parent.parent.parentInjector.get(ft.a),this.parent.parent.ref),this._text_14=this.renderer.createText(this._el_0,"\n ",null);var n=this.renderer.listen(this._el_9,"ngModelChange",this.eventHandler(this._handle_ngModelChange_9_0.bind(this))),i=this.renderer.listen(this._el_9,"input",this.eventHandler(this._handle_input_9_1.bind(this))),r=this.renderer.listen(this._el_9,"blur",this.eventHandler(this._handle_blur_9_2.bind(this)));this._expr_3=R.n;var s=this._NgModel_9_5.update.subscribe(this.eventHandler(this._handle_ngModelChange_9_0.bind(this)));return this._expr_4=R.n,this._expr_5=R.n,this._expr_6=R.n,this._expr_7=R.n,this._expr_8=R.n,this._expr_9=R.n,this._expr_10=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._text_11,this._text_12,this._anchor_13,this._text_14],[n,i,r],[s]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===rt.a&&4<=e&&e<=5?this._Label_4_3:t===Dt.a&&9===e?this._DefaultValueAccessor_9_3:t===Pt.a&&9===e?this._NG_VALUE_ACCESSOR_9_4:t===St.a&&9===e?this._NgModel_9_5:t===Rt.a&&9===e?this._NgControl_9_6:t===Ot.a&&9===e?this._NgControlStatus_9_7:t===it.a&&2<=e&&e<=11?this._Item_2_4:t===it.b&&2<=e&&e<=11?this._ItemContent_2_5:t===dt.b&&13===e?this._TemplateRef_13_5:t===et.a&&13===e?this._NgFor_13_6:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.context.wepKeyIndex;N.c(t,this._expr_3,n)&&(this._NgModel_9_5.model=n,null===e&&(e={}),e.model=new R.m(this._expr_3,n),this._expr_3=n),null!==e&&this._NgModel_9_5.ngOnChanges(e),e=null;var i=this.parent.parent.context.wepKeyEntryArray;N.c(t,this._expr_10,i)&&(this._NgFor_13_6.ngForOf=i,null===e&&(e={}),e.ngForOf=new R.m(this._expr_10,i),this._expr_10=i),null!==e&&this._NgFor_13_6.ngOnChanges(e),t||this._NgFor_13_6.ngDoCheck(),this.detectContentChildrenChanges(t),t||(this._query_Button_2_1.dirty&&(this._query_Button_2_1.reset([]),this._Item_2_4._buttons=this._query_Button_2_1,this._query_Button_2_1.notifyOnChanges()),this._query_Icon_2_2.dirty&&(this._query_Icon_2_2.reset([]),this._Item_2_4._icons=this._query_Icon_2_2,this._query_Icon_2_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_2_4.ngAfterContentInit());var r=this._NgControlStatus_9_7.ngClassUntouched;N.c(t,this._expr_4,r)&&(this.renderer.setElementClass(this._el_9,"ng-untouched",r),this._expr_4=r);var s=this._NgControlStatus_9_7.ngClassTouched;N.c(t,this._expr_5,s)&&(this.renderer.setElementClass(this._el_9,"ng-touched",s),this._expr_5=s);var o=this._NgControlStatus_9_7.ngClassPristine;N.c(t,this._expr_6,o)&&(this.renderer.setElementClass(this._el_9,"ng-pristine",o),this._expr_6=o);var a=this._NgControlStatus_9_7.ngClassDirty;N.c(t,this._expr_7,a)&&(this.renderer.setElementClass(this._el_9,"ng-dirty",a),this._expr_7=a);var _=this._NgControlStatus_9_7.ngClassValid;N.c(t,this._expr_8,_)&&(this.renderer.setElementClass(this._el_9,"ng-valid",_),this._expr_8=_);var l=this._NgControlStatus_9_7.ngClassInvalid;N.c(t,this._expr_9,l)&&(this.renderer.setElementClass(this._el_9,"ng-invalid",l),this._expr_9=l),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_9_5.ngOnDestroy()},e.prototype._handle_ngModelChange_9_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.parent.context.wepKeyIndex=t)!==!1;return e},e.prototype._handle_input_9_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_9_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_9_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_9_3.onTouched()!==!1;return e},e}(S.a),le=function(t){function e(n,i,r){t.call(this,e,zt,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Lt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","card-info item item-block"),this._appEl_0=new O.a(0,null,this,this._el_0);var e=gt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Item_0_4=new it.a(this.parent.parent.parent.parentInjector.get(vt.a),this.parent.parent.parent.parentInjector.get(at.c),new _t.a(this._el_0),this.renderer),this._ItemContent_0_5=new it.b,this._query_Label_0_0=new J.a,this._query_Button_0_1=new J.a,this._query_Icon_0_2=new J.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"ion-label",null),this._Label_2_3=new rt.a(this.parent.parent.parent.parentInjector.get(at.c),new _t.a(this._el_2),this.renderer,null,null,null,null),this._text_3=this.renderer.createText(this._el_2,"",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_5,"class","item-content-right hostname-input-wrapper"),this.renderer.setElementAttribute(this._el_5,"item-right",""),this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._el_7=this.renderer.createElement(this._el_5,"input",null),this.renderer.setElementAttribute(this._el_7,"class","custom-input"),this.renderer.setElementAttribute(this._el_7,"placeholder","AA:34:CC:78:12"),this._DefaultValueAccessor_7_3=new Dt.a(this.renderer,new _t.a(this._el_7)),this._NG_VALUE_ACCESSOR_7_4=[this._DefaultValueAccessor_7_3],this._NgModel_7_5=new St.a(null,null,null,this._NG_VALUE_ACCESSOR_7_4),this._NgControl_7_6=this._NgModel_7_5,this._NgControlStatus_7_7=new Ot.a(this._NgControl_7_6),this._text_8=this.renderer.createText(this._el_5,"\n ",null),this._text_9=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([this._Label_2_3]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[].concat([this._el_2]),[].concat([this._text_1,this._text_4,this._text_9]),[],[].concat([this._el_5])],null),this._expr_0=R.n;var n=this.renderer.listen(this._el_7,"ngModelChange",this.eventHandler(this._handle_ngModelChange_7_0.bind(this))),i=this.renderer.listen(this._el_7,"input",this.eventHandler(this._handle_input_7_1.bind(this))),r=this.renderer.listen(this._el_7,"blur",this.eventHandler(this._handle_blur_7_2.bind(this)));this._expr_4=R.n;var s=this._NgModel_7_5.update.subscribe(this.eventHandler(this._handle_ngModelChange_7_0.bind(this)));return this._expr_5=R.n,this._expr_6=R.n,this._expr_7=R.n,this._expr_8=R.n,this._expr_9=R.n,this._expr_10=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._text_9],[n,i,r],[s]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===rt.a&&2<=e&&e<=3?this._Label_2_3:t===Dt.a&&7===e?this._DefaultValueAccessor_7_3:t===Pt.a&&7===e?this._NG_VALUE_ACCESSOR_7_4:t===St.a&&7===e?this._NgModel_7_5:t===Rt.a&&7===e?this._NgControl_7_6:t===Ot.a&&7===e?this._NgControlStatus_7_7:t===it.a&&0<=e&&e<=9?this._Item_0_4:t===it.b&&0<=e&&e<=9?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.parent.context.wepKeyArray[this.context.index];N.c(t,this._expr_4,n)&&(this._NgModel_7_5.model=n,null===e&&(e={}),e.model=new R.m(this._expr_4,n),this._expr_4=n),null!==e&&this._NgModel_7_5.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit());var i=N.e(1,"Wep Key ",this.context.index+1,"");N.c(t,this._expr_0,i)&&(this.renderer.setText(this._text_3,i),this._expr_0=i);var r=this._NgControlStatus_7_7.ngClassUntouched;N.c(t,this._expr_5,r)&&(this.renderer.setElementClass(this._el_7,"ng-untouched",r),this._expr_5=r);var s=this._NgControlStatus_7_7.ngClassTouched;N.c(t,this._expr_6,s)&&(this.renderer.setElementClass(this._el_7,"ng-touched",s),this._expr_6=s);var o=this._NgControlStatus_7_7.ngClassPristine;N.c(t,this._expr_7,o)&&(this.renderer.setElementClass(this._el_7,"ng-pristine",o),this._expr_7=o);var a=this._NgControlStatus_7_7.ngClassDirty;N.c(t,this._expr_8,a)&&(this.renderer.setElementClass(this._el_7,"ng-dirty",a),this._expr_8=a);var _=this._NgControlStatus_7_7.ngClassValid;N.c(t,this._expr_9,_)&&(this.renderer.setElementClass(this._el_7,"ng-valid",_),this._expr_9=_);var l=this._NgControlStatus_7_7.ngClassInvalid;N.c(t,this._expr_10,l)&&(this.renderer.setElementClass(this._el_7,"ng-invalid",l),this._expr_10=l),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_7_5.ngOnDestroy()},e.prototype._handle_ngModelChange_7_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.parent.parent.context.wepKeyArray[this.context.index]=t)!==!1;return e},e.prototype._handle_input_7_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_7_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_7_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_7_3.onTouched()!==!1;return e},e}(S.a),he=function(t){function e(n,i,r){t.call(this,e,zt,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Lt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","card-info item item-block"),this._appEl_0=new O.a(0,null,this,this._el_0);var e=gt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Item_0_4=new it.a(this.parent.parent.parentInjector.get(vt.a),this.parent.parent.parentInjector.get(at.c),new _t.a(this._el_0),this.renderer),this._ItemContent_0_5=new it.b,this._query_Label_0_0=new J.a,this._query_Button_0_1=new J.a,this._query_Icon_0_2=new J.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"ion-label",null),this._Label_2_3=new rt.a(this.parent.parent.parentInjector.get(at.c),new _t.a(this._el_2),this.renderer,null,null,null,null),this._text_3=this.renderer.createText(this._el_2,"Connect Now",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"ion-checkbox",null),this.renderer.setElementAttribute(this._el_5,"item-right",""),this._appEl_5=new O.a(5,0,this,this._el_5);var n=Nt.a(this.viewUtils,this.injector(5),this._appEl_5);this._Checkbox_5_4=new It.a(this.parent.parent.parentInjector.get(at.c),this.parent.parent.parentInjector.get(vt.a),this._Item_0_4,new _t.a(this._el_5),this.renderer),this._NG_VALUE_ACCESSOR_5_5=[this._Checkbox_5_4],this._NgModel_5_6=new St.a(null,null,null,this._NG_VALUE_ACCESSOR_5_5),this._NgControl_5_7=this._NgModel_5_6,this._NgControlStatus_5_8=new Ot.a(this._NgControl_5_7),this._appEl_5.initComponent(this._Checkbox_5_4,[],n),n.create(this._Checkbox_5_4,[],null),this._text_6=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([this._Label_2_3]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[].concat([this._el_2]),[].concat([this._text_1,this._text_4,this._text_6]),[],[].concat([this._el_5])],null);var i=this.renderer.listen(this._el_5,"ngModelChange",this.eventHandler(this._handle_ngModelChange_5_0.bind(this))),r=this.renderer.listen(this._el_5,"click",this.eventHandler(this._handle_click_5_1.bind(this)));this._expr_3=R.n,this._expr_4=R.n;var s=this._NgModel_5_6.update.subscribe(this.eventHandler(this._handle_ngModelChange_5_0.bind(this)));return this._expr_5=R.n,this._expr_6=R.n,this._expr_7=R.n,this._expr_8=R.n,this._expr_9=R.n,this._expr_10=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6],[i,r],[s]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===rt.a&&2<=e&&e<=3?this._Label_2_3:t===It.a&&5===e?this._Checkbox_5_4:t===Pt.a&&5===e?this._NG_VALUE_ACCESSOR_5_5:t===St.a&&5===e?this._NgModel_5_6:t===Rt.a&&5===e?this._NgControl_5_7:t===Ot.a&&5===e?this._NgControlStatus_5_8:t===it.a&&0<=e&&e<=6?this._Item_0_4:t===it.b&&0<=e&&e<=6?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.context.connectNow;N.c(t,this._expr_4,n)&&(this._NgModel_5_6.model=n,null===e&&(e={}),e.model=new R.m(this._expr_4,n),this._expr_4=n),null!==e&&this._NgModel_5_6.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Checkbox_5_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit());var i=this._Checkbox_5_4._disabled;N.c(t,this._expr_3,i)&&(this.renderer.setElementClass(this._el_5,"checkbox-disabled",i),this._expr_3=i);var r=this._NgControlStatus_5_8.ngClassUntouched;N.c(t,this._expr_5,r)&&(this.renderer.setElementClass(this._el_5,"ng-untouched",r),this._expr_5=r);var s=this._NgControlStatus_5_8.ngClassTouched;N.c(t,this._expr_6,s)&&(this.renderer.setElementClass(this._el_5,"ng-touched",s),this._expr_6=s);var o=this._NgControlStatus_5_8.ngClassPristine;N.c(t,this._expr_7,o)&&(this.renderer.setElementClass(this._el_5,"ng-pristine",o),this._expr_7=o);var a=this._NgControlStatus_5_8.ngClassDirty;N.c(t,this._expr_8,a)&&(this.renderer.setElementClass(this._el_5,"ng-dirty",a),this._expr_8=a);var _=this._NgControlStatus_5_8.ngClassValid;N.c(t,this._expr_9,_)&&(this.renderer.setElementClass(this._el_5,"ng-valid",_),this._expr_9=_);var l=this._NgControlStatus_5_8.ngClassInvalid;N.c(t,this._expr_10,l)&&(this.renderer.setElementClass(this._el_5,"ng-invalid",l),this._expr_10=l),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Checkbox_5_4.ngOnDestroy(),this._NgModel_5_6.ngOnDestroy()},e.prototype._handle_ngModelChange_5_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.parent.context.connectNow=t)!==!1,n=this.parent.parent.context.checkboxChanged("connectNow")!==!1;return e&&n},e.prototype._handle_click_5_1=function(t){this._appEl_5.componentView.markPathToRootAsCheckOnce();var e=this._Checkbox_5_4._click(t)!==!1;return e},e}(S.a),ce=function(t){function e(n,i,r){t.call(this,e,zt,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Lt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_0,"icon-right",""),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new O.a(0,null,this,this._el_0);var e=mt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new nt.a(null,"",this.parent.parentInjector.get(at.c),new _t.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"\n OK\n ",null),this._el_2=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_2,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_2,"src","assets/img/check.svg"),this._text_3=this.renderer.createText(null,"\n ",null),e.create(this._Button_0_4,[[].concat([this._text_1,this._el_2,this._text_3])],null);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===nt.a&&0<=e&&e<=3?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.addNetwork()!==!1;return e},e}(S.a),ue=function(t){function e(n,i,r){t.call(this,e,zt,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Lt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_0,"icon-right",""),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new O.a(0,null,this,this._el_0);var e=mt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new nt.a(null,"",this.parent.parentInjector.get(at.c),new _t.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"\n Save\n ",null),this._el_2=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_2,"class","svg-save"),this.renderer.setElementAttribute(this._el_2,"src","assets/img/save.svg"),this._text_3=this.renderer.createText(null,"\n ",null),e.create(this._Button_0_4,[[].concat([this._text_1,this._el_2,this._text_3])],null);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===nt.a&&0<=e&&e<=3?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.updateSavedNetwork()!==!1;return e},e}(S.a)},function(t,e,n){"use strict";function i(t,e,n){return null===Lt&&(Lt=t.createRenderComponentType("",0,H.c.None,[],{})),new Bt(t,e,n)}function r(t,e,n,i){t.cancelActiveAnimation(e,"expand","void"==i);var r={},s=null,o=0,a=Vt["*"],_=Vt[n];null==_&&(_=a);var l=Vt[i];null==l&&(l=a),z.e(e,t.renderer,z.d(_)),null==s&&"void"==n&&(s=new G.a([t.renderer.animate(e,new W.a(z.f(r,[_])),[new Y.a(0,new W.a(z.f(r,[{}]))),new Y.a(1,new W.a(z.f(r,[{}])))],0,0,null)]),o=0),null==s&&(s=new G.a([t.renderer.animate(e,new W.a(z.f(r,[_])),z.b(r,l,[new Y.a(0,new W.a(z.f(r,[{}]))),new Y.a(1,new W.a(z.f(r,[{}])))]),250,0,"ease-in-out")]),o=250),null==s&&(s=new $.a),s.onDone(function(){z.e(e,t.renderer,z.a(_,l))}),t.queueAnimation(e,"expand",s,o,n,i)}function s(t,e,n,i){t.cancelActiveAnimation(e,"rotate","void"==i);var r={},s=null,o=0,a=Ht["*"],_=Ht[n];null==_&&(_=a);var l=Ht[i];null==l&&(l=a),z.e(e,t.renderer,z.d(_)),null==s&&"void"==n&&(s=new G.a([t.renderer.animate(e,new W.a(z.f(r,[_])),[new Y.a(0,new W.a(z.f(r,[{}]))),new Y.a(1,new W.a(z.f(r,[{}])))],0,0,null)]),o=0),null==s&&(s=new G.a([t.renderer.animate(e,new W.a(z.f(r,[_])),z.b(r,l,[new Y.a(0,new W.a(z.f(r,[{}]))),new Y.a(1,new W.a(z.f(r,[{}])))]),250,0,"ease-in-out")]),o=250),null==s&&(s=new $.a),s.onDone(function(){z.e(e,t.renderer,z.a(_,l))}),t.queueAnimation(e,"rotate",s,o,n,i)}function o(t,e,n){return null===Ut&&(Ut=t.createRenderComponentType("C:/cygwin64/home/aholzer/git/digilent/waveforms-live/src/pages/wifi-setup/openscope/wifi-setup.html",0,H.c.None,qt,{expand:r,rotate:s})),new zt(t,e,n)}function a(t,e,n){return new Gt(t,e,n)}function _(t,e,n){return new Wt(t,e,n)}function l(t,e,n){return new Yt(t,e,n)}function h(t,e,n){return new $t(t,e,n)}function c(t,e,n){return new Xt(t,e,n)}function u(t,e,n){return new Jt(t,e,n)}function p(t,e,n){return new Qt(t,e,n)}function d(t,e,n){return new Zt(t,e,n)}function f(t,e,n){return new Kt(t,e,n)}function m(t,e,n){return new te(t,e,n)}function g(t,e,n){return new ee(t,e,n)}function v(t,e,n){return new ne(t,e,n)}function x(t,e,n){return new ie(t,e,n)}function y(t,e,n){return new re(t,e,n)}function b(t,e,n){return new se(t,e,n)}function w(t,e,n){return new oe(t,e,n)}function C(t,e,n){return new ae(t,e,n)}function E(t,e,n){return new _e(t,e,n)}function T(t,e,n){return new le(t,e,n)}function A(t,e,n){return new he(t,e,n)}function I(t,e,n){return new ce(t,e,n)}var S=n(10),O=n(6),k=n(382),N=n(11),P=n(5),R=n(4),D=n(59),j=n(31),M=n(43),L=n(27),B=n(13),F=n(120),q=n(47),V=n(71),H=n(8),U=n(7),z=n(164),G=n(163),W=n(165),Y=n(162),$=n(136),X=n(34),J=n(46),Q=n(139),Z=n(35),K=n(33),tt=n(55),et=n(20),nt=n(44),it=n(111),rt=n(65),st=n(81),ot=n(2),at=n(14),_t=n(22),lt=n(49),ht=n(56),ct=n(67),ut=n(186),pt=n(21),dt=n(37),ft=n(25),mt=n(118),gt=n(39),vt=n(98),xt=n(23),yt=n(70),bt=n(51),wt=n(194),Ct=n(355),Et=n(226),Tt=n(112),At=n(151),It=n(62),St=n(61),Ot=n(48),kt=n(221),Nt=n(41),Pt=n(53),Rt=n(60),Dt=n(58),jt=n(52);n.d(e,"a",function(){return Ft});var Mt=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Lt=null,Bt=function(t){function e(n,i,r){t.call(this,e,Lt,P.a.HOST,n,i,r,R.b.CheckAlways)}return Mt(e,t),e.prototype.createInternal=function(t){this._el_0=this.selectOrCreateHostElement("ng-component",t,null),this._appEl_0=new O.a(0,null,this,this._el_0);var e=o(this.viewUtils,this.injector(0),this._appEl_0);return this._WifiSetupPage_0_4=new k.a(this.parentInjector.get(D.a),this.parentInjector.get(j.a),this.parentInjector.get(M.DeviceManagerService),this.parentInjector.get(L.a),this.parentInjector.get(B.a),this.parentInjector.get(F.a),this.parentInjector.get(q.a),this.parentInjector.get(V.a)),this._appEl_0.initComponent(this._WifiSetupPage_0_4,[],e),e.create(this._WifiSetupPage_0_4,this.projectableNodes,null),this.init([].concat([this._el_0]),[this._el_0],[],[]),this._appEl_0},e.prototype.injectorGetInternal=function(t,e,n){return t===k.a&&0===e?this._WifiSetupPage_0_4:n},e}(S.a),Ft=new U.a("ng-component",i,k.a),qt=[],Vt={true:{height:"45px"},false:{height:"0"},"*":{},void:{}},Ht={true:{transform:"rotate(-180deg)"},false:{transform:"rotate(0deg)"},"*":{},void:{}},Ut=null,zt=function(t){function e(n,i,r){t.call(this,e,Ut,P.a.COMPONENT,n,i,r,R.b.CheckAlways)}return Mt(e,t),e.prototype.createInternal=function(t){var e=this.renderer.createViewRoot(this.declarationAppElement.nativeElement);this._viewQuery_wifiSlider_0=new X.a,this._el_0=this.renderer.createElement(e,"ion-content",null),this.renderer.setElementAttribute(this._el_0,"class","wifi-setup-container"),this._appEl_0=new O.a(0,null,this,this._el_0);var n=st.a(this.viewUtils,this.injector(0),this._appEl_0);this._Content_0_4=new J.a(this.parentInjector.get(ot.c),new at.a(this._el_0),this.renderer,this.parentInjector.get(_t.a),this.parentInjector.get(lt.a),this.parentInjector.get(ht.a),this.parentInjector.get(B.a,null),this.parentInjector.get(ct.a,null)),this._appEl_0.initComponent(this._Content_0_4,[],n),this._text_1=this.renderer.createText(null,"\n\n ",null),this._el_2=this.renderer.createElement(null,"ion-slides",null),this._appEl_2=new O.a(2,0,this,this._el_2);var i=ut.a(this.viewUtils,this.injector(2),this._appEl_2);this._Slides_2_4=new Q.b(this.parentInjector.get(ot.c),new at.a(this._el_2),this.renderer),this._appEl_2.initComponent(this._Slides_2_4,[],i),this._text_3=this.renderer.createText(null,"\n ",null),this._el_4=this.renderer.createElement(null,"ion-slide",null),this.renderer.setElementAttribute(this._el_4,"class","slide-container"),this._appEl_4=new O.a(4,2,this,this._el_4);var r=ut.b(this.viewUtils,this.injector(4),this._appEl_4);this._Slide_4_4=new Q.a(new at.a(this._el_4),this._Slides_2_4),this._appEl_4.initComponent(this._Slide_4_4,[],r),this._text_5=this.renderer.createText(null,"\n ",null),this._el_6=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_6,"class","content-container wifi-content-container"),this._text_7=this.renderer.createText(this._el_6,"\n ",null),this._el_8=this.renderer.createElement(this._el_6,"div",null),this.renderer.setElementAttribute(this._el_8,"class","slide-header"),this._text_9=this.renderer.createText(this._el_8,"Networks",null),this._text_10=this.renderer.createText(this._el_6,"\n ",null),this._el_11=this.renderer.createElement(this._el_6,"ion-row",null),this.renderer.setElementAttribute(this._el_11,"class","network-container"),this.renderer.setElementAttribute(this._el_11,"wrap",""),this._Row_11_3=new Z.c,this._text_12=this.renderer.createText(this._el_11,"\n ",null),this._el_13=this.renderer.createElement(this._el_11,"ion-col",null),this.renderer.setElementAttribute(this._el_13,"class","network-container-column"),this.renderer.setElementAttribute(this._el_13,"text-center",""),this._Col_13_3=new Z.a,this._text_14=this.renderer.createText(this._el_13,"\n ",null),this._el_15=this.renderer.createElement(this._el_13,"div",null),this.renderer.setElementAttribute(this._el_15,"class","network-header"),this._text_16=this.renderer.createText(this._el_15,"\n Available Networks\n ",null),this._text_17=this.renderer.createText(this._el_13,"\n ",null),this._anchor_18=this.renderer.createTemplateAnchor(this._el_13,null),this._appEl_18=new O.a(18,13,this,this._anchor_18),this._TemplateRef_18_5=new pt.a(this._appEl_18,a),this._NgIf_18_6=new K.a(this._appEl_18.vcRef,this._TemplateRef_18_5),this._text_19=this.renderer.createText(this._el_13,"\n ",null),this._anchor_20=this.renderer.createTemplateAnchor(this._el_13,null),this._appEl_20=new O.a(20,13,this,this._anchor_20),this._TemplateRef_20_5=new pt.a(this._appEl_20,_),this._NgIf_20_6=new K.a(this._appEl_20.vcRef,this._TemplateRef_20_5),this._text_21=this.renderer.createText(this._el_13,"\n ",null),this._el_22=this.renderer.createElement(this._el_13,"div",null),this.renderer.setElementAttribute(this._el_22,"class","available-network-container"),this._text_23=this.renderer.createText(this._el_22,"\n ",null),this._anchor_24=this.renderer.createTemplateAnchor(this._el_22,null),this._appEl_24=new O.a(24,22,this,this._anchor_24),this._TemplateRef_24_5=new pt.a(this._appEl_24,l),this._NgFor_24_6=new tt.a(this._appEl_24.vcRef,this._TemplateRef_24_5,this.parentInjector.get(dt.a),this.ref),this._text_25=this.renderer.createText(this._el_22,"\n ",null),this._text_26=this.renderer.createText(this._el_13,"\n ",null),this._text_27=this.renderer.createText(this._el_11,"\n ",null),this._el_28=this.renderer.createElement(this._el_11,"ion-col",null),this.renderer.setElementAttribute(this._el_28,"class","network-container-column"),this.renderer.setElementAttribute(this._el_28,"text-center",""),this._Col_28_3=new Z.a,this._text_29=this.renderer.createText(this._el_28,"\n ",null),this._el_30=this.renderer.createElement(this._el_28,"div",null),this.renderer.setElementAttribute(this._el_30,"class","network-header"),this._text_31=this.renderer.createText(this._el_30,"\n Saved Networks\n ",null),this._text_32=this.renderer.createText(this._el_28,"\n ",null),this._el_33=this.renderer.createElement(this._el_28,"div",null), this.renderer.setElementAttribute(this._el_33,"class","available-button-container"),this.renderer.setElementAttribute(this._el_33,"text-center",""),this._text_34=this.renderer.createText(this._el_33,"\n ",null),this._el_35=this.renderer.createElement(this._el_33,"button",null),this.renderer.setElementAttribute(this._el_35,"class","icon-only-button-side available-network-button disable-hover"),this.renderer.setElementAttribute(this._el_35,"ion-button",""),this._appEl_35=new O.a(35,33,this,this._el_35);var s=ft.a(this.viewUtils,this.injector(35),this._appEl_35);this._Button_35_4=new et.a(null,"",this.parentInjector.get(ot.c),new at.a(this._el_35),this.renderer),this._appEl_35.initComponent(this._Button_35_4,[],s),this._text_36=this.renderer.createText(null,"\n ",null),this._el_37=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_37,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_37,"src","assets/img/refresh.svg"),this._text_38=this.renderer.createText(null,"\n ",null),s.create(this._Button_35_4,[[].concat([this._text_36,this._el_37,this._text_38])],null),this._text_39=this.renderer.createText(this._el_33,"\n ",null),this._text_40=this.renderer.createText(this._el_28,"\n ",null),this._el_41=this.renderer.createElement(this._el_28,"div",null),this.renderer.setElementAttribute(this._el_41,"class","available-network-container"),this._text_42=this.renderer.createText(this._el_41,"\n ",null),this._anchor_43=this.renderer.createTemplateAnchor(this._el_41,null),this._appEl_43=new O.a(43,41,this,this._anchor_43),this._TemplateRef_43_5=new pt.a(this._appEl_43,h),this._NgFor_43_6=new tt.a(this._appEl_43.vcRef,this._TemplateRef_43_5,this.parentInjector.get(dt.a),this.ref),this._text_44=this.renderer.createText(this._el_41,"\n ",null),this._text_45=this.renderer.createText(this._el_28,"\n \n ",null),this._text_46=this.renderer.createText(this._el_11,"\n ",null),this._text_47=this.renderer.createText(this._el_6,"\n ",null),this._el_48=this.renderer.createElement(this._el_6,"div",null),this.renderer.setElementAttribute(this._el_48,"text-center",""),this._text_49=this.renderer.createText(this._el_48,"\n ",null),this._el_50=this.renderer.createElement(this._el_48,"button",null),this.renderer.setElementAttribute(this._el_50,"class","advanced-button"),this.renderer.setElementAttribute(this._el_50,"clear",""),this.renderer.setElementAttribute(this._el_50,"icon-right",""),this.renderer.setElementAttribute(this._el_50,"ion-button",""),this._appEl_50=new O.a(50,48,this,this._el_50);var o=ft.a(this.viewUtils,this.injector(50),this._appEl_50);this._Button_50_4=new et.a(null,"",this.parentInjector.get(ot.c),new at.a(this._el_50),this.renderer),this._appEl_50.initComponent(this._Button_50_4,[],o),this._text_51=this.renderer.createText(null,"\n Advanced\n ",null),this._el_52=this.renderer.createElement(null,"div",null),this._text_53=this.renderer.createText(this._el_52,"\n ",null),this._el_54=this.renderer.createElement(this._el_52,"img",null),this.renderer.setElementAttribute(this._el_54,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_54,"src","assets/img/arrow-dropdown-white.svg"),this._text_55=this.renderer.createText(this._el_52,"\n ",null),this._text_56=this.renderer.createText(null,"\n ",null),o.create(this._Button_50_4,[[].concat([this._text_51,this._el_52,this._text_56])],null),this._text_57=this.renderer.createText(this._el_48," \n ",null),this._text_58=this.renderer.createText(this._el_6,"\n ",null),this._el_59=this.renderer.createElement(this._el_6,"div",null),this._text_60=this.renderer.createText(this._el_59,"\n ",null),this._el_61=this.renderer.createElement(this._el_59,"ion-item",null),this.renderer.setElementAttribute(this._el_61,"class","configure-item collapse-card item item-block"),this._appEl_61=new O.a(61,59,this,this._el_61);var p=mt.a(this.viewUtils,this.injector(61),this._appEl_61);this._Item_61_4=new nt.a(this.parentInjector.get(gt.a),this.parentInjector.get(ot.c),new at.a(this._el_61),this.renderer),this._ItemContent_61_5=new nt.b,this._query_Label_61_0=new X.a,this._query_Button_61_1=new X.a,this._query_Icon_61_2=new X.a,this._appEl_61.initComponent(this._Item_61_4,[],p),this._text_62=this.renderer.createText(null,"\n ",null),this._el_63=this.renderer.createElement(null,"ion-label",null),this._Label_63_3=new it.a(this.parentInjector.get(ot.c),new at.a(this._el_63),this.renderer,null,null,null,null),this._text_64=this.renderer.createText(this._el_63,"NIC",null),this._text_65=this.renderer.createText(null,"\n ",null),this._el_66=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_66,"class","item-content-right dropdown-popover-item-right"),this.renderer.setElementAttribute(this._el_66,"item-right",""),this._text_67=this.renderer.createText(this._el_66,"\n ",null),this._el_68=this.renderer.createElement(this._el_66,"dropdown-popover",null),this._appEl_68=new O.a(68,66,this,this._el_68);var d=vt.b(this.viewUtils,this.injector(68),this._appEl_68);this._DropdownPopoverComponent_68_4=new rt.a(this.parentInjector.get(q.a),new at.a(this._el_68),this.parentInjector.get(xt.f)),this._appEl_68.initComponent(this._DropdownPopoverComponent_68_4,[],d),d.create(this._DropdownPopoverComponent_68_4,[],null),this._text_69=this.renderer.createText(this._el_66,"\n ",null),this._text_70=this.renderer.createText(null,"\n ",null),this._query_Label_61_0.reset([this._Label_63_3]),this._Item_61_4.contentLabel=this._query_Label_61_0.first,p.create(this._Item_61_4,[[],[].concat([this._el_63]),[].concat([this._text_62,this._text_65,this._text_70]),[],[].concat([this._el_66])],null),this._text_71=this.renderer.createText(this._el_59,"\n ",null),this._el_72=this.renderer.createElement(this._el_59,"ion-item",null),this.renderer.setElementAttribute(this._el_72,"class","configure-item collapse-card item item-block"),this._appEl_72=new O.a(72,59,this,this._el_72);var f=mt.a(this.viewUtils,this.injector(72),this._appEl_72);this._Item_72_4=new nt.a(this.parentInjector.get(gt.a),this.parentInjector.get(ot.c),new at.a(this._el_72),this.renderer),this._ItemContent_72_5=new nt.b,this._query_Label_72_0=new X.a,this._query_Button_72_1=new X.a,this._query_Icon_72_2=new X.a,this._appEl_72.initComponent(this._Item_72_4,[],f),this._text_73=this.renderer.createText(null,"\n ",null),this._el_74=this.renderer.createElement(null,"ion-label",null),this._Label_74_3=new it.a(this.parentInjector.get(ot.c),new at.a(this._el_74),this.renderer,null,null,null,null),this._text_75=this.renderer.createText(this._el_74,"Storage Location",null),this._text_76=this.renderer.createText(null,"\n ",null),this._el_77=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_77,"class","item-content-right dropdown-popover-item-right"),this.renderer.setElementAttribute(this._el_77,"item-right",""),this._text_78=this.renderer.createText(this._el_77,"\n ",null),this._el_79=this.renderer.createElement(this._el_77,"dropdown-popover",null),this._appEl_79=new O.a(79,77,this,this._el_79);var m=vt.b(this.viewUtils,this.injector(79),this._appEl_79);this._DropdownPopoverComponent_79_4=new rt.a(this.parentInjector.get(q.a),new at.a(this._el_79),this.parentInjector.get(xt.f)),this._appEl_79.initComponent(this._DropdownPopoverComponent_79_4,[],m),m.create(this._DropdownPopoverComponent_79_4,[],null),this._text_80=this.renderer.createText(this._el_77,"\n ",null),this._text_81=this.renderer.createText(null,"\n ",null),this._query_Label_72_0.reset([this._Label_74_3]),this._Item_72_4.contentLabel=this._query_Label_72_0.first,f.create(this._Item_72_4,[[],[].concat([this._el_74]),[].concat([this._text_73,this._text_76,this._text_81]),[],[].concat([this._el_77])],null),this._text_82=this.renderer.createText(this._el_59,"\n ",null),this._anchor_83=this.renderer.createTemplateAnchor(this._el_59,null),this._appEl_83=new O.a(83,59,this,this._anchor_83),this._TemplateRef_83_5=new pt.a(this._appEl_83,c),this._NgIf_83_6=new K.a(this._appEl_83.vcRef,this._TemplateRef_83_5),this._text_84=this.renderer.createText(this._el_59,"\n ",null),this._text_85=this.renderer.createText(this._el_6,"\n ",null),this._text_86=this.renderer.createText(null,"\n ",null),this._el_87=this.renderer.createElement(null,"ion-row",null),this.renderer.setElementAttribute(this._el_87,"class","navigation-button-container"),this._Row_87_3=new Z.c,this._text_88=this.renderer.createText(this._el_87,"\n ",null),this._el_89=this.renderer.createElement(this._el_87,"ion-col",null),this.renderer.setElementAttribute(this._el_89,"text-left",""),this._Col_89_3=new Z.a,this._text_90=this.renderer.createText(this._el_89,"\n ",null),this._el_91=this.renderer.createElement(this._el_89,"button",null),this.renderer.setElementAttribute(this._el_91,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_91,"icon-left",""),this.renderer.setElementAttribute(this._el_91,"ion-button",""),this._appEl_91=new O.a(91,89,this,this._el_91);var g=ft.a(this.viewUtils,this.injector(91),this._appEl_91);this._Button_91_4=new et.a(null,"",this.parentInjector.get(ot.c),new at.a(this._el_91),this.renderer),this._appEl_91.initComponent(this._Button_91_4,[],g),this._text_92=this.renderer.createText(null,"\n ",null),this._el_93=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_93,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_93,"src","assets/img/close.svg"),this._text_94=this.renderer.createText(null,"\n Close\n ",null),g.create(this._Button_91_4,[[].concat([this._text_92,this._el_93,this._text_94])],null),this._text_95=this.renderer.createText(this._el_89,"\n ",null),this._text_96=this.renderer.createText(this._el_87,"\n ",null),this._text_97=this.renderer.createText(null,"\n ",null),r.create(this._Slide_4_4,[[].concat([this._text_5,this._el_6,this._text_86,this._el_87,this._text_97])],null),this._text_98=this.renderer.createText(null,"\n\n ",null),this._el_99=this.renderer.createElement(null,"ion-slide",null),this.renderer.setElementAttribute(this._el_99,"class","slide-container"),this._appEl_99=new O.a(99,2,this,this._el_99);var v=ut.b(this.viewUtils,this.injector(99),this._appEl_99);this._Slide_99_4=new Q.a(new at.a(this._el_99),this._Slides_2_4),this._appEl_99.initComponent(this._Slide_99_4,[],v),this._text_100=this.renderer.createText(null,"\n ",null),this._el_101=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_101,"class","content-container wifi-content-container"),this._text_102=this.renderer.createText(this._el_101,"\n ",null),this._el_103=this.renderer.createElement(this._el_101,"div",null),this.renderer.setElementAttribute(this._el_103,"class","slide-header"),this._text_104=this.renderer.createText(this._el_103,"Setup Wifi",null),this._text_105=this.renderer.createText(this._el_101,"\n\n ",null),this._anchor_106=this.renderer.createTemplateAnchor(this._el_101,null),this._appEl_106=new O.a(106,101,this,this._anchor_106),this._TemplateRef_106_5=new pt.a(this._appEl_106,u),this._NgIf_106_6=new K.a(this._appEl_106.vcRef,this._TemplateRef_106_5),this._text_107=this.renderer.createText(this._el_101,"\n\n ",null),this._anchor_108=this.renderer.createTemplateAnchor(this._el_101,null),this._appEl_108=new O.a(108,101,this,this._anchor_108),this._TemplateRef_108_5=new pt.a(this._appEl_108,b),this._NgIf_108_6=new K.a(this._appEl_108.vcRef,this._TemplateRef_108_5),this._text_109=this.renderer.createText(this._el_101,"\n\n ",null),this._text_110=this.renderer.createText(null,"\n ",null),this._el_111=this.renderer.createElement(null,"div",null),this._text_112=this.renderer.createText(this._el_111,"\n ",null),this._el_113=this.renderer.createElement(this._el_111,"ion-row",null),this.renderer.setElementAttribute(this._el_113,"class","navigation-button-container"),this._Row_113_3=new Z.c,this._text_114=this.renderer.createText(this._el_113,"\n ",null),this._el_115=this.renderer.createElement(this._el_113,"ion-col",null),this.renderer.setElementAttribute(this._el_115,"text-left",""),this._Col_115_3=new Z.a,this._text_116=this.renderer.createText(this._el_115,"\n ",null),this._el_117=this.renderer.createElement(this._el_115,"button",null),this.renderer.setElementAttribute(this._el_117,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_117,"icon-left",""),this.renderer.setElementAttribute(this._el_117,"ion-button",""),this._appEl_117=new O.a(117,115,this,this._el_117);var x=ft.a(this.viewUtils,this.injector(117),this._appEl_117);this._Button_117_4=new et.a(null,"",this.parentInjector.get(ot.c),new at.a(this._el_117),this.renderer),this._appEl_117.initComponent(this._Button_117_4,[],x),this._text_118=this.renderer.createText(null,"\n ",null),this._el_119=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_119,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_119,"src","assets/img/close.svg"),this._text_120=this.renderer.createText(null,"\n Cancel\n ",null),x.create(this._Button_117_4,[[].concat([this._text_118,this._el_119,this._text_120])],null),this._text_121=this.renderer.createText(this._el_115,"\n ",null),this._text_122=this.renderer.createText(this._el_113,"\n ",null),this._el_123=this.renderer.createElement(this._el_113,"ion-col",null),this.renderer.setElementAttribute(this._el_123,"text-right",""),this._Col_123_3=new Z.a,this._text_124=this.renderer.createText(this._el_123,"\n ",null),this._anchor_125=this.renderer.createTemplateAnchor(this._el_123,null),this._appEl_125=new O.a(125,123,this,this._anchor_125),this._TemplateRef_125_5=new pt.a(this._appEl_125,A),this._NgIf_125_6=new K.a(this._appEl_125.vcRef,this._TemplateRef_125_5),this._text_126=this.renderer.createText(this._el_123,"\n ",null),this._anchor_127=this.renderer.createTemplateAnchor(this._el_123,null),this._appEl_127=new O.a(127,123,this,this._anchor_127),this._TemplateRef_127_5=new pt.a(this._appEl_127,I),this._NgIf_127_6=new K.a(this._appEl_127.vcRef,this._TemplateRef_127_5),this._text_128=this.renderer.createText(this._el_123,"\n ",null),this._text_129=this.renderer.createText(this._el_113,"\n ",null),this._text_130=this.renderer.createText(this._el_111,"\n ",null),this._text_131=this.renderer.createText(null,"\n ",null),v.create(this._Slide_99_4,[[].concat([this._text_100,this._el_101,this._text_110,this._el_111,this._text_131])],null),this._text_132=this.renderer.createText(null,"\n ",null),i.create(this._Slides_2_4,[[].concat([this._text_3,this._el_4,this._text_98,this._el_99,this._text_132])],null),this._text_133=this.renderer.createText(null,"\n\n",null),n.create(this._Content_0_4,[[],[].concat([this._text_1,this._el_2,this._text_133]),[]],null),this._expr_0=R.n,this._expr_1=R.n,this._expr_2=R.n,this._expr_3=R.n,this._expr_5=R.n;var y=this.renderer.listen(this._el_35,"click",this.eventHandler(this._handle_click_35_0.bind(this)));this._expr_6=R.n;var w=this.renderer.listen(this._el_50,"tap",this.eventHandler(this._handle_tap_50_0.bind(this)));this._expr_8=R.n,this._expr_9=R.n,this._expr_10=R.n;var C=this.renderer.listen(this._el_68,"onSelection",this.eventHandler(this._handle_onSelection_68_0.bind(this)));this._expr_12=R.n,this._expr_13=R.n;var E=this._DropdownPopoverComponent_68_4.onSelection.subscribe(this.eventHandler(this._handle_onSelection_68_0.bind(this)));this._expr_14=R.n;var T=this.renderer.listen(this._el_79,"onSelection",this.eventHandler(this._handle_onSelection_79_0.bind(this)));this._expr_16=R.n,this._expr_17=R.n;var S=this._DropdownPopoverComponent_79_4.onSelection.subscribe(this.eventHandler(this._handle_onSelection_79_0.bind(this)));this._expr_18=R.n;var k=this.renderer.listen(this._el_91,"click",this.eventHandler(this._handle_click_91_0.bind(this)));this._expr_20=R.n,this._expr_21=R.n;var N=this.renderer.listen(this._el_117,"click",this.eventHandler(this._handle_click_117_0.bind(this)));return this._expr_23=R.n,this._expr_24=R.n,this._viewQuery_wifiSlider_0.reset([this._Slides_2_4]),this.context.slider=this._viewQuery_wifiSlider_0.first,this.init([],[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9,this._text_10,this._el_11,this._text_12,this._el_13,this._text_14,this._el_15,this._text_16,this._text_17,this._anchor_18,this._text_19,this._anchor_20,this._text_21,this._el_22,this._text_23,this._anchor_24,this._text_25,this._text_26,this._text_27,this._el_28,this._text_29,this._el_30,this._text_31,this._text_32,this._el_33,this._text_34,this._el_35,this._text_36,this._el_37,this._text_38,this._text_39,this._text_40,this._el_41,this._text_42,this._anchor_43,this._text_44,this._text_45,this._text_46,this._text_47,this._el_48,this._text_49,this._el_50,this._text_51,this._el_52,this._text_53,this._el_54,this._text_55,this._text_56,this._text_57,this._text_58,this._el_59,this._text_60,this._el_61,this._text_62,this._el_63,this._text_64,this._text_65,this._el_66,this._text_67,this._el_68,this._text_69,this._text_70,this._text_71,this._el_72,this._text_73,this._el_74,this._text_75,this._text_76,this._el_77,this._text_78,this._el_79,this._text_80,this._text_81,this._text_82,this._anchor_83,this._text_84,this._text_85,this._text_86,this._el_87,this._text_88,this._el_89,this._text_90,this._el_91,this._text_92,this._el_93,this._text_94,this._text_95,this._text_96,this._text_97,this._text_98,this._el_99,this._text_100,this._el_101,this._text_102,this._el_103,this._text_104,this._text_105,this._anchor_106,this._text_107,this._anchor_108,this._text_109,this._text_110,this._el_111,this._text_112,this._el_113,this._text_114,this._el_115,this._text_116,this._el_117,this._text_118,this._el_119,this._text_120,this._text_121,this._text_122,this._el_123,this._text_124,this._anchor_125,this._text_126,this._anchor_127,this._text_128,this._text_129,this._text_130,this._text_131,this._text_132,this._text_133],[y,w,C,T,k,N],[E,S]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===pt.b&&18===e?this._TemplateRef_18_5:t===K.a&&18===e?this._NgIf_18_6:t===pt.b&&20===e?this._TemplateRef_20_5:t===K.a&&20===e?this._NgIf_20_6:t===pt.b&&24===e?this._TemplateRef_24_5:t===tt.a&&24===e?this._NgFor_24_6:t===Z.a&&13<=e&&e<=26?this._Col_13_3:t===et.a&&35<=e&&e<=38?this._Button_35_4:t===pt.b&&43===e?this._TemplateRef_43_5:t===tt.a&&43===e?this._NgFor_43_6:t===Z.a&&28<=e&&e<=45?this._Col_28_3:t===Z.c&&11<=e&&e<=46?this._Row_11_3:t===et.a&&50<=e&&e<=56?this._Button_50_4:t===it.a&&63<=e&&e<=64?this._Label_63_3:t===rt.a&&68===e?this._DropdownPopoverComponent_68_4:t===nt.a&&61<=e&&e<=70?this._Item_61_4:t===nt.b&&61<=e&&e<=70?this._ItemContent_61_5:t===it.a&&74<=e&&e<=75?this._Label_74_3:t===rt.a&&79===e?this._DropdownPopoverComponent_79_4:t===nt.a&&72<=e&&e<=81?this._Item_72_4:t===nt.b&&72<=e&&e<=81?this._ItemContent_72_5:t===pt.b&&83===e?this._TemplateRef_83_5:t===K.a&&83===e?this._NgIf_83_6:t===et.a&&91<=e&&e<=94?this._Button_91_4:t===Z.a&&89<=e&&e<=95?this._Col_89_3:t===Z.c&&87<=e&&e<=96?this._Row_87_3:t===Q.a&&4<=e&&e<=97?this._Slide_4_4:t===pt.b&&106===e?this._TemplateRef_106_5:t===K.a&&106===e?this._NgIf_106_6:t===pt.b&&108===e?this._TemplateRef_108_5:t===K.a&&108===e?this._NgIf_108_6:t===et.a&&117<=e&&e<=120?this._Button_117_4:t===Z.a&&115<=e&&e<=121?this._Col_115_3:t===pt.b&&125===e?this._TemplateRef_125_5:t===K.a&&125===e?this._NgIf_125_6:t===pt.b&&127===e?this._TemplateRef_127_5:t===K.a&&127===e?this._NgIf_127_6:t===Z.a&&123<=e&&e<=128?this._Col_123_3:t===Z.c&&113<=e&&e<=129?this._Row_113_3:t===Q.a&&99<=e&&e<=131?this._Slide_99_4:t===Q.b&&2<=e&&e<=132?this._Slides_2_4:t===J.a&&0<=e&&e<=133?this._Content_0_4:n},e.prototype.detectChangesInternal=function(t){var e=!0,n=null,i=this.context.showMainAdvanced;if(N.c(t,this._expr_9,i)){var r=this._expr_9;r==R.n&&(r="void");var s=i;s==R.n&&(s="void"),this.componentType.animations.rotate(this,this._el_52,r,s),this._expr_9=i}var o=this.context.showMainAdvanced;if(N.c(t,this._expr_10,o)){var r=this._expr_10;r==R.n&&(r="void");var s=o;s==R.n&&(s="void"),this.componentType.animations.expand(this,this._el_61,r,s),this._expr_10=o}var a=this.context.showMainAdvanced;if(N.c(t,this._expr_14,a)){var r=this._expr_14;r==R.n&&(r="void");var s=a;s==R.n&&(s="void"),this.componentType.animations.expand(this,this._el_72,r,s),this._expr_14=a}0!==this.numberOfChecks||t||this._Content_0_4.ngOnInit(),0!==this.numberOfChecks||t||this._Slides_2_4.ngOnInit();var _=!this.context.scanningForNetworks;N.c(t,this._expr_1,_)&&(this._NgIf_18_6.ngIf=_,this._expr_1=_);var l=this.context.scanningForNetworks;N.c(t,this._expr_2,l)&&(this._NgIf_20_6.ngIf=l,this._expr_2=l),n=null;var h=this.context.availableNetworks;N.c(t,this._expr_3,h)&&(this._NgFor_24_6.ngForOf=h,null===n&&(n={}),n.ngForOf=new R.m(this._expr_3,h),this._expr_3=h),null!==n&&this._NgFor_24_6.ngOnChanges(n),t||this._NgFor_24_6.ngDoCheck(),n=null;var c=this.context.savedNetworks;N.c(t,this._expr_6,c)&&(this._NgFor_43_6.ngForOf=c,null===n&&(n={}),n.ngForOf=new R.m(this._expr_6,c),this._expr_6=c),null!==n&&this._NgFor_43_6.ngOnChanges(n),t||this._NgFor_43_6.ngDoCheck(),e=!1;var u="";N.c(t,this._expr_8,u)&&(this._Button_50_4.clear=u,e=!0,this._expr_8=u),e&&this._appEl_50.componentView.markAsCheckOnce(),n=null;var p=this.context.availableNics;N.c(t,this._expr_12,p)&&(this._DropdownPopoverComponent_68_4.dataArray=p,null===n&&(n={}),n.dataArray=new R.m(this._expr_12,p),this._expr_12=p);var d=!0;N.c(t,this._expr_13,d)&&(this._DropdownPopoverComponent_68_4.forcePopover=d,null===n&&(n={}),n.forcePopover=new R.m(this._expr_13,d),this._expr_13=d),null!==n&&this._DropdownPopoverComponent_68_4.ngOnChanges(n),n=null;var f=this.context.storageLocations;N.c(t,this._expr_16,f)&&(this._DropdownPopoverComponent_79_4.dataArray=f,null===n&&(n={}),n.dataArray=new R.m(this._expr_16,f),this._expr_16=f);var m=!0;N.c(t,this._expr_17,m)&&(this._DropdownPopoverComponent_79_4.forcePopover=m,null===n&&(n={}),n.forcePopover=new R.m(this._expr_17,m),this._expr_17=m),null!==n&&this._DropdownPopoverComponent_79_4.ngOnChanges(n);var g="connected"===this.context.currentNicStatus.status&&this.context.deviceObject&&this.context.deviceObject.bridge;N.c(t,this._expr_18,g)&&(this._NgIf_83_6.ngIf=g,this._expr_18=g);var v=!this.context.modifyingSaved;N.c(t,this._expr_20,v)&&(this._NgIf_106_6.ngIf=v,this._expr_20=v);var x=this.context.modifyingSaved;N.c(t,this._expr_21,x)&&(this._NgIf_108_6.ngIf=x,this._expr_21=x);var y=!this.context.modifyingSaved;N.c(t,this._expr_23,y)&&(this._NgIf_125_6.ngIf=y,this._expr_23=y);var b=this.context.modifyingSaved;N.c(t,this._expr_24,b)&&(this._NgIf_127_6.ngIf=b,this._expr_24=b),this.detectContentChildrenChanges(t),t||(this._query_Button_61_1.dirty&&(this._query_Button_61_1.reset([]),this._Item_61_4._buttons=this._query_Button_61_1,this._query_Button_61_1.notifyOnChanges()),this._query_Icon_61_2.dirty&&(this._query_Icon_61_2.reset([]),this._Item_61_4._icons=this._query_Icon_61_2,this._query_Icon_61_2.notifyOnChanges()),this._query_Button_72_1.dirty&&(this._query_Button_72_1.reset([]),this._Item_72_4._buttons=this._query_Button_72_1,this._query_Button_72_1.notifyOnChanges()),this._query_Icon_72_2.dirty&&(this._query_Icon_72_2.reset([]),this._Item_72_4._icons=this._query_Icon_72_2,this._query_Icon_72_2.notifyOnChanges()),0===this.numberOfChecks&&this._Button_35_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_50_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_61_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_72_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_91_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_117_4.ngAfterContentInit());var w=this._Content_0_4._sbPadding;N.c(t,this._expr_0,w)&&(this.renderer.setElementClass(this._el_0,"statusbar-padding",w),this._expr_0=w);var C=this.context.scanningForNetworks;N.c(t,this._expr_5,C)&&(this.renderer.setElementProperty(this._el_35,"disabled",C),this._expr_5=C),this.detectViewChildrenChanges(t),t||(0===this.numberOfChecks&&this._DropdownPopoverComponent_68_4.ngAfterViewInit(),0===this.numberOfChecks&&this._DropdownPopoverComponent_79_4.ngAfterViewInit())},e.prototype.destroyInternal=function(){this._Slide_4_4.ngOnDestroy(),this._Slide_99_4.ngOnDestroy(),this._Content_0_4.ngOnDestroy()},e.prototype.detachInternal=function(){this.componentType.animations.rotate(this,this._el_52,this._expr_9,"void"),this.componentType.animations.expand(this,this._el_61,this._expr_10,"void"),this.componentType.animations.expand(this,this._el_72,this._expr_14,"void")},e.prototype._handle_click_35_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.refreshSavedNetworks()!==!1;return e},e.prototype._handle_tap_50_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.toggleMainAdvanced()!==!1;return e},e.prototype._handle_onSelection_68_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.nicSelection(t)!==!1;return e},e.prototype._handle_onSelection_79_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.storageSelection(t)!==!1;return e},e.prototype._handle_click_91_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.closeModal()!==!1;return e},e.prototype._handle_click_117_0=function(t){this.markPathToRootAsCheckOnce();var e=this.context.backToNetworks()!==!1;return e},e}(S.a),Gt=function(t){function e(n,i,r){t.call(this,e,Ut,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Mt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","available-button-container"),this.renderer.setElementAttribute(this._el_0,"text-center",""),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"button",null),this.renderer.setElementAttribute(this._el_2,"class","icon-only-button-side available-network-button disable-hover"),this.renderer.setElementAttribute(this._el_2,"ion-button",""),this.renderer.setElementAttribute(this._el_2,"tooltipPlacement","bottom"),this._appEl_2=new O.a(2,0,this,this._el_2);var e=ft.a(this.viewUtils,this.injector(2),this._appEl_2);this._Tooltip_2_5=new yt.a(this._appEl_2.vcRef,this.parent.parentInjector.get(bt.a),this.parent.parentInjector.get(xt.f)),this._Button_2_6=new et.a(null,"",this.parent.parentInjector.get(ot.c),new at.a(this._el_2),this.renderer),this._appEl_2.initComponent(this._Button_2_6,[],e),this._text_3=this.renderer.createText(null,"\n ",null),this._el_4=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_4,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_4,"src","assets/img/refresh.svg"),this._text_5=this.renderer.createText(null,"\n ",null),e.create(this._Button_2_6,[[].concat([this._text_3,this._el_4,this._text_5])],null),this._text_6=this.renderer.createText(this._el_0,"\n ",null),this._el_7=this.renderer.createElement(this._el_0,"button",null),this.renderer.setElementAttribute(this._el_7,"class","icon-only-button-side available-network-button disable-hover"),this.renderer.setElementAttribute(this._el_7,"ion-button",""),this._appEl_7=new O.a(7,0,this,this._el_7);var n=ft.a(this.viewUtils,this.injector(7),this._appEl_7);this._Button_7_4=new et.a(null,"",this.parent.parentInjector.get(ot.c),new at.a(this._el_7),this.renderer),this._appEl_7.initComponent(this._Button_7_4,[],n),this._text_8=this.renderer.createText(null,"\n ",null),this._el_9=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_9,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_9,"src","assets/img/add.svg"),this._text_10=this.renderer.createText(null,"\n ",null),n.create(this._Button_7_4,[[].concat([this._text_8,this._el_9,this._text_10])],null),this._text_11=this.renderer.createText(this._el_0,"\n ",null),this._expr_5=R.n;var i=this.renderer.listen(this._el_2,"click",this.eventHandler(this._handle_click_2_0.bind(this))),r=this.renderer.listen(this._el_2,"focusin",this.eventHandler(this._handle_focusin_2_1.bind(this))),s=this.renderer.listen(this._el_2,"mouseenter",this.eventHandler(this._handle_mouseenter_2_2.bind(this))),o=this.renderer.listen(this._el_2,"focusout",this.eventHandler(this._handle_focusout_2_3.bind(this))),a=this.renderer.listen(this._el_2,"mouseleave",this.eventHandler(this._handle_mouseleave_2_4.bind(this)));this._expr_6=R.n,this._expr_7=R.n,this._expr_8=R.n;var _=this.renderer.listen(this._el_7,"click",this.eventHandler(this._handle_click_7_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._text_11],[i,r,s,o,a,_],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===yt.a&&2<=e&&e<=5?this._Tooltip_2_5:t===et.a&&2<=e&&e<=5?this._Button_2_6:t===et.a&&7<=e&&e<=10?this._Button_7_4:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.context.networkDropMessage;N.c(t,this._expr_6,n)&&(this._Tooltip_2_5.content=n,null===e&&(e={}),e.content=new R.m(this._expr_6,n),this._expr_6=n);var i=!0;N.c(t,this._expr_7,i)&&(this._Tooltip_2_5.tooltipAnimation=i,null===e&&(e={}),e.tooltipAnimation=new R.m(this._expr_7,i),this._expr_7=i);var r="bottom";N.c(t,this._expr_8,r)&&(this._Tooltip_2_5.tooltipPlacement=r,null===e&&(e={}),e.tooltipPlacement=new R.m(this._expr_8,r),this._expr_8=r),null!==e&&this._Tooltip_2_5.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(0===this.numberOfChecks&&this._Button_2_6.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_7_4.ngAfterContentInit());var s=null==this.parent.context.deviceObject||!this.parent.context.deviceObject.bridge;N.c(t,this._expr_5,s)&&(this.renderer.setElementProperty(this._el_2,"disabled",s),this._expr_5=s),this.detectViewChildrenChanges(t)},e.prototype._handle_click_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.refreshAvailableNetworks()!==!1;return e},e.prototype._handle_focusin_2_1=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_2_5.setShowTimeout()!==!1;return e},e.prototype._handle_mouseenter_2_2=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_2_5.setShowTimeout()!==!1;return e},e.prototype._handle_focusout_2_3=function(t){this.markPathToRootAsCheckOnce();var e=this._Tooltip_2_5.hide()!==!1;return e},e.prototype._handle_mouseleave_2_4=function(t){this.markPathToRootAsCheckOnce(); var e=this._Tooltip_2_5.hide()!==!1;return e},e.prototype._handle_click_7_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.addCustomNetwork()!==!1;return e},e}(S.a),Wt=function(t){function e(n,i,r){t.call(this,e,Ut,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Mt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"class","spinner-container"),this.renderer.setElementAttribute(this._el_0,"text-center",""),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-spinner",null),this.renderer.setElementAttribute(this._el_2,"name","crescent"),this._appEl_2=new O.a(2,0,this,this._el_2);var e=Ct.a(this.viewUtils,this.injector(2),this._appEl_2);return this._Spinner_2_4=new wt.a(this.parent.parentInjector.get(ot.c),new at.a(this._el_2),this.renderer),this._appEl_2.initComponent(this._Spinner_2_4,[],e),e.create(this._Spinner_2_4,[],null),this._text_3=this.renderer.createText(this._el_0,"\n ",null),this._expr_0=R.n,this._expr_1=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===wt.a&&2===e?this._Spinner_2_4:n},e.prototype.detectChangesInternal=function(t){var e=!0;e=!1;var n="crescent";N.c(t,this._expr_0,n)&&(this._Spinner_2_4.name=n,e=!0,this._expr_0=n),e&&this._appEl_2.componentView.markAsCheckOnce(),0!==this.numberOfChecks||t||this._Spinner_2_4.ngOnInit(),this.detectContentChildrenChanges(t);var i=this._Spinner_2_4.paused;N.c(t,this._expr_1,i)&&(this.renderer.setElementClass(this._el_2,"spinner-paused",i),this._expr_1=i),this.detectViewChildrenChanges(t)},e}(S.a),Yt=function(t){function e(n,i,r){t.call(this,e,Ut,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Mt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"text-center",""),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-card",null),this.renderer.setElementAttribute(this._el_2,"class","network-card"),this._Card_2_3=new Et.a(this.parent.parentInjector.get(ot.c),new at.a(this._el_2),this.renderer),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-item",null),this.renderer.setElementAttribute(this._el_4,"class","card-info item item-block"),this._appEl_4=new O.a(4,2,this,this._el_4);var e=mt.a(this.viewUtils,this.injector(4),this._appEl_4);this._Item_4_4=new nt.a(this.parent.parentInjector.get(gt.a),this.parent.parentInjector.get(ot.c),new at.a(this._el_4),this.renderer),this._ItemContent_4_5=new nt.b,this._query_Label_4_0=new X.a,this._query_Button_4_1=new X.a,this._query_Icon_4_2=new X.a,this._appEl_4.initComponent(this._Item_4_4,[],e),this._text_5=this.renderer.createText(null,"",null),this._query_Label_4_0.reset([]),this._Item_4_4.contentLabel=this._query_Label_4_0.first,e.create(this._Item_4_4,[[],[],[].concat([this._text_5]),[],[]],null),this._text_6=this.renderer.createText(this._el_2,"\n ",null),this._text_7=this.renderer.createText(this._el_0,"\n ",null);var n=this.renderer.listen(this._el_2,"click",this.eventHandler(this._handle_click_2_0.bind(this)));return this._expr_1=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._text_7],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===nt.a&&4<=e&&e<=5?this._Item_4_4:t===nt.b&&4<=e&&e<=5?this._ItemContent_4_5:t===Et.a&&2<=e&&e<=6?this._Card_2_3:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||(this._query_Button_4_1.dirty&&(this._query_Button_4_1.reset([]),this._Item_4_4._buttons=this._query_Button_4_1,this._query_Button_4_1.notifyOnChanges()),this._query_Icon_4_2.dirty&&(this._query_Icon_4_2.reset([]),this._Item_4_4._icons=this._query_Icon_4_2,this._query_Icon_4_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_4_4.ngAfterContentInit());var e=N.e(1,"\n ",this.context.$implicit.ssid,"\n ");N.c(t,this._expr_1,e)&&(this.renderer.setText(this._text_5,e),this._expr_1=e),this.detectViewChildrenChanges(t)},e.prototype._handle_click_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.routeToConfigSlide(this.context.$implicit)!==!1;return e},e}(S.a),$t=function(t){function e(n,i,r){t.call(this,e,Ut,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Mt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_0,"text-center",""),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-card",null),this.renderer.setElementAttribute(this._el_2,"class","network-card"),this._Card_2_3=new Et.a(this.parent.parentInjector.get(ot.c),new at.a(this._el_2),this.renderer),this._text_3=this.renderer.createText(this._el_2,"\n ",null),this._el_4=this.renderer.createElement(this._el_2,"ion-item",null),this.renderer.setElementAttribute(this._el_4,"class","card-info item item-block"),this._appEl_4=new O.a(4,2,this,this._el_4);var e=mt.a(this.viewUtils,this.injector(4),this._appEl_4);this._Item_4_4=new nt.a(this.parent.parentInjector.get(gt.a),this.parent.parentInjector.get(ot.c),new at.a(this._el_4),this.renderer),this._ItemContent_4_5=new nt.b,this._query_Label_4_0=new X.a,this._query_Button_4_1=new X.a,this._query_Icon_4_2=new X.a,this._appEl_4.initComponent(this._Item_4_4,[],e),this._text_5=this.renderer.createText(null,"",null),this._el_6=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_6,"class","network-button"),this.renderer.setElementAttribute(this._el_6,"clear",""),this.renderer.setElementAttribute(this._el_6,"ion-button",""),this.renderer.setElementAttribute(this._el_6,"item-right",""),this._appEl_6=new O.a(6,4,this,this._el_6);var n=ft.a(this.viewUtils,this.injector(6),this._appEl_6);this._Button_6_4=new et.a(null,"",this.parent.parentInjector.get(ot.c),new at.a(this._el_6),this.renderer),this._appEl_6.initComponent(this._Button_6_4,[],n),this._text_7=this.renderer.createText(null,"\n ",null),this._el_8=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_8,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_8,"src","assets/img/more.svg"),this._text_9=this.renderer.createText(null,"\n ",null),n.create(this._Button_6_4,[[].concat([this._text_7,this._el_8,this._text_9])],null),this._text_10=this.renderer.createText(null,"\n ",null),this._query_Label_4_0.reset([]),this._Item_4_4.contentLabel=this._query_Label_4_0.first,e.create(this._Item_4_4,[[],[],[].concat([this._text_5,this._text_10]),[],[].concat([this._el_6])],null),this._text_11=this.renderer.createText(this._el_2,"\n ",null),this._text_12=this.renderer.createText(this._el_0,"\n ",null);var i=this.renderer.listen(this._el_2,"click",this.eventHandler(this._handle_click_2_0.bind(this)));this._expr_1=R.n;var r=this.renderer.listen(this._el_6,"click",this.eventHandler(this._handle_click_6_0.bind(this)));return this._expr_3=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._el_6,this._text_7,this._el_8,this._text_9,this._text_10,this._text_11,this._text_12],[i,r],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===et.a&&6<=e&&e<=9?this._Button_6_4:t===nt.a&&4<=e&&e<=10?this._Item_4_4:t===nt.b&&4<=e&&e<=10?this._ItemContent_4_5:t===Et.a&&2<=e&&e<=11?this._Card_2_3:n},e.prototype.detectChangesInternal=function(t){var e=!0;e=!1;var n="";N.c(t,this._expr_3,n)&&(this._Button_6_4.clear=n,e=!0,this._expr_3=n),e&&this._appEl_6.componentView.markAsCheckOnce(),this.detectContentChildrenChanges(t),t||(this._query_Button_4_1.dirty&&(this._query_Button_4_1.reset([this._Button_6_4]),this._Item_4_4._buttons=this._query_Button_4_1,this._query_Button_4_1.notifyOnChanges()),this._query_Icon_4_2.dirty&&(this._query_Icon_4_2.reset([]),this._Item_4_4._icons=this._query_Icon_4_2,this._query_Icon_4_2.notifyOnChanges()),0===this.numberOfChecks&&this._Button_6_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_4_4.ngAfterContentInit());var i=N.e(1,"\n ",this.context.$implicit.ssid,"\n ");N.c(t,this._expr_1,i)&&(this.renderer.setText(this._text_5,i),this._expr_1=i),this.detectViewChildrenChanges(t)},e.prototype._handle_click_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.loadAndConnect(this.context.index)!==!1;return e},e.prototype._handle_click_6_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.showPopover(t,this.context.index)!==!1;return e},e}(S.a),Xt=function(t){function e(n,i,r){t.call(this,e,Ut,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Mt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","configure-item collapse-card item item-block"),this._appEl_0=new O.a(0,null,this,this._el_0);var e=mt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Item_0_4=new nt.a(this.parent.parentInjector.get(gt.a),this.parent.parentInjector.get(ot.c),new at.a(this._el_0),this.renderer),this._ItemContent_0_5=new nt.b,this._query_Label_0_0=new X.a,this._query_Button_0_1=new X.a,this._query_Icon_0_2=new X.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_2,"class","text-button-side item-button disable-hover"),this.renderer.setElementAttribute(this._el_2,"ion-button",""),this._appEl_2=new O.a(2,0,this,this._el_2);var n=ft.a(this.viewUtils,this.injector(2),this._appEl_2);this._Button_2_4=new et.a(null,"",this.parent.parentInjector.get(ot.c),new at.a(this._el_2),this.renderer),this._appEl_2.initComponent(this._Button_2_4,[],n),this._text_3=this.renderer.createText(null,"\n Disconnect From Network\n ",null),n.create(this._Button_2_4,[[].concat([this._text_3])],null),this._text_4=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[],[].concat([this._text_1,this._el_2,this._text_4]),[],[]],null),this._expr_0=R.n;var i=this.renderer.listen(this._el_2,"click",this.eventHandler(this._handle_click_2_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4],[i],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===et.a&&2<=e&&e<=3?this._Button_2_4:t===nt.a&&0<=e&&e<=4?this._Item_0_4:t===nt.b&&0<=e&&e<=4?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){var e=this.parent.context.showMainAdvanced;if(N.c(t,this._expr_0,e)){var n=this._expr_0;n==R.n&&(n="void");var i=e;i==R.n&&(i="void"),this.componentType.animations.expand(this,this._el_0,n,i),this._expr_0=e}this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([this._Button_2_4]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Button_2_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit()),this.detectViewChildrenChanges(t)},e.prototype.detachInternal=function(){this.componentType.animations.expand(this,this._el_0,this._expr_0,"void")},e.prototype._handle_click_2_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.manualDisconnect()!==!1;return e},e}(S.a),Jt=function(t){function e(n,i,r){t.call(this,e,Ut,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Mt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-list",null),this.renderer.setElementAttribute(this._el_0,"class","wifi-list"),this._List_0_3=new Tt.a(this.parent.parentInjector.get(ot.c),new at.a(this._el_0),this.renderer,this.parent.parentInjector.get(Ot.a)),this._text_1=this.renderer.createText(this._el_0,"\n\n ",null),this._anchor_2=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_2=new O.a(2,0,this,this._anchor_2),this._TemplateRef_2_5=new pt.a(this._appEl_2,p),this._NgIf_2_6=new K.a(this._appEl_2.vcRef,this._TemplateRef_2_5),this._text_3=this.renderer.createText(this._el_0,"\n\n ",null),this._anchor_4=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_4=new O.a(4,0,this,this._anchor_4),this._TemplateRef_4_5=new pt.a(this._appEl_4,d),this._NgIf_4_6=new K.a(this._appEl_4.vcRef,this._TemplateRef_4_5),this._text_5=this.renderer.createText(this._el_0,"\n\n ",null),this._anchor_6=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_6=new O.a(6,0,this,this._anchor_6),this._TemplateRef_6_5=new pt.a(this._appEl_6,f),this._NgIf_6_6=new K.a(this._appEl_6.vcRef,this._TemplateRef_6_5),this._text_7=this.renderer.createText(this._el_0,"\n\n ",null),this._anchor_8=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_8=new O.a(8,0,this,this._anchor_8),this._TemplateRef_8_5=new pt.a(this._appEl_8,m),this._NgIf_8_6=new K.a(this._appEl_8.vcRef,this._TemplateRef_8_5),this._text_9=this.renderer.createText(this._el_0,"\n\n ",null),this._anchor_10=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_10=new O.a(10,0,this,this._anchor_10),this._TemplateRef_10_5=new pt.a(this._appEl_10,g),this._NgIf_10_6=new K.a(this._appEl_10.vcRef,this._TemplateRef_10_5),this._text_11=this.renderer.createText(this._el_0,"\n ",null),this._anchor_12=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_12=new O.a(12,0,this,this._anchor_12),this._TemplateRef_12_5=new pt.a(this._appEl_12,v),this._NgIf_12_6=new K.a(this._appEl_12.vcRef,this._TemplateRef_12_5),this._text_13=this.renderer.createText(this._el_0,"\n \n ",null),this._el_14=this.renderer.createElement(this._el_0,"ion-item",null),this.renderer.setElementAttribute(this._el_14,"class","card-info item item-block"),this._appEl_14=new O.a(14,0,this,this._el_14);var e=mt.a(this.viewUtils,this.injector(14),this._appEl_14);this._Item_14_4=new nt.a(this.parent.parentInjector.get(gt.a),this.parent.parentInjector.get(ot.c),new at.a(this._el_14),this.renderer),this._ItemContent_14_5=new nt.b,this._query_Label_14_0=new X.a,this._query_Button_14_1=new X.a,this._query_Icon_14_2=new X.a,this._appEl_14.initComponent(this._Item_14_4,[],e),this._text_15=this.renderer.createText(null,"\n ",null),this._el_16=this.renderer.createElement(null,"ion-label",null),this._Label_16_3=new it.a(this.parent.parentInjector.get(ot.c),new at.a(this._el_16),this.renderer,null,null,null,null),this._text_17=this.renderer.createText(this._el_16,"Status",null),this._text_18=this.renderer.createText(null,"\n ",null),this._el_19=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_19,"class","item-content-right"),this.renderer.setElementAttribute(this._el_19,"item-right",""),this._text_20=this.renderer.createText(this._el_19,"",null),this._text_21=this.renderer.createText(null,"\n ",null),this._query_Label_14_0.reset([this._Label_16_3]),this._Item_14_4.contentLabel=this._query_Label_14_0.first,e.create(this._Item_14_4,[[],[].concat([this._el_16]),[].concat([this._text_15,this._text_18,this._text_21]),[],[].concat([this._el_19])],null),this._text_22=this.renderer.createText(this._el_0,"\n\n ",null),this._el_23=this.renderer.createElement(this._el_0,"button",null),this.renderer.setElementAttribute(this._el_23,"class","advanced-button"),this.renderer.setElementAttribute(this._el_23,"clear",""),this.renderer.setElementAttribute(this._el_23,"icon-right",""),this.renderer.setElementAttribute(this._el_23,"ion-button",""),this._appEl_23=new O.a(23,0,this,this._el_23);var n=ft.a(this.viewUtils,this.injector(23),this._appEl_23);this._Button_23_4=new et.a(null,"",this.parent.parentInjector.get(ot.c),new at.a(this._el_23),this.renderer),this._appEl_23.initComponent(this._Button_23_4,[],n),this._text_24=this.renderer.createText(null,"\n Advanced\n ",null),this._el_25=this.renderer.createElement(null,"div",null),this._text_26=this.renderer.createText(this._el_25,"\n ",null),this._el_27=this.renderer.createElement(this._el_25,"img",null),this.renderer.setElementAttribute(this._el_27,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_27,"src","assets/img/arrow-dropdown-white.svg"),this._text_28=this.renderer.createText(this._el_25,"\n ",null),this._text_29=this.renderer.createText(null,"\n ",null),n.create(this._Button_23_4,[[].concat([this._text_24,this._el_25,this._text_29])],null),this._text_30=this.renderer.createText(this._el_0," \n\n ",null),this._el_31=this.renderer.createElement(this._el_0,"div",null),this._text_32=this.renderer.createText(this._el_31,"\n ",null),this._el_33=this.renderer.createElement(this._el_31,"ion-item",null),this.renderer.setElementAttribute(this._el_33,"class","card-info collapse-card item item-block"),this._appEl_33=new O.a(33,31,this,this._el_33);var i=mt.a(this.viewUtils,this.injector(33),this._appEl_33);this._Item_33_4=new nt.a(this.parent.parentInjector.get(gt.a),this.parent.parentInjector.get(ot.c),new at.a(this._el_33),this.renderer),this._ItemContent_33_5=new nt.b,this._query_Label_33_0=new X.a,this._query_Button_33_1=new X.a,this._query_Icon_33_2=new X.a,this._appEl_33.initComponent(this._Item_33_4,[],i),this._text_34=this.renderer.createText(null,"\n ",null),this._el_35=this.renderer.createElement(null,"ion-label",null),this._Label_35_3=new it.a(this.parent.parentInjector.get(ot.c),new at.a(this._el_35),this.renderer,null,null,null,null),this._text_36=this.renderer.createText(this._el_35,"NIC",null),this._text_37=this.renderer.createText(null,"\n ",null),this._el_38=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_38,"class","item-content-right"),this.renderer.setElementAttribute(this._el_38,"item-right",""),this._text_39=this.renderer.createText(this._el_38,"",null),this._text_40=this.renderer.createText(null,"\n ",null),this._query_Label_33_0.reset([this._Label_35_3]),this._Item_33_4.contentLabel=this._query_Label_33_0.first,i.create(this._Item_33_4,[[],[].concat([this._el_35]),[].concat([this._text_34,this._text_37,this._text_40]),[],[].concat([this._el_38])],null),this._text_41=this.renderer.createText(this._el_31,"\n\n ",null),this._el_42=this.renderer.createElement(this._el_31,"ion-item",null),this.renderer.setElementAttribute(this._el_42,"class","card-info collapse-card item item-block"),this._appEl_42=new O.a(42,31,this,this._el_42);var r=mt.a(this.viewUtils,this.injector(42),this._appEl_42);this._Item_42_4=new nt.a(this.parent.parentInjector.get(gt.a),this.parent.parentInjector.get(ot.c),new at.a(this._el_42),this.renderer),this._ItemContent_42_5=new nt.b,this._query_Label_42_0=new X.a,this._query_Button_42_1=new X.a,this._query_Icon_42_2=new X.a,this._appEl_42.initComponent(this._Item_42_4,[],r),this._text_43=this.renderer.createText(null,"\n ",null),this._el_44=this.renderer.createElement(null,"ion-label",null),this._Label_44_3=new it.a(this.parent.parentInjector.get(ot.c),new at.a(this._el_44),this.renderer,null,null,null,null),this._text_45=this.renderer.createText(this._el_44,"Storage Location",null),this._text_46=this.renderer.createText(null,"\n ",null),this._el_47=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_47,"class","item-content-right"),this.renderer.setElementAttribute(this._el_47,"item-right",""),this._text_48=this.renderer.createText(this._el_47,"",null),this._text_49=this.renderer.createText(null,"\n ",null),this._query_Label_42_0.reset([this._Label_44_3]),this._Item_42_4.contentLabel=this._query_Label_42_0.first,r.create(this._Item_42_4,[[],[].concat([this._el_44]),[].concat([this._text_43,this._text_46,this._text_49]),[],[].concat([this._el_47])],null),this._text_50=this.renderer.createText(this._el_31,"\n\n ",null),this._el_51=this.renderer.createElement(this._el_31,"ion-item",null),this.renderer.setElementAttribute(this._el_51,"class","card-info collapse-card item item-block"),this._appEl_51=new O.a(51,31,this,this._el_51);var s=mt.a(this.viewUtils,this.injector(51),this._appEl_51);this._Item_51_4=new nt.a(this.parent.parentInjector.get(gt.a),this.parent.parentInjector.get(ot.c),new at.a(this._el_51),this.renderer),this._ItemContent_51_5=new nt.b,this._query_Label_51_0=new X.a,this._query_Button_51_1=new X.a,this._query_Icon_51_2=new X.a,this._appEl_51.initComponent(this._Item_51_4,[],s),this._text_52=this.renderer.createText(null,"\n ",null),this._el_53=this.renderer.createElement(null,"ion-label",null),this._Label_53_3=new it.a(this.parent.parentInjector.get(ot.c),new at.a(this._el_53),this.renderer,null,null,null,null),this._text_54=this.renderer.createText(this._el_53,"Save Network",null),this._text_55=this.renderer.createText(null,"\n ",null),this._el_56=this.renderer.createElement(null,"ion-checkbox",null),this.renderer.setElementAttribute(this._el_56,"item-right",""),this._appEl_56=new O.a(56,51,this,this._el_56);var o=kt.a(this.viewUtils,this.injector(56),this._appEl_56);this._Checkbox_56_4=new At.a(this.parent.parentInjector.get(ot.c),this.parent.parentInjector.get(gt.a),this._Item_51_4,new at.a(this._el_56),this.renderer),this._NG_VALUE_ACCESSOR_56_5=[this._Checkbox_56_4],this._NgModel_56_6=new It.a(null,null,null,this._NG_VALUE_ACCESSOR_56_5),this._NgControl_56_7=this._NgModel_56_6,this._NgControlStatus_56_8=new St.a(this._NgControl_56_7),this._appEl_56.initComponent(this._Checkbox_56_4,[],o),o.create(this._Checkbox_56_4,[],null),this._text_57=this.renderer.createText(null,"\n ",null),this._query_Label_51_0.reset([this._Label_53_3]),this._Item_51_4.contentLabel=this._query_Label_51_0.first,s.create(this._Item_51_4,[[],[].concat([this._el_53]),[].concat([this._text_52,this._text_55,this._text_57]),[],[].concat([this._el_56])],null),this._text_58=this.renderer.createText(this._el_31,"\n \n ",null),this._el_59=this.renderer.createElement(this._el_31,"ion-item",null),this.renderer.setElementAttribute(this._el_59,"class","card-info collapse-card item item-block"),this._appEl_59=new O.a(59,31,this,this._el_59);var a=mt.a(this.viewUtils,this.injector(59),this._appEl_59);this._Item_59_4=new nt.a(this.parent.parentInjector.get(gt.a),this.parent.parentInjector.get(ot.c),new at.a(this._el_59),this.renderer),this._ItemContent_59_5=new nt.b,this._query_Label_59_0=new X.a,this._query_Button_59_1=new X.a,this._query_Icon_59_2=new X.a,this._appEl_59.initComponent(this._Item_59_4,[],a),this._text_60=this.renderer.createText(null,"\n ",null),this._el_61=this.renderer.createElement(null,"ion-label",null),this._Label_61_3=new it.a(this.parent.parentInjector.get(ot.c),new at.a(this._el_61),this.renderer,null,null,null,null),this._text_62=this.renderer.createText(this._el_61,"Auto-Connect",null),this._text_63=this.renderer.createText(null,"\n ",null),this._el_64=this.renderer.createElement(null,"ion-checkbox",null),this.renderer.setElementAttribute(this._el_64,"item-right",""),this._appEl_64=new O.a(64,59,this,this._el_64);var _=kt.a(this.viewUtils,this.injector(64),this._appEl_64);this._Checkbox_64_4=new At.a(this.parent.parentInjector.get(ot.c),this.parent.parentInjector.get(gt.a),this._Item_59_4,new at.a(this._el_64),this.renderer),this._NG_VALUE_ACCESSOR_64_5=[this._Checkbox_64_4],this._NgModel_64_6=new It.a(null,null,null,this._NG_VALUE_ACCESSOR_64_5),this._NgControl_64_7=this._NgModel_64_6,this._NgControlStatus_64_8=new St.a(this._NgControl_64_7),this._appEl_64.initComponent(this._Checkbox_64_4,[],_),_.create(this._Checkbox_64_4,[],null),this._text_65=this.renderer.createText(null,"\n ",null),this._query_Label_59_0.reset([this._Label_61_3]),this._Item_59_4.contentLabel=this._query_Label_59_0.first,a.create(this._Item_59_4,[[],[].concat([this._el_61]),[].concat([this._text_60,this._text_63,this._text_65]),[],[].concat([this._el_64])],null),this._text_66=this.renderer.createText(this._el_31,"\n \n ",null),this._anchor_67=this.renderer.createTemplateAnchor(this._el_31,null),this._appEl_67=new O.a(67,31,this,this._anchor_67),this._TemplateRef_67_5=new pt.a(this._appEl_67,y),this._NgIf_67_6=new K.a(this._appEl_67.vcRef,this._TemplateRef_67_5),this._text_68=this.renderer.createText(this._el_31,"\n ",null),this._text_69=this.renderer.createText(this._el_0,"\n\n ",null),this._expr_0=R.n,this._expr_1=R.n,this._expr_2=R.n,this._expr_3=R.n,this._expr_4=R.n,this._expr_5=R.n,this._expr_6=R.n;var l=this.renderer.listen(this._el_23,"tap",this.eventHandler(this._handle_tap_23_0.bind(this)));this._expr_8=R.n,this._expr_9=R.n,this._expr_10=R.n,this._expr_11=R.n,this._expr_12=R.n,this._expr_13=R.n,this._expr_14=R.n;var h=this.renderer.listen(this._el_56,"ngModelChange",this.eventHandler(this._handle_ngModelChange_56_0.bind(this))),c=this.renderer.listen(this._el_56,"click",this.eventHandler(this._handle_click_56_1.bind(this)));this._expr_18=R.n,this._expr_19=R.n;var u=this._NgModel_56_6.update.subscribe(this.eventHandler(this._handle_ngModelChange_56_0.bind(this)));this._expr_20=R.n,this._expr_21=R.n,this._expr_22=R.n,this._expr_23=R.n,this._expr_24=R.n,this._expr_25=R.n,this._expr_26=R.n;var x=this.renderer.listen(this._el_64,"ngModelChange",this.eventHandler(this._handle_ngModelChange_64_0.bind(this))),b=this.renderer.listen(this._el_64,"click",this.eventHandler(this._handle_click_64_1.bind(this)));this._expr_30=R.n,this._expr_31=R.n,this._expr_32=R.n,this._expr_33=R.n;var w=this._NgModel_64_6.update.subscribe(this.eventHandler(this._handle_ngModelChange_64_0.bind(this)));return this._expr_34=R.n,this._expr_35=R.n,this._expr_36=R.n,this._expr_37=R.n,this._expr_38=R.n,this._expr_39=R.n,this._expr_40=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._anchor_2,this._text_3,this._anchor_4,this._text_5,this._anchor_6,this._text_7,this._anchor_8,this._text_9,this._anchor_10,this._text_11,this._anchor_12,this._text_13,this._el_14,this._text_15,this._el_16,this._text_17,this._text_18,this._el_19,this._text_20,this._text_21,this._text_22,this._el_23,this._text_24,this._el_25,this._text_26,this._el_27,this._text_28,this._text_29,this._text_30,this._el_31,this._text_32,this._el_33,this._text_34,this._el_35,this._text_36,this._text_37,this._el_38,this._text_39,this._text_40,this._text_41,this._el_42,this._text_43,this._el_44,this._text_45,this._text_46,this._el_47,this._text_48,this._text_49,this._text_50,this._el_51,this._text_52,this._el_53,this._text_54,this._text_55,this._el_56,this._text_57,this._text_58,this._el_59,this._text_60,this._el_61,this._text_62,this._text_63,this._el_64,this._text_65,this._text_66,this._anchor_67,this._text_68,this._text_69],[l,h,c,x,b],[u,w]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===pt.b&&2===e?this._TemplateRef_2_5:t===K.a&&2===e?this._NgIf_2_6:t===pt.b&&4===e?this._TemplateRef_4_5:t===K.a&&4===e?this._NgIf_4_6:t===pt.b&&6===e?this._TemplateRef_6_5:t===K.a&&6===e?this._NgIf_6_6:t===pt.b&&8===e?this._TemplateRef_8_5:t===K.a&&8===e?this._NgIf_8_6:t===pt.b&&10===e?this._TemplateRef_10_5:t===K.a&&10===e?this._NgIf_10_6:t===pt.b&&12===e?this._TemplateRef_12_5:t===K.a&&12===e?this._NgIf_12_6:t===it.a&&16<=e&&e<=17?this._Label_16_3:t===nt.a&&14<=e&&e<=21?this._Item_14_4:t===nt.b&&14<=e&&e<=21?this._ItemContent_14_5:t===et.a&&23<=e&&e<=29?this._Button_23_4:t===it.a&&35<=e&&e<=36?this._Label_35_3:t===nt.a&&33<=e&&e<=40?this._Item_33_4:t===nt.b&&33<=e&&e<=40?this._ItemContent_33_5:t===it.a&&44<=e&&e<=45?this._Label_44_3:t===nt.a&&42<=e&&e<=49?this._Item_42_4:t===nt.b&&42<=e&&e<=49?this._ItemContent_42_5:t===it.a&&53<=e&&e<=54?this._Label_53_3:t===At.a&&56===e?this._Checkbox_56_4:t===Nt.a&&56===e?this._NG_VALUE_ACCESSOR_56_5:t===It.a&&56===e?this._NgModel_56_6:t===Pt.a&&56===e?this._NgControl_56_7:t===St.a&&56===e?this._NgControlStatus_56_8:t===nt.a&&51<=e&&e<=57?this._Item_51_4:t===nt.b&&51<=e&&e<=57?this._ItemContent_51_5:t===it.a&&61<=e&&e<=62?this._Label_61_3:t===At.a&&64===e?this._Checkbox_64_4:t===Nt.a&&64===e?this._NG_VALUE_ACCESSOR_64_5:t===It.a&&64===e?this._NgModel_64_6:t===Pt.a&&64===e?this._NgControl_64_7:t===St.a&&64===e?this._NgControlStatus_64_8:t===nt.a&&59<=e&&e<=65?this._Item_59_4:t===nt.b&&59<=e&&e<=65?this._ItemContent_59_5:t===pt.b&&67===e?this._TemplateRef_67_5:t===K.a&&67===e?this._NgIf_67_6:t===Tt.a&&0<=e&&e<=69?this._List_0_3:n},e.prototype.detectChangesInternal=function(t){var e=!0,n=null,i=this.parent.context.showAdvancedSettings;if(N.c(t,this._expr_9,i)){var r=this._expr_9;r==R.n&&(r="void");var s=i;s==R.n&&(s="void"),this.componentType.animations.rotate(this,this._el_25,r,s),this._expr_9=i}var o=this.parent.context.showAdvancedSettings;if(N.c(t,this._expr_10,o)){var r=this._expr_10;r==R.n&&(r="void");var s=o;s==R.n&&(s="void"),this.componentType.animations.expand(this,this._el_33,r,s),this._expr_10=o}var a=this.parent.context.showAdvancedSettings;if(N.c(t,this._expr_12,a)){var r=this._expr_12;r==R.n&&(r="void");var s=a;s==R.n&&(s="void"),this.componentType.animations.expand(this,this._el_42,r,s),this._expr_12=a}var _=this.parent.context.showAdvancedSettings;if(N.c(t,this._expr_14,_)){var r=this._expr_14;r==R.n&&(r="void");var s=_;s==R.n&&(s="void"),this.componentType.animations.expand(this,this._el_51,r,s),this._expr_14=_}var l=this.parent.context.showAdvancedSettings;if(N.c(t,this._expr_26,l)){var r=this._expr_26;r==R.n&&(r="void");var s=l;s==R.n&&(s="void"),this.componentType.animations.expand(this,this._el_59,r,s),this._expr_26=l}var h=!this.parent.context.customNetworkConfig;N.c(t,this._expr_0,h)&&(this._NgIf_2_6.ngIf=h,this._expr_0=h);var c=this.parent.context.customNetworkConfig;N.c(t,this._expr_1,c)&&(this._NgIf_4_6.ngIf=c,this._expr_1=c);var u=!this.parent.context.customNetworkConfig;N.c(t,this._expr_2,u)&&(this._NgIf_6_6.ngIf=u,this._expr_2=u);var p=this.parent.context.customNetworkConfig;N.c(t,this._expr_3,p)&&(this._NgIf_8_6.ngIf=p,this._expr_3=p);var d="wpa"===this.parent.context.selectedNetwork.securityType||"wpa2"===this.parent.context.selectedNetwork.securityType;N.c(t,this._expr_4,d)&&(this._NgIf_10_6.ngIf=d,this._expr_4=d);var f="wep40"===this.parent.context.selectedNetwork.securityType||"wep104"===this.parent.context.selectedNetwork.securityType; N.c(t,this._expr_5,f)&&(this._NgIf_12_6.ngIf=f,this._expr_5=f),e=!1;var m="";N.c(t,this._expr_8,m)&&(this._Button_23_4.clear=m,e=!0,this._expr_8=m),e&&this._appEl_23.componentView.markAsCheckOnce(),n=null;var g=this.parent.context.save;N.c(t,this._expr_19,g)&&(this._NgModel_56_6.model=g,null===n&&(n={}),n.model=new R.m(this._expr_19,g),this._expr_19=g),null!==n&&this._NgModel_56_6.ngOnChanges(n);var v=this.parent.context.disableAutoConnect;N.c(t,this._expr_30,v)&&(this._Checkbox_64_4.disabled=v,this._expr_30=v),n=null;var x=this.parent.context.disableAutoConnect;N.c(t,this._expr_32,x)&&(this._NgModel_64_6.isDisabled=x,null===n&&(n={}),n.isDisabled=new R.m(this._expr_32,x),this._expr_32=x);var y=this.parent.context.autoConnect;N.c(t,this._expr_33,y)&&(this._NgModel_64_6.model=y,null===n&&(n={}),n.model=new R.m(this._expr_33,y),this._expr_33=y),null!==n&&this._NgModel_64_6.ngOnChanges(n);var b=null!=this.parent.context.deviceObject&&this.parent.context.deviceObject.bridge;N.c(t,this._expr_40,b)&&(this._NgIf_67_6.ngIf=b,this._expr_40=b),this.detectContentChildrenChanges(t),t||(this._query_Button_14_1.dirty&&(this._query_Button_14_1.reset([]),this._Item_14_4._buttons=this._query_Button_14_1,this._query_Button_14_1.notifyOnChanges()),this._query_Icon_14_2.dirty&&(this._query_Icon_14_2.reset([]),this._Item_14_4._icons=this._query_Icon_14_2,this._query_Icon_14_2.notifyOnChanges()),this._query_Button_33_1.dirty&&(this._query_Button_33_1.reset([]),this._Item_33_4._buttons=this._query_Button_33_1,this._query_Button_33_1.notifyOnChanges()),this._query_Icon_33_2.dirty&&(this._query_Icon_33_2.reset([]),this._Item_33_4._icons=this._query_Icon_33_2,this._query_Icon_33_2.notifyOnChanges()),this._query_Button_42_1.dirty&&(this._query_Button_42_1.reset([]),this._Item_42_4._buttons=this._query_Button_42_1,this._query_Button_42_1.notifyOnChanges()),this._query_Icon_42_2.dirty&&(this._query_Icon_42_2.reset([]),this._Item_42_4._icons=this._query_Icon_42_2,this._query_Icon_42_2.notifyOnChanges()),this._query_Button_51_1.dirty&&(this._query_Button_51_1.reset([]),this._Item_51_4._buttons=this._query_Button_51_1,this._query_Button_51_1.notifyOnChanges()),this._query_Icon_51_2.dirty&&(this._query_Icon_51_2.reset([]),this._Item_51_4._icons=this._query_Icon_51_2,this._query_Icon_51_2.notifyOnChanges()),this._query_Button_59_1.dirty&&(this._query_Button_59_1.reset([]),this._Item_59_4._buttons=this._query_Button_59_1,this._query_Button_59_1.notifyOnChanges()),this._query_Icon_59_2.dirty&&(this._query_Icon_59_2.reset([]),this._Item_59_4._icons=this._query_Icon_59_2,this._query_Icon_59_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_14_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Button_23_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_33_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_42_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Checkbox_56_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_51_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Checkbox_64_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_59_4.ngAfterContentInit());var w=N.e(1,"",this.parent.context.wifiStatus,"");N.c(t,this._expr_6,w)&&(this.renderer.setText(this._text_20,w),this._expr_6=w);var C=N.e(1,"",this.parent.context.selectedNic,"");N.c(t,this._expr_11,C)&&(this.renderer.setText(this._text_39,C),this._expr_11=C);var E=N.e(1,"",this.parent.context.selectedStorageLocation,"");N.c(t,this._expr_13,E)&&(this.renderer.setText(this._text_48,E),this._expr_13=E);var T=this._Checkbox_56_4._disabled;N.c(t,this._expr_18,T)&&(this.renderer.setElementClass(this._el_56,"checkbox-disabled",T),this._expr_18=T);var A=this._NgControlStatus_56_8.ngClassUntouched;N.c(t,this._expr_20,A)&&(this.renderer.setElementClass(this._el_56,"ng-untouched",A),this._expr_20=A);var I=this._NgControlStatus_56_8.ngClassTouched;N.c(t,this._expr_21,I)&&(this.renderer.setElementClass(this._el_56,"ng-touched",I),this._expr_21=I);var S=this._NgControlStatus_56_8.ngClassPristine;N.c(t,this._expr_22,S)&&(this.renderer.setElementClass(this._el_56,"ng-pristine",S),this._expr_22=S);var O=this._NgControlStatus_56_8.ngClassDirty;N.c(t,this._expr_23,O)&&(this.renderer.setElementClass(this._el_56,"ng-dirty",O),this._expr_23=O);var k=this._NgControlStatus_56_8.ngClassValid;N.c(t,this._expr_24,k)&&(this.renderer.setElementClass(this._el_56,"ng-valid",k),this._expr_24=k);var P=this._NgControlStatus_56_8.ngClassInvalid;N.c(t,this._expr_25,P)&&(this.renderer.setElementClass(this._el_56,"ng-invalid",P),this._expr_25=P);var D=this._Checkbox_64_4._disabled;N.c(t,this._expr_31,D)&&(this.renderer.setElementClass(this._el_64,"checkbox-disabled",D),this._expr_31=D);var j=this._NgControlStatus_64_8.ngClassUntouched;N.c(t,this._expr_34,j)&&(this.renderer.setElementClass(this._el_64,"ng-untouched",j),this._expr_34=j);var M=this._NgControlStatus_64_8.ngClassTouched;N.c(t,this._expr_35,M)&&(this.renderer.setElementClass(this._el_64,"ng-touched",M),this._expr_35=M);var L=this._NgControlStatus_64_8.ngClassPristine;N.c(t,this._expr_36,L)&&(this.renderer.setElementClass(this._el_64,"ng-pristine",L),this._expr_36=L);var B=this._NgControlStatus_64_8.ngClassDirty;N.c(t,this._expr_37,B)&&(this.renderer.setElementClass(this._el_64,"ng-dirty",B),this._expr_37=B);var F=this._NgControlStatus_64_8.ngClassValid;N.c(t,this._expr_38,F)&&(this.renderer.setElementClass(this._el_64,"ng-valid",F),this._expr_38=F);var q=this._NgControlStatus_64_8.ngClassInvalid;N.c(t,this._expr_39,q)&&(this.renderer.setElementClass(this._el_64,"ng-invalid",q),this._expr_39=q),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Checkbox_56_4.ngOnDestroy(),this._NgModel_56_6.ngOnDestroy(),this._Checkbox_64_4.ngOnDestroy(),this._NgModel_64_6.ngOnDestroy()},e.prototype.detachInternal=function(){this.componentType.animations.rotate(this,this._el_25,this._expr_9,"void"),this.componentType.animations.expand(this,this._el_33,this._expr_10,"void"),this.componentType.animations.expand(this,this._el_42,this._expr_12,"void"),this.componentType.animations.expand(this,this._el_51,this._expr_14,"void"),this.componentType.animations.expand(this,this._el_59,this._expr_26,"void")},e.prototype._handle_tap_23_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.toggleAdvancedSettings()!==!1;return e},e.prototype._handle_ngModelChange_56_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.context.save=t)!==!1,n=this.parent.context.checkboxChanged("save")!==!1;return e&&n},e.prototype._handle_click_56_1=function(t){this._appEl_56.componentView.markPathToRootAsCheckOnce();var e=this._Checkbox_56_4._click(t)!==!1;return e},e.prototype._handle_ngModelChange_64_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.context.autoConnect=t)!==!1,n=this.parent.context.checkboxChanged("autoConnect")!==!1;return e&&n},e.prototype._handle_click_64_1=function(t){this._appEl_64.componentView.markPathToRootAsCheckOnce();var e=this._Checkbox_64_4._click(t)!==!1;return e},e}(S.a),Qt=function(t){function e(n,i,r){t.call(this,e,Ut,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Mt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","card-info item item-block"),this._appEl_0=new O.a(0,null,this,this._el_0);var e=mt.a(this.viewUtils,this.injector(0),this._appEl_0);return this._Item_0_4=new nt.a(this.parent.parent.parentInjector.get(gt.a),this.parent.parent.parentInjector.get(ot.c),new at.a(this._el_0),this.renderer),this._ItemContent_0_5=new nt.b,this._query_Label_0_0=new X.a,this._query_Button_0_1=new X.a,this._query_Icon_0_2=new X.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"ion-label",null),this._Label_2_3=new it.a(this.parent.parent.parentInjector.get(ot.c),new at.a(this._el_2),this.renderer,null,null,null,null),this._text_3=this.renderer.createText(this._el_2,"SSID",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_5,"class","item-content-right"),this.renderer.setElementAttribute(this._el_5,"item-right",""),this._text_6=this.renderer.createText(this._el_5,"",null),this._text_7=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([this._Label_2_3]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[].concat([this._el_2]),[].concat([this._text_1,this._text_4,this._text_7]),[],[].concat([this._el_5])],null),this._expr_0=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._text_7],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===it.a&&2<=e&&e<=3?this._Label_2_3:t===nt.a&&0<=e&&e<=7?this._Item_0_4:t===nt.b&&0<=e&&e<=7?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit());var e=N.e(1,"",this.parent.parent.context.selectedNetwork.ssid,"");N.c(t,this._expr_0,e)&&(this.renderer.setText(this._text_6,e),this._expr_0=e),this.detectViewChildrenChanges(t)},e}(S.a),Zt=function(t){function e(n,i,r){t.call(this,e,Ut,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Mt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","card-info item item-block"),this._appEl_0=new O.a(0,null,this,this._el_0);var e=mt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Item_0_4=new nt.a(this.parent.parent.parentInjector.get(gt.a),this.parent.parent.parentInjector.get(ot.c),new at.a(this._el_0),this.renderer),this._ItemContent_0_5=new nt.b,this._query_Label_0_0=new X.a,this._query_Button_0_1=new X.a,this._query_Icon_0_2=new X.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"ion-label",null),this._Label_2_3=new it.a(this.parent.parent.parentInjector.get(ot.c),new at.a(this._el_2),this.renderer,null,null,null,null),this._text_3=this.renderer.createText(this._el_2,"SSID",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_5,"class","item-content-right hostname-input-wrapper"),this.renderer.setElementAttribute(this._el_5,"item-right",""),this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._el_7=this.renderer.createElement(this._el_5,"input",null),this.renderer.setElementAttribute(this._el_7,"class","custom-input"),this._DefaultValueAccessor_7_3=new Rt.a(this.renderer,new at.a(this._el_7)),this._NG_VALUE_ACCESSOR_7_4=[this._DefaultValueAccessor_7_3],this._NgModel_7_5=new It.a(null,null,null,this._NG_VALUE_ACCESSOR_7_4),this._NgControl_7_6=this._NgModel_7_5,this._NgControlStatus_7_7=new St.a(this._NgControl_7_6),this._text_8=this.renderer.createText(this._el_5,"\n ",null),this._text_9=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([this._Label_2_3]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[].concat([this._el_2]),[].concat([this._text_1,this._text_4,this._text_9]),[],[].concat([this._el_5])],null);var n=this.renderer.listen(this._el_7,"ngModelChange",this.eventHandler(this._handle_ngModelChange_7_0.bind(this))),i=this.renderer.listen(this._el_7,"input",this.eventHandler(this._handle_input_7_1.bind(this))),r=this.renderer.listen(this._el_7,"blur",this.eventHandler(this._handle_blur_7_2.bind(this)));this._expr_3=R.n;var s=this._NgModel_7_5.update.subscribe(this.eventHandler(this._handle_ngModelChange_7_0.bind(this)));return this._expr_4=R.n,this._expr_5=R.n,this._expr_6=R.n,this._expr_7=R.n,this._expr_8=R.n,this._expr_9=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._text_9],[n,i,r],[s]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===it.a&&2<=e&&e<=3?this._Label_2_3:t===Rt.a&&7===e?this._DefaultValueAccessor_7_3:t===Nt.a&&7===e?this._NG_VALUE_ACCESSOR_7_4:t===It.a&&7===e?this._NgModel_7_5:t===Pt.a&&7===e?this._NgControl_7_6:t===St.a&&7===e?this._NgControlStatus_7_7:t===nt.a&&0<=e&&e<=9?this._Item_0_4:t===nt.b&&0<=e&&e<=9?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.context.selectedNetwork.ssid;N.c(t,this._expr_3,n)&&(this._NgModel_7_5.model=n,null===e&&(e={}),e.model=new R.m(this._expr_3,n),this._expr_3=n),null!==e&&this._NgModel_7_5.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit());var i=this._NgControlStatus_7_7.ngClassUntouched;N.c(t,this._expr_4,i)&&(this.renderer.setElementClass(this._el_7,"ng-untouched",i),this._expr_4=i);var r=this._NgControlStatus_7_7.ngClassTouched;N.c(t,this._expr_5,r)&&(this.renderer.setElementClass(this._el_7,"ng-touched",r),this._expr_5=r);var s=this._NgControlStatus_7_7.ngClassPristine;N.c(t,this._expr_6,s)&&(this.renderer.setElementClass(this._el_7,"ng-pristine",s),this._expr_6=s);var o=this._NgControlStatus_7_7.ngClassDirty;N.c(t,this._expr_7,o)&&(this.renderer.setElementClass(this._el_7,"ng-dirty",o),this._expr_7=o);var a=this._NgControlStatus_7_7.ngClassValid;N.c(t,this._expr_8,a)&&(this.renderer.setElementClass(this._el_7,"ng-valid",a),this._expr_8=a);var _=this._NgControlStatus_7_7.ngClassInvalid;N.c(t,this._expr_9,_)&&(this.renderer.setElementClass(this._el_7,"ng-invalid",_),this._expr_9=_),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_7_5.ngOnDestroy()},e.prototype._handle_ngModelChange_7_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.parent.context.selectedNetwork.ssid=t)!==!1;return e},e.prototype._handle_input_7_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_7_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_7_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_7_3.onTouched()!==!1;return e},e}(S.a),Kt=function(t){function e(n,i,r){t.call(this,e,Ut,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Mt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","card-info item item-block"),this._appEl_0=new O.a(0,null,this,this._el_0);var e=mt.a(this.viewUtils,this.injector(0),this._appEl_0);return this._Item_0_4=new nt.a(this.parent.parent.parentInjector.get(gt.a),this.parent.parent.parentInjector.get(ot.c),new at.a(this._el_0),this.renderer),this._ItemContent_0_5=new nt.b,this._query_Label_0_0=new X.a,this._query_Button_0_1=new X.a,this._query_Icon_0_2=new X.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"ion-label",null),this._Label_2_3=new it.a(this.parent.parent.parentInjector.get(ot.c),new at.a(this._el_2),this.renderer,null,null,null,null),this._text_3=this.renderer.createText(this._el_2,"Security Type",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_5,"class","item-content-right security-type-container"),this.renderer.setElementAttribute(this._el_5,"item-right",""),this._text_6=this.renderer.createText(this._el_5,"",null),this._text_7=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([this._Label_2_3]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[].concat([this._el_2]),[].concat([this._text_1,this._text_4,this._text_7]),[],[].concat([this._el_5])],null),this._expr_0=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._text_7],[],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===it.a&&2<=e&&e<=3?this._Label_2_3:t===nt.a&&0<=e&&e<=7?this._Item_0_4:t===nt.b&&0<=e&&e<=7?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit());var e=N.e(1,"",this.parent.parent.context.selectedNetwork.securityType,"");N.c(t,this._expr_0,e)&&(this.renderer.setText(this._text_6,e),this._expr_0=e),this.detectViewChildrenChanges(t)},e}(S.a),te=function(t){function e(n,i,r){t.call(this,e,Ut,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Mt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","card-info item item-block"),this._appEl_0=new O.a(0,null,this,this._el_0);var e=mt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Item_0_4=new nt.a(this.parent.parent.parentInjector.get(gt.a),this.parent.parent.parentInjector.get(ot.c),new at.a(this._el_0),this.renderer),this._ItemContent_0_5=new nt.b,this._query_Label_0_0=new X.a,this._query_Button_0_1=new X.a,this._query_Icon_0_2=new X.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"ion-label",null),this._Label_2_3=new it.a(this.parent.parent.parentInjector.get(ot.c),new at.a(this._el_2),this.renderer,null,null,null,null),this._text_3=this.renderer.createText(this._el_2,"Security Type",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_5,"class","item-content-right dropdown-popover-item-right"),this.renderer.setElementAttribute(this._el_5,"item-right",""),this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._el_7=this.renderer.createElement(this._el_5,"dropdown-popover",null),this._appEl_7=new O.a(7,5,this,this._el_7);var n=vt.b(this.viewUtils,this.injector(7),this._appEl_7);this._DropdownPopoverComponent_7_4=new rt.a(this.parent.parent.parentInjector.get(q.a),new at.a(this._el_7),this.parent.parent.parentInjector.get(xt.f)),this._appEl_7.initComponent(this._DropdownPopoverComponent_7_4,[],n),n.create(this._DropdownPopoverComponent_7_4,[],null),this._text_8=this.renderer.createText(this._el_5,"\n ",null),this._text_9=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([this._Label_2_3]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[].concat([this._el_2]),[].concat([this._text_1,this._text_4,this._text_9]),[],[].concat([this._el_5])],null);var i=this.renderer.listen(this._el_7,"onSelection",this.eventHandler(this._handle_onSelection_7_0.bind(this)));this._expr_1=R.n,this._expr_2=R.n;var r=this._DropdownPopoverComponent_7_4.onSelection.subscribe(this.eventHandler(this._handle_onSelection_7_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._text_9],[i],[r]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===it.a&&2<=e&&e<=3?this._Label_2_3:t===rt.a&&7===e?this._DropdownPopoverComponent_7_4:t===nt.a&&0<=e&&e<=9?this._Item_0_4:t===nt.b&&0<=e&&e<=9?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.context.securityTypes;N.c(t,this._expr_1,n)&&(this._DropdownPopoverComponent_7_4.dataArray=n,null===e&&(e={}),e.dataArray=new R.m(this._expr_1,n),this._expr_1=n);var i=!0;N.c(t,this._expr_2,i)&&(this._DropdownPopoverComponent_7_4.forcePopover=i,null===e&&(e={}),e.forcePopover=new R.m(this._expr_2,i),this._expr_2=i),null!==e&&this._DropdownPopoverComponent_7_4.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit()),this.detectViewChildrenChanges(t),t||0===this.numberOfChecks&&this._DropdownPopoverComponent_7_4.ngAfterViewInit()},e.prototype._handle_onSelection_7_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.customNetworkSecuritySelect(t)!==!1;return e},e}(S.a),ee=function(t){function e(n,i,r){t.call(this,e,Ut,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Mt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","card-info item item-block"),this._appEl_0=new O.a(0,null,this,this._el_0);var e=mt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Item_0_4=new nt.a(this.parent.parent.parentInjector.get(gt.a),this.parent.parent.parentInjector.get(ot.c),new at.a(this._el_0),this.renderer),this._ItemContent_0_5=new nt.b,this._query_Label_0_0=new X.a,this._query_Button_0_1=new X.a,this._query_Icon_0_2=new X.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"ion-label",null),this._Label_2_3=new it.a(this.parent.parent.parentInjector.get(ot.c),new at.a(this._el_2),this.renderer,null,null,null,null),this._text_3=this.renderer.createText(this._el_2,"Password",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_5,"class","item-content-right hostname-input-wrapper"),this.renderer.setElementAttribute(this._el_5,"item-right",""),this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._el_7=this.renderer.createElement(this._el_5,"input",null),this.renderer.setElementAttribute(this._el_7,"class","custom-input"),this.renderer.setElementAttribute(this._el_7,"type","password"),this._DefaultValueAccessor_7_3=new Rt.a(this.renderer,new at.a(this._el_7)),this._NG_VALUE_ACCESSOR_7_4=[this._DefaultValueAccessor_7_3],this._NgModel_7_5=new It.a(null,null,null,this._NG_VALUE_ACCESSOR_7_4),this._NgControl_7_6=this._NgModel_7_5,this._NgControlStatus_7_7=new St.a(this._NgControl_7_6),this._text_8=this.renderer.createText(this._el_5,"\n ",null),this._text_9=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([this._Label_2_3]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[].concat([this._el_2]),[].concat([this._text_1,this._text_4,this._text_9]),[],[].concat([this._el_5])],null);var n=this.renderer.listen(this._el_7,"keyup.enter",this.eventHandler(this._handle_keyup_enter_7_0.bind(this))),i=this.renderer.listen(this._el_7,"ngModelChange",this.eventHandler(this._handle_ngModelChange_7_1.bind(this))),r=this.renderer.listen(this._el_7,"input",this.eventHandler(this._handle_input_7_2.bind(this))),s=this.renderer.listen(this._el_7,"blur",this.eventHandler(this._handle_blur_7_3.bind(this)));this._expr_4=R.n;var o=this._NgModel_7_5.update.subscribe(this.eventHandler(this._handle_ngModelChange_7_1.bind(this)));return this._expr_5=R.n,this._expr_6=R.n,this._expr_7=R.n,this._expr_8=R.n,this._expr_9=R.n,this._expr_10=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._text_9],[n,i,r,s],[o]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===it.a&&2<=e&&e<=3?this._Label_2_3:t===Rt.a&&7===e?this._DefaultValueAccessor_7_3:t===Nt.a&&7===e?this._NG_VALUE_ACCESSOR_7_4:t===It.a&&7===e?this._NgModel_7_5:t===Pt.a&&7===e?this._NgControl_7_6:t===St.a&&7===e?this._NgControlStatus_7_7:t===nt.a&&0<=e&&e<=9?this._Item_0_4:t===nt.b&&0<=e&&e<=9?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.context.password;N.c(t,this._expr_4,n)&&(this._NgModel_7_5.model=n,null===e&&(e={}),e.model=new R.m(this._expr_4,n),this._expr_4=n),null!==e&&this._NgModel_7_5.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit());var i=this._NgControlStatus_7_7.ngClassUntouched;N.c(t,this._expr_5,i)&&(this.renderer.setElementClass(this._el_7,"ng-untouched",i),this._expr_5=i);var r=this._NgControlStatus_7_7.ngClassTouched;N.c(t,this._expr_6,r)&&(this.renderer.setElementClass(this._el_7,"ng-touched",r),this._expr_6=r);var s=this._NgControlStatus_7_7.ngClassPristine;N.c(t,this._expr_7,s)&&(this.renderer.setElementClass(this._el_7,"ng-pristine",s),this._expr_7=s);var o=this._NgControlStatus_7_7.ngClassDirty;N.c(t,this._expr_8,o)&&(this.renderer.setElementClass(this._el_7,"ng-dirty",o),this._expr_8=o);var a=this._NgControlStatus_7_7.ngClassValid;N.c(t,this._expr_9,a)&&(this.renderer.setElementClass(this._el_7,"ng-valid",a),this._expr_9=a);var _=this._NgControlStatus_7_7.ngClassInvalid;N.c(t,this._expr_10,_)&&(this.renderer.setElementClass(this._el_7,"ng-invalid",_),this._expr_10=_),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_7_5.ngOnDestroy()},e.prototype._handle_keyup_enter_7_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.addNetwork()!==!1;return e},e.prototype._handle_ngModelChange_7_1=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.parent.context.password=t)!==!1;return e},e.prototype._handle_input_7_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_7_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_7_3=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_7_3.onTouched()!==!1;return e},e}(S.a),ne=function(t){function e(n,i,r){t.call(this,e,Ut,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Mt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-item",null),this.renderer.setElementAttribute(this._el_2,"class","card-info item item-block"),this._appEl_2=new O.a(2,0,this,this._el_2);var e=mt.a(this.viewUtils,this.injector(2),this._appEl_2);this._Item_2_4=new nt.a(this.parent.parent.parentInjector.get(gt.a),this.parent.parent.parentInjector.get(ot.c),new at.a(this._el_2),this.renderer),this._ItemContent_2_5=new nt.b,this._query_Label_2_0=new X.a,this._query_Button_2_1=new X.a,this._query_Icon_2_2=new X.a,this._appEl_2.initComponent(this._Item_2_4,[],e),this._text_3=this.renderer.createText(null,"\n ",null),this._el_4=this.renderer.createElement(null,"ion-label",null),this._Label_4_3=new it.a(this.parent.parent.parentInjector.get(ot.c),new at.a(this._el_4),this.renderer,null,null,null,null),this._text_5=this.renderer.createText(this._el_4,"Wep Key Index",null),this._text_6=this.renderer.createText(null,"\n ",null),this._el_7=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_7,"class","item-content-right hostname-input-wrapper"),this.renderer.setElementAttribute(this._el_7,"item-right",""),this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"input",null),this.renderer.setElementAttribute(this._el_9,"class","custom-input"),this._DefaultValueAccessor_9_3=new Rt.a(this.renderer,new at.a(this._el_9)),this._NG_VALUE_ACCESSOR_9_4=[this._DefaultValueAccessor_9_3],this._NgModel_9_5=new It.a(null,null,null,this._NG_VALUE_ACCESSOR_9_4),this._NgControl_9_6=this._NgModel_9_5,this._NgControlStatus_9_7=new St.a(this._NgControl_9_6),this._text_10=this.renderer.createText(this._el_7,"\n ",null),this._text_11=this.renderer.createText(null,"\n ",null),this._query_Label_2_0.reset([this._Label_4_3]),this._Item_2_4.contentLabel=this._query_Label_2_0.first,e.create(this._Item_2_4,[[],[].concat([this._el_4]),[].concat([this._text_3,this._text_6,this._text_11]),[],[].concat([this._el_7])],null),this._text_12=this.renderer.createText(this._el_0,"\n ",null),this._anchor_13=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_13=new O.a(13,0,this,this._anchor_13),this._TemplateRef_13_5=new pt.a(this._appEl_13,x),this._NgFor_13_6=new tt.a(this._appEl_13.vcRef,this._TemplateRef_13_5,this.parent.parent.parentInjector.get(dt.a),this.parent.parent.ref),this._text_14=this.renderer.createText(this._el_0,"\n ",null);var n=this.renderer.listen(this._el_9,"ngModelChange",this.eventHandler(this._handle_ngModelChange_9_0.bind(this))),i=this.renderer.listen(this._el_9,"input",this.eventHandler(this._handle_input_9_1.bind(this))),r=this.renderer.listen(this._el_9,"blur",this.eventHandler(this._handle_blur_9_2.bind(this)));this._expr_3=R.n;var s=this._NgModel_9_5.update.subscribe(this.eventHandler(this._handle_ngModelChange_9_0.bind(this)));return this._expr_4=R.n,this._expr_5=R.n,this._expr_6=R.n,this._expr_7=R.n,this._expr_8=R.n,this._expr_9=R.n,this._expr_10=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._text_11,this._text_12,this._anchor_13,this._text_14],[n,i,r],[s]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===it.a&&4<=e&&e<=5?this._Label_4_3:t===Rt.a&&9===e?this._DefaultValueAccessor_9_3:t===Nt.a&&9===e?this._NG_VALUE_ACCESSOR_9_4:t===It.a&&9===e?this._NgModel_9_5:t===Pt.a&&9===e?this._NgControl_9_6:t===St.a&&9===e?this._NgControlStatus_9_7:t===nt.a&&2<=e&&e<=11?this._Item_2_4:t===nt.b&&2<=e&&e<=11?this._ItemContent_2_5:t===pt.b&&13===e?this._TemplateRef_13_5:t===tt.a&&13===e?this._NgFor_13_6:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.context.wepKeyIndex;N.c(t,this._expr_3,n)&&(this._NgModel_9_5.model=n,null===e&&(e={}), e.model=new R.m(this._expr_3,n),this._expr_3=n),null!==e&&this._NgModel_9_5.ngOnChanges(e),e=null;var i=this.parent.parent.context.wepKeyEntryArray;N.c(t,this._expr_10,i)&&(this._NgFor_13_6.ngForOf=i,null===e&&(e={}),e.ngForOf=new R.m(this._expr_10,i),this._expr_10=i),null!==e&&this._NgFor_13_6.ngOnChanges(e),t||this._NgFor_13_6.ngDoCheck(),this.detectContentChildrenChanges(t),t||(this._query_Button_2_1.dirty&&(this._query_Button_2_1.reset([]),this._Item_2_4._buttons=this._query_Button_2_1,this._query_Button_2_1.notifyOnChanges()),this._query_Icon_2_2.dirty&&(this._query_Icon_2_2.reset([]),this._Item_2_4._icons=this._query_Icon_2_2,this._query_Icon_2_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_2_4.ngAfterContentInit());var r=this._NgControlStatus_9_7.ngClassUntouched;N.c(t,this._expr_4,r)&&(this.renderer.setElementClass(this._el_9,"ng-untouched",r),this._expr_4=r);var s=this._NgControlStatus_9_7.ngClassTouched;N.c(t,this._expr_5,s)&&(this.renderer.setElementClass(this._el_9,"ng-touched",s),this._expr_5=s);var o=this._NgControlStatus_9_7.ngClassPristine;N.c(t,this._expr_6,o)&&(this.renderer.setElementClass(this._el_9,"ng-pristine",o),this._expr_6=o);var a=this._NgControlStatus_9_7.ngClassDirty;N.c(t,this._expr_7,a)&&(this.renderer.setElementClass(this._el_9,"ng-dirty",a),this._expr_7=a);var _=this._NgControlStatus_9_7.ngClassValid;N.c(t,this._expr_8,_)&&(this.renderer.setElementClass(this._el_9,"ng-valid",_),this._expr_8=_);var l=this._NgControlStatus_9_7.ngClassInvalid;N.c(t,this._expr_9,l)&&(this.renderer.setElementClass(this._el_9,"ng-invalid",l),this._expr_9=l),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_9_5.ngOnDestroy()},e.prototype._handle_ngModelChange_9_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.parent.context.wepKeyIndex=t)!==!1;return e},e.prototype._handle_input_9_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_9_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_9_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_9_3.onTouched()!==!1;return e},e}(S.a),ie=function(t){function e(n,i,r){t.call(this,e,Ut,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Mt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","card-info item item-block"),this._appEl_0=new O.a(0,null,this,this._el_0);var e=mt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Item_0_4=new nt.a(this.parent.parent.parent.parentInjector.get(gt.a),this.parent.parent.parent.parentInjector.get(ot.c),new at.a(this._el_0),this.renderer),this._ItemContent_0_5=new nt.b,this._query_Label_0_0=new X.a,this._query_Button_0_1=new X.a,this._query_Icon_0_2=new X.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"ion-label",null),this._Label_2_3=new it.a(this.parent.parent.parent.parentInjector.get(ot.c),new at.a(this._el_2),this.renderer,null,null,null,null),this._text_3=this.renderer.createText(this._el_2,"",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_5,"class","item-content-right hostname-input-wrapper"),this.renderer.setElementAttribute(this._el_5,"item-right",""),this._NgClass_5_3=new Dt.a(this.parent.parent.parent.parentInjector.get(dt.a),this.parent.parent.parent.parentInjector.get(jt.a),new at.a(this._el_5),this.renderer),this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._el_7=this.renderer.createElement(this._el_5,"input",null),this.renderer.setElementAttribute(this._el_7,"class","custom-input"),this._DefaultValueAccessor_7_3=new Rt.a(this.renderer,new at.a(this._el_7)),this._NG_VALUE_ACCESSOR_7_4=[this._DefaultValueAccessor_7_3],this._NgModel_7_5=new It.a(null,null,null,this._NG_VALUE_ACCESSOR_7_4),this._NgControl_7_6=this._NgModel_7_5,this._NgControlStatus_7_7=new St.a(this._NgControl_7_6),this._text_8=this.renderer.createText(this._el_5,"\n ",null),this._text_9=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([this._Label_2_3]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[].concat([this._el_2]),[].concat([this._text_1,this._text_4,this._text_9]),[],[].concat([this._el_5])],null),this._expr_0=R.n,this._expr_1=R.n,this._map_0=N.h(function(t){return{wep104:t}}),this._expr_2=R.n,this._expr_6=R.n;var n=this.renderer.listen(this._el_7,"ngModelChange",this.eventHandler(this._handle_ngModelChange_7_0.bind(this))),i=this.renderer.listen(this._el_7,"input",this.eventHandler(this._handle_input_7_1.bind(this))),r=this.renderer.listen(this._el_7,"blur",this.eventHandler(this._handle_blur_7_2.bind(this)));this._expr_7=R.n;var s=this._NgModel_7_5.update.subscribe(this.eventHandler(this._handle_ngModelChange_7_0.bind(this)));return this._expr_8=R.n,this._expr_9=R.n,this._expr_10=R.n,this._expr_11=R.n,this._expr_12=R.n,this._expr_13=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._text_9],[n,i,r],[s]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===it.a&&2<=e&&e<=3?this._Label_2_3:t===Rt.a&&7===e?this._DefaultValueAccessor_7_3:t===Nt.a&&7===e?this._NG_VALUE_ACCESSOR_7_4:t===It.a&&7===e?this._NgModel_7_5:t===Pt.a&&7===e?this._NgControl_7_6:t===St.a&&7===e?this._NgControlStatus_7_7:t===Dt.a&&5<=e&&e<=8?this._NgClass_5_3:t===nt.a&&0<=e&&e<=9?this._Item_0_4:t===nt.b&&0<=e&&e<=9?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){var e=null,n="item-content-right hostname-input-wrapper";N.c(t,this._expr_1,n)&&(this._NgClass_5_3.klass=n,this._expr_1=n);var i=this._map_0("wep104"===this.parent.parent.parent.context.selectedNetwork.securityType);N.c(t,this._expr_2,i)&&(this._NgClass_5_3.ngClass=i,this._expr_2=i),t||this._NgClass_5_3.ngDoCheck(),e=null;var r=this.parent.parent.parent.context.wepKeyArray[this.context.index];N.c(t,this._expr_7,r)&&(this._NgModel_7_5.model=r,null===e&&(e={}),e.model=new R.m(this._expr_7,r),this._expr_7=r),null!==e&&this._NgModel_7_5.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit());var s=N.e(1,"Wep Key ",this.context.index+1,"");N.c(t,this._expr_0,s)&&(this.renderer.setText(this._text_3,s),this._expr_0=s);var o="wep40"===this.parent.parent.parent.context.selectedNetwork.securityType?"AA:34:CC:78:12":"AA:BC:32:38:83:09:B8:8C:7D:FE:FF:6D:1A";N.c(t,this._expr_6,o)&&(this.renderer.setElementProperty(this._el_7,"placeholder",o),this._expr_6=o);var a=this._NgControlStatus_7_7.ngClassUntouched;N.c(t,this._expr_8,a)&&(this.renderer.setElementClass(this._el_7,"ng-untouched",a),this._expr_8=a);var _=this._NgControlStatus_7_7.ngClassTouched;N.c(t,this._expr_9,_)&&(this.renderer.setElementClass(this._el_7,"ng-touched",_),this._expr_9=_);var l=this._NgControlStatus_7_7.ngClassPristine;N.c(t,this._expr_10,l)&&(this.renderer.setElementClass(this._el_7,"ng-pristine",l),this._expr_10=l);var h=this._NgControlStatus_7_7.ngClassDirty;N.c(t,this._expr_11,h)&&(this.renderer.setElementClass(this._el_7,"ng-dirty",h),this._expr_11=h);var c=this._NgControlStatus_7_7.ngClassValid;N.c(t,this._expr_12,c)&&(this.renderer.setElementClass(this._el_7,"ng-valid",c),this._expr_12=c);var u=this._NgControlStatus_7_7.ngClassInvalid;N.c(t,this._expr_13,u)&&(this.renderer.setElementClass(this._el_7,"ng-invalid",u),this._expr_13=u),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_7_5.ngOnDestroy()},e.prototype._handle_ngModelChange_7_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.parent.parent.context.wepKeyArray[this.context.index]=t)!==!1;return e},e.prototype._handle_input_7_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_7_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_7_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_7_3.onTouched()!==!1;return e},e}(S.a),re=function(t){function e(n,i,r){t.call(this,e,Ut,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Mt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","card-info collapse-card item item-block"),this._appEl_0=new O.a(0,null,this,this._el_0);var e=mt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Item_0_4=new nt.a(this.parent.parent.parentInjector.get(gt.a),this.parent.parent.parentInjector.get(ot.c),new at.a(this._el_0),this.renderer),this._ItemContent_0_5=new nt.b,this._query_Label_0_0=new X.a,this._query_Button_0_1=new X.a,this._query_Icon_0_2=new X.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"ion-label",null),this._Label_2_3=new it.a(this.parent.parent.parentInjector.get(ot.c),new at.a(this._el_2),this.renderer,null,null,null,null),this._text_3=this.renderer.createText(this._el_2,"Connect Now",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"ion-checkbox",null),this.renderer.setElementAttribute(this._el_5,"item-right",""),this._appEl_5=new O.a(5,0,this,this._el_5);var n=kt.a(this.viewUtils,this.injector(5),this._appEl_5);this._Checkbox_5_4=new At.a(this.parent.parent.parentInjector.get(ot.c),this.parent.parent.parentInjector.get(gt.a),this._Item_0_4,new at.a(this._el_5),this.renderer),this._NG_VALUE_ACCESSOR_5_5=[this._Checkbox_5_4],this._NgModel_5_6=new It.a(null,null,null,this._NG_VALUE_ACCESSOR_5_5),this._NgControl_5_7=this._NgModel_5_6,this._NgControlStatus_5_8=new St.a(this._NgControl_5_7),this._appEl_5.initComponent(this._Checkbox_5_4,[],n),n.create(this._Checkbox_5_4,[],null),this._text_6=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([this._Label_2_3]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[].concat([this._el_2]),[].concat([this._text_1,this._text_4,this._text_6]),[],[].concat([this._el_5])],null),this._expr_0=R.n;var i=this.renderer.listen(this._el_5,"ngModelChange",this.eventHandler(this._handle_ngModelChange_5_0.bind(this))),r=this.renderer.listen(this._el_5,"click",this.eventHandler(this._handle_click_5_1.bind(this)));this._expr_4=R.n,this._expr_5=R.n;var s=this._NgModel_5_6.update.subscribe(this.eventHandler(this._handle_ngModelChange_5_0.bind(this)));return this._expr_6=R.n,this._expr_7=R.n,this._expr_8=R.n,this._expr_9=R.n,this._expr_10=R.n,this._expr_11=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6],[i,r],[s]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===it.a&&2<=e&&e<=3?this._Label_2_3:t===At.a&&5===e?this._Checkbox_5_4:t===Nt.a&&5===e?this._NG_VALUE_ACCESSOR_5_5:t===It.a&&5===e?this._NgModel_5_6:t===Pt.a&&5===e?this._NgControl_5_7:t===St.a&&5===e?this._NgControlStatus_5_8:t===nt.a&&0<=e&&e<=6?this._Item_0_4:t===nt.b&&0<=e&&e<=6?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){var e=null,n=this.parent.parent.context.showAdvancedSettings;if(N.c(t,this._expr_0,n)){var i=this._expr_0;i==R.n&&(i="void");var r=n;r==R.n&&(r="void"),this.componentType.animations.expand(this,this._el_0,i,r),this._expr_0=n}e=null;var s=this.parent.parent.context.connectNow;N.c(t,this._expr_5,s)&&(this._NgModel_5_6.model=s,null===e&&(e={}),e.model=new R.m(this._expr_5,s),this._expr_5=s),null!==e&&this._NgModel_5_6.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Checkbox_5_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit());var o=this._Checkbox_5_4._disabled;N.c(t,this._expr_4,o)&&(this.renderer.setElementClass(this._el_5,"checkbox-disabled",o),this._expr_4=o);var a=this._NgControlStatus_5_8.ngClassUntouched;N.c(t,this._expr_6,a)&&(this.renderer.setElementClass(this._el_5,"ng-untouched",a),this._expr_6=a);var _=this._NgControlStatus_5_8.ngClassTouched;N.c(t,this._expr_7,_)&&(this.renderer.setElementClass(this._el_5,"ng-touched",_),this._expr_7=_);var l=this._NgControlStatus_5_8.ngClassPristine;N.c(t,this._expr_8,l)&&(this.renderer.setElementClass(this._el_5,"ng-pristine",l),this._expr_8=l);var h=this._NgControlStatus_5_8.ngClassDirty;N.c(t,this._expr_9,h)&&(this.renderer.setElementClass(this._el_5,"ng-dirty",h),this._expr_9=h);var c=this._NgControlStatus_5_8.ngClassValid;N.c(t,this._expr_10,c)&&(this.renderer.setElementClass(this._el_5,"ng-valid",c),this._expr_10=c);var u=this._NgControlStatus_5_8.ngClassInvalid;N.c(t,this._expr_11,u)&&(this.renderer.setElementClass(this._el_5,"ng-invalid",u),this._expr_11=u),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Checkbox_5_4.ngOnDestroy(),this._NgModel_5_6.ngOnDestroy()},e.prototype.detachInternal=function(){this.componentType.animations.expand(this,this._el_0,this._expr_0,"void")},e.prototype._handle_ngModelChange_5_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.parent.context.connectNow=t)!==!1,n=this.parent.parent.context.checkboxChanged("connectNow")!==!1;return e&&n},e.prototype._handle_click_5_1=function(t){this._appEl_5.componentView.markPathToRootAsCheckOnce();var e=this._Checkbox_5_4._click(t)!==!1;return e},e}(S.a),se=function(t){function e(n,i,r){t.call(this,e,Ut,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Mt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-list",null),this.renderer.setElementAttribute(this._el_0,"class","wifi-list"),this._List_0_3=new Tt.a(this.parent.parentInjector.get(ot.c),new at.a(this._el_0),this.renderer,this.parent.parentInjector.get(Ot.a)),this._text_1=this.renderer.createText(this._el_0,"\n\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-item",null),this.renderer.setElementAttribute(this._el_2,"class","card-info item item-block"),this._appEl_2=new O.a(2,0,this,this._el_2);var e=mt.a(this.viewUtils,this.injector(2),this._appEl_2);this._Item_2_4=new nt.a(this.parent.parentInjector.get(gt.a),this.parent.parentInjector.get(ot.c),new at.a(this._el_2),this.renderer),this._ItemContent_2_5=new nt.b,this._query_Label_2_0=new X.a,this._query_Button_2_1=new X.a,this._query_Icon_2_2=new X.a,this._appEl_2.initComponent(this._Item_2_4,[],e),this._text_3=this.renderer.createText(null,"\n ",null),this._el_4=this.renderer.createElement(null,"ion-label",null),this._Label_4_3=new it.a(this.parent.parentInjector.get(ot.c),new at.a(this._el_4),this.renderer,null,null,null,null),this._text_5=this.renderer.createText(this._el_4,"SSID",null),this._text_6=this.renderer.createText(null,"\n ",null),this._el_7=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_7,"class","item-content-right"),this.renderer.setElementAttribute(this._el_7,"item-right",""),this._text_8=this.renderer.createText(this._el_7,"",null),this._text_9=this.renderer.createText(null,"\n ",null),this._query_Label_2_0.reset([this._Label_4_3]),this._Item_2_4.contentLabel=this._query_Label_2_0.first,e.create(this._Item_2_4,[[],[].concat([this._el_4]),[].concat([this._text_3,this._text_6,this._text_9]),[],[].concat([this._el_7])],null),this._text_10=this.renderer.createText(this._el_0,"\n\n ",null),this._el_11=this.renderer.createElement(this._el_0,"ion-item",null),this.renderer.setElementAttribute(this._el_11,"class","card-info item item-block"),this._appEl_11=new O.a(11,0,this,this._el_11);var n=mt.a(this.viewUtils,this.injector(11),this._appEl_11);this._Item_11_4=new nt.a(this.parent.parentInjector.get(gt.a),this.parent.parentInjector.get(ot.c),new at.a(this._el_11),this.renderer),this._ItemContent_11_5=new nt.b,this._query_Label_11_0=new X.a,this._query_Button_11_1=new X.a,this._query_Icon_11_2=new X.a,this._appEl_11.initComponent(this._Item_11_4,[],n),this._text_12=this.renderer.createText(null,"\n ",null),this._el_13=this.renderer.createElement(null,"ion-label",null),this._Label_13_3=new it.a(this.parent.parentInjector.get(ot.c),new at.a(this._el_13),this.renderer,null,null,null,null),this._text_14=this.renderer.createText(this._el_13,"Security Type",null),this._text_15=this.renderer.createText(null,"\n ",null),this._el_16=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_16,"class","item-content-right security-type-container"),this.renderer.setElementAttribute(this._el_16,"item-right",""),this._text_17=this.renderer.createText(this._el_16,"",null),this._text_18=this.renderer.createText(null,"\n ",null),this._query_Label_11_0.reset([this._Label_13_3]),this._Item_11_4.contentLabel=this._query_Label_11_0.first,n.create(this._Item_11_4,[[],[].concat([this._el_13]),[].concat([this._text_12,this._text_15,this._text_18]),[],[].concat([this._el_16])],null),this._text_19=this.renderer.createText(this._el_0,"\n\n ",null),this._anchor_20=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_20=new O.a(20,0,this,this._anchor_20),this._TemplateRef_20_5=new pt.a(this._appEl_20,w),this._NgIf_20_6=new K.a(this._appEl_20.vcRef,this._TemplateRef_20_5),this._text_21=this.renderer.createText(this._el_0,"\n ",null),this._anchor_22=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_22=new O.a(22,0,this,this._anchor_22),this._TemplateRef_22_5=new pt.a(this._appEl_22,C),this._NgIf_22_6=new K.a(this._appEl_22.vcRef,this._TemplateRef_22_5),this._text_23=this.renderer.createText(this._el_0,"\n\n ",null),this._el_24=this.renderer.createElement(this._el_0,"ion-item",null),this.renderer.setElementAttribute(this._el_24,"class","card-info item item-block"),this._appEl_24=new O.a(24,0,this,this._el_24);var i=mt.a(this.viewUtils,this.injector(24),this._appEl_24);this._Item_24_4=new nt.a(this.parent.parentInjector.get(gt.a),this.parent.parentInjector.get(ot.c),new at.a(this._el_24),this.renderer),this._ItemContent_24_5=new nt.b,this._query_Label_24_0=new X.a,this._query_Button_24_1=new X.a,this._query_Icon_24_2=new X.a,this._appEl_24.initComponent(this._Item_24_4,[],i),this._text_25=this.renderer.createText(null,"\n ",null),this._el_26=this.renderer.createElement(null,"ion-label",null),this._Label_26_3=new it.a(this.parent.parentInjector.get(ot.c),new at.a(this._el_26),this.renderer,null,null,null,null),this._text_27=this.renderer.createText(this._el_26,"Storage Location",null),this._text_28=this.renderer.createText(null,"\n ",null),this._el_29=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_29,"class","item-content-right"),this.renderer.setElementAttribute(this._el_29,"item-right",""),this._text_30=this.renderer.createText(this._el_29,"",null),this._text_31=this.renderer.createText(null,"\n ",null),this._query_Label_24_0.reset([this._Label_26_3]),this._Item_24_4.contentLabel=this._query_Label_24_0.first,i.create(this._Item_24_4,[[],[].concat([this._el_26]),[].concat([this._text_25,this._text_28,this._text_31]),[],[].concat([this._el_29])],null),this._text_32=this.renderer.createText(this._el_0,"\n\n ",null),this._el_33=this.renderer.createElement(this._el_0,"ion-item",null),this.renderer.setElementAttribute(this._el_33,"class","card-info item item-block"),this._appEl_33=new O.a(33,0,this,this._el_33);var r=mt.a(this.viewUtils,this.injector(33),this._appEl_33);this._Item_33_4=new nt.a(this.parent.parentInjector.get(gt.a),this.parent.parentInjector.get(ot.c),new at.a(this._el_33),this.renderer),this._ItemContent_33_5=new nt.b,this._query_Label_33_0=new X.a,this._query_Button_33_1=new X.a,this._query_Icon_33_2=new X.a,this._appEl_33.initComponent(this._Item_33_4,[],r),this._text_34=this.renderer.createText(null,"\n ",null),this._el_35=this.renderer.createElement(null,"ion-label",null),this._Label_35_3=new it.a(this.parent.parentInjector.get(ot.c),new at.a(this._el_35),this.renderer,null,null,null,null),this._text_36=this.renderer.createText(this._el_35,"Auto-Connect",null),this._text_37=this.renderer.createText(null,"\n ",null),this._el_38=this.renderer.createElement(null,"ion-checkbox",null),this.renderer.setElementAttribute(this._el_38,"item-right",""),this._appEl_38=new O.a(38,33,this,this._el_38);var s=kt.a(this.viewUtils,this.injector(38),this._appEl_38);this._Checkbox_38_4=new At.a(this.parent.parentInjector.get(ot.c),this.parent.parentInjector.get(gt.a),this._Item_33_4,new at.a(this._el_38),this.renderer),this._NG_VALUE_ACCESSOR_38_5=[this._Checkbox_38_4],this._NgModel_38_6=new It.a(null,null,null,this._NG_VALUE_ACCESSOR_38_5),this._NgControl_38_7=this._NgModel_38_6,this._NgControlStatus_38_8=new St.a(this._NgControl_38_7),this._appEl_38.initComponent(this._Checkbox_38_4,[],s),s.create(this._Checkbox_38_4,[],null),this._text_39=this.renderer.createText(null,"\n ",null),this._query_Label_33_0.reset([this._Label_35_3]),this._Item_33_4.contentLabel=this._query_Label_33_0.first,r.create(this._Item_33_4,[[],[].concat([this._el_35]),[].concat([this._text_34,this._text_37,this._text_39]),[],[].concat([this._el_38])],null),this._text_40=this.renderer.createText(this._el_0,"\n\n ",null),this._anchor_41=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_41=new O.a(41,0,this,this._anchor_41),this._TemplateRef_41_5=new pt.a(this._appEl_41,T),this._NgIf_41_6=new K.a(this._appEl_41.vcRef,this._TemplateRef_41_5),this._text_42=this.renderer.createText(this._el_0,"\n\n ",null),this._expr_0=R.n,this._expr_1=R.n,this._expr_2=R.n,this._expr_3=R.n,this._expr_4=R.n;var o=this.renderer.listen(this._el_38,"ngModelChange",this.eventHandler(this._handle_ngModelChange_38_0.bind(this))),a=this.renderer.listen(this._el_38,"click",this.eventHandler(this._handle_click_38_1.bind(this)));this._expr_7=R.n,this._expr_8=R.n;var _=this._NgModel_38_6.update.subscribe(this.eventHandler(this._handle_ngModelChange_38_0.bind(this)));return this._expr_9=R.n,this._expr_10=R.n,this._expr_11=R.n,this._expr_12=R.n,this._expr_13=R.n,this._expr_14=R.n,this._expr_15=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._text_9,this._text_10,this._el_11,this._text_12,this._el_13,this._text_14,this._text_15,this._el_16,this._text_17,this._text_18,this._text_19,this._anchor_20,this._text_21,this._anchor_22,this._text_23,this._el_24,this._text_25,this._el_26,this._text_27,this._text_28,this._el_29,this._text_30,this._text_31,this._text_32,this._el_33,this._text_34,this._el_35,this._text_36,this._text_37,this._el_38,this._text_39,this._text_40,this._anchor_41,this._text_42],[o,a],[_]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===it.a&&4<=e&&e<=5?this._Label_4_3:t===nt.a&&2<=e&&e<=9?this._Item_2_4:t===nt.b&&2<=e&&e<=9?this._ItemContent_2_5:t===it.a&&13<=e&&e<=14?this._Label_13_3:t===nt.a&&11<=e&&e<=18?this._Item_11_4:t===nt.b&&11<=e&&e<=18?this._ItemContent_11_5:t===pt.b&&20===e?this._TemplateRef_20_5:t===K.a&&20===e?this._NgIf_20_6:t===pt.b&&22===e?this._TemplateRef_22_5:t===K.a&&22===e?this._NgIf_22_6:t===it.a&&26<=e&&e<=27?this._Label_26_3:t===nt.a&&24<=e&&e<=31?this._Item_24_4:t===nt.b&&24<=e&&e<=31?this._ItemContent_24_5:t===it.a&&35<=e&&e<=36?this._Label_35_3:t===At.a&&38===e?this._Checkbox_38_4:t===Nt.a&&38===e?this._NG_VALUE_ACCESSOR_38_5:t===It.a&&38===e?this._NgModel_38_6:t===Pt.a&&38===e?this._NgControl_38_7:t===St.a&&38===e?this._NgControlStatus_38_8:t===nt.a&&33<=e&&e<=39?this._Item_33_4:t===nt.b&&33<=e&&e<=39?this._ItemContent_33_5:t===pt.b&&41===e?this._TemplateRef_41_5:t===K.a&&41===e?this._NgIf_41_6:t===Tt.a&&0<=e&&e<=42?this._List_0_3:n},e.prototype.detectChangesInternal=function(t){var e=null,n="wpa"===this.parent.context.selectedNetwork.securityType||"wpa2"===this.parent.context.selectedNetwork.securityType;N.c(t,this._expr_2,n)&&(this._NgIf_20_6.ngIf=n,this._expr_2=n);var i="wep40"===this.parent.context.selectedNetwork.securityType||"wep104"===this.parent.context.selectedNetwork.securityType;N.c(t,this._expr_3,i)&&(this._NgIf_22_6.ngIf=i,this._expr_3=i),e=null;var r=this.parent.context.selectedNetwork.autoConnect;N.c(t,this._expr_8,r)&&(this._NgModel_38_6.model=r,null===e&&(e={}),e.model=new R.m(this._expr_8,r),this._expr_8=r),null!==e&&this._NgModel_38_6.ngOnChanges(e);var s=null!=this.parent.context.deviceObject&&this.parent.context.deviceObject.bridge;N.c(t,this._expr_15,s)&&(this._NgIf_41_6.ngIf=s,this._expr_15=s),this.detectContentChildrenChanges(t),t||(this._query_Button_2_1.dirty&&(this._query_Button_2_1.reset([]),this._Item_2_4._buttons=this._query_Button_2_1,this._query_Button_2_1.notifyOnChanges()),this._query_Icon_2_2.dirty&&(this._query_Icon_2_2.reset([]),this._Item_2_4._icons=this._query_Icon_2_2,this._query_Icon_2_2.notifyOnChanges()),this._query_Button_11_1.dirty&&(this._query_Button_11_1.reset([]),this._Item_11_4._buttons=this._query_Button_11_1,this._query_Button_11_1.notifyOnChanges()),this._query_Icon_11_2.dirty&&(this._query_Icon_11_2.reset([]),this._Item_11_4._icons=this._query_Icon_11_2,this._query_Icon_11_2.notifyOnChanges()),this._query_Button_24_1.dirty&&(this._query_Button_24_1.reset([]),this._Item_24_4._buttons=this._query_Button_24_1,this._query_Button_24_1.notifyOnChanges()),this._query_Icon_24_2.dirty&&(this._query_Icon_24_2.reset([]),this._Item_24_4._icons=this._query_Icon_24_2,this._query_Icon_24_2.notifyOnChanges()),this._query_Button_33_1.dirty&&(this._query_Button_33_1.reset([]),this._Item_33_4._buttons=this._query_Button_33_1,this._query_Button_33_1.notifyOnChanges()),this._query_Icon_33_2.dirty&&(this._query_Icon_33_2.reset([]),this._Item_33_4._icons=this._query_Icon_33_2,this._query_Icon_33_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_2_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_11_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_24_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Checkbox_38_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_33_4.ngAfterContentInit());var o=N.e(1,"",this.parent.context.selectedNetwork.ssid,"");N.c(t,this._expr_0,o)&&(this.renderer.setText(this._text_8,o),this._expr_0=o);var a=N.e(1,"",this.parent.context.selectedNetwork.securityType,"");N.c(t,this._expr_1,a)&&(this.renderer.setText(this._text_17,a),this._expr_1=a);var _=N.e(1,"",this.parent.context.selectedNetwork.storageLocation,"");N.c(t,this._expr_4,_)&&(this.renderer.setText(this._text_30,_),this._expr_4=_);var l=this._Checkbox_38_4._disabled;N.c(t,this._expr_7,l)&&(this.renderer.setElementClass(this._el_38,"checkbox-disabled",l),this._expr_7=l);var h=this._NgControlStatus_38_8.ngClassUntouched;N.c(t,this._expr_9,h)&&(this.renderer.setElementClass(this._el_38,"ng-untouched",h),this._expr_9=h);var c=this._NgControlStatus_38_8.ngClassTouched;N.c(t,this._expr_10,c)&&(this.renderer.setElementClass(this._el_38,"ng-touched",c),this._expr_10=c);var u=this._NgControlStatus_38_8.ngClassPristine;N.c(t,this._expr_11,u)&&(this.renderer.setElementClass(this._el_38,"ng-pristine",u),this._expr_11=u);var p=this._NgControlStatus_38_8.ngClassDirty;N.c(t,this._expr_12,p)&&(this.renderer.setElementClass(this._el_38,"ng-dirty",p),this._expr_12=p);var d=this._NgControlStatus_38_8.ngClassValid;N.c(t,this._expr_13,d)&&(this.renderer.setElementClass(this._el_38,"ng-valid",d),this._expr_13=d);var f=this._NgControlStatus_38_8.ngClassInvalid;N.c(t,this._expr_14,f)&&(this.renderer.setElementClass(this._el_38,"ng-invalid",f),this._expr_14=f),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Checkbox_38_4.ngOnDestroy(),this._NgModel_38_6.ngOnDestroy()},e.prototype._handle_ngModelChange_38_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.context.selectedNetwork.autoConnect=t)!==!1;return e},e.prototype._handle_click_38_1=function(t){this._appEl_38.componentView.markPathToRootAsCheckOnce();var e=this._Checkbox_38_4._click(t)!==!1;return e},e}(S.a),oe=function(t){function e(n,i,r){t.call(this,e,Ut,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Mt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","card-info item item-block"),this._appEl_0=new O.a(0,null,this,this._el_0);var e=mt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Item_0_4=new nt.a(this.parent.parent.parentInjector.get(gt.a),this.parent.parent.parentInjector.get(ot.c),new at.a(this._el_0),this.renderer),this._ItemContent_0_5=new nt.b,this._query_Label_0_0=new X.a,this._query_Button_0_1=new X.a,this._query_Icon_0_2=new X.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"ion-label",null),this._Label_2_3=new it.a(this.parent.parent.parentInjector.get(ot.c),new at.a(this._el_2),this.renderer,null,null,null,null),this._text_3=this.renderer.createText(this._el_2,"Password",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_5,"class","item-content-right hostname-input-wrapper"),this.renderer.setElementAttribute(this._el_5,"item-right",""),this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._el_7=this.renderer.createElement(this._el_5,"input",null),this.renderer.setElementAttribute(this._el_7,"class","custom-input"),this.renderer.setElementAttribute(this._el_7,"type","password"),this._DefaultValueAccessor_7_3=new Rt.a(this.renderer,new at.a(this._el_7)),this._NG_VALUE_ACCESSOR_7_4=[this._DefaultValueAccessor_7_3],this._NgModel_7_5=new It.a(null,null,null,this._NG_VALUE_ACCESSOR_7_4),this._NgControl_7_6=this._NgModel_7_5,this._NgControlStatus_7_7=new St.a(this._NgControl_7_6),this._text_8=this.renderer.createText(this._el_5,"\n ",null),this._text_9=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([this._Label_2_3]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[].concat([this._el_2]),[].concat([this._text_1,this._text_4,this._text_9]),[],[].concat([this._el_5])],null);var n=this.renderer.listen(this._el_7,"keyup.enter",this.eventHandler(this._handle_keyup_enter_7_0.bind(this))),i=this.renderer.listen(this._el_7,"ngModelChange",this.eventHandler(this._handle_ngModelChange_7_1.bind(this))),r=this.renderer.listen(this._el_7,"input",this.eventHandler(this._handle_input_7_2.bind(this))),s=this.renderer.listen(this._el_7,"blur",this.eventHandler(this._handle_blur_7_3.bind(this))); this._expr_4=R.n;var o=this._NgModel_7_5.update.subscribe(this.eventHandler(this._handle_ngModelChange_7_1.bind(this)));return this._expr_5=R.n,this._expr_6=R.n,this._expr_7=R.n,this._expr_8=R.n,this._expr_9=R.n,this._expr_10=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._text_9],[n,i,r,s],[o]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===it.a&&2<=e&&e<=3?this._Label_2_3:t===Rt.a&&7===e?this._DefaultValueAccessor_7_3:t===Nt.a&&7===e?this._NG_VALUE_ACCESSOR_7_4:t===It.a&&7===e?this._NgModel_7_5:t===Pt.a&&7===e?this._NgControl_7_6:t===St.a&&7===e?this._NgControlStatus_7_7:t===nt.a&&0<=e&&e<=9?this._Item_0_4:t===nt.b&&0<=e&&e<=9?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.context.password;N.c(t,this._expr_4,n)&&(this._NgModel_7_5.model=n,null===e&&(e={}),e.model=new R.m(this._expr_4,n),this._expr_4=n),null!==e&&this._NgModel_7_5.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit());var i=this._NgControlStatus_7_7.ngClassUntouched;N.c(t,this._expr_5,i)&&(this.renderer.setElementClass(this._el_7,"ng-untouched",i),this._expr_5=i);var r=this._NgControlStatus_7_7.ngClassTouched;N.c(t,this._expr_6,r)&&(this.renderer.setElementClass(this._el_7,"ng-touched",r),this._expr_6=r);var s=this._NgControlStatus_7_7.ngClassPristine;N.c(t,this._expr_7,s)&&(this.renderer.setElementClass(this._el_7,"ng-pristine",s),this._expr_7=s);var o=this._NgControlStatus_7_7.ngClassDirty;N.c(t,this._expr_8,o)&&(this.renderer.setElementClass(this._el_7,"ng-dirty",o),this._expr_8=o);var a=this._NgControlStatus_7_7.ngClassValid;N.c(t,this._expr_9,a)&&(this.renderer.setElementClass(this._el_7,"ng-valid",a),this._expr_9=a);var _=this._NgControlStatus_7_7.ngClassInvalid;N.c(t,this._expr_10,_)&&(this.renderer.setElementClass(this._el_7,"ng-invalid",_),this._expr_10=_),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_7_5.ngOnDestroy()},e.prototype._handle_keyup_enter_7_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.parent.context.addNetwork()!==!1;return e},e.prototype._handle_ngModelChange_7_1=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.parent.context.password=t)!==!1;return e},e.prototype._handle_input_7_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_7_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_7_3=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_7_3.onTouched()!==!1;return e},e}(S.a),ae=function(t){function e(n,i,r){t.call(this,e,Ut,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Mt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"div",null),this._text_1=this.renderer.createText(this._el_0,"\n ",null),this._el_2=this.renderer.createElement(this._el_0,"ion-item",null),this.renderer.setElementAttribute(this._el_2,"class","card-info item item-block"),this._appEl_2=new O.a(2,0,this,this._el_2);var e=mt.a(this.viewUtils,this.injector(2),this._appEl_2);this._Item_2_4=new nt.a(this.parent.parent.parentInjector.get(gt.a),this.parent.parent.parentInjector.get(ot.c),new at.a(this._el_2),this.renderer),this._ItemContent_2_5=new nt.b,this._query_Label_2_0=new X.a,this._query_Button_2_1=new X.a,this._query_Icon_2_2=new X.a,this._appEl_2.initComponent(this._Item_2_4,[],e),this._text_3=this.renderer.createText(null,"\n ",null),this._el_4=this.renderer.createElement(null,"ion-label",null),this._Label_4_3=new it.a(this.parent.parent.parentInjector.get(ot.c),new at.a(this._el_4),this.renderer,null,null,null,null),this._text_5=this.renderer.createText(this._el_4,"Wep Key Index",null),this._text_6=this.renderer.createText(null,"\n ",null),this._el_7=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_7,"class","item-content-right hostname-input-wrapper"),this.renderer.setElementAttribute(this._el_7,"item-right",""),this._text_8=this.renderer.createText(this._el_7,"\n ",null),this._el_9=this.renderer.createElement(this._el_7,"input",null),this.renderer.setElementAttribute(this._el_9,"class","custom-input"),this._DefaultValueAccessor_9_3=new Rt.a(this.renderer,new at.a(this._el_9)),this._NG_VALUE_ACCESSOR_9_4=[this._DefaultValueAccessor_9_3],this._NgModel_9_5=new It.a(null,null,null,this._NG_VALUE_ACCESSOR_9_4),this._NgControl_9_6=this._NgModel_9_5,this._NgControlStatus_9_7=new St.a(this._NgControl_9_6),this._text_10=this.renderer.createText(this._el_7,"\n ",null),this._text_11=this.renderer.createText(null,"\n ",null),this._query_Label_2_0.reset([this._Label_4_3]),this._Item_2_4.contentLabel=this._query_Label_2_0.first,e.create(this._Item_2_4,[[],[].concat([this._el_4]),[].concat([this._text_3,this._text_6,this._text_11]),[],[].concat([this._el_7])],null),this._text_12=this.renderer.createText(this._el_0,"\n ",null),this._anchor_13=this.renderer.createTemplateAnchor(this._el_0,null),this._appEl_13=new O.a(13,0,this,this._anchor_13),this._TemplateRef_13_5=new pt.a(this._appEl_13,E),this._NgFor_13_6=new tt.a(this._appEl_13.vcRef,this._TemplateRef_13_5,this.parent.parent.parentInjector.get(dt.a),this.parent.parent.ref),this._text_14=this.renderer.createText(this._el_0,"\n ",null);var n=this.renderer.listen(this._el_9,"ngModelChange",this.eventHandler(this._handle_ngModelChange_9_0.bind(this))),i=this.renderer.listen(this._el_9,"input",this.eventHandler(this._handle_input_9_1.bind(this))),r=this.renderer.listen(this._el_9,"blur",this.eventHandler(this._handle_blur_9_2.bind(this)));this._expr_3=R.n;var s=this._NgModel_9_5.update.subscribe(this.eventHandler(this._handle_ngModelChange_9_0.bind(this)));return this._expr_4=R.n,this._expr_5=R.n,this._expr_6=R.n,this._expr_7=R.n,this._expr_8=R.n,this._expr_9=R.n,this._expr_10=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._el_4,this._text_5,this._text_6,this._el_7,this._text_8,this._el_9,this._text_10,this._text_11,this._text_12,this._anchor_13,this._text_14],[n,i,r],[s]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===it.a&&4<=e&&e<=5?this._Label_4_3:t===Rt.a&&9===e?this._DefaultValueAccessor_9_3:t===Nt.a&&9===e?this._NG_VALUE_ACCESSOR_9_4:t===It.a&&9===e?this._NgModel_9_5:t===Pt.a&&9===e?this._NgControl_9_6:t===St.a&&9===e?this._NgControlStatus_9_7:t===nt.a&&2<=e&&e<=11?this._Item_2_4:t===nt.b&&2<=e&&e<=11?this._ItemContent_2_5:t===pt.b&&13===e?this._TemplateRef_13_5:t===tt.a&&13===e?this._NgFor_13_6:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.context.wepKeyIndex;N.c(t,this._expr_3,n)&&(this._NgModel_9_5.model=n,null===e&&(e={}),e.model=new R.m(this._expr_3,n),this._expr_3=n),null!==e&&this._NgModel_9_5.ngOnChanges(e),e=null;var i=this.parent.parent.context.wepKeyEntryArray;N.c(t,this._expr_10,i)&&(this._NgFor_13_6.ngForOf=i,null===e&&(e={}),e.ngForOf=new R.m(this._expr_10,i),this._expr_10=i),null!==e&&this._NgFor_13_6.ngOnChanges(e),t||this._NgFor_13_6.ngDoCheck(),this.detectContentChildrenChanges(t),t||(this._query_Button_2_1.dirty&&(this._query_Button_2_1.reset([]),this._Item_2_4._buttons=this._query_Button_2_1,this._query_Button_2_1.notifyOnChanges()),this._query_Icon_2_2.dirty&&(this._query_Icon_2_2.reset([]),this._Item_2_4._icons=this._query_Icon_2_2,this._query_Icon_2_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_2_4.ngAfterContentInit());var r=this._NgControlStatus_9_7.ngClassUntouched;N.c(t,this._expr_4,r)&&(this.renderer.setElementClass(this._el_9,"ng-untouched",r),this._expr_4=r);var s=this._NgControlStatus_9_7.ngClassTouched;N.c(t,this._expr_5,s)&&(this.renderer.setElementClass(this._el_9,"ng-touched",s),this._expr_5=s);var o=this._NgControlStatus_9_7.ngClassPristine;N.c(t,this._expr_6,o)&&(this.renderer.setElementClass(this._el_9,"ng-pristine",o),this._expr_6=o);var a=this._NgControlStatus_9_7.ngClassDirty;N.c(t,this._expr_7,a)&&(this.renderer.setElementClass(this._el_9,"ng-dirty",a),this._expr_7=a);var _=this._NgControlStatus_9_7.ngClassValid;N.c(t,this._expr_8,_)&&(this.renderer.setElementClass(this._el_9,"ng-valid",_),this._expr_8=_);var l=this._NgControlStatus_9_7.ngClassInvalid;N.c(t,this._expr_9,l)&&(this.renderer.setElementClass(this._el_9,"ng-invalid",l),this._expr_9=l),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_9_5.ngOnDestroy()},e.prototype._handle_ngModelChange_9_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.parent.context.wepKeyIndex=t)!==!1;return e},e.prototype._handle_input_9_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_9_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_9_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_9_3.onTouched()!==!1;return e},e}(S.a),_e=function(t){function e(n,i,r){t.call(this,e,Ut,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Mt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","card-info item item-block"),this._appEl_0=new O.a(0,null,this,this._el_0);var e=mt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Item_0_4=new nt.a(this.parent.parent.parent.parentInjector.get(gt.a),this.parent.parent.parent.parentInjector.get(ot.c),new at.a(this._el_0),this.renderer),this._ItemContent_0_5=new nt.b,this._query_Label_0_0=new X.a,this._query_Button_0_1=new X.a,this._query_Icon_0_2=new X.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"ion-label",null),this._Label_2_3=new it.a(this.parent.parent.parent.parentInjector.get(ot.c),new at.a(this._el_2),this.renderer,null,null,null,null),this._text_3=this.renderer.createText(this._el_2,"",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"div",null),this.renderer.setElementAttribute(this._el_5,"class","item-content-right hostname-input-wrapper"),this.renderer.setElementAttribute(this._el_5,"item-right",""),this._text_6=this.renderer.createText(this._el_5,"\n ",null),this._el_7=this.renderer.createElement(this._el_5,"input",null),this.renderer.setElementAttribute(this._el_7,"class","custom-input"),this.renderer.setElementAttribute(this._el_7,"placeholder","AA:34:CC:78:12"),this._DefaultValueAccessor_7_3=new Rt.a(this.renderer,new at.a(this._el_7)),this._NG_VALUE_ACCESSOR_7_4=[this._DefaultValueAccessor_7_3],this._NgModel_7_5=new It.a(null,null,null,this._NG_VALUE_ACCESSOR_7_4),this._NgControl_7_6=this._NgModel_7_5,this._NgControlStatus_7_7=new St.a(this._NgControl_7_6),this._text_8=this.renderer.createText(this._el_5,"\n ",null),this._text_9=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([this._Label_2_3]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[].concat([this._el_2]),[].concat([this._text_1,this._text_4,this._text_9]),[],[].concat([this._el_5])],null),this._expr_0=R.n;var n=this.renderer.listen(this._el_7,"ngModelChange",this.eventHandler(this._handle_ngModelChange_7_0.bind(this))),i=this.renderer.listen(this._el_7,"input",this.eventHandler(this._handle_input_7_1.bind(this))),r=this.renderer.listen(this._el_7,"blur",this.eventHandler(this._handle_blur_7_2.bind(this)));this._expr_4=R.n;var s=this._NgModel_7_5.update.subscribe(this.eventHandler(this._handle_ngModelChange_7_0.bind(this)));return this._expr_5=R.n,this._expr_6=R.n,this._expr_7=R.n,this._expr_8=R.n,this._expr_9=R.n,this._expr_10=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6,this._el_7,this._text_8,this._text_9],[n,i,r],[s]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===it.a&&2<=e&&e<=3?this._Label_2_3:t===Rt.a&&7===e?this._DefaultValueAccessor_7_3:t===Nt.a&&7===e?this._NG_VALUE_ACCESSOR_7_4:t===It.a&&7===e?this._NgModel_7_5:t===Pt.a&&7===e?this._NgControl_7_6:t===St.a&&7===e?this._NgControlStatus_7_7:t===nt.a&&0<=e&&e<=9?this._Item_0_4:t===nt.b&&0<=e&&e<=9?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.parent.context.wepKeyArray[this.context.index];N.c(t,this._expr_4,n)&&(this._NgModel_7_5.model=n,null===e&&(e={}),e.model=new R.m(this._expr_4,n),this._expr_4=n),null!==e&&this._NgModel_7_5.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit());var i=N.e(1,"Wep Key ",this.context.index+1,"");N.c(t,this._expr_0,i)&&(this.renderer.setText(this._text_3,i),this._expr_0=i);var r=this._NgControlStatus_7_7.ngClassUntouched;N.c(t,this._expr_5,r)&&(this.renderer.setElementClass(this._el_7,"ng-untouched",r),this._expr_5=r);var s=this._NgControlStatus_7_7.ngClassTouched;N.c(t,this._expr_6,s)&&(this.renderer.setElementClass(this._el_7,"ng-touched",s),this._expr_6=s);var o=this._NgControlStatus_7_7.ngClassPristine;N.c(t,this._expr_7,o)&&(this.renderer.setElementClass(this._el_7,"ng-pristine",o),this._expr_7=o);var a=this._NgControlStatus_7_7.ngClassDirty;N.c(t,this._expr_8,a)&&(this.renderer.setElementClass(this._el_7,"ng-dirty",a),this._expr_8=a);var _=this._NgControlStatus_7_7.ngClassValid;N.c(t,this._expr_9,_)&&(this.renderer.setElementClass(this._el_7,"ng-valid",_),this._expr_9=_);var l=this._NgControlStatus_7_7.ngClassInvalid;N.c(t,this._expr_10,l)&&(this.renderer.setElementClass(this._el_7,"ng-invalid",l),this._expr_10=l),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._NgModel_7_5.ngOnDestroy()},e.prototype._handle_ngModelChange_7_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.parent.parent.context.wepKeyArray[this.context.index]=t)!==!1;return e},e.prototype._handle_input_7_1=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_7_3.onChange(t.target.value)!==!1;return e},e.prototype._handle_blur_7_2=function(t){this.markPathToRootAsCheckOnce();var e=this._DefaultValueAccessor_7_3.onTouched()!==!1;return e},e}(S.a),le=function(t){function e(n,i,r){t.call(this,e,Ut,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Mt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"ion-item",null),this.renderer.setElementAttribute(this._el_0,"class","card-info item item-block"),this._appEl_0=new O.a(0,null,this,this._el_0);var e=mt.a(this.viewUtils,this.injector(0),this._appEl_0);this._Item_0_4=new nt.a(this.parent.parent.parentInjector.get(gt.a),this.parent.parent.parentInjector.get(ot.c),new at.a(this._el_0),this.renderer),this._ItemContent_0_5=new nt.b,this._query_Label_0_0=new X.a,this._query_Button_0_1=new X.a,this._query_Icon_0_2=new X.a,this._appEl_0.initComponent(this._Item_0_4,[],e),this._text_1=this.renderer.createText(null,"\n ",null),this._el_2=this.renderer.createElement(null,"ion-label",null),this._Label_2_3=new it.a(this.parent.parent.parentInjector.get(ot.c),new at.a(this._el_2),this.renderer,null,null,null,null),this._text_3=this.renderer.createText(this._el_2,"Connect Now",null),this._text_4=this.renderer.createText(null,"\n ",null),this._el_5=this.renderer.createElement(null,"ion-checkbox",null),this.renderer.setElementAttribute(this._el_5,"item-right",""),this._appEl_5=new O.a(5,0,this,this._el_5);var n=kt.a(this.viewUtils,this.injector(5),this._appEl_5);this._Checkbox_5_4=new At.a(this.parent.parent.parentInjector.get(ot.c),this.parent.parent.parentInjector.get(gt.a),this._Item_0_4,new at.a(this._el_5),this.renderer),this._NG_VALUE_ACCESSOR_5_5=[this._Checkbox_5_4],this._NgModel_5_6=new It.a(null,null,null,this._NG_VALUE_ACCESSOR_5_5),this._NgControl_5_7=this._NgModel_5_6,this._NgControlStatus_5_8=new St.a(this._NgControl_5_7),this._appEl_5.initComponent(this._Checkbox_5_4,[],n),n.create(this._Checkbox_5_4,[],null),this._text_6=this.renderer.createText(null,"\n ",null),this._query_Label_0_0.reset([this._Label_2_3]),this._Item_0_4.contentLabel=this._query_Label_0_0.first,e.create(this._Item_0_4,[[],[].concat([this._el_2]),[].concat([this._text_1,this._text_4,this._text_6]),[],[].concat([this._el_5])],null);var i=this.renderer.listen(this._el_5,"ngModelChange",this.eventHandler(this._handle_ngModelChange_5_0.bind(this))),r=this.renderer.listen(this._el_5,"click",this.eventHandler(this._handle_click_5_1.bind(this)));this._expr_3=R.n,this._expr_4=R.n;var s=this._NgModel_5_6.update.subscribe(this.eventHandler(this._handle_ngModelChange_5_0.bind(this)));return this._expr_5=R.n,this._expr_6=R.n,this._expr_7=R.n,this._expr_8=R.n,this._expr_9=R.n,this._expr_10=R.n,this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3,this._text_4,this._el_5,this._text_6],[i,r],[s]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===it.a&&2<=e&&e<=3?this._Label_2_3:t===At.a&&5===e?this._Checkbox_5_4:t===Nt.a&&5===e?this._NG_VALUE_ACCESSOR_5_5:t===It.a&&5===e?this._NgModel_5_6:t===Pt.a&&5===e?this._NgControl_5_7:t===St.a&&5===e?this._NgControlStatus_5_8:t===nt.a&&0<=e&&e<=6?this._Item_0_4:t===nt.b&&0<=e&&e<=6?this._ItemContent_0_5:n},e.prototype.detectChangesInternal=function(t){var e=null;e=null;var n=this.parent.parent.context.connectNow;N.c(t,this._expr_4,n)&&(this._NgModel_5_6.model=n,null===e&&(e={}),e.model=new R.m(this._expr_4,n),this._expr_4=n),null!==e&&this._NgModel_5_6.ngOnChanges(e),this.detectContentChildrenChanges(t),t||(this._query_Button_0_1.dirty&&(this._query_Button_0_1.reset([]),this._Item_0_4._buttons=this._query_Button_0_1,this._query_Button_0_1.notifyOnChanges()),this._query_Icon_0_2.dirty&&(this._query_Icon_0_2.reset([]),this._Item_0_4._icons=this._query_Icon_0_2,this._query_Icon_0_2.notifyOnChanges()),0===this.numberOfChecks&&this._Checkbox_5_4.ngAfterContentInit(),0===this.numberOfChecks&&this._Item_0_4.ngAfterContentInit());var i=this._Checkbox_5_4._disabled;N.c(t,this._expr_3,i)&&(this.renderer.setElementClass(this._el_5,"checkbox-disabled",i),this._expr_3=i);var r=this._NgControlStatus_5_8.ngClassUntouched;N.c(t,this._expr_5,r)&&(this.renderer.setElementClass(this._el_5,"ng-untouched",r),this._expr_5=r);var s=this._NgControlStatus_5_8.ngClassTouched;N.c(t,this._expr_6,s)&&(this.renderer.setElementClass(this._el_5,"ng-touched",s),this._expr_6=s);var o=this._NgControlStatus_5_8.ngClassPristine;N.c(t,this._expr_7,o)&&(this.renderer.setElementClass(this._el_5,"ng-pristine",o),this._expr_7=o);var a=this._NgControlStatus_5_8.ngClassDirty;N.c(t,this._expr_8,a)&&(this.renderer.setElementClass(this._el_5,"ng-dirty",a),this._expr_8=a);var _=this._NgControlStatus_5_8.ngClassValid;N.c(t,this._expr_9,_)&&(this.renderer.setElementClass(this._el_5,"ng-valid",_),this._expr_9=_);var l=this._NgControlStatus_5_8.ngClassInvalid;N.c(t,this._expr_10,l)&&(this.renderer.setElementClass(this._el_5,"ng-invalid",l),this._expr_10=l),this.detectViewChildrenChanges(t)},e.prototype.destroyInternal=function(){this._Checkbox_5_4.ngOnDestroy(),this._NgModel_5_6.ngOnDestroy()},e.prototype._handle_ngModelChange_5_0=function(t){this.markPathToRootAsCheckOnce();var e=(this.parent.parent.context.connectNow=t)!==!1,n=this.parent.parent.context.checkboxChanged("connectNow")!==!1;return e&&n},e.prototype._handle_click_5_1=function(t){this._appEl_5.componentView.markPathToRootAsCheckOnce();var e=this._Checkbox_5_4._click(t)!==!1;return e},e}(S.a),he=function(t){function e(n,i,r){t.call(this,e,Ut,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Mt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_0,"icon-right",""),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new O.a(0,null,this,this._el_0);var e=ft.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new et.a(null,"",this.parent.parentInjector.get(ot.c),new at.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"\n OK\n ",null),this._el_2=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_2,"class","custom-image-button"),this.renderer.setElementAttribute(this._el_2,"src","assets/img/check.svg"),this._text_3=this.renderer.createText(null,"\n ",null),e.create(this._Button_0_4,[[].concat([this._text_1,this._el_2,this._text_3])],null);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===et.a&&0<=e&&e<=3?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.addNetwork()!==!1;return e},e}(S.a),ce=function(t){function e(n,i,r){t.call(this,e,Ut,P.a.EMBEDDED,n,i,r,R.b.CheckAlways)}return Mt(e,t),e.prototype.createInternal=function(t){this._el_0=this.renderer.createElement(null,"button",null),this.renderer.setElementAttribute(this._el_0,"class","text-button-side disable-hover"),this.renderer.setElementAttribute(this._el_0,"icon-right",""),this.renderer.setElementAttribute(this._el_0,"ion-button",""),this._appEl_0=new O.a(0,null,this,this._el_0);var e=ft.a(this.viewUtils,this.injector(0),this._appEl_0);this._Button_0_4=new et.a(null,"",this.parent.parentInjector.get(ot.c),new at.a(this._el_0),this.renderer),this._appEl_0.initComponent(this._Button_0_4,[],e),this._text_1=this.renderer.createText(null,"\n Save\n ",null),this._el_2=this.renderer.createElement(null,"img",null),this.renderer.setElementAttribute(this._el_2,"class","svg-save"),this.renderer.setElementAttribute(this._el_2,"src","assets/img/save.svg"),this._text_3=this.renderer.createText(null,"\n ",null),e.create(this._Button_0_4,[[].concat([this._text_1,this._el_2,this._text_3])],null);var n=this.renderer.listen(this._el_0,"click",this.eventHandler(this._handle_click_0_0.bind(this)));return this.init([].concat([this._el_0]),[this._el_0,this._text_1,this._el_2,this._text_3],[n],[]),null},e.prototype.injectorGetInternal=function(t,e,n){return t===et.a&&0<=e&&e<=3?this._Button_0_4:n},e.prototype.detectChangesInternal=function(t){this.detectContentChildrenChanges(t),t||0===this.numberOfChecks&&this._Button_0_4.ngAfterContentInit(),this.detectViewChildrenChanges(t)},e.prototype._handle_click_0_0=function(t){this.markPathToRootAsCheckOnce();var e=this.parent.context.updateSavedNetwork()!==!1;return e},e}(S.a)},function(t,e,n){var i,r;!function(n){"use strict";function s(t,e){var n=Math.abs(t),i=Math.abs(e);return 0===t?Math.log(i):0===e?Math.log(n):n<3e3&&i<3e3?.5*Math.log(t*t+e*e):Math.log(t/Math.cos(Math.atan2(e,t)))}function o(t,e){if(!(this instanceof o))return new o(t,e);var n=u(t,e);this.re=n.re,this.im=n.im}var a=function(t){return.5*(Math.exp(t)+Math.exp(-t))},_=function(t){return.5*(Math.exp(t)-Math.exp(-t))},l=function(t){var e=Math.PI/4;if(t<-e||t>e)return Math.cos(t)-1;var n=t*t;return n*(-.5+n*(1/24+n*(-1/720+n*(1/40320+n*(-1/3628800+n*(1/4790014600+n*(-1/87178291200+n*(1/20922789888e3))))))))},h=function(t,e){var n=Math.abs(t),i=Math.abs(e);return n<3e3&&i<3e3?Math.sqrt(n*n+i*i):(n0&&c();break;case"number":n.im=0,n.re=t;break;default:c()}return isNaN(n.re)||isNaN(n.im),n};o.prototype={re:0,im:0,sign:function(){var t=this.abs();return new o(this.re/t,this.im/t)},add:function(t,e){var n=new o(t,e);return this.isInfinite()&&n.isInfinite()?o.NAN:this.isInfinite()||n.isInfinite()?o.INFINITY:new o(this.re+n.re,this.im+n.im)},sub:function(t,e){var n=new o(t,e);return this.isInfinite()&&n.isInfinite()?o.NAN:this.isInfinite()||n.isInfinite()?o.INFINITY:new o(this.re-n.re,this.im-n.im)},mul:function(t,e){var n=new o(t,e);return this.isInfinite()&&n.isZero()||this.isZero()&&n.isInfinite()?o.NAN:this.isInfinite()||n.isInfinite()?o.INFINITY:0===n.im&&0===this.im?new o(this.re*n.re,0):new o(this.re*n.re-this.im*n.im,this.re*n.im+this.im*n.re)},div:function(t,e){var n=new o(t,e);if(this.isZero()&&n.isZero()||this.isInfinite()&&n.isInfinite())return o.NAN;if(this.isInfinite()||n.isZero())return o.INFINITY;if(this.isZero()||n.isInfinite())return o.ZERO;t=this.re,e=this.im;var i,r,s=n.re,a=n.im;return 0===a?new o(t/s,e/s):Math.abs(s)=0)return new o(Math.pow(t,n.re),0);if(0===t)switch((n.re%4+4)%4){case 0:return new o(Math.pow(e,n.re),0);case 1:return new o(0,Math.pow(e,n.re));case 2:return new o(-Math.pow(e,n.re),0);case 3:return new o(0,-Math.pow(e,n.re))}}if(0===t&&0===e&&n.re>0&&n.im>=0)return o.ZERO;var i=Math.atan2(e,t),r=s(t,e);return t=Math.exp(n.re*r-n.im*i),e=n.im*r+n.re*i,new o(t*Math.cos(e),t*Math.sin(e))},sqrt:function(){var t,e,n=this.re,i=this.im,r=this.abs();if(n>=0){if(0===i)return new o(Math.sqrt(n),0);t=.5*Math.sqrt(2*(r+n))}else t=Math.abs(i)/Math.sqrt(2*(r-n));return e=n<=0?.5*Math.sqrt(2*(r-n)):Math.abs(i)/Math.sqrt(2*(r+n)),new o(t,i<0?-e:e)},exp:function(){var t=Math.exp(this.re);return 0===this.im,new o(t*Math.cos(this.im),t*Math.sin(this.im))},expm1:function(){var t=this.re,e=this.im;return new o(Math.expm1(t)*Math.cos(e)+l(e),Math.exp(t)*Math.sin(e))},log:function(){var t=this.re,e=this.im;return new o(s(t,e),Math.atan2(e,t))},abs:function(){return h(this.re,this.im)},arg:function(){return Math.atan2(this.im,this.re)},sin:function(){var t=this.re,e=this.im;return new o(Math.sin(t)*a(e),Math.cos(t)*_(e))},cos:function(){var t=this.re,e=this.im;return new o(Math.cos(t)*a(e),-Math.sin(t)*_(e))},tan:function(){var t=2*this.re,e=2*this.im,n=Math.cos(t)+a(e);return new o(Math.sin(t)/n,_(e)/n)},cot:function(){var t=2*this.re,e=2*this.im,n=Math.cos(t)-a(e);return new o(-Math.sin(t)/n,_(e)/n)},sec:function(){var t=this.re,e=this.im,n=.5*a(2*e)+.5*Math.cos(2*t);return new o(Math.cos(t)*a(e)/n,Math.sin(t)*_(e)/n)},csc:function(){var t=this.re,e=this.im,n=.5*a(2*e)-.5*Math.cos(2*t);return new o(Math.sin(t)*a(e)/n,-Math.cos(t)*_(e)/n)},asin:function(){var t=this.re,e=this.im,n=new o(e*e-t*t+1,-2*t*e).sqrt(),i=new o(n.re-e,n.im+t).log();return new o(i.im,-i.re)},acos:function(){var t=this.re,e=this.im,n=new o(e*e-t*t+1,-2*t*e).sqrt(),i=new o(n.re-e,n.im+t).log();return new o(Math.PI/2-i.im,i.re)},atan:function(){var t=this.re,e=this.im;if(0===t){if(1===e)return new o(0,1/0);if(e===-1)return new o(0,-(1/0))}var n=t*t+(1-e)*(1-e),i=new o((1-e*e-t*t)/n,-2*t/n).log();return new o(-.5*i.im,.5*i.re)},acot:function(){var t=this.re,e=this.im;if(0===e)return new o(Math.atan2(1,t),0);var n=t*t+e*e;return 0!==n?new o(t/n,-e/n).atan():new o(0!==t?t/0:0,0!==e?-e/0:0).atan()},asec:function(){var t=this.re,e=this.im;if(0===t&&0===e)return new o(0,1/0);var n=t*t+e*e;return 0!==n?new o(t/n,-e/n).acos():new o(0!==t?t/0:0,0!==e?-e/0:0).acos()},acsc:function(){var t=this.re,e=this.im;if(0===t&&0===e)return new o(Math.PI/2,1/0);var n=t*t+e*e;return 0!==n?new o(t/n,-e/n).asin():new o(0!==t?t/0:0,0!==e?-e/0:0).asin()},sinh:function(){var t=this.re,e=this.im;return new o(_(t)*Math.cos(e),a(t)*Math.sin(e))},cosh:function(){var t=this.re,e=this.im;return new o(a(t)*Math.cos(e),_(t)*Math.sin(e))},tanh:function(){var t=2*this.re,e=2*this.im,n=a(t)+Math.cos(e);return new o(_(t)/n,Math.sin(e)/n)},coth:function(){var t=2*this.re,e=2*this.im,n=a(t)-Math.cos(e);return new o(_(t)/n,-Math.sin(e)/n)},csch:function(){var t=this.re,e=this.im,n=Math.cos(2*e)-a(2*t);return new o(-2*_(t)*Math.cos(e)/n,2*a(t)*Math.sin(e)/n)},sech:function(){var t=this.re,e=this.im,n=Math.cos(2*e)+a(2*t);return new o(2*a(t)*Math.cos(e)/n,-2*_(t)*Math.sin(e)/n)},asinh:function(){var t=this.im;this.im=-this.re,this.re=t;var e=this.asin();return this.re=-this.im,this.im=t,t=e.re,e.re=-e.im,e.im=t,e},acosh:function(){var t=this.acos();if(t.im<=0){var e=t.re;t.re=-t.im,t.im=e}else{var e=t.im;t.im=-t.re,t.re=e}return t},atanh:function(){var t=this.re,e=this.im,n=t>1&&0===e,i=1-t,r=1+t,a=i*i+e*e,_=0!==a?new o((r*i-e*e)/a,(e*i+r*e)/a):new o(t!==-1?t/0:0,0!==e?e/0:0),l=_.re;return _.re=s(_.re,_.im)/2,_.im=Math.atan2(_.im,l)/2,n&&(_.im=-_.im),_},acoth:function(){var t=this.re,e=this.im;if(0===t&&0===e)return new o(0,Math.PI/2);var n=t*t+e*e;return 0!==n?new o(t/n,-e/n).atanh():new o(0!==t?t/0:0,0!==e?-e/0:0).atanh()},acsch:function(){var t=this.re,e=this.im;if(0===e)return new o(0!==t?Math.log(t+Math.sqrt(t*t+1)):1/0,0);var n=t*t+e*e;return 0!==n?new o(t/n,-e/n).asinh():new o(0!==t?t/0:0,0!==e?-e/0:0).asinh()},asech:function(){var t=this.re,e=this.im;if(this.isZero())return o.INFINITY;var n=t*t+e*e;return 0!==n?new o(t/n,-e/n).acosh():new o(0!==t?t/0:0,0!==e?-e/0:0).acosh()},inverse:function(){if(this.isZero())return o.INFINITY;if(this.isInfinite())return o.ZERO;var t=this.re,e=this.im,n=t*t+e*e;return new o(t/n,-e/n)},conjugate:function(){return new o(this.re,-this.im)},neg:function(){return new o(-this.re,-this.im)},ceil:function(t){return t=Math.pow(10,t||0),new o(Math.ceil(this.re*t)/t,Math.ceil(this.im*t)/t)},floor:function(t){return t=Math.pow(10,t||0),new o(Math.floor(this.re*t)/t,Math.floor(this.im*t)/t)},round:function(t){return t=Math.pow(10,t||0),new o(Math.round(this.re*t)/t,Math.round(this.im*t)/t)},equals:function(t,e){var n=new o(t,e); return Math.abs(n.re-this.re)<=o.EPSILON&&Math.abs(n.im-this.im)<=o.EPSILON},clone:function(){return new o(this.re,this.im)},toString:function(){var t=this.re,e=this.im,n="";return this.isNaN()?"NaN":this.isZero()?"0":this.isInfinite()?"Infinity":(0!==t&&(n+=t),0!==e&&(0!==t?n+=e<0?" - ":" + ":e<0&&(n+="-"),e=Math.abs(e),1!==e&&(n+=e),n+="i"),n?n:"0")},toVector:function(){return[this.re,this.im]},valueOf:function(){return 0===this.im?this.re:null},isNaN:function(){return isNaN(this.re)||isNaN(this.im)},isZero:function(){return!(0!==this.re&&this.re!==-0||0!==this.im&&this.im!==-0)},isFinite:function(){return isFinite(this.re)&&isFinite(this.im)},isInfinite:function(){return!(this.isNaN()||this.isFinite())}},o.ZERO=new o(0,0),o.ONE=new o(1,0),o.I=new o(0,1),o.PI=new o(Math.PI,0),o.E=new o(Math.E,0),o.INFINITY=new o(1/0,1/0),o.NAN=new o(NaN,NaN),o.EPSILON=1e-16,i=[],r=function(){return o}.apply(e,i),!(void 0!==r&&(t.exports=r))}(this)},function(t,e,n){var i;!function(r){"use strict";function s(t){var e,n,i,r=t.length-1,s="",o=t[0];if(r>0){for(s+=o,e=1;en)throw Error(It+t)}function a(t,e,n,i){var r,s,o,a;for(s=t[0];s>=10;s/=10)--e;return--e<0?(e+=Lt,r=0):(r=Math.ceil((e+1)/Lt),e%=Lt),s=Nt(10,Lt-e),a=t[r]%s|0,null==i?e<3?(0==e?a=a/100|0:1==e&&(a=a/10|0),o=n<4&&99999==a||n>3&&49999==a||5e4==a||0==a):o=(n<4&&a+1==s||n>3&&a+1==s/2)&&(t[r+1]/s/100|0)==Nt(10,e-2)-1||(a==s/2||0==a)&&0==(t[r+1]/s/100|0):e<4?(0==e?a=a/1e3|0:1==e?a=a/100|0:2==e&&(a=a/10|0),o=(i||n<4)&&9999==a||!i&&n>3&&4999==a):o=((i||n<4)&&a+1==s||!i&&n>3&&a+1==s/2)&&(t[r+1]/s/1e3|0)==Nt(10,e-3)-1,o}function _(t,e,n){for(var i,r,s=[0],o=0,a=t.length;on-1&&(void 0===s[i+1]&&(s[i+1]=0),s[i+1]+=s[i]/n|0,s[i]%=n)}return s.reverse()}function l(t,e){var n,i,r=e.d.length;r<32?(n=Math.ceil(r/3),i=(1/I(4,n)).toString()):(n=16,i="2.3283064365386962890625e-10"),t.precision+=n,e=A(t,1,e.times(i),new t(1));for(var s=n;s--;){var o=e.times(e);e=o.times(o).minus(o).times(8).plus(1)}return t.precision-=n,e}function h(t,e,n,i){var r,s,o,a,_,l,h,c,u,p=t.constructor;t:if(null!=e){if(c=t.d,!c)return t;for(r=1,a=c[0];a>=10;a/=10)r++;if(s=e-r,s<0)s+=Lt,o=e,h=c[u=0],_=h/Nt(10,r-o-1)%10|0;else if(u=Math.ceil((s+1)/Lt),a=c.length,u>=a){if(!i)break t;for(;a++<=u;)c.push(0);h=_=0,r=1,s%=Lt,o=s-Lt+1}else{for(h=a=c[u],r=1;a>=10;a/=10)r++;s%=Lt,o=s-Lt+r,_=o<0?0:h/Nt(10,r-o-1)%10|0}if(i=i||e<0||void 0!==c[u+1]||(o<0?h:h%Nt(10,r-o-1)),l=n<4?(_||i)&&(0==n||n==(t.s<0?3:2)):_>5||5==_&&(4==n||i||6==n&&(s>0?o>0?h/Nt(10,r-o):0:c[u-1])%10&1||n==(t.s<0?8:7)),e<1||!c[0])return c.length=0,l?(e-=t.e+1,c[0]=Nt(10,(Lt-e%Lt)%Lt),t.e=-e||0):c[0]=t.e=0,t;if(0==s?(c.length=u,a=1,u--):(c.length=u+1,a=Nt(10,Lt-s),c[u]=o>0?(h/Nt(10,r-o)%Nt(10,o)|0)*a:0),l)for(;;){if(0==u){for(s=1,o=c[0];o>=10;o/=10)s++;for(o=c[0]+=a,a=1;o>=10;o/=10)a++;s!=a&&(t.e++,c[0]==Mt&&(c[0]=1));break}if(c[u]+=a,c[u]!=Mt)break;c[u--]=0,a=1}for(s=c.length;0===c[--s];)c.pop()}return Tt&&(t.e>p.maxE?(t.d=null,t.e=NaN):t.e0?o=o.charAt(0)+"."+o.slice(1)+m(i):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(t.e<0?"e":"e+")+t.e):r<0?(o="0."+m(-r-1)+o,n&&(i=n-a)>0&&(o+=m(i))):r>=a?(o+=m(r+1-a),n&&(i=n-r-1)>0&&(o=o+"."+m(i))):((i=r+1)0&&(r+1===a&&(o+="."),o+=m(i))),o}function u(t,e){var n=t[0];for(e*=Lt;n>=10;n/=10)e++;return e}function p(t,e,n){if(e>Ft)throw Tt=!0,n&&(t.precision=n),Error(St);return h(new t(wt),e,1,!0)}function d(t,e,n){if(e>qt)throw Error(St);return h(new t(Ct),e,n,!0)}function f(t){var e=t.length-1,n=e*Lt+1;if(e=t[e]){for(;e%10==0;e/=10)n--;for(e=t[0];e>=10;e/=10)n++}return n}function m(t){for(var e="";t--;)e+="0";return e}function g(t,e,n,i){var r,s=new t(1),o=Math.ceil(i/Lt+4);for(Tt=!1;;){if(n%2&&(s=s.times(e),k(s.d,o)&&(r=!0)),n=kt(n/2),0===n){n=s.d.length-1,r&&0===s.d[n]&&++s.d[n];break}e=e.times(e),k(e.d,o)}return Tt=!0,s}function v(t){return 1&t.d[t.d.length-1]}function x(t,e,n){for(var i,r=new t(e[0]),s=0;++s17)return new f(t.d?t.d[0]?t.s<0?0:1/0:1:t.s?t.s<0?0:t:NaN);for(null==e?(Tt=!1,c=g):c=e,l=new f(.03125);t.e>-2;)t=t.times(l),d+=5;for(i=Math.log(Nt(2,d))/Math.LN10*2+5|0,c+=i,n=o=_=new f(1),f.precision=c;;){if(o=h(o.times(t),c,1),n=n.times(++p),l=_.plus(Ht(o,n,c,1)),s(l.d).slice(0,c)===s(_.d).slice(0,c)){for(r=d;r--;)_=h(_.times(_),c,1);if(null!=e)return f.precision=g,_;if(!(u<3&&a(_.d,c-i,m,u)))return h(_,f.precision=g,m,Tt=!0);f.precision=c+=10,n=o=l=new f(1),p=0,u++}_=l}}function b(t,e){var n,i,r,o,_,l,c,u,d,f,m,g=1,v=10,x=t,y=x.d,w=x.constructor,C=w.rounding,E=w.precision;if(x.s<0||!y||!y[0]||!x.e&&1==y[0]&&1==y.length)return new w(y&&!y[0]?-1/0:1!=x.s?NaN:y?0:x);if(null==e?(Tt=!1,d=E):d=e,w.precision=d+=v,n=s(y),i=n.charAt(0),!(Math.abs(o=x.e)<15e14))return u=p(w,d+2,E).times(o+""),x=b(new w(i+"."+n.slice(1)),d-v).plus(u),w.precision=E,null==e?h(x,E,C,Tt=!0):x;for(;i<7&&1!=i||1==i&&n.charAt(1)>3;)x=x.times(t),n=s(x.d),i=n.charAt(0),g++;for(o=x.e,i>1?(x=new w("0."+n),o++):x=new w(i+"."+n.slice(1)),f=x,c=_=x=Ht(x.minus(1),x.plus(1),d,1),m=h(x.times(x),d,1),r=3;;){if(_=h(_.times(m),d,1),u=c.plus(Ht(_,new w(r),d,1)),s(u.d).slice(0,d)===s(c.d).slice(0,d)){if(c=c.times(2),0!==o&&(c=c.plus(p(w,d+2,E).times(o+""))),c=Ht(c,new w(g),d,1),null!=e)return w.precision=E,c;if(!a(c.d,d-v,C,l))return h(c,w.precision=E,C,Tt=!0);w.precision=d+=v,u=_=x=Ht(f.minus(1),f.plus(1),d,1),m=h(x.times(x),d,1),r=l=1}c=u,r+=2}}function w(t){return String(t.s*t.s/0)}function C(t,e){var n,i,r;for((n=e.indexOf("."))>-1&&(e=e.replace(".","")),(i=e.search(/e/i))>0?(n<0&&(n=i),n+=+e.slice(i+1),e=e.substring(0,i)):n<0&&(n=e.length),i=0;48===e.charCodeAt(i);i++);for(r=e.length;48===e.charCodeAt(r-1);--r);if(e=e.slice(i,r)){if(r-=i,t.e=n=n-i-1,t.d=[],i=(n+1)%Lt,n<0&&(i+=Lt),it.constructor.maxE?(t.d=null,t.e=NaN):t.e0?(l=+e.slice(s+1),e=e.substring(2,s)):e=e.slice(2),s=e.indexOf("."),o=s>=0,i=t.constructor,o&&(e=e.replace(".",""),a=e.length,s=a-s,r=g(i,new i(n),s,2*s)),h=_(e,n,Mt),c=h.length-1,s=c;0===h[s];--s)h.pop();return s<0?new i(0*t.s):(t.e=u(h,c),t.d=h,Tt=!1,o&&(t=Ht(t,r,4*a)),l&&(t=t.times(Math.abs(l)<54?Nt(2,l):mt.pow(2,l))),Tt=!0,t)}function T(t,e){var n,i=e.d.length;if(i<3)return A(t,2,e,e);n=1.4*Math.sqrt(i),n=n>16?16:0|n,e=e.times(1/I(5,n)),e=A(t,2,e,e);for(var r,s=new t(5),o=new t(16),a=new t(20);n--;)r=e.times(e),e=e.times(s.plus(r.times(o.times(r).minus(a))));return e}function A(t,e,n,i,r){var s,o,a,_,l=1,h=t.precision,c=Math.ceil(h/Lt);for(Tt=!1,_=n.times(n),a=new t(i);;){if(o=Ht(a.times(_),new t(e++*e++),h,1),a=r?i.plus(o):i.minus(o),i=Ht(o.times(_),new t(e++*e++),h,1),o=a.plus(i),void 0!==o.d[c]){for(s=c;o.d[s]===a.d[s]&&s--;);if(s==-1)break}s=a,a=i,i=o,o=s,l++}return Tt=!0,o.d.length=c+1,o}function I(t,e){for(var n=t;--e;)n*=t;return n}function S(t,e){var n,i=e.s<0,r=d(t,t.precision,1),s=r.times(.5);if(e=e.abs(),e.lte(s))return vt=i?4:1,e;if(n=e.divToInt(r),n.isZero())vt=i?3:2;else{if(e=e.minus(n.times(r)),e.lte(s))return vt=v(n)?i?2:3:i?4:1,e;vt=v(n)?i?1:4:i?3:2}return e.minus(r).abs()}function O(t,e,n,i){var r,s,a,l,h,u,p,d,f,m=t.constructor,g=void 0!==n;if(g?(o(n,1,yt),void 0===i?i=m.rounding:o(i,0,8)):(n=m.precision,i=m.rounding),t.isFinite()){for(p=c(t),a=p.indexOf("."),g?(r=2,16==e?n=4*n-3:8==e&&(n=3*n-2)):r=e,a>=0&&(p=p.replace(".",""),f=new m(1),f.e=p.length-a,f.d=_(c(f),10,r),f.e=f.d.length),d=_(p,10,r),s=h=d.length;0==d[--h];)d.pop();if(d[0]){if(a<0?s--:(t=new m(t),t.d=d,t.e=s,t=Ht(t,f,n,i,0,r),d=t.d,s=t.e,u=gt),a=d[n],l=r/2,u=u||void 0!==d[n+1],u=i<4?(void 0!==a||u)&&(0===i||i===(t.s<0?3:2)):a>l||a===l&&(4===i||u||6===i&&1&d[n-1]||i===(t.s<0?8:7)),d.length=n,u)for(;++d[--n]>r-1;)d[n]=0,n||(++s,d.unshift(1));for(h=d.length;!d[h-1];--h);for(a=0,p="";a1)if(16==e||8==e){for(a=16==e?4:3,--h;h%a;h++)p+="0";for(d=_(p,r,e),h=d.length;!d[h-1];--h);for(a=1,p="1.";ah)for(s-=h;s--;)p+="0";else se)return t.length=e,!0}function N(t){return new this(t).abs()}function P(t){return new this(t).acos()}function R(t){return new this(t).acosh()}function D(t,e){return new this(t).plus(e)}function j(t){return new this(t).asin()}function M(t){return new this(t).asinh()}function L(t){return new this(t).atan()}function B(t){return new this(t).atanh()}function F(t,e){t=new this(t),e=new this(e);var n,i=this.precision,r=this.rounding,s=i+4;return t.s&&e.s?t.d||e.d?!e.d||t.isZero()?(n=e.s<0?d(this,i,r):new this(0),n.s=t.s):!t.d||e.isZero()?(n=d(this,s,1).times(.5),n.s=t.s):e.s<0?(this.precision=s,this.rounding=1,n=this.atan(Ht(t,e,s,1)),e=d(this,s,1),this.precision=i,this.rounding=r,n=t.s<0?n.minus(e):n.plus(e)):n=this.atan(Ht(t,e,s,1)):(n=d(this,s,1).times(e.s>0?.25:.75),n.s=t.s):n=new this(NaN),n}function q(t){return new this(t).cbrt()}function V(t){return h(t=new this(t),t.e+1,2)}function H(t){if(!t||"object"!=typeof t)throw Error(At+"Object expected");var e,n,i,r=t.defaults===!0,s=["precision",1,yt,"rounding",0,8,"toExpNeg",-xt,0,"toExpPos",0,xt,"maxE",0,xt,"minE",-xt,0,"modulo",0,9];for(e=0;e=s[e+1]&&i<=s[e+2]))throw Error(It+n+": "+i);this[n]=i}if(n="crypto",r&&(this[n]=Et[n]),void 0!==(i=t[n])){if(i!==!0&&i!==!1&&0!==i&&1!==i)throw Error(It+n+": "+i);if(i){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error(Ot);this[n]=!0}else this[n]=!1}return this}function U(t){return new this(t).cos()}function z(t){return new this(t).cosh()}function G(t){function e(t){var n,i,r,s=this;if(!(s instanceof e))return new e(t);if(s.constructor=e,t instanceof e)return s.s=t.s,void(Tt?!t.d||t.e>e.maxE?(s.e=NaN,s.d=null):t.e=10;i/=10)n++;return void(Tt?n>e.maxE?(s.e=NaN,s.d=null):n=429e7?e[s]=crypto.getRandomValues(new Uint32Array(1))[0]:_[s++]=r%1e7;else{if(!crypto.randomBytes)throw Error(Ot);for(e=crypto.randomBytes(i*=4);s=214e7?crypto.randomBytes(4).copy(e,s):(_.push(r%1e7),s+=4);s=i/4}else for(;s=10;r/=10)i++;it.e^_<0?1:-1;for(i=o.length,r=a.length,e=0,n=ia[e]^_<0?1:-1;return i===r?0:i>r^_<0?1:-1},Vt.cosine=Vt.cos=function(){var t,e,n=this,i=n.constructor;return n.d?n.d[0]?(t=i.precision,e=i.rounding,i.precision=t+Math.max(n.e,n.sd())+Lt,i.rounding=1,n=l(i,S(i,n)),i.precision=t,i.rounding=e,h(2==vt||3==vt?n.neg():n,t,e,!0)):new i(1):new i(NaN)},Vt.cubeRoot=Vt.cbrt=function(){var t,e,n,i,r,o,a,_,l,c,u=this,p=u.constructor;if(!u.isFinite()||u.isZero())return new p(u);for(Tt=!1,o=u.s*Nt(u.s*u,1/3),o&&Math.abs(o)!=1/0?i=new p(o.toString()):(n=s(u.d),t=u.e,(o=(t-n.length+1)%3)&&(n+=1==o||o==-2?"0":"00"),o=Nt(n,1/3),t=kt((t+1)/3)-(t%3==(t<0?-1:2)),o==1/0?n="5e"+t:(n=o.toExponential(),n=n.slice(0,n.indexOf("e")+1)+t),i=new p(n),i.s=u.s),a=(t=p.precision)+3;;)if(_=i,l=_.times(_).times(_),c=l.plus(u),i=Ht(c.plus(u).times(_),c.plus(l),a+2,1),s(_.d).slice(0,a)===(n=s(i.d)).slice(0,a)){if(n=n.slice(a-3,a+1),"9999"!=n&&(r||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(h(i,t+1,1),e=!i.times(i).times(i).eq(u));break}if(!r&&(h(_,t+1,0),_.times(_).times(_).eq(u))){i=_;break}a+=4,r=1}return Tt=!0,h(i,t,p.rounding,e)},Vt.decimalPlaces=Vt.dp=function(){var t,e=this.d,n=NaN;if(e){if(t=e.length-1,n=(t-kt(this.e/Lt))*Lt,t=e[t])for(;t%10==0;t/=10)n--;n<0&&(n=0)}return n},Vt.dividedBy=Vt.div=function(t){return Ht(this,new this.constructor(t))},Vt.dividedToIntegerBy=Vt.divToInt=function(t){var e=this,n=e.constructor;return h(Ht(e,new n(t),0,1,1),n.precision,n.rounding)},Vt.equals=Vt.eq=function(t){return 0===this.cmp(t)},Vt.floor=function(){return h(new this.constructor(this),this.e+1,3)},Vt.greaterThan=Vt.gt=function(t){return this.cmp(t)>0},Vt.greaterThanOrEqualTo=Vt.gte=function(t){var e=this.cmp(t);return 1==e||0===e},Vt.hyperbolicCosine=Vt.cosh=function(){var t,e,n,i,r,s=this,o=s.constructor,a=new o(1);if(!s.isFinite())return new o(s.s?1/0:NaN);if(s.isZero())return a;n=o.precision,i=o.rounding,o.precision=n+Math.max(s.e,s.sd())+4,o.rounding=1,r=s.d.length,r<32?(t=Math.ceil(r/3),e=(1/I(4,t)).toString()):(t=16,e="2.3283064365386962890625e-10"),s=A(o,1,s.times(e),new o(1),!0);for(var _,l=t,c=new o(8);l--;)_=s.times(s),s=a.minus(_.times(c.minus(_.times(c))));return h(s,o.precision=n,o.rounding=i,!0)},Vt.hyperbolicSine=Vt.sinh=function(){var t,e,n,i,r=this,s=r.constructor;if(!r.isFinite()||r.isZero())return new s(r);if(e=s.precision,n=s.rounding,s.precision=e+Math.max(r.e,r.sd())+4,s.rounding=1,i=r.d.length,i<3)r=A(s,2,r,r,!0);else{t=1.4*Math.sqrt(i),t=t>16?16:0|t,r=r.times(1/I(5,t)),r=A(s,2,r,r,!0);for(var o,a=new s(5),_=new s(16),l=new s(20);t--;)o=r.times(r),r=r.times(a.plus(o.times(_.times(o).plus(l))))}return s.precision=e,s.rounding=n,h(r,e,n,!0)},Vt.hyperbolicTangent=Vt.tanh=function(){var t,e,n=this,i=n.constructor;return n.isFinite()?n.isZero()?new i(n):(t=i.precision,e=i.rounding,i.precision=t+7,i.rounding=1,Ht(n.sinh(),n.cosh(),i.precision=t,i.rounding=e)):new i(n.s)},Vt.inverseCosine=Vt.acos=function(){var t,e=this,n=e.constructor,i=e.abs().cmp(1),r=n.precision,s=n.rounding;return i!==-1?0===i?e.isNeg()?d(n,r,s):new n(0):new n(NaN):e.isZero()?d(n,r+4,s).times(.5):(n.precision=r+6,n.rounding=1,e=e.asin(),t=d(n,r+4,s).times(.5),n.precision=r,n.rounding=s,t.minus(e))},Vt.inverseHyperbolicCosine=Vt.acosh=function(){var t,e,n=this,i=n.constructor;return n.lte(1)?new i(n.eq(1)?0:NaN):n.isFinite()?(t=i.precision,e=i.rounding,i.precision=t+Math.max(Math.abs(n.e),n.sd())+4,i.rounding=1,Tt=!1,n=n.times(n).minus(1).sqrt().plus(n),Tt=!0,i.precision=t,i.rounding=e,n.ln()):new i(n)},Vt.inverseHyperbolicSine=Vt.asinh=function(){var t,e,n=this,i=n.constructor;return!n.isFinite()||n.isZero()?new i(n):(t=i.precision,e=i.rounding,i.precision=t+2*Math.max(Math.abs(n.e),n.sd())+6,i.rounding=1,Tt=!1,n=n.times(n).plus(1).sqrt().plus(n),Tt=!0,i.precision=t,i.rounding=e,n.ln())},Vt.inverseHyperbolicTangent=Vt.atanh=function(){var t,e,n,i,r=this,s=r.constructor;return r.isFinite()?r.e>=0?new s(r.abs().eq(1)?r.s/0:r.isZero()?r:NaN):(t=s.precision,e=s.rounding,i=r.sd(),Math.max(i,t)<2*-r.e-1?h(new s(r),t,e,!0):(s.precision=n=i-r.e,r=Ht(r.plus(1),new s(1).minus(r),n+t,1),s.precision=t+4,s.rounding=1,r=r.ln(),s.precision=t,s.rounding=e,r.times(.5))):new s(NaN)},Vt.inverseSine=Vt.asin=function(){var t,e,n,i,r=this,s=r.constructor;return r.isZero()?new s(r):(e=r.abs().cmp(1),n=s.precision,i=s.rounding,e!==-1?0===e?(t=d(s,n+4,i).times(.5),t.s=r.s,t):new s(NaN):(s.precision=n+6,s.rounding=1,r=r.div(new s(1).minus(r.times(r)).sqrt().plus(1)).atan(),s.precision=n,s.rounding=i,r.times(2)))},Vt.inverseTangent=Vt.atan=function(){var t,e,n,i,r,s,o,a,_,l=this,c=l.constructor,u=c.precision,p=c.rounding;if(l.isFinite()){if(l.isZero())return new c(l);if(l.abs().eq(1)&&u+4<=qt)return o=d(c,u+4,p).times(.25),o.s=l.s,o}else{if(!l.s)return new c(NaN);if(u+4<=qt)return o=d(c,u+4,p).times(.5),o.s=l.s,o}for(c.precision=a=u+10,c.rounding=1,n=Math.min(28,a/Lt+2|0),t=n;t;--t)l=l.div(l.times(l).plus(1).sqrt().plus(1));for(Tt=!1,e=Math.ceil(a/Lt),i=1,_=l.times(l),o=new c(l),r=l;t!==-1;)if(r=r.times(_),s=o.minus(r.div(i+=2)),r=r.times(_),o=s.plus(r.div(i+=2)),void 0!==o.d[e])for(t=e;o.d[t]===s.d[t]&&t--;);return n&&(o=o.times(2<this.d.length-2},Vt.isNaN=function(){return!this.s},Vt.isNegative=Vt.isNeg=function(){return this.s<0},Vt.isPositive=Vt.isPos=function(){return this.s>0},Vt.isZero=function(){return!!this.d&&0===this.d[0]},Vt.lessThan=Vt.lt=function(t){return this.cmp(t)<0},Vt.lessThanOrEqualTo=Vt.lte=function(t){return this.cmp(t)<1},Vt.logarithm=Vt.log=function(t){var e,n,i,r,o,_,l,c,u=this,d=u.constructor,f=d.precision,m=d.rounding,g=5;if(null==t)t=new d(10),e=!0;else{if(t=new d(t),n=t.d,t.s<0||!n||!n[0]||t.eq(1))return new d(NaN);e=t.eq(10)}if(n=u.d,u.s<0||!n||!n[0]||u.eq(1))return new d(n&&!n[0]?-1/0:1!=u.s?NaN:n?0:1/0);if(e)if(n.length>1)o=!0;else{for(r=n[0];r%10===0;)r/=10;o=1!==r}if(Tt=!1,l=f+g,_=b(u,l),i=e?p(d,l+10):b(t,l),c=Ht(_,i,l,1),a(c.d,r=f,m))do if(l+=10,_=b(u,l),i=e?p(d,l+10):b(t,l),c=Ht(_,i,l,1),!o){+s(c.d).slice(r+1,r+15)+1==1e14&&(c=h(c,f+1,0));break}while(a(c.d,r+=10,m));return Tt=!0,h(c,f,m)},Vt.minus=Vt.sub=function(t){var e,n,i,r,s,o,a,_,l,c,p,d,f=this,m=f.constructor;if(t=new m(t),!f.d||!t.d)return f.s&&t.s?f.d?t.s=-t.s:t=new m(t.d||f.s!==t.s?f:NaN):t=new m(NaN),t;if(f.s!=t.s)return t.s=-t.s,f.plus(t);if(l=f.d,d=t.d,a=m.precision,_=m.rounding,!l[0]||!d[0]){if(d[0])t.s=-t.s;else{if(!l[0])return new m(3===_?-0:0);t=new m(f)}return Tt?h(t,a,_):t}if(n=kt(t.e/Lt),c=kt(f.e/Lt),l=l.slice(),s=c-n){for(p=s<0,p?(e=l,s=-s,o=d.length):(e=d,n=c,o=l.length),i=Math.max(Math.ceil(a/Lt),o)+2,s>i&&(s=i,e.length=1),e.reverse(),i=s;i--;)e.push(0);e.reverse()}else{for(i=l.length,o=d.length,p=i0;--i)l[o++]=0;for(i=d.length;i>s;){if(l[--i]o?s+1:o+1,r>o&&(r=o,n.length=1),n.reverse();r--;)n.push(0);n.reverse()}for(o=l.length,r=c.length,o-r<0&&(r=o,n=c,c=l,l=n),e=0;r;)e=(l[--r]=l[r]+c[r]+e)/Mt|0,l[r]%=Mt;for(e&&(l.unshift(e),++i),o=l.length;0==l[--o];)l.pop();return t.d=l,t.e=u(l,i),Tt?h(t,a,_):t},Vt.precision=Vt.sd=function(t){var e,n=this;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(It+t);return n.d?(e=f(n.d),t&&n.e+1>e&&(e=n.e+1)):e=NaN,e},Vt.round=function(){var t=this,e=t.constructor;return h(new e(t),t.e+1,e.rounding)},Vt.sine=Vt.sin=function(){var t,e,n=this,i=n.constructor;return n.isFinite()?n.isZero()?new i(n):(t=i.precision,e=i.rounding,i.precision=t+Math.max(n.e,n.sd())+Lt,i.rounding=1,n=T(i,S(i,n)),i.precision=t,i.rounding=e,h(vt>2?n.neg():n,t,e,!0)):new i(NaN)},Vt.squareRoot=Vt.sqrt=function(){var t,e,n,i,r,o,a=this,_=a.d,l=a.e,c=a.s,u=a.constructor;if(1!==c||!_||!_[0])return new u(!c||c<0&&(!_||_[0])?NaN:_?a:1/0);for(Tt=!1,c=Math.sqrt(+a),0==c||c==1/0?(e=s(_),(e.length+l)%2==0&&(e+="0"),c=Math.sqrt(e),l=kt((l+1)/2)-(l<0||l%2),c==1/0?e="1e"+l:(e=c.toExponential(),e=e.slice(0,e.indexOf("e")+1)+l),i=new u(e)):i=new u(c.toString()),n=(l=u.precision)+3;;)if(o=i,i=o.plus(Ht(a,o,n+2,1)).times(.5),s(o.d).slice(0,n)===(e=s(i.d)).slice(0,n)){if(e=e.slice(n-3,n+1),"9999"!=e&&(r||"4999"!=e)){+e&&(+e.slice(1)||"5"!=e.charAt(0))||(h(i,l+1,1),t=!i.times(i).eq(a));break}if(!r&&(h(o,l+1,0),o.times(o).eq(a))){i=o;break}n+=4,r=1}return Tt=!0,h(i,l,u.rounding,t)},Vt.tangent=Vt.tan=function(){var t,e,n=this,i=n.constructor;return n.isFinite()?n.isZero()?new i(n):(t=i.precision,e=i.rounding,i.precision=t+10,i.rounding=1,n=n.sin(),n.s=1,n=Ht(n,new i(1).minus(n.times(n)).sqrt(),t+10,0),i.precision=t,i.rounding=e,h(2==vt||4==vt?n.neg():n,t,e,!0)):new i(NaN)},Vt.times=Vt.mul=function(t){var e,n,i,r,s,o,a,_,l,c=this,p=c.constructor,d=c.d,f=(t=new p(t)).d;if(t.s*=c.s,!(d&&d[0]&&f&&f[0]))return new p(!t.s||d&&!d[0]&&!f||f&&!f[0]&&!d?NaN:d&&f?0*t.s:t.s/0);for(n=kt(c.e/Lt)+kt(t.e/Lt),_=d.length,l=f.length,_=0;){for(e=0,r=_+i;r>i;)a=s[r]+f[i]*d[r-i-1]+e,s[r--]=a%Mt|0,e=a/Mt|0;s[r]=(s[r]+e)%Mt|0}for(;!s[--o];)s.pop();return e?++n:s.shift(),t.d=s,t.e=u(s,n),Tt?h(t,p.precision,p.rounding):t},Vt.toBinary=function(t,e){return O(this,2,t,e)},Vt.toDecimalPlaces=Vt.toDP=function(t,e){var n=this,i=n.constructor;return n=new i(n),void 0===t?n:(o(t,0,yt),void 0===e?e=i.rounding:o(e,0,8),h(n,t+n.e+1,e))},Vt.toExponential=function(t,e){var n,i=this,r=i.constructor;return void 0===t?n=c(i,!0):(o(t,0,yt),void 0===e?e=r.rounding:o(e,0,8),i=h(new r(i),t+1,e),n=c(i,!0,t+1)),i.isNeg()&&!i.isZero()?"-"+n:n},Vt.toFixed=function(t,e){var n,i,r=this,s=r.constructor;return void 0===t?n=c(r):(o(t,0,yt),void 0===e?e=s.rounding:o(e,0,8),i=h(new s(r),t+r.e+1,e),n=c(i,!1,t+i.e+1)),r.isNeg()&&!r.isZero()?"-"+n:n},Vt.toFraction=function(t){var e,n,i,r,o,a,_,l,h,c,u,p,d=this,m=d.d,g=d.constructor;if(!m)return new g(d);if(h=n=new g(1),i=l=new g(0),e=new g(i),o=e.e=f(m)-d.e-1,a=o%Lt,e.d[0]=Nt(10,a<0?Lt+a:a),null==t)t=o>0?e:h;else{if(_=new g(t),!_.isInt()||_.lt(h))throw Error(It+_);t=_.gt(e)?o>0?e:h:_}for(Tt=!1,_=new g(s(m)),c=g.precision,g.precision=o=m.length*Lt*2;u=Ht(_,e,0,1,1),r=n.plus(u.times(i)),1!=r.cmp(t);)n=i,i=r,r=h,h=l.plus(u.times(r)),l=r,r=e,e=_.minus(u.times(r)),_=r;return r=Ht(t.minus(n),i,0,1,1),l=l.plus(r.times(h)),n=n.plus(r.times(i)),l.s=h.s=d.s,p=Ht(h,i,o,1).minus(d).abs().cmp(Ht(l,n,o,1).minus(d).abs())<1?[h,i]:[l,n],g.precision=c,Tt=!0,p},Vt.toHexadecimal=Vt.toHex=function(t,e){return O(this,16,t,e)},Vt.toNearest=function(t,e){var n=this,i=n.constructor;if(n=new i(n),null==t){if(!n.d)return n;t=new i(1),e=i.rounding}else{if(t=new i(t),void 0===e?e=i.rounding:o(e,0,8),!n.d)return t.s?n:t;if(!t.d)return t.s&&(t.s=n.s),t}return t.d[0]?(Tt=!1,n=Ht(n,t,0,e,1).times(t),Tt=!0,h(n)):(t.s=n.s,n=t),n},Vt.toNumber=function(){return+this},Vt.toOctal=function(t,e){return O(this,8,t,e)},Vt.toPower=Vt.pow=function(t){var e,n,i,r,o,_,l=this,c=l.constructor,u=+(t=new c(t));if(!(l.d&&t.d&&l.d[0]&&t.d[0]))return new c(Nt(+l,u));if(l=new c(l),l.eq(1))return l;if(i=c.precision,o=c.rounding,t.eq(1))return h(l,i,o);if(e=kt(t.e/Lt),e>=t.d.length-1&&(n=u<0?-u:u)<=Bt)return r=g(c,l,n,i),t.s<0?new c(1).div(r):h(r,i,o);if(_=l.s,_<0){if(ec.maxE+1||e0?_/0:0):(Tt=!1,c.rounding=l.s=1,n=Math.min(12,(e+"").length),r=y(t.times(b(l,i+n)),i),r.d&&(r=h(r,i+5,1),a(r.d,i,o)&&(e=i+10,r=h(y(t.times(b(l,e+n)),e),e+5,1),+s(r.d).slice(i+1,i+15)+1==1e14&&(r=h(r,i+1,0)))),r.s=_,Tt=!0,c.rounding=o,h(r,i,o))},Vt.toPrecision=function(t,e){var n,i=this,r=i.constructor;return void 0===t?n=c(i,i.e<=r.toExpNeg||i.e>=r.toExpPos):(o(t,1,yt),void 0===e?e=r.rounding:o(e,0,8),i=h(new r(i),t,e),n=c(i,t<=i.e||i.e<=r.toExpNeg,t)),i.isNeg()&&!i.isZero()?"-"+n:n},Vt.toSignificantDigits=Vt.toSD=function(t,e){var n=this,i=n.constructor;return void 0===t?(t=i.precision,e=i.rounding):(o(t,1,yt),void 0===e?e=i.rounding:o(e,0,8)),h(new i(n),t,e)},Vt.toString=function(){var t=this,e=t.constructor,n=c(t,t.e<=e.toExpNeg||t.e>=e.toExpPos);return t.isNeg()&&!t.isZero()?"-"+n:n},Vt.truncated=Vt.trunc=function(){return h(new this.constructor(this),this.e+1,1)},Vt.valueOf=Vt.toJSON=function(){var t=this,e=t.constructor,n=c(t,t.e<=e.toExpNeg||t.e>=e.toExpPos);return t.isNeg()?"-"+n:n};var Ht=function(){function t(t,e,n){var i,r=0,s=t.length;for(t=t.slice();s--;)i=t[s]*e+r,t[s]=i%n|0,r=i/n|0;return r&&t.unshift(r),t}function e(t,e,n,i){var r,s;if(n!=i)s=n>i?1:-1;else for(r=s=0;re[r]?1:-1;break}return s}function n(t,e,n,i){for(var r=0;n--;)t[n]-=r,r=t[n]1;)t.shift()}return function(i,r,s,o,a,_){var l,c,u,p,d,f,m,g,v,x,y,b,w,C,E,T,A,I,S,O,k=i.constructor,N=i.s==r.s?1:-1,P=i.d,R=r.d;if(!(P&&P[0]&&R&&R[0]))return new k(i.s&&r.s&&(P?!R||P[0]!=R[0]:R)?P&&0==P[0]||!R?0*N:N/0:NaN);for(_?(d=1,c=i.e-r.e):(_=Mt,d=Lt,c=kt(i.e/d)-kt(r.e/d)),S=R.length,A=P.length,v=new k(N),x=v.d=[],u=0;R[u]==(P[u]||0);u++);if(R[u]>(P[u]||0)&&c--,null==s?(C=s=k.precision,o=k.rounding):C=a?s+(i.e-r.e)+1:s,C<0)x.push(1),f=!0;else{if(C=C/d+2|0,u=0,1==S){for(p=0,R=R[0],C++;(u1&&(R=t(R,p,_),P=t(P,p,_),S=R.length,A=P.length),T=S,y=P.slice(0,S),b=y.length;b=_/2&&++I;do p=0,l=e(R,y,S,b),l<0?(w=y[0],S!=b&&(w=w*_+(y[1]||0)),p=w/I|0,p>1?(p>=_&&(p=_-1),m=t(R,p,_),g=m.length,b=y.length,l=e(m,y,g,b),1==l&&(p--,n(m,S=10;p/=10)u++;v.e=u+c*d-1,h(v,a?s+v.e+1:s,o,f)}return v}}();mt=G(Et),mt.default=mt.Decimal=mt,wt=new mt(wt),Ct=new mt(Ct),i=function(){return mt}.call(e,n,e,t),!(void 0!==i&&(t.exports=i))}(this)},function(t,e){!function(t){function e(){return!!document.createElement("canvas").getContext}function n(){if(!e())return!1;var t=document.createElement("canvas"),n=t.getContext("2d");return"function"==typeof n.fillText}function i(){var t=document.createElement("div");return"undefined"!=typeof t.style.MozTransition||"undefined"!=typeof t.style.OTransition||"undefined"!=typeof t.style.webkitTransition||"undefined"!=typeof t.style.transition}function r(t,e,n,i,r){this.axisName=t,this.position=e,this.padding=n,this.plot=i,this.opts=r,this.width=0,this.height=0}function s(t,e,n,i,s){r.prototype.constructor.call(this,t,e,n,i,s)}function o(t,e,n,i,s){r.prototype.constructor.call(this,t,e,n,i,s),this.elem=null}function a(t,e,n,i,r){o.prototype.constructor.call(this,t,e,n,i,r)}function _(t,e,n,i,r){a.prototype.constructor.call(this,t,e,n,i,r),this.requiresResize=!1}function l(e){e.hooks.processOptions.push(function(e,r){if(r.axisLabels.show){var l=!1,h={},c=2;e.hooks.draw.push(function(e,r){var u=!1;l?(l=!1,t.each(e.getAxes(),function(t,n){var i=n.options||e.getOptions()[t];i&&i.axisLabel&&n.show&&h[t].draw(n.box)})):(t.each(e.getAxes(),function(t,r){var l=r.options||e.getOptions()[t];if(t in h&&(r.labelHeight=r.labelHeight-h[t].height,r.labelWidth=r.labelWidth-h[t].width,l.labelHeight=r.labelHeight,l.labelWidth=r.labelWidth,h[t].cleanup(),delete h[t]),l&&l.axisLabel&&r.show){u=!0;var p=null;if(l.axisLabelUseHtml||"Microsoft Internet Explorer"!=navigator.appName)p=l.axisLabelUseHtml||!i()&&!n()&&!l.axisLabelUseCanvas?o:l.axisLabelUseCanvas||!i()?s:a;else{var d=navigator.userAgent,f=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");null!=f.exec(d)&&(rv=parseFloat(RegExp.$1)),p=rv>=9&&!l.axisLabelUseCanvas&&!l.axisLabelUseHtml?a:l.axisLabelUseCanvas||l.axisLabelUseHtml?l.axisLabelUseCanvas?s:o:_}var m=void 0===l.axisLabelPadding?c:l.axisLabelPadding;h[t]=new p(t,r.position,m,e,l),h[t].calculateSize(),l.labelHeight=r.labelHeight+h[t].height,l.labelWidth=r.labelWidth+h[t].width}}),u&&(l=!0,e.setupGrid(),e.draw()))})}})}var h={axisLabels:{show:!0}};r.prototype.cleanup=function(){},s.prototype=new r,s.prototype.constructor=s,s.prototype.calculateSize=function(){this.opts.axisLabelFontSizePixels||(this.opts.axisLabelFontSizePixels=14),this.opts.axisLabelFontFamily||(this.opts.axisLabelFontFamily="sans-serif");this.opts.axisLabelFontSizePixels+this.padding,this.opts.axisLabelFontSizePixels+this.padding;"left"==this.position||"right"==this.position?(this.width=this.opts.axisLabelFontSizePixels+this.padding,this.height=0):(this.width=0,this.height=this.opts.axisLabelFontSizePixels+this.padding)},s.prototype.draw=function(t){this.opts.axisLabelColour||(this.opts.axisLabelColour="black");var e=this.plot.getCanvas().getContext("2d");e.save(),e.font=this.opts.axisLabelFontSizePixels+"px "+this.opts.axisLabelFontFamily,e.fillStyle=this.opts.axisLabelColour;var n,i,r=e.measureText(this.opts.axisLabel).width,s=this.opts.axisLabelFontSizePixels,o=0;"top"==this.position?(n=t.left+t.width/2-r/2,i=t.top+.72*s):"bottom"==this.position?(n=t.left+t.width/2-r/2,i=t.top+t.height-.72*s):"left"==this.position?(n=t.left+.72*s,i=t.height/2+t.top+r/2,o=-Math.PI/2):"right"==this.position&&(n=t.left+t.width-.72*s,i=t.height/2+t.top-r/2,o=Math.PI/2),e.translate(n,i),e.rotate(o),e.fillText(this.opts.axisLabel,0,0),e.restore()},o.prototype=new r,o.prototype.constructor=o,o.prototype.calculateSize=function(){var e=t('
'+this.opts.axisLabel+"
");this.plot.getPlaceholder().append(e),this.labelWidth=e.outerWidth(!0),this.labelHeight=e.outerHeight(!0),e.remove(),this.width=this.height=0,"left"==this.position||"right"==this.position?this.width=this.labelWidth+this.padding:this.height=this.labelHeight+this.padding},o.prototype.cleanup=function(){this.elem&&this.elem.remove()},o.prototype.draw=function(e){this.plot.getPlaceholder().find("#"+this.axisName+"Label").remove(),this.elem=t('
'+this.opts.axisLabel+"
"),this.plot.getPlaceholder().append(this.elem),"top"==this.position?(this.elem.css("left",e.left+e.width/2-this.labelWidth/2+"px"),this.elem.css("top",e.top+"px")):"bottom"==this.position?(this.elem.css("left",e.left+e.width/2-this.labelWidth/2+"px"),this.elem.css("top",e.top+e.height-this.labelHeight+"px")):"left"==this.position?(this.elem.css("top",e.top+e.height/2-this.labelHeight/2+"px"),this.elem.css("left",e.left+"px")):"right"==this.position&&(this.elem.css("top",e.top+e.height/2-this.labelHeight/2+"px"),this.elem.css("left",e.left+e.width-this.labelWidth+"px"))},a.prototype=new o,a.prototype.constructor=a,a.prototype.calculateSize=function(){o.prototype.calculateSize.call(this),this.width=this.height=0,"left"==this.position||"right"==this.position?this.width=this.labelHeight+this.padding:this.height=this.labelHeight+this.padding},a.prototype.transforms=function(t,e,n){var i={"-moz-transform":"","-webkit-transform":"","-o-transform":"","-ms-transform":""};if(0!=e||0!=n){var r=" translate("+e+"px, "+n+"px)";i["-moz-transform"]+=r,i["-webkit-transform"]+=r,i["-o-transform"]+=r,i["-ms-transform"]+=r}if(0!=t){var s=" rotate("+t+"deg)";i["-moz-transform"]+=s,i["-webkit-transform"]+=s,i["-o-transform"]+=s,i["-ms-transform"]+=s}var o="top: 0; left: 0; ";for(var a in i)i[a]&&(o+=a+":"+i[a]+";");return o+=";"},a.prototype.calculateOffsets=function(t){var e={x:0,y:0,degrees:0};return"bottom"==this.position?(e.x=t.left+t.width/2-this.labelWidth/2,e.y=t.top+t.height-this.labelHeight):"top"==this.position?(e.x=t.left+t.width/2-this.labelWidth/2,e.y=t.top):"left"==this.position?(e.degrees=-90,e.x=t.left-this.labelWidth/2+this.labelHeight/2,e.y=t.height/2+t.top):"right"==this.position&&(e.degrees=90,e.x=t.left+t.width-this.labelWidth/2-this.labelHeight/2,e.y=t.height/2+t.top),e.x=Math.round(e.x),e.y=Math.round(e.y),e},a.prototype.draw=function(e){this.plot.getPlaceholder().find("."+this.axisName+"Label").remove();var n=this.calculateOffsets(e);this.elem=t('
'+this.opts.axisLabel+"
"),this.plot.getPlaceholder().append(this.elem)},_.prototype=new a,_.prototype.constructor=_,_.prototype.transforms=function(t,e,n){var i="";if(0!=t){for(var r=t/90;r<0;)r+=4;i+=" filter: progid:DXImageTransform.Microsoft.BasicImage(rotation="+r+"); ",this.requiresResize="right"==this.position}return 0!=e&&(i+="left: "+e+"px; "),0!=n&&(i+="top: "+n+"px; "),i},_.prototype.calculateOffsets=function(t){var e=a.prototype.calculateOffsets.call(this,t);return"top"==this.position?e.y=t.top+1:"left"==this.position?(e.x=t.left,e.y=t.height/2+t.top-this.labelWidth/2):"right"==this.position&&(e.x=t.left+t.width-this.labelHeight,e.y=t.height/2+t.top-this.labelWidth/2),e},_.prototype.draw=function(t){a.prototype.draw.call(this,t),this.requiresResize&&(this.elem=this.plot.getPlaceholder().find("."+this.axisName+"Label"),this.elem.css("width",this.labelWidth),this.elem.css("height",this.labelHeight))},t.plot.plugins.push({init:l,options:h,name:"axisLabels",version:"2.0"})}(jQuery)},function(t,e){!function(t){function e(e,s){var a=s.Canvas;null==n&&(i=a.prototype.getTextInfo,r=a.prototype.addText,n=a.prototype.render),a.prototype.render=function(){if(!e.getOptions().canvas)return n.call(this);var t=this.context,i=this._textCache;t.save(),t.textBaseline="middle";for(var r in i)if(o.call(i,r)){var s=i[r];for(var a in s)if(o.call(s,a)){var _=s[a],l=!0;for(var h in _)if(o.call(_,h)){var c=_[h],u=c.positions,p=c.lines;l&&(t.fillStyle=c.font.color,t.font=c.font.definition,l=!1);for(var d,f=0;d=u[f];f++)if(d.active)for(var m,g=0;m=d.lines[g];g++)t.fillText(p[g].text,m[0],m[1]);else u.splice(f--,1);0==u.length&&delete _[h]}}}t.restore()},a.prototype.getTextInfo=function(n,r,s,o,a){if(!e.getOptions().canvas)return i.call(this,n,r,s,o,a);var _,l,h,c;if(r=""+r,_="object"==typeof s?s.style+" "+s.variant+" "+s.weight+" "+s.size+"px "+s.family:s,l=this._textCache[n],null==l&&(l=this._textCache[n]={}),h=l[_],null==h&&(h=l[_]={}),c=h[r],null==c){var u=this.context;if("object"!=typeof s){var p=t("
 
").css("position","absolute").addClass("string"==typeof s?s:null).appendTo(this.getTextLayer(n));s={lineHeight:p.height(),style:p.css("font-style"),variant:p.css("font-variant"),weight:p.css("font-weight"),family:p.css("font-family"),color:p.css("color")},s.size=p.css("line-height",1).height(),p.remove()}_=s.style+" "+s.variant+" "+s.weight+" "+s.size+"px "+s.family,c=h[r]={width:0,height:0,positions:[],lines:[],font:{definition:_,color:s.color}},u.save(),u.font=_;for(var d=(r+"").replace(/
|\r\n|\r/g,"\n").split("\n"),f=0;fr.xaxis.max||n.yr.yaxis.max)return i;var s,o,a=t.getData();for(s=0;sn.x);++o);var l,h=_.data[o-1],c=_.data[o];void 0!==h&&void 0!==c&&(l=h[1]+(c[1]-h[1])*(n.x-h[0])/(c[0]-h[0]),n.y=l,n.y1=l,i.points.push({x:n.x,y:n.y,leftPoint:h,rightPoint:c}))}return i}var f=[],g=[];t.hooks.processOptions.push(function(t){t.getOptions().cursors.forEach(function(e){t.addCursor(e)})}),t.getCursors=function(){return f},t.addCursor=function(n){var i=e(n);r(t,i,n.position),f.push(i),t.triggerRedrawOverlay()},t.removeCursor=function(e){var n=f.indexOf(e);n!==-1&&f.splice(n,1),t.triggerRedrawOverlay()},t.setCursor=function(e,n){var s=f.indexOf(e);s!==-1&&(i(n,f[s]),r(t,f[s],f[s].position),t.triggerRedrawOverlay())},t.setMultipleCursors=function(e,n){if(e.length===n.length){for(var s=0;sr/2?(l-=C.labelPadding,o="right"):l+=C.labelPadding,_>s/2?_-=C.labelPadding*(i-n)+a*(i-1-n):_+=C.labelPadding*(n+1)+a*(n+1),{x:l,y:_,textAlign:o}}function a(t){return("number"==typeof t.showValuesRelativeToSeries?1:0)+(t.showLabel?1:0)}function _(t){return 0}function l(t){return t.showLabel?1:0}function h(t,e,n){if(n.showLabel){e.beginPath();var i=(Number(n.fontSize.substring(0,n.fontSize.length-2)),o(t,n,_(n),a(n)));e.fillStyle=n.color,e.textAlign=i.textAlign,e.font=n.fontStyle+" "+n.fontWeight+" "+n.fontSize+" "+n.fontFamily,e.fillText(n.name,i.x,i.y),e.textAlign="left",e.stroke()}}function c(t,e,n,i,r,s,o,a,_){var l=Number(a.substring(0,a.length-2));switch(r){case"left":var h=t.measureText(e).width;n=n-h-C.iRectSize,i=i;break;case"bottom-left":var h=t.measureText(e).width;n=n-h-C.iRectSize,i+=l;break;case"top-left":var h=t.measureText(e).width;n=n-h-C.iRectSize,i-=C.iRectSize;break;case"top-right":n+=C.iRectSize,i-=C.iRectSize;break;case"right":n+=C.iRectSize,i=i;break;case"bottom-right":default:n+=C.iRectSize,i+=l}t.textBaseline="middle",t.font=s+" "+o+" "+a+" "+_,t.fillText(e,n,i)}function u(t,e,n){if(n.showIntersections&&g(n)){if(e.beginPath(),void 0===n.intersections)return;n.intersections.points.forEach(function(i,r){if("object"!=typeof n.showIntersections||n.showIntersections.indexOf(r)!==-1){var s=t.p2c(i);e.fillStyle=n.intersectionColor,e.fillRect(Math.floor(s.left)-C.iRectSize/2,Math.floor(s.top)-C.iRectSize/2,C.iRectSize,C.iRectSize);var o;o="function"==typeof n.formatIntersectionData?n.formatIntersectionData(i):i.y.toFixed(2),c(e,o,s.left,s.top,n.intersectionLabelPosition,n.fontStyle,n.fontWeight,n.fontSize,n.fontFamily)}}),e.stroke()}}function p(t,e,n){if("number"==typeof n.showValuesRelativeToSeries){e.beginPath();var i=t.getData(),r=i[n.showValuesRelativeToSeries],s=r.xaxis,_=r.yaxis,h=""+s.c2p(n.x).toFixed(2)+", "+_.c2p(n.y).toFixed(2),c=o(t,n,l(n),a(n));e.fillStyle=n.color,e.textAlign=c.textAlign,e.font=n.fontStyle+" "+n.fontWeight+" "+n.fontSize+" "+n.fontFamily,e.fillText(h,c.x,c.y),e.textAlign="left",e.stroke()}}function d(t,e,n){var i=t.height();if(0!==n.lineWidth){if(n.fullHeight){var r=t.getCanvas();i=r.height}var s=n.lineWidth%2?.5:0;if(e.strokeStyle=n.color,e.lineWidth=n.lineWidth,e.lineJoin="round",e.beginPath(),n.mode.indexOf("x")!==-1){var o=Math.floor(n.x)+s;if(n.dashes<=0)e.moveTo(o,0),e.lineTo(o,i);else for(var a=2*n.dashes-1,_=i/a,l=0;ln.x-o&&rn.y-o&&sn.x-C.mouseGrabMargin&&ro&&sn.y-C.mouseGrabMargin&&so&&r=1?"rgb("+[s.r,s.g,s.b].join(",")+")":"rgba("+[s.r,s.g,s.b,s.a].join(",")+")"},s.normalize=function(){function t(t,e,n){return en?n:e}return s.r=t(0,parseInt(s.r),255),s.g=t(0,parseInt(s.g),255),s.b=t(0,parseInt(s.b),255),s.a=t(0,s.a,1),s},s.clone=function(){return t.color.make(s.r,s.b,s.g,s.a)},s.normalize()},t.color.extract=function(e,n){var i;do{if(i=e.css(n).toLowerCase(),""!=i&&"transparent"!=i)break;e=e.parent()}while(e.length&&!t.nodeName(e.get(0),"body"));return"rgba(0, 0, 0, 0)"==i&&(i="transparent"),t.color.parse(i)},t.color.parse=function(n){var i,r=t.color.make;if(i=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(n))return r(parseInt(i[1],10),parseInt(i[2],10),parseInt(i[3],10));if(i=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(n))return r(parseInt(i[1],10),parseInt(i[2],10),parseInt(i[3],10),parseFloat(i[4]));if(i=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(n))return r(2.55*parseFloat(i[1]),2.55*parseFloat(i[2]),2.55*parseFloat(i[3]));if(i=/rgba\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(n))return r(2.55*parseFloat(i[1]),2.55*parseFloat(i[2]),2.55*parseFloat(i[3]),parseFloat(i[4]));if(i=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(n))return r(parseInt(i[1],16),parseInt(i[2],16),parseInt(i[3],16));if(i=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(n))return r(parseInt(i[1]+i[1],16),parseInt(i[2]+i[2],16),parseInt(i[3]+i[3],16));var s=t.trim(n).toLowerCase();return"transparent"==s?r(255,255,255,0):(i=e[s]||[0,0,0],r(i[0],i[1],i[2]))};var e={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]}}(jQuery),function(t){function e(e,n){var i=n.children("."+e)[0];if(null==i&&(i=document.createElement("canvas"),i.className=e,t(i).css({direction:"ltr",position:"absolute",left:0,top:0}).appendTo(n),!i.getContext)){if(!window.G_vmlCanvasManager)throw new Error("Canvas is not available. If you're using IE with a fall-back such as Excanvas, then there's either a mistake in your conditional include, or the page has no DOCTYPE and is rendering in Quirks Mode.");i=window.G_vmlCanvasManager.initElement(i)}this.element=i;var r=this.context=i.getContext("2d"),s=window.devicePixelRatio||1,o=r.webkitBackingStorePixelRatio||r.mozBackingStorePixelRatio||r.msBackingStorePixelRatio||r.oBackingStorePixelRatio||r.backingStorePixelRatio||1;this.pixelRatio=s/o,this.resize(n.width(),n.height()),this.textContainer=null,this.text={},this._textCache={}}function n(n,r,s,o){function a(t,e){e=[mt].concat(e);for(var n=0;ni&&(i=r))}n<=i&&(n=i+1);var s,o=[],a=rt.colors,_=a.length,l=0;for(e=0;e=0?l<.5?-l-.2:0:-l),o[e]=s.scale("rgb",1+l);var h,c=0;for(e=0;et.datamax&&n!=v&&(t.datamax=n)}var n,i,r,s,o,_,l,h,c,u,d,f,m=Number.POSITIVE_INFINITY,g=Number.NEGATIVE_INFINITY,v=Number.MAX_VALUE;for(t.each(p(),function(t,e){e.datamin=m,e.datamax=g,e.used=!1}),n=0;n0&&null!=_[r-l]&&_[r-l]!=_[r]&&_[r-l+1]!=_[r+1]){for(s=0;sE&&(E=h)),c.y&&(hT&&(T=h)));if(o.bars.show){var A;switch(o.bars.align){case"left":A=0;break;case"right":A=-o.bars.barWidth;break;default:A=-o.bars.barWidth/2}o.bars.horizontal?(C+=A,T+=A+o.bars.barWidth):(w+=A,E+=A+o.bars.barWidth)}e(o.xaxis,w,E),e(o.yaxis,C,T)}t.each(p(),function(t,e){e.datamin==m&&(e.datamin=null),e.datamax==g&&(e.datamax=null)})}function x(){n.css("padding",0).children().filter(function(){return!t(this).hasClass("flot-overlay")&&!t(this).hasClass("flot-base")}).remove(),"static"==n.css("position")&&n.css("position","relative"),st=new e("flot-base",n),ot=new e("flot-overlay",n),_t=st.context,lt=ot.context,at=t(ot.element).unbind();var i=n.data("plot");i&&(i.shutdown(),ot.clear()),n.data("plot",mt)}function y(){rt.grid.hoverable&&(at.mousemove(G),at.bind("mouseleave",W)),rt.grid.clickable&&at.click(Y),a(ft.bindEvents,[at])}function b(){vt&&clearTimeout(vt),at.unbind("mousemove",G),at.unbind("mouseleave",W),at.unbind("click",Y),a(ft.shutdown,[at])}function w(t){function e(t){return t}var n,i,r=t.options.transform||e,s=t.options.inverseTransform;"x"==t.direction?(n=t.scale=pt/Math.abs(r(t.max)-r(t.min)),i=Math.min(r(t.max),r(t.min))):(n=t.scale=dt/Math.abs(r(t.max)-r(t.min)),n=-n,i=Math.max(r(t.max),r(t.min))),r==e?t.p2c=function(t){return(t-i)*n}:t.p2c=function(t){return(r(t)-i)*n},s?t.c2p=function(t){return s(i+t/n)}:t.c2p=function(t){return i+t/n}}function C(t){for(var e=t.options,n=t.ticks||[],i=e.labelWidth||0,r=e.labelHeight||0,s=i||("x"==t.direction?Math.floor(st.width/(n.length||1)):null),o=t.direction+"Axis "+t.direction+t.n+"Axis",a="flot-"+t.direction+"-axis flot-"+t.direction+t.n+"-axis "+o,_=e.font||"flot-tick-label tickLabel",l=0;l=0;--e)E(o[e]);A(),t.each(o,function(t,e){T(e)})}pt=st.width-ut.left-ut.right,dt=st.height-ut.bottom-ut.top,t.each(n,function(t,e){w(e)}),i&&M(),U()}function S(t){var e=t.options,n=+(null!=e.min?e.min:t.datamin),i=+(null!=e.max?e.max:t.datamax),r=i-n;if(0==r){var s=0==i?1:.01;null==e.min&&(n-=s),null!=e.max&&null==e.min||(i+=s)}else{var o=e.autoscaleMargin;null!=o&&(null==e.min&&(n-=r*o,n<0&&null!=t.datamin&&t.datamin>=0&&(n=0)),null==e.max&&(i+=r*o,i>0&&null!=t.datamax&&t.datamax<=0&&(i=0)))}t.min=n,t.max=i}function O(e){var n,r=e.options;n="number"==typeof r.ticks&&r.ticks>0?r.ticks:.3*Math.sqrt("x"==e.direction?st.width:st.height);var s=(e.max-e.min)/n,o=-Math.floor(Math.log(s)/Math.LN10),a=r.tickDecimals;null!=a&&o>a&&(o=a);var _,l=Math.pow(10,-o),h=s/l;if(h<1.5?_=1:h<3?(_=2,h>2.25&&(null==a||o+1<=a)&&(_=2.5,++o)):_=h<7.5?5:10,_*=l,null!=r.minTickSize&&_0&&(null==r.min&&(e.min=Math.min(e.min,u[0])),null==r.max&&u.length>1&&(e.max=Math.max(e.max,u[u.length-1]))),e.tickGenerator=function(t){var e,n,i=[];for(n=0;n1&&/\..*0$/.test((d[1]-d[0]).toFixed(p))||(e.tickDecimals=p)}}}}function k(e){var n=e.options.ticks,i=[];null==n||"number"==typeof n&&n>0?i=e.tickGenerator(e):n&&(i=t.isFunction(n)?n(e):n);var r,s;for(e.ticks=[],r=0;r1&&(o=a[1])):s=+a,null==o&&(o=e.tickFormatter(s,e)),isNaN(s)||e.ticks.push({v:s,label:o})}}function N(t,e){t.options.autoscaleMargin&&e.length>0&&(null==t.options.min&&(t.min=Math.min(t.min,e[0].v)),null==t.options.max&&e.length>1&&(t.max=Math.max(t.max,e[e.length-1].v)))}function P(){st.clear(),a(ft.drawBackground,[_t]);var t=rt.grid;t.show&&t.backgroundColor&&D(),t.show&&!t.aboveData&&j();for(var e=0;er){var _=i;i=r,r=_}return{from:i,to:r,axis:n}}function D(){_t.save(),_t.translate(ut.left,ut.top),_t.fillStyle=nt(rt.grid.backgroundColor,dt,0,"rgba(255, 255, 255, 0)"),_t.fillRect(0,0,pt,dt),_t.restore()}function j(){var e,n,i,r;_t.save(),_t.translate(ut.left,ut.top);var s=rt.grid.markings;if(s)for(t.isFunction(s)&&(n=mt.getAxes(),n.xmin=n.xaxis.min,n.xmax=n.xaxis.max,n.ymin=n.yaxis.min,n.ymax=n.yaxis.max,s=s(n)),e=0;ea.axis.max||_.to<_.axis.min||_.from>_.axis.max)){a.from=Math.max(a.from,a.axis.min),a.to=Math.min(a.to,a.axis.max),_.from=Math.max(_.from,_.axis.min),_.to=Math.min(_.to,_.axis.max);var l=a.from===a.to,h=_.from===_.to;if(!l||!h)if(a.from=Math.floor(a.axis.p2c(a.from)),a.to=Math.floor(a.axis.p2c(a.to)),_.from=Math.floor(_.axis.p2c(_.from)),_.to=Math.floor(_.axis.p2c(_.to)),l||h){var c=o.lineWidth||rt.grid.markingsLineWidth,u=c%2?.5:0;_t.beginPath(),_t.strokeStyle=o.color||rt.grid.markingsColor,_t.lineWidth=c,l?(_t.moveTo(a.to+u,_.from),_t.lineTo(a.to+u,_.to)):(_t.moveTo(a.from,_.to+u),_t.lineTo(a.to,_.to+u)),_t.stroke()}else _t.fillStyle=o.color||rt.grid.markingsColor,_t.fillRect(a.from,_.to,a.to-a.from,_.from-_.to)}}n=p(),i=rt.grid.borderWidth;for(var d=0;dx.max||"full"==b&&("object"==typeof i&&i[x.position]>0||i>0)&&(w==x.min||w==x.max)||("x"==x.direction?(f=x.p2c(w),v="full"==b?-dt:b,"top"==x.position&&(v=-v)):(m=x.p2c(w),g="full"==b?-pt:b,"left"==x.position&&(g=-g)),1==_t.lineWidth&&("x"==x.direction?f=Math.floor(f)+.5:m=Math.floor(m)+.5),_t.moveTo(f,m),_t.lineTo(f+g,m+v))}_t.stroke()}}i&&(r=rt.grid.borderColor,"object"==typeof i||"object"==typeof r?("object"!=typeof i&&(i={top:i,right:i,bottom:i,left:i}),"object"!=typeof r&&(r={top:r,right:r,bottom:r,left:r}),i.top>0&&(_t.strokeStyle=r.top,_t.lineWidth=i.top,_t.beginPath(),_t.moveTo(0-i.left,0-i.top/2),_t.lineTo(pt,0-i.top/2),_t.stroke()),i.right>0&&(_t.strokeStyle=r.right,_t.lineWidth=i.right,_t.beginPath(),_t.moveTo(pt+i.right/2,0-i.top),_t.lineTo(pt+i.right/2,dt),_t.stroke()),i.bottom>0&&(_t.strokeStyle=r.bottom,_t.lineWidth=i.bottom,_t.beginPath(),_t.moveTo(pt+i.right,dt+i.bottom/2),_t.lineTo(0,dt+i.bottom/2),_t.stroke()),i.left>0&&(_t.strokeStyle=r.left,_t.lineWidth=i.left,_t.beginPath(),_t.moveTo(0-i.left/2,dt+i.bottom),_t.lineTo(0-i.left/2,0),_t.stroke())):(_t.lineWidth=i,_t.strokeStyle=rt.grid.borderColor,_t.strokeRect(-i/2,-i/2,pt+i,dt+i))),_t.restore()}function M(){t.each(p(),function(t,e){var n,i,r,s,o,a=e.box,_=e.direction+"Axis "+e.direction+e.n+"Axis",l="flot-"+e.direction+"-axis flot-"+e.direction+e.n+"-axis "+_,h=e.options.font||"flot-tick-label tickLabel";if(st.removeText(l),e.show&&0!=e.ticks.length)for(var c=0;ce.max||("x"==e.direction?(s="center",i=ut.left+e.p2c(n.v),"bottom"==e.position?r=a.top+a.padding:(r=a.top+a.height-a.padding,o="bottom")):(o="middle",r=ut.top+e.p2c(n.v),"left"==e.position?(i=a.left+a.width-a.padding,s="right"):i=a.left+a.padding),st.addText(l,i,r,n.label,h,null,null,s,o))})}function L(t){t.lines.show&&B(t),t.bars.show&&V(t),t.points.show&&F(t)}function B(t){function e(t,e,n,i,r){var s=t.points,o=t.pointsize,a=null,_=null;_t.beginPath();for(var l=o;l=p&&c>r.max){if(p>r.max)continue;h=(r.max-c)/(p-c)*(u-h)+h,c=r.max}else if(p>=c&&p>r.max){if(c>r.max)continue;u=(r.max-c)/(p-c)*(u-h)+h,p=r.max}if(h<=u&&h=u&&h>i.max){if(u>i.max)continue;c=(i.max-h)/(u-h)*(p-c)+c,h=i.max}else if(u>=h&&u>i.max){if(h>i.max)continue;p=(i.max-h)/(u-h)*(p-c)+c,u=i.max}h==a&&c==_||_t.moveTo(i.p2c(h)+e,r.p2c(c)+n),a=u,_=p,_t.lineTo(i.p2c(u)+e,r.p2c(p)+n)}}_t.stroke()}function n(t,e,n){for(var i=t.points,r=t.pointsize,s=Math.min(Math.max(0,n.min),n.max),o=0,a=!1,_=1,l=0,h=0;;){if(r>0&&o>i.length+r)break;o+=r;var c=i[o-r],u=i[o-r+_],p=i[o],d=i[o+_];if(a){if(r>0&&null!=c&&null==p){h=o,r=-r,_=2;continue}if(r<0&&o==l+r){_t.fill(),a=!1,r=-r,_=1,o=l=h+r;continue}}if(null!=c&&null!=p){if(c<=p&&c=p&&c>e.max){if(p>e.max)continue;u=(e.max-c)/(p-c)*(d-u)+u,c=e.max}else if(p>=c&&p>e.max){if(c>e.max)continue;d=(e.max-c)/(p-c)*(d-u)+u,p=e.max}if(a||(_t.beginPath(),_t.moveTo(e.p2c(c),n.p2c(s)),a=!0),u>=n.max&&d>=n.max)_t.lineTo(e.p2c(c),n.p2c(n.max)),_t.lineTo(e.p2c(p),n.p2c(n.max));else if(u<=n.min&&d<=n.min)_t.lineTo(e.p2c(c),n.p2c(n.min)),_t.lineTo(e.p2c(p),n.p2c(n.min));else{var f=c,m=p;u<=d&&u=n.min?(c=(n.min-u)/(d-u)*(p-c)+c,u=n.min):d<=u&&d=n.min&&(p=(n.min-u)/(d-u)*(p-c)+c,d=n.min),u>=d&&u>n.max&&d<=n.max?(c=(n.max-u)/(d-u)*(p-c)+c,u=n.max):d>=u&&d>n.max&&u<=n.max&&(p=(n.max-u)/(d-u)*(p-c)+c,d=n.max),c!=f&&_t.lineTo(e.p2c(f),n.p2c(u)),_t.lineTo(e.p2c(c),n.p2c(u)),_t.lineTo(e.p2c(p),n.p2c(d)),p!=m&&(_t.lineTo(e.p2c(p),n.p2c(d)),_t.lineTo(e.p2c(m),n.p2c(d)))}}}}_t.save(),_t.translate(ut.left,ut.top),_t.lineJoin="round";var i=t.lines.lineWidth,r=t.shadowSize;if(i>0&&r>0){_t.lineWidth=r,_t.strokeStyle="rgba(0,0,0,0.1)";var s=Math.PI/18;e(t.datapoints,Math.sin(s)*(i/2+r/2),Math.cos(s)*(i/2+r/2),t.xaxis,t.yaxis),_t.lineWidth=r/2,e(t.datapoints,Math.sin(s)*(i/2+r/4),Math.cos(s)*(i/2+r/4),t.xaxis,t.yaxis)}_t.lineWidth=i,_t.strokeStyle=t.color;var o=H(t.lines,t.color,0,dt);o&&(_t.fillStyle=o,n(t.datapoints,t.xaxis,t.yaxis)),i>0&&e(t.datapoints,0,0,t.xaxis,t.yaxis),_t.restore()}function F(t){function e(t,e,n,i,r,s,o,a){for(var _=t.points,l=t.pointsize,h=0;h<_.length;h+=l){var c=_[h],u=_[h+1];null==c||cs.max||uo.max||(_t.beginPath(),c=s.p2c(c),u=o.p2c(u)+i,"circle"==a?_t.arc(c,u,e,0,r?Math.PI:2*Math.PI,!1):a(_t,c,u,e,r),_t.closePath(),n&&(_t.fillStyle=n,_t.fill()),_t.stroke())}}_t.save(),_t.translate(ut.left,ut.top);var n=t.points.lineWidth,i=t.shadowSize,r=t.points.radius,s=t.points.symbol;if(0==n&&(n=1e-4),n>0&&i>0){var o=i/2;_t.lineWidth=o,_t.strokeStyle="rgba(0,0,0,0.1)",e(t.datapoints,r,null,o+o/2,!0,t.xaxis,t.yaxis,s),_t.strokeStyle="rgba(0,0,0,0.2)",e(t.datapoints,r,null,o/2,!0,t.xaxis,t.yaxis,s)}_t.lineWidth=n,_t.strokeStyle=t.color,e(t.datapoints,r,H(t.points,t.color),0,!1,t.xaxis,t.yaxis,s),_t.restore()}function q(t,e,n,i,r,s,o,a,_,l,h){var c,u,p,d,f,m,g,v,x;l?(v=m=g=!0,f=!1,c=n,u=t,d=e+i,p=e+r,uo.max||da.max||(co.max&&(u=o.max,m=!1),pa.max&&(d=a.max,g=!1),c=o.p2c(c),p=a.p2c(p),u=o.p2c(u),d=a.p2c(d),s&&(_.fillStyle=s(p,d),_.fillRect(c,d,u-c,p-d)),h>0&&(f||m||g||v)&&(_.beginPath(),_.moveTo(c,p),f?_.lineTo(c,d):_.moveTo(c,d),g?_.lineTo(u,d):_.moveTo(u,d),m?_.lineTo(u,p):_.moveTo(u,p),v?_.lineTo(c,p):_.moveTo(c,p),_.stroke()))}function V(t){function e(e,n,i,r,s,o){for(var a=e.points,_=e.pointsize,l=0;l"),r.push(""),o=!0),r.push('
'+h.label+"")}if(o&&r.push(""),0!=r.length){var c=''+r.join("")+"
";if(null!=rt.legend.container)t(rt.legend.container).html(c);else{var u="",p=rt.legend.position,d=rt.legend.margin;null==d[0]&&(d=[d,d]),"n"==p.charAt(0)?u+="top:"+(d[1]+ut.top)+"px;":"s"==p.charAt(0)&&(u+="bottom:"+(d[1]+ut.bottom)+"px;"),"e"==p.charAt(1)?u+="right:"+(d[0]+ut.right)+"px;":"w"==p.charAt(1)&&(u+="left:"+(d[0]+ut.left)+"px;");var f=t('
'+c.replace('style="','style="position:absolute;'+u+";")+"
").appendTo(n);if(0!=rt.legend.backgroundOpacity){var m=rt.legend.backgroundColor;null==m&&(m=rt.grid.backgroundColor,m=m&&"string"==typeof m?t.color.parse(m):t.color.extract(f,"background-color"),m.a=1,m=m.toString());var g=f.children();t('
').prependTo(f).css("opacity",rt.legend.backgroundOpacity)}}}}}function z(t,e,n){var i,r,s,o=rt.grid.mouseActiveRadius,a=o*o+1,_=null;for(i=it.length-1;i>=0;--i)if(n(it[i])){var l=it[i],h=l.xaxis,c=l.yaxis,u=l.datapoints.points,p=h.c2p(t),d=c.c2p(e),f=o/h.scale,m=o/c.scale;if(s=l.datapoints.pointsize,h.options.inverseTransform&&(f=Number.MAX_VALUE),c.options.inverseTransform&&(m=Number.MAX_VALUE),l.lines.show||l.points.show)for(r=0;rf||g-p<-f||v-d>m||v-d<-m)){var x=Math.abs(h.p2c(g)-t),y=Math.abs(c.p2c(v)-e),b=x*x+y*y;b=Math.min(E,g)&&d>=v+w&&d<=v+C:p>=g+w&&p<=g+C&&d>=Math.min(E,v)&&d<=Math.max(E,v))&&(_=[i,r/s])}}}return _?(i=_[0],r=_[1],s=it[i].datapoints.pointsize,{datapoint:it[i].datapoints.points.slice(r*s,(r+1)*s),dataIndex:r,series:it[i],seriesIndex:i}):null}function G(t){rt.grid.hoverable&&$("plothover",t,function(t){return 0!=t.hoverable})}function W(t){rt.grid.hoverable&&$("plothover",t,function(t){return!1})}function Y(t){$("plotclick",t,function(t){return 0!=t.clickable})}function $(t,e,i){var r=at.offset(),s=e.pageX-r.left-ut.left,o=e.pageY-r.top-ut.top,a=d({left:s,top:o});a.pageX=e.pageX,a.pageY=e.pageY;var _=z(s,o,i);if(_&&(_.pageX=parseInt(_.series.xaxis.p2c(_.datapoint[0])+r.left+ut.left,10),_.pageY=parseInt(_.series.yaxis.p2c(_.datapoint[1])+r.top+ut.top,10)),rt.grid.autoHighlight){for(var l=0;ls.max||ro.max)){var _=e.points.radius+e.points.lineWidth/2;lt.lineWidth=_,lt.strokeStyle=a;var l=1.5*_;i=s.p2c(i),r=o.p2c(r),lt.beginPath(),"circle"==e.points.symbol?lt.arc(i,r,l,0,2*Math.PI,!1):e.points.symbol(lt,i,r,l,!1),lt.closePath(),lt.stroke()}}function et(e,n){var i,r="string"==typeof e.highlightColor?e.highlightColor:t.color.parse(e.color).scale("a",.5).toString(),s=r;switch(e.bars.align){case"left":i=0;break;case"right":i=-e.bars.barWidth;break;default:i=-e.bars.barWidth/2}lt.lineWidth=e.bars.lineWidth,lt.strokeStyle=r,q(n[0],n[1],n[2]||0,i,i+e.bars.barWidth,function(){return s},e.xaxis,e.yaxis,lt,e.bars.horizontal,e.bars.lineWidth)}function nt(e,n,i,r){if("string"==typeof e)return e;for(var s=_t.createLinearGradient(0,i,0,n),o=0,a=e.colors.length;o").css({position:"absolute",top:0,left:0,bottom:0,right:0,"font-size":"smaller",color:"#545454"}).insertAfter(this.element)),n=this.text[e]=t("
").addClass(e).css({position:"absolute",top:0,left:0,bottom:0,right:0}).appendTo(this.textContainer)),n},e.prototype.getTextInfo=function(e,n,i,r,s){var o,a,_,l;if(n=""+n,o="object"==typeof i?i.style+" "+i.variant+" "+i.weight+" "+i.size+"px/"+i.lineHeight+"px "+i.family:i,a=this._textCache[e],null==a&&(a=this._textCache[e]={}),_=a[o],null==_&&(_=a[o]={}),l=_[n],null==l){var h=t("
").html(n).css({position:"absolute","max-width":s,top:-9999}).appendTo(this.getTextLayer(e));"object"==typeof i?h.css({font:o,color:i.color}):"string"==typeof i&&h.addClass(i),l=_[n]={width:h.outerWidth(!0),height:h.outerHeight(!0),element:h,positions:[]},h.detach()}return l},e.prototype.addText=function(t,e,n,i,r,s,o,a,_){var l=this.getTextInfo(t,i,r,s,o),h=l.positions;"center"==a?e-=l.width/2:"right"==a&&(e-=l.width),"middle"==_?n-=l.height/2:"bottom"==_&&(n-=l.height);for(var c,u=0;c=h[u];u++)if(c.x==e&&c.y==n)return void(c.active=!0);c={active:!0,rendered:!1,element:h.length?l.element.clone():l.element,x:e,y:n},h.push(c),c.element.css({top:Math.round(n),left:Math.round(e),"text-align":a})},e.prototype.removeText=function(t,e,n,i,s,o){if(null==i){var a=this._textCache[t];if(null!=a)for(var _ in a)if(r.call(a,_)){var l=a[_];for(var h in l)if(r.call(l,h))for(var c,u=l[h].positions,p=0;c=u[p];p++)c.active=!1}}else for(var c,u=this.getTextInfo(t,i,s,o).positions,p=0;c=u[p];p++)c.x==e&&c.y==n&&(c.active=!1)},t.plot=function(e,i,r){var s=new n(t(e),i,r,t.plot.plugins);return s},t.plot.version="0.8.3",t.plot.plugins=[],t.fn.plot=function(e,n){return this.each(function(){t.plot(this,e,n)})}}(jQuery)},function(t,e){!function(t,e,n){"$:nomunge";function i(n){a===!0&&(a=n||1);for(var _=s.length-1;_>=0;_--){var u=t(s[_]);if(u[0]==e||u.is(":visible")){var p=u.width(),d=u.height(),f=u.data(h);!f||p===f.w&&d===f.h||(u.trigger(l,[f.w=p,f.h=d]),a=n||!0)}else f=u.data(h),f.w=0,f.h=0}null!==r&&(a&&(null==n||n-a<1e3)?r=e.requestAnimationFrame(i):(r=setTimeout(i,o[c]),a=!1))}var r,s=[],o=t.resize=t.extend(t.resize,{}),a=!1,_="setTimeout",l="resize",h=l+"-special-event",c="pendingDelay",u="activeDelay",p="throttleWindow";o[c]=200,o[u]=20,o[p]=!0,t.event.special[l]={setup:function(){if(!o[p]&&this[_])return!1;var e=t(this);s.push(this),e.data(h,{w:e.width(),h:e.height()}),1===s.length&&(r=n,i())},teardown:function(){if(!o[p]&&this[_])return!1;for(var e=t(this),n=s.length-1;n>=0;n--)if(s[n]==this){s.splice(n,1);break}e.removeData(h),s.length||(a?cancelAnimationFrame(r):clearTimeout(r),r=null)},add:function(e){function i(e,i,s){var o=t(this),a=o.data(h)||{};a.w=i!==n?i:o.width(),a.h=s!==n?s:o.height(),r.apply(this,arguments)}if(!o[p]&&this[_])return!1;var r;return t.isFunction(e)?(r=e,i):(r=e.handler,void(e.handler=i))}},e.requestAnimationFrame||(e.requestAnimationFrame=function(){return e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame||function(t,e){return setTimeout(function(){t((new Date).getTime())},o[u])}}()),e.cancelAnimationFrame||(e.cancelAnimationFrame=function(){return e.webkitCancelRequestAnimationFrame||e.mozCancelRequestAnimationFrame||e.oCancelRequestAnimationFrame||e.msCancelRequestAnimationFrame||clearTimeout}())}(jQuery,this),function(t){function e(t){function e(){var e=t.getPlaceholder();0!=e.width()&&0!=e.height()&&(t.resize(),t.setupGrid(),t.draw())}function n(t,n){t.getPlaceholder().resize(e)}function i(t,n){t.getPlaceholder().unbind("resize",e)}t.hooks.bindEvents.push(n),t.hooks.shutdown.push(i)}var n={};t.plot.plugins.push({init:e,options:n,name:"resize",version:"1.0"})}(jQuery)},function(t,e){!function(t){function e(t,e,n){var r=e.points.symbol;i[r]&&(e.points.symbol=i[r])}function n(t){t.hooks.processDatapoints.push(e),t.drawSymbol=i}var i={square:function(t,e,n,i,r){var s=i*Math.sqrt(Math.PI)/2;t.rect(e-s,n-s,s+s,s+s)},diamond:function(t,e,n,i,r){var s=i*Math.sqrt(Math.PI/2);t.moveTo(e-s,n),t.lineTo(e,n-s),t.lineTo(e+s,n),t.lineTo(e,n+s),t.lineTo(e-s,n)},triangle:function(t,e,n,i,r){var s=i*Math.sqrt(2*Math.PI/Math.sin(Math.PI/3)),o=s*Math.sin(Math.PI/3);t.moveTo(e-s/2,n+o/2),t.lineTo(e+s/2,n+o/2),r||(t.lineTo(e,n-o/2),t.lineTo(e-s/2,n+o/2))},cross:function(t,e,n,i,r){var s=i*Math.sqrt(Math.PI)/2;t.moveTo(e-s,n-s),t.lineTo(e+s,n+s),t.moveTo(e-s,n+s),t.lineTo(e+s,n-s)}};t.plot.plugins.push({init:n,name:"symbols",version:"1.0"})}(jQuery)},function(t,e){!function(t){function e(e){var n=e||window.event,i=[].slice.call(arguments,1),r=0,s=0,o=0,e=t.event.fix(n);return e.type="mousewheel",n.wheelDelta&&(r=n.wheelDelta/120),n.detail&&(r=-n.detail/3),o=r,void 0!==n.axis&&n.axis===n.HORIZONTAL_AXIS&&(o=0,s=-1*r),void 0!==n.wheelDeltaY&&(o=n.wheelDeltaY/120),void 0!==n.wheelDeltaX&&(s=-1*n.wheelDeltaX/120),i.unshift(e,r,s,o),(t.event.dispatch||t.event.handle).apply(this,i)}var n=["DOMMouseScroll","mousewheel"];if(t.event.fixHooks)for(var i=n.length;i;)t.event.fixHooks[n[--i]]=t.event.mouseHooks;t.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var t=n.length;t;)this.addEventListener(n[--t],e,!1);else this.onmousewheel=e},teardown:function(){if(this.removeEventListener)for(var t=n.length;t;)this.removeEventListener(n[--t],e,!1);else this.onmousewheel=null}},t.fn.extend({mousewheel:function(t){return t?this.bind("mousewheel",t):this.trigger("mousewheel")},unmousewheel:function(t){return this.unbind("mousewheel",t)}})}(jQuery),function(t){function e(t){function e(t){function e(e){n=e.clientX,previousYPosition=e.clientY;var i=s.getAxes(),r=t.getAxes(),a=i.xaxis.min,_=i.xaxis.max,l=r.xaxis.c2p(e.clientX-t.offset().left);if((l_)&&o){if(null==s)return;var h=s.getAxes(),c=r.xaxis.c2p(e.clientX-t.offset().left),u=(h.xaxis.max-h.xaxis.min)/10,p=c-5*u,f=c+5*u;h.xaxis.options.min=p,h.xaxis.options.max=f,s.setupGrid(),s.draw(),t.updateTimelineCurtains({min:p,max:f})}t.getPlaceholder().bind("mousemove",d)}function a(e){if(n=e.originalEvent.touches[0].clientX,previousYPosition=e.originalEvent.touches[0].clientY,1===e.originalEvent.touches.length){var i=s.getAxes(),r=t.getAxes(),a=i.xaxis.min,l=i.xaxis.max,h=r.xaxis.c2p(n-t.offset().left);if((hl)&&o){if(null==s)return;var c=s.getAxes(),u=r.xaxis.c2p(n-t.offset().left),p=(c.xaxis.max-c.xaxis.min)/10,d=u-5*p,f=u+5*p;c.xaxis.options.min=d,c.xaxis.options.max=f,s.setupGrid(),s.draw(),t.updateTimelineCurtains({min:d,max:f})}t.getPlaceholder().bind("touchmove",_)}}function _(e){if(o){if(null==s)return;var i=t.getAxes(),r=i.xaxis.c2p(e.originalEvent.touches[0].clientX),a=i.xaxis.c2p(n),_=s.getAxes(),l=r-a,h=(_.xaxis.max+_.xaxis.min)/2,c=(_.xaxis.max-_.xaxis.min)/10,u=h+l,p=u-5*c,d=u+5*c;if(_.xaxis.options.min=p,_.xaxis.options.max=d,isNaN(p)||isNaN(d))return;s.setupGrid(),s.draw();var f={x:e.originalEvent.touches[0].clientX,y:e.originalEvent.touches[0].clientY,min:p,max:d,mid:u,axisNum:1,axis:"xaxis"};t.getPlaceholder().trigger("timelinePanEvent",[f]),n=e.originalEvent.touches[0].clientX,t.updateTimelineCurtains(f)}}function l(e){t.getPlaceholder().unbind("touchmove",_)}function h(e){t.getPlaceholder().unbind("mousemove",d)}function c(t,e){e<0&&r0&&r>0&&(r--,p())}function u(){t.addCursor({name:"curtain-1",mode:"x",color:"rgba(182, 191, 190, 0.5)",lineWidth:10,position:{relativeX:0,relativeY:0},show:!0,fullHeight:!0,symbol:"none",showLabel:!1,movable:!1,showIntersections:!1}),t.addCursor({name:"curtain-2",mode:"x",color:"rgba(182, 191, 190, 0.5)",lineWidth:10,position:{relativeX:1,relativeY:1},show:!0,fullHeight:!0,symbol:"none",showLabel:!1,movable:!1,showIntersections:!1}),t.addCursor({name:"band-1",mode:"x",color:"rgba(182, 191, 190, 0.5)",lineWidth:20,position:{relativeX:0,relativeY:0},show:!0,fullHeight:!0,symbol:"none",showLabel:!1,movable:!1,showIntersections:!1}),t.addCursor({name:"band-2",mode:"x",color:"rgba(182, 191, 190, 0.5)",lineWidth:20,position:{relativeX:1,relativeY:1},show:!0,fullHeight:!0,symbol:"none",showLabel:!1,movable:!1,showIntersections:!1})}function p(){if(o){if(null==s)return;s.setActiveXIndex(r),getAxes=s.getAxes();var e=(getAxes.xaxis.max+getAxes.xaxis.min)/2,n=e-5*i[r],a=e+5*i[r];getAxes.xaxis.options.min=n,getAxes.xaxis.options.max=a,t.getPlaceholder().trigger("timelineWheelRedraw",[{min:n,max:a,mid:e,perDivVal:i[r],perDivArrayIndex:r,axisNum:1,axis:"xaxis"}]),s.setupGrid(),s.draw(),t.updateTimelineCurtains({min:n,max:a})}}function d(e){if(o){if(null==s)return;var i=t.getAxes(),r=i.xaxis.c2p(e.clientX),a=i.xaxis.c2p(n),_=s.getAxes(),l=r-a,h=(_.xaxis.max+_.xaxis.min)/2,c=(_.xaxis.max-_.xaxis.min)/10,u=h+l,p=u-5*c,d=u+5*c;_.xaxis.options.min=p,_.xaxis.options.max=d, s.setupGrid(),s.draw();var f={x:e.clientX,y:e.clientY,min:p,max:d,mid:u,axisNum:1,axis:"xaxis"};t.getPlaceholder().trigger("timelinePanEvent",[f]),n=e.clientX,t.updateTimelineCurtains(f)}}function f(){if(o&&null!=s){var e=s.getAxes();t.updateTimelineCurtains({min:e.xaxis.min,max:e.xaxis.max})}}u(),t.getActiveXIndex=function(){return r},t.setActiveXIndex=function(t){r=t},t.getSecsPerDivArray=function(){return i},t.setSecsPerDivArray=function(t){i=t},t.getExistingChartRef=function(){return s},t.setExistingChartRef=function(t){s=t},t.updateExistingChart=function t(){t=!0},t.noUpdateExistingChart=function(){o=!1},t.updateTimelineCurtains=function(e){var n=t.getAxes(),i=n.xaxis.min,r=e.min,s=n.xaxis.max,o=e.max,a=t.getCursors(),_=n.xaxis.p2c(r)-n.xaxis.p2c(i)+10,l=n.xaxis.p2c(s)-n.xaxis.p2c(o)+10,h=n.xaxis.c2p(n.xaxis.p2c(r)-5),c=n.xaxis.c2p(n.xaxis.p2c(o)+5),u=n.xaxis.c2p(n.xaxis.p2c((i+r)/2)-5),p=n.xaxis.c2p(n.xaxis.p2c((s+o)/2)+5);_=_<18?0:_,l=l<18?0:l;var d=0===_?0:10,f=0===l?0:10,m=a;if(a.length>4){m=[];for(var g=0;g=Math.min(n,r)&&a.x<=Math.max(n,r)&&a.y>=Math.min(i,s)&&a.y<=Math.max(i,s))){var _=i-s,l=r-n,h=n*s-i*r;return Math.abs(_*t+l*e+h)/Math.sqrt(_*_+l*l)}var c=o(t,e,n,i),u=o(t,e,r,s);return c>u?u:c};if(r)e.showTooltip(r,s.tooltipOptions.snap?r:i);else if(s.plotOptions.series.lines.show&&s.tooltipOptions.lines===!0){var _=s.plotOptions.grid.mouseActiveRadius,l={distance:_+1},h=i;t.each(e.getData(),function(t,n){for(var r=0,_=-1,c=1;c=i.x&&(r=c-1,_=c);if(_===-1)return void e.hideTooltip();var u={x:n.data[r][0],y:n.data[r][1]},p={x:n.data[_][0],y:n.data[_][1]},d=a(n.xaxis.p2c(i.x),n.yaxis.p2c(i.y),n.xaxis.p2c(u.x),n.yaxis.p2c(u.y),n.xaxis.p2c(p.x),n.yaxis.p2c(p.y),!1);if(dt(window)[s.wfunc]()-i&&(e.x-=i,e.x=Math.max(e.x,0)),e.y-t(window).scrollTop()>t(window)[s.hfunc]()-r&&(e.y-=r),isNaN(e.x)?s.tipPosition.x=s.tipPosition.xPrev:(s.tipPosition.x=e.x,s.tipPosition.xPrev=e.x),isNaN(e.y)?s.tipPosition.y=s.tipPosition.yPrev:(s.tipPosition.y=e.y,s.tipPosition.yPrev=e.y)},e.showTooltip=function(t,n,i){var r=s.getDomElement(),o=s.stringFormat(s.tooltipOptions.content,t);""!==o&&(r.html(o),e.setTooltipPosition({x:s.tipPosition.x,y:s.tipPosition.y}),r.css({left:s.tipPosition.x+s.tooltipOptions.shifts.x,top:s.tipPosition.y+s.tooltipOptions.shifts.y}).show(),"function"==typeof s.tooltipOptions.onHover&&s.tooltipOptions.onHover(t,r))},e.hideTooltip=function(){s.getDomElement().hide().html("")},e.removeTooltip=function(){s.getDomElement().remove()}},n.prototype.getDomElement=function(){var e=t("
");return this.tooltipOptions&&this.tooltipOptions.cssClass&&(e=t("."+this.tooltipOptions.cssClass),0===e.length&&(e=t("
").addClass(this.tooltipOptions.cssClass),e.appendTo("body").hide().css({position:"absolute"}),this.tooltipOptions.defaultTheme&&e.css({background:"#fff","z-index":"1040",padding:"0.4em 0.6em","border-radius":"0.5em","font-size":"0.8em",border:"1px solid #111",display:"none","white-space":"nowrap"}))),e},n.prototype.stringFormat=function(t,e){var n,i,r,s,o,a=/%p\.{0,1}(\d{0,})/,_=/%s/,l=/%c/,h=/%lx/,c=/%ly/,u=/%x\.{0,1}(\d{0,})/,p=/%y\.{0,1}(\d{0,})/,d="%x",f="%y",m="%ct",g="%n";if("undefined"!=typeof e.series.threshold?(n=e.datapoint[0],i=e.datapoint[1],r=e.datapoint[2]):"undefined"!=typeof e.series.curvedLines?(n=e.datapoint[0],i=e.datapoint[1]):"undefined"!=typeof e.series.lines&&e.series.lines.steps?(n=e.series.datapoints.points[2*e.dataIndex],i=e.series.datapoints.points[2*e.dataIndex+1],r=""):(n=e.series.data[e.dataIndex][0],i=e.series.data[e.dataIndex][1],r=e.series.data[e.dataIndex][2]),null===e.series.label&&e.series.originSeries&&(e.series.label=e.series.originSeries.label),"function"==typeof t&&(t=t(e.series.label,n,i,e)),"boolean"==typeof t&&!t)return"";if(r&&(t=t.replace(m,r)),"undefined"!=typeof e.series.percent?s=e.series.percent:"undefined"!=typeof e.series.percents&&(s=e.series.percents[e.dataIndex]),"number"==typeof s&&(t=this.adjustValPrecision(a,t,s)),e.series.hasOwnProperty("pie")&&"undefined"!=typeof e.series.data[0][1]&&(o=e.series.data[0][1]),"number"==typeof o&&(t=t.replace(g,o)),t="undefined"!=typeof e.series.label?t.replace(_,e.series.label):t.replace(_,""),t="undefined"!=typeof e.series.color?t.replace(l,e.series.color):t.replace(l,""),t=this.hasAxisLabel("xaxis",e)?t.replace(h,e.series.xaxis.options.axisLabel):t.replace(h,""),t=this.hasAxisLabel("yaxis",e)?t.replace(c,e.series.yaxis.options.axisLabel):t.replace(c,""),this.isTimeMode("xaxis",e)&&this.isXDateFormat(e)&&(t=t.replace(u,this.timestampToDate(n,this.tooltipOptions.xDateFormat,e.series.xaxis.options))),this.isTimeMode("yaxis",e)&&this.isYDateFormat(e)&&(t=t.replace(p,this.timestampToDate(i,this.tooltipOptions.yDateFormat,e.series.yaxis.options))),"number"==typeof n&&(t=this.adjustValPrecision(u,t,n)),"number"==typeof i&&(t=this.adjustValPrecision(p,t,i)),"undefined"!=typeof e.series.xaxis.ticks){var v;v=this.hasRotatedXAxisTicks(e)?"rotatedTicks":"ticks";var x=e.dataIndex+e.seriesIndex;for(var y in e.series.xaxis[v])if(e.series.xaxis[v].hasOwnProperty(x)&&!this.isTimeMode("xaxis",e)){var b=this.isCategoriesMode("xaxis",e)?e.series.xaxis[v][x].label:e.series.xaxis[v][x].v;b===n&&(t=t.replace(u,e.series.xaxis[v][x].label.replace(/\$/g,"$$$$")))}}if("undefined"!=typeof e.series.yaxis.ticks)for(var w in e.series.yaxis.ticks)if(e.series.yaxis.ticks.hasOwnProperty(w)){var C=this.isCategoriesMode("yaxis",e)?e.series.yaxis.ticks[w].label:e.series.yaxis.ticks[w].v;C===i&&(t=t.replace(p,e.series.yaxis.ticks[w].label.replace(/\$/g,"$$$$")))}return"undefined"!=typeof e.series.xaxis.tickFormatter&&(t=t.replace(d,e.series.xaxis.tickFormatter(n,e.series.xaxis).replace(/\$/g,"$$"))),"undefined"!=typeof e.series.yaxis.tickFormatter&&(t=t.replace(f,e.series.yaxis.tickFormatter(i,e.series.yaxis).replace(/\$/g,"$$"))),t},n.prototype.isTimeMode=function(t,e){return"undefined"!=typeof e.series[t].options.mode&&"time"===e.series[t].options.mode},n.prototype.isXDateFormat=function(t){return"undefined"!=typeof this.tooltipOptions.xDateFormat&&null!==this.tooltipOptions.xDateFormat},n.prototype.isYDateFormat=function(t){return"undefined"!=typeof this.tooltipOptions.yDateFormat&&null!==this.tooltipOptions.yDateFormat},n.prototype.isCategoriesMode=function(t,e){return"undefined"!=typeof e.series[t].options.mode&&"categories"===e.series[t].options.mode},n.prototype.timestampToDate=function(e,n,i){var r=t.plot.dateGenerator(e,i);return t.plot.formatDate(r,n,this.tooltipOptions.monthNames,this.tooltipOptions.dayNames)},n.prototype.adjustValPrecision=function(t,e,n){var i,r=e.match(t);return null!==r&&""!==RegExp.$1&&(i=RegExp.$1,n=n.toFixed(i),e=e.replace(t,n)),e},n.prototype.hasAxisLabel=function(e,n){return t.inArray("axisLabels",this.plotPlugins)!==-1&&"undefined"!=typeof n.series[e].options.axisLabel&&n.series[e].options.axisLabel.length>0},n.prototype.hasRotatedXAxisTicks=function(e){return t.inArray("tickRotor",this.plotPlugins)!==-1&&"undefined"!=typeof e.series.xaxis.rotatedTicks};var i=function(t){new n(t)};t.plot.plugins.push({init:i,options:e,name:"tooltip",version:"0.8.5"})}(jQuery)},function(t,e){!function(t){function e(e){var n=e||window.event,i=[].slice.call(arguments,1),r=0,s=0,o=0,e=t.event.fix(n);return e.type="mousewheel",n.wheelDelta&&(r=n.wheelDelta/120),n.detail&&(r=-n.detail/3),o=r,void 0!==n.axis&&n.axis===n.HORIZONTAL_AXIS&&(o=0,s=-1*r),void 0!==n.wheelDeltaY&&(o=n.wheelDeltaY/120),void 0!==n.wheelDeltaX&&(s=-1*n.wheelDeltaX/120),i.unshift(e,r,s,o),(t.event.dispatch||t.event.handle).apply(this,i)}var n=["DOMMouseScroll","mousewheel"];if(t.event.fixHooks)for(var i=n.length;i;)t.event.fixHooks[n[--i]]=t.event.mouseHooks;t.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var t=n.length;t;)this.addEventListener(n[--t],e,!1);else this.onmousewheel=e},teardown:function(){if(this.removeEventListener)for(var t=n.length;t;)this.removeEventListener(n[--t],e,!1);else this.onmousewheel=null}},t.fn.extend({mousewheel:function(t){return t?this.bind("mousewheel",t):this.trigger("mousewheel")},unmousewheel:function(t){return this.unbind("mousewheel",t)}})}(jQuery),function(t){"use strict";var e={zoomPan:{enabled:!1,secsPerDivisionValues:[1],startingXIndex:0,startingYIndexArray:[0,0],selectedYAxis:1,voltsPerDivisionValues:[.001,.002,.005,.01,.02,.05,.1,.2,.5,1,2,5],updateTimelineChart:!1,timelineChartRef:null}},n=function(t){this.previousXPosition=null,this.previousYPosition=null,this.panType=null,this.wheelZoomX=null,this.multiTouchEventContainer={midPoint:null,previousX1:null,previousX2:null,previousY1:null,previousY2:null,startingMultiTouch:!0},this.highlightContainer={highlighting:!1,start:0},this.init(t)};n.prototype.init=function(e){var n=this;e.hooks.processOptions.push(function(e,i){function r(i){if(i.button&&1===i.button||i.which&&2===i.which){i.preventDefault();e.offset();return e.getPlaceholder().append('
').bind("mousemove",s),t("#plot-highlight-div").bind("mouseup",c),n.highlightContainer.highlighting=!0,void(n.highlightContainer.start=i.clientX)}n.previousXPosition=i.clientX,n.previousYPosition=i.clientY,i.shiftKey?(n.panType="vertical",e.getPlaceholder().bind("mousemove",f)):(n.panType="horizontal",e.getPlaceholder().bind("mousemove",m))}function s(i){i.preventDefault();var r=(e.offset(),e.getOptions().grid.margin);t("#plot-highlight-div").css({position:"absolute",top:r.top.toString()+"px",bottom:(e.getPlaceholder().height()-r.top-e.height()).toString()+"px",left:(n.highlightContainer.start1&&(n.multiTouchEventContainer.startingMultiTouch=!0)}function a(t){var i=t.originalEvent.touches[0].clientX,r=t.originalEvent.touches[1].clientX,s=t.originalEvent.touches[0].clientY,o=t.originalEvent.touches[1].clientY,a=(i+r)/2,_=e.getAxes(),l=e.offset();if(n.multiTouchEventContainer.startingMultiTouch)return n.multiTouchEventContainer.startingMultiTouch=!1,n.multiTouchEventContainer.previousX1=i,n.multiTouchEventContainer.previousY1=s,n.multiTouchEventContainer.previousX2=r,n.multiTouchEventContainer.previousY2=o,void(n.multiTouchEventContainer.midPoint=a);var h=e.width(),c=_.xaxis.c2p(n.multiTouchEventContainer.previousX1-l.left),u=_.xaxis.c2p(n.multiTouchEventContainer.previousX2-l.left),p=Math.abs(c-u),d=p/Math.abs(i-r),f=u+d*(h-(r-l.left)),m=c-d*(i-l.left);if(isNaN(m)||isNaN(f))return void alert("Error Setting Window");_.xaxis.options.min=m,_.xaxis.options.max=f,e.setupGrid(),e.draw();var g={x:a,y:t.originalEvent.touches[0].clientY,min:m,max:f,mid:0,axisNum:1,axis:"xaxis"};e.getPlaceholder().trigger("panEvent",[g]),n.plotOptions.zoomPan.updateTimelineChart&&null!=n.plotOptions.zoomPan.timelineChartRef&&n.plotOptions.zoomPan.timelineChartRef.updateTimelineCurtains(g),n.multiTouchEventContainer.previousX1=i,n.multiTouchEventContainer.previousY1=s,n.multiTouchEventContainer.previousX2=r,n.multiTouchEventContainer.previousY2=o,n.multiTouchEventContainer.midPoint=a}function _(t){var i=e.getAxes(),r=e.offset(),s=i.xaxis.c2p(t.originalEvent.touches[0].clientX-r.left),o=i.xaxis.c2p(n.previousXPosition-r.left),a=s-o,_=(i.xaxis.max+i.xaxis.min)/2,l=(i.xaxis.max-i.xaxis.min)/10,h=_-a,c=h-5*l,u=h+5*l;if(isNaN(c)||isNaN(u))return void alert("nan");i.xaxis.options.min=c,i.xaxis.options.max=u,e.setupGrid(),e.draw();var p={x:t.originalEvent.touches[0].clientX,y:t.originalEvent.touches[0].clientY,min:c,max:u,mid:h,axisNum:1,axis:"xaxis"};e.getPlaceholder().trigger("panEvent",[p]),n.plotOptions.zoomPan.updateTimelineChart&&void 0!=n.plotOptions.zoomPan.timelineChartRef&&n.plotOptions.zoomPan.timelineChartRef.updateTimelineCurtains(p),n.previousXPosition=t.originalEvent.touches[0].clientX}function l(t){t.preventDefault(),t.originalEvent.touches.length>1?a(t):(n.multiTouchEventContainer.startingMultiTouch=!0,_(t))}function h(t){0===t.originalEvent.touches.length&&e.getPlaceholder().unbind("touchmove",l);for(var i=e.getAxes().xaxis,r=(i.max-i.min)/10,s=0;n.plotOptions.zoomPan.secsPerDivisionValues[s]0&&(n.previousXPosition=t.originalEvent.touches[0].clientX),n.multiTouchEventContainer.startingMultiTouch=!0}function c(i){if("vertical"===n.panType)n.panType=null,e.getPlaceholder().unbind("mousemove",f);else if("horizontal"===n.panType)n.panType=null,e.getPlaceholder().unbind("mousemove",m);else if(n.highlightContainer.highlighting){if("mouseout"===i.type&&i.clientX0)return void s(i);e.getPlaceholder().unbind("mousemove",s),n.highlightContainer.highlighting=!1,t("#plot-highlight-div").remove(),u(n.highlightContainer.start,i.clientX)}}function u(t,i){var r=e.getAxes().xaxis,s=e.offset(),o=r.c2p(t-s.left),a=r.c2p(i-s.left);if(o>a){var _=o;o=a,a=_}r.options.min=o,r.options.max=a,e.setupGrid(),e.draw();for(var l=(r.max-r.min)/10,h=0;n.plotOptions.zoomPan.secsPerDivisionValues[h]0&&n.plotOptions.zoomPan.startingXIndex>0&&(n.plotOptions.zoomPan.startingXIndex--,d(t)):e<0&&n.plotOptions.zoomPan.startingYIndexArray[n.plotOptions.zoomPan.selectedYAxis-1]0&&n.plotOptions.zoomPan.startingYIndexArray[n.plotOptions.zoomPan.selectedYAxis-1]>0&&(n.plotOptions.zoomPan.startingYIndexArray[n.plotOptions.zoomPan.selectedYAxis-1]--,d(t))}function d(t){var i,r=e.getAxes();if(n.wheelZoomX){if(t.ctrlKey){var s=e.offset(),o=10*n.plotOptions.zoomPan.secsPerDivisionValues[n.plotOptions.zoomPan.startingXIndex]/e.width(),a=t.clientX-s.left,_=r.xaxis.c2p(a),l=_-o*a,h=l+10*n.plotOptions.zoomPan.secsPerDivisionValues[n.plotOptions.zoomPan.startingXIndex];r.xaxis.options.min=l,r.xaxis.options.max=h;var c=(h+l)/2;i={min:l,max:h,mid:c,perDivVal:n.plotOptions.zoomPan.secsPerDivisionValues[n.plotOptions.zoomPan.startingXIndex],perDivArrayIndex:n.plotOptions.zoomPan.startingXIndex,axisNum:1,axis:"xaxis"}}else{var u=(r.xaxis.min+r.xaxis.max)/2,l=u-5*n.plotOptions.zoomPan.secsPerDivisionValues[n.plotOptions.zoomPan.startingXIndex],h=u+5*n.plotOptions.zoomPan.secsPerDivisionValues[n.plotOptions.zoomPan.startingXIndex];r.xaxis.options.min=l,r.xaxis.options.max=h;var c=(h+l)/2;i={min:l,max:h,mid:c,perDivVal:n.plotOptions.zoomPan.secsPerDivisionValues[n.plotOptions.zoomPan.startingXIndex],perDivArrayIndex:n.plotOptions.zoomPan.startingXIndex,axisNum:1,axis:"xaxis"}}e.getPlaceholder().trigger("mouseWheelRedraw",[i]),n.plotOptions.zoomPan.updateTimelineChart&&void 0!=n.plotOptions.zoomPan.timelineChartRef&&(n.plotOptions.zoomPan.timelineChartRef.setActiveXIndex(n.plotOptions.zoomPan.startingXIndex),n.plotOptions.zoomPan.timelineChartRef.updateTimelineCurtains(i))}else{var p="y"+(1===n.plotOptions.zoomPan.selectedYAxis?"":n.plotOptions.zoomPan.selectedYAxis.toString())+"axis",u=(r[p].max+r[p].min)/2,l=u-5*n.plotOptions.zoomPan.voltsPerDivisionValues[n.plotOptions.zoomPan.startingYIndexArray[n.plotOptions.zoomPan.selectedYAxis-1]],h=u+5*n.plotOptions.zoomPan.voltsPerDivisionValues[n.plotOptions.zoomPan.startingYIndexArray[n.plotOptions.zoomPan.selectedYAxis-1]];r[p].options.min=l,r[p].options.max=h,i={min:l,max:h,mid:u,perDivVal:n.plotOptions.zoomPan.voltsPerDivisionValues[n.plotOptions.zoomPan.startingYIndexArray[n.plotOptions.zoomPan.selectedYAxis-1]],perDivArrayIndex:n.plotOptions.zoomPan.startingYIndexArray[n.plotOptions.zoomPan.selectedYAxis-1],axisNum:n.plotOptions.zoomPan.selectedYAxis,axis:p},e.getPlaceholder().trigger("mouseWheelRedraw",[i])}e.setupGrid(),e.draw()}function f(t){var i="y"+(1===n.plotOptions.zoomPan.selectedYAxis?"":n.plotOptions.zoomPan.selectedYAxis.toString())+"axis",r=e.getAxes(),s=r[i].p2c(r[i].min),o=r[i].p2c(r[i].max),a=t.clientY-n.previousYPosition,_=r[i].c2p(s-a),l=r[i].c2p(o-a),h=(l+_)/2;r[i].options.min=_,r[i].options.max=l,e.setupGrid(),e.draw(),n.previousYPosition=t.clientY,e.getPlaceholder().trigger("panEvent",[{x:t.clientX,y:t.clientY,min:_,max:l,mid:h,axisNum:n.plotOptions.zoomPan.selectedYAxis,axis:i}])}function m(t){var i=e.getAxes(),r=i.xaxis.p2c(i.xaxis.min),s=i.xaxis.p2c(i.xaxis.max),o=t.clientX-n.previousXPosition,a=i.xaxis.c2p(r-o),_=i.xaxis.c2p(s-o),l=(_+a)/2;i.xaxis.options.min=a,i.xaxis.options.max=_,e.setupGrid(),e.draw();var h={x:t.clientX,y:t.clientY,min:a,max:_,mid:l,axisNum:1,axis:"xaxis"};e.getPlaceholder().trigger("panEvent",[h]),n.plotOptions.zoomPan.updateTimelineChart&&void 0!=n.plotOptions.zoomPan.timelineChartRef&&n.plotOptions.zoomPan.timelineChartRef.updateTimelineCurtains(h),n.previousXPosition=t.clientX}n.plotOptions=e.getOptions(),n.plotOptions.zoomPan.enabled!==!1&&void 0!=n.plotOptions.zoomPan.enabled&&(e.getActiveXIndex=function(){return n.plotOptions.zoomPan.startingXIndex},e.setActiveXIndex=function(t){n.plotOptions.zoomPan.startingXIndex=t},e.getActiveYIndices=function(){return n.plotOptions.zoomPan.startingYIndexArray},e.setActiveYIndices=function(t){n.plotOptions.zoomPan.startingYIndexArray=t},e.getActiveYAxis=function(){return n.plotOptions.zoomPan.selectedYAxis},e.setActiveYAxis=function(t){n.plotOptions.zoomPan.selectedYAxis=t},e.getSecsPerDivArray=function(){return n.plotOptions.zoomPan.secsPerDivisionValues},e.setSecsPerDivArray=function(t){n.plotOptions.zoomPan.secsPerDivisionValues=t},e.getVoltsPerDivArray=function(){return n.plotOptions.zoomPan.voltsPerDivisionValues},e.setVoltsPerDivArray=function(t){n.plotOptions.zoomPan.voltsPerDivisionValues=t},e.getTimelineRef=function(){return n.plotOptions.zoomPan.timelineChartRef},e.setTimelineRef=function(t){n.plotOptions.zoomPan.timelineChartRef=t},e.getTimelineUpdate=function(){return n.plotOptions.zoomPan.updateTimelineChart},e.setTimelineUpdate=function(t){n.plotOptions.zoomPan.updateTimelineChart=t},e.unbindMoveEvents=function(){e.getPlaceholder().unbind("mousemove",f),e.getPlaceholder().unbind("mousemove",m),e.getPlaceholder().unbind("touchmove",l)},e.hooks.bindEvents.push(function(t,e){e.mousedown(r),e.bind("touchstart",o),e.bind("touchend",h),e.mouseup(c),e.mouseout(c),e.mousewheel(p)}),e.hooks.shutdown.push(function(t,e){e.unbind("mousedown",r),e.unbind("touchstart",o),e.unbind("touchend",h),e.unbind("mouseup",c),e.unbind("mouseout",c),e.unbind("mousewheel",p),e.unbind("panEvent"),e.unbind("mouseWheelRedraw")}))})};var i=function(t){new n(t)};t.plot.plugins.push({init:i,options:e,name:"zoomPan",version:"0.2"})}(jQuery)},function(t,e,n){var i,r;!function(s,o){function a(t){var e=xt[t]={};return it.each(t.split(ot),function(t,n){e[n]=!0}),e}function _(t,e,n){if(n===o&&1===t.nodeType){var i="data-"+e.replace(bt,"-$1").toLowerCase();if(n=t.getAttribute(i),"string"==typeof n){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:yt.test(n)?it.parseJSON(n):n)}catch(t){}it.data(t,e,n)}else n=o}return n}function l(t){var e;for(e in t)if(("data"!==e||!it.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function h(){return!1}function c(){return!0}function u(t){return!t||!t.parentNode||11===t.parentNode.nodeType}function p(t,e){do t=t[e];while(t&&1!==t.nodeType);return t}function d(t,e,n){if(e=e||0,it.isFunction(e))return it.grep(t,function(t,i){var r=!!e.call(t,i,t);return r===n});if(e.nodeType)return it.grep(t,function(t,i){return t===e===n});if("string"==typeof e){var i=it.grep(t,function(t){return 1===t.nodeType});if(Vt.test(e))return it.filter(e,i,!n);e=it.filter(e,i)}return it.grep(t,function(t,i){return it.inArray(t,e)>=0===n})}function f(t){var e=zt.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}function m(t,e){return t.getElementsByTagName(e)[0]||t.appendChild(t.ownerDocument.createElement(e))}function g(t,e){if(1===e.nodeType&&it.hasData(t)){var n,i,r,s=it._data(t),o=it._data(e,s),a=s.events;if(a){delete o.handle,o.events={};for(n in a)for(i=0,r=a[n].length;i").appendTo(W.body),n=e.css("display");return e.remove(),"none"!==n&&""!==n||(_e=W.body.appendChild(_e||it.extend(W.createElement("iframe"),{frameBorder:0,width:0,height:0})),le&&_e.createElement||(le=(_e.contentWindow||_e.contentDocument).document,le.write(""),le.close()),e=le.body.appendChild(le.createElement(t)),n=ae(e,"display"),W.body.removeChild(_e)),ve[t]=n,n}function S(t,e,n,i){var r;if(it.isArray(e))it.each(e,function(e,r){n||Te.test(t)?i(t,r):S(t+"["+("object"==typeof r?e:"")+"]",r,n,i)});else if(n||"object"!==it.type(e))i(t,e);else for(r in e)S(t+"["+r+"]",e[r],n,i)}function O(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r,s,o=e.toLowerCase().split(ot),a=0,_=o.length;if(it.isFunction(n))for(;a<_;a++)i=o[a],s=/^\+/.test(i),s&&(i=i.substr(1)||"*"),r=t[i]=t[i]||[],r[s?"unshift":"push"](n)}}function k(t,e,n,i,r,s){r=r||e.dataTypes[0],s=s||{},s[r]=!0;for(var a,_=t[r],l=0,h=_?_.length:0,c=t===Ve;l)[^>]*$|#([\w\-]*)$)/,lt=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ht=/^[\],:{}\s]*$/,ct=/(?:^|:|,)(?:\s*\[)+/g,ut=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,pt=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,dt=/^-ms-/,ft=/-([\da-z])/gi,mt=function(t,e){return(e+"").toUpperCase()},gt=function(){W.addEventListener?(W.removeEventListener("DOMContentLoaded",gt,!1),it.ready()):"complete"===W.readyState&&(W.detachEvent("onreadystatechange",gt),it.ready())},vt={};it.fn=it.prototype={constructor:it,init:function(t,e,n){var i,r,s;if(!t)return this;if(t.nodeType)return this.context=this[0]=t,this.length=1,this;if("string"==typeof t){if(i="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:_t.exec(t),i&&(i[1]||!e)){if(i[1])return e=e instanceof it?e[0]:e,s=e&&e.nodeType?e.ownerDocument||e:W,t=it.parseHTML(i[1],s,!0),lt.test(i[1])&&it.isPlainObject(e)&&this.attr.call(t,e,!0),it.merge(this,t);if(r=W.getElementById(i[2]),r&&r.parentNode){if(r.id!==i[2])return n.find(t);this.length=1,this[0]=r}return this.context=W,this.selector=t,this}return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t)}return it.isFunction(t)?n.ready(t):(t.selector!==o&&(this.selector=t.selector,this.context=t.context),it.makeArray(t,this))},selector:"",jquery:"1.8.3",length:0,size:function(){return this.length},toArray:function(){return Z.call(this)},get:function(t){return null==t?this.toArray():t<0?this[this.length+t]:this[t]},pushStack:function(t,e,n){var i=it.merge(this.constructor(),t);return i.prevObject=this,i.context=this.context,"find"===e?i.selector=this.selector+(this.selector?" ":"")+n:e&&(i.selector=this.selector+"."+e+"("+n+")"),i},each:function(t,e){return it.each(this,t,e)},ready:function(t){return it.ready.promise().done(t),this},eq:function(t){return t=+t,t===-1?this.slice(t):this.slice(t,t+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(Z.apply(this,arguments),"slice",Z.call(arguments).join(","))},map:function(t){return this.pushStack(it.map(this,function(e,n){return t.call(e,n,e)}))},end:function(){return this.prevObject||this.constructor(null)},push:Q,sort:[].sort,splice:[].splice},it.fn.init.prototype=it.fn,it.extend=it.fn.extend=function(){var t,e,n,i,r,s,a=arguments[0]||{},_=1,l=arguments.length,h=!1;for("boolean"==typeof a&&(h=a,a=arguments[1]||{},_=2),"object"!=typeof a&&!it.isFunction(a)&&(a={}),l===_&&(a=this,--_);_0||(G.resolveWith(W,[it]),it.fn.trigger&&it(W).trigger("ready").off("ready"))}},isFunction:function(t){return"function"===it.type(t)},isArray:Array.isArray||function(t){return"array"===it.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},type:function(t){return null==t?String(t):vt[tt.call(t)]||"object"},isPlainObject:function(t){if(!t||"object"!==it.type(t)||t.nodeType||it.isWindow(t))return!1;try{if(t.constructor&&!et.call(t,"constructor")&&!et.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}var e;for(e in t);return e===o||et.call(t,e)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},error:function(t){throw new Error(t)},parseHTML:function(t,e,n){var i;return t&&"string"==typeof t?("boolean"==typeof e&&(n=e,e=0),e=e||W,(i=lt.exec(t))?[e.createElement(i[1])]:(i=it.buildFragment([t],e,n?null:[]),it.merge([],(i.cacheable?it.clone(i.fragment):i.fragment).childNodes))):null},parseJSON:function(t){return t&&"string"==typeof t?(t=it.trim(t),s.JSON&&s.JSON.parse?s.JSON.parse(t):ht.test(t.replace(ut,"@").replace(pt,"]").replace(ct,""))?new Function("return "+t)():void it.error("Invalid JSON: "+t)):null},parseXML:function(t){var e,n;if(!t||"string"!=typeof t)return null;try{s.DOMParser?(n=new DOMParser,e=n.parseFromString(t,"text/xml")):(e=new ActiveXObject("Microsoft.XMLDOM"),e.async="false",e.loadXML(t))}catch(t){e=o}return(!e||!e.documentElement||e.getElementsByTagName("parsererror").length)&&it.error("Invalid XML: "+t),e},noop:function(){},globalEval:function(t){t&&st.test(t)&&(s.execScript||function(t){s.eval.call(s,t)})(t)},camelCase:function(t){return t.replace(dt,"ms-").replace(ft,mt)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,n){var i,r=0,s=t.length,a=s===o||it.isFunction(t);if(n)if(a){for(i in t)if(e.apply(t[i],n)===!1)break}else for(;r0&&t[0]&&t[_-1]||0===_||it.isArray(t));if(l)for(;a<_;a++)i=e(t[a],a,n),null!=i&&(s[s.length]=i);else for(r in t)i=e(t[r],r,n),null!=i&&(s[s.length]=i);return s.concat.apply([],s)},guid:1,proxy:function(t,e){var n,i,r;return"string"==typeof e&&(n=t[e],e=t,t=n),it.isFunction(t)?(i=Z.call(arguments,2),r=function(){return t.apply(e,i.concat(Z.call(arguments)))},r.guid=t.guid=t.guid||it.guid++,r):o},access:function(t,e,n,i,r,s,a){var _,l=null==n,h=0,c=t.length;if(n&&"object"==typeof n){for(h in n)it.access(t,e,h,n[h],1,s,i);r=1}else if(i!==o){if(_=a===o&&it.isFunction(i),l&&(_?(_=e,e=function(t,e,n){return _.call(it(t),n)}):(e.call(t,i),e=null)),e)for(;h-1;)l.splice(n,1),i&&(n<=s&&s--,n<=_&&_--)}),this},has:function(t){return it.inArray(t,l)>-1},empty:function(){return l=[],this},disable:function(){return l=h=e=o,this},disabled:function(){return!l},lock:function(){return h=o,e||u.disable(),this},locked:function(){return!h},fireWith:function(t,e){return e=e||[],e=[t,e.slice?e.slice():e],l&&(!n||h)&&(i?h.push(e):c(e)),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!n}};return u},it.extend({Deferred:function(t){var e=[["resolve","done",it.Callbacks("once memory"),"resolved"],["reject","fail",it.Callbacks("once memory"),"rejected"],["notify","progress",it.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return it.Deferred(function(n){it.each(e,function(e,i){var s=i[0],o=t[e];r[i[1]](it.isFunction(o)?function(){var t=o.apply(this,arguments);t&&it.isFunction(t.promise)?t.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s+"With"](this===r?n:this,[t])}:n[s])}),t=null}).promise()},promise:function(t){return null!=t?it.extend(t,i):i}},r={};return i.pipe=i.then,it.each(e,function(t,s){var o=s[2],a=s[3];i[s[1]]=o.add,a&&o.add(function(){n=a},e[1^t][2].disable,e[2][2].lock),r[s[0]]=o.fire,r[s[0]+"With"]=o.fireWith}),i.promise(r),t&&t.call(r,r),r},when:function(t){var e,n,i,r=0,s=Z.call(arguments),o=s.length,a=1!==o||t&&it.isFunction(t.promise)?o:0,_=1===a?t:it.Deferred(),l=function(t,n,i){return function(r){n[t]=this,i[t]=arguments.length>1?Z.call(arguments):r,i===e?_.notifyWith(n,i):--a||_.resolveWith(n,i)}};if(o>1)for(e=new Array(o),n=new Array(o),i=new Array(o);r
a",e=u.getElementsByTagName("*"),n=u.getElementsByTagName("a")[0],!e||!n||!e.length)return{};i=W.createElement("select"),r=i.appendChild(W.createElement("option")),o=u.getElementsByTagName("input")[0],n.style.cssText="top:1px;float:left;opacity:.5",t={leadingWhitespace:3===u.firstChild.nodeType,tbody:!u.getElementsByTagName("tbody").length,htmlSerialize:!!u.getElementsByTagName("link").length,style:/top/.test(n.getAttribute("style")),hrefNormalized:"/a"===n.getAttribute("href"),opacity:/^0.5/.test(n.style.opacity),cssFloat:!!n.style.cssFloat,checkOn:"on"===o.value,optSelected:r.selected,getSetAttribute:"t"!==u.className,enctype:!!W.createElement("form").enctype,html5Clone:"<:nav>"!==W.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===W.compatMode,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},o.checked=!0,t.noCloneChecked=o.cloneNode(!0).checked,i.disabled=!0,t.optDisabled=!r.disabled;try{delete u.test}catch(e){t.deleteExpando=!1}if(!u.addEventListener&&u.attachEvent&&u.fireEvent&&(u.attachEvent("onclick",c=function(){t.noCloneEvent=!1}),u.cloneNode(!0).fireEvent("onclick"),u.detachEvent("onclick",c)),o=W.createElement("input"),o.value="t",o.setAttribute("type","radio"),t.radioValue="t"===o.value,o.setAttribute("checked","checked"),o.setAttribute("name","t"),u.appendChild(o),a=W.createDocumentFragment(),a.appendChild(u.lastChild),t.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=o.checked,a.removeChild(o),a.appendChild(u),u.attachEvent)for(l in{submit:!0,change:!0,focusin:!0})_="on"+l,h=_ in u,h||(u.setAttribute(_,"return;"),h="function"==typeof u[_]),t[l+"Bubbles"]=h;return it(function(){var e,n,i,r,o="padding:0;margin:0;border:0;display:block;overflow:hidden;",a=W.getElementsByTagName("body")[0];a&&(e=W.createElement("div"),e.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",a.insertBefore(e,a.firstChild),n=W.createElement("div"),e.appendChild(n),n.innerHTML="
t
",i=n.getElementsByTagName("td"),i[0].style.cssText="padding:0;margin:0;border:0;display:none",h=0===i[0].offsetHeight,i[0].style.display="",i[1].style.display="none",t.reliableHiddenOffsets=h&&0===i[0].offsetHeight,n.innerHTML="",n.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=4===n.offsetWidth,t.doesNotIncludeMarginInBodyOffset=1!==a.offsetTop,s.getComputedStyle&&(t.pixelPosition="1%"!==(s.getComputedStyle(n,null)||{}).top,t.boxSizingReliable="4px"===(s.getComputedStyle(n,null)||{width:"4px"}).width,r=W.createElement("div"),r.style.cssText=n.style.cssText=o,r.style.marginRight=r.style.width="0",n.style.width="1px",n.appendChild(r),t.reliableMarginRight=!parseFloat((s.getComputedStyle(r,null)||{}).marginRight)),"undefined"!=typeof n.style.zoom&&(n.innerHTML="",n.style.cssText=o+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===n.offsetWidth,n.style.display="block",n.style.overflow="visible",n.innerHTML="
",n.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==n.offsetWidth,e.style.zoom=1),a.removeChild(e),e=n=i=r=null)}),a.removeChild(u),e=n=i=r=o=a=u=null,t}();var yt=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,bt=/([A-Z])/g;it.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(it.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(t){return t=t.nodeType?it.cache[t[it.expando]]:t[it.expando],!!t&&!l(t)},data:function(t,e,n,i){if(it.acceptData(t)){var r,s,a=it.expando,_="string"==typeof e,l=t.nodeType,h=l?it.cache:t,c=l?t[a]:t[a]&&a;if(c&&h[c]&&(i||h[c].data)||!_||n!==o)return c||(l?t[a]=c=it.deletedIds.pop()||it.guid++:c=a),h[c]||(h[c]={},l||(h[c].toJSON=it.noop)),"object"!=typeof e&&"function"!=typeof e||(i?h[c]=it.extend(h[c],e):h[c].data=it.extend(h[c].data,e)),r=h[c],i||(r.data||(r.data={}),r=r.data),n!==o&&(r[it.camelCase(e)]=n),_?(s=r[e],null==s&&(s=r[it.camelCase(e)])):s=r,s}},removeData:function(t,e,n){if(it.acceptData(t)){var i,r,s,o=t.nodeType,a=o?it.cache:t,_=o?t[it.expando]:it.expando;if(a[_]){if(e&&(i=n?a[_]:a[_].data)){it.isArray(e)||(e in i?e=[e]:(e=it.camelCase(e),e=e in i?[e]:e.split(" ")));for(r=0,s=e.length;r1,null,!1))},removeData:function(t){return this.each(function(){it.removeData(this,t)})}}),it.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=it._data(t,e),n&&(!i||it.isArray(n)?i=it._data(t,e,it.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=it.queue(t,e),i=n.length,r=n.shift(),s=it._queueHooks(t,e),o=function(){it.dequeue(t,e)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete s.stop,r.call(t,o,s)),!i&&s&&s.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return it._data(t,n)||it._data(t,n,{empty:it.Callbacks("once memory").add(function(){it.removeData(t,e+"queue",!0),it.removeData(t,n,!0)})})}}),it.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length1)},removeAttr:function(t){return this.each(function(){it.removeAttr(this,t)})},prop:function(t,e){return it.access(this,it.prop,t,e,arguments.length>1)},removeProp:function(t){return t=it.propFix[t]||t,this.each(function(){try{this[t]=o,delete this[t]}catch(t){}})},addClass:function(t){var e,n,i,r,s,o,a;if(it.isFunction(t))return this.each(function(e){it(this).addClass(t.call(this,e,this.className))});if(t&&"string"==typeof t)for(e=t.split(ot),n=0,i=this.length;n=0;)n=n.replace(" "+e[r]+" "," ");i.className=t?it.trim(n):""}return this},toggleClass:function(t,e){var n=typeof t,i="boolean"==typeof e;return it.isFunction(t)?this.each(function(n){it(this).toggleClass(t.call(this,n,this.className,e),e)}):this.each(function(){if("string"===n)for(var r,s=0,o=it(this),a=e,_=t.split(ot);r=_[s++];)a=i?a:!o.hasClass(r),o[a?"addClass":"removeClass"](r);else"undefined"!==n&&"boolean"!==n||(this.className&&it._data(this,"__className__",this.className),this.className=this.className||t===!1?"":it._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,i=this.length;n=0)return!0;return!1},val:function(t){var e,n,i,r=this[0];{if(arguments.length)return i=it.isFunction(t),this.each(function(n){var r,s=it(this);1===this.nodeType&&(r=i?t.call(this,n,s.val()):t,null==r?r="":"number"==typeof r?r+="":it.isArray(r)&&(r=it.map(r,function(t){return null==t?"":t+""})),e=it.valHooks[this.type]||it.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&e.set(this,r,"value")!==o||(this.value=r))});if(r)return e=it.valHooks[r.type]||it.valHooks[r.nodeName.toLowerCase()],e&&"get"in e&&(n=e.get(r,"value"))!==o?n:(n=r.value,"string"==typeof n?n.replace(At,""):null==n?"":n)}}}),it.extend({valHooks:{option:{get:function(t){var e=t.attributes.value;return!e||e.specified?t.value:t.text}},select:{get:function(t){for(var e,n,i=t.options,r=t.selectedIndex,s="select-one"===t.type||r<0,o=s?null:[],a=s?r+1:i.length,_=r<0?a:s?r:0;_=0}),n.length||(t.selectedIndex=-1),n}}},attrFn:{},attr:function(t,e,n,i){var r,s,a,_=t.nodeType;if(t&&3!==_&&8!==_&&2!==_)return i&&it.isFunction(it.fn[e])?it(t)[e](n):"undefined"==typeof t.getAttribute?it.prop(t,e,n):(a=1!==_||!it.isXMLDoc(t),a&&(e=e.toLowerCase(),s=it.attrHooks[e]||(kt.test(e)?Ct:wt)),n!==o?null===n?void it.removeAttr(t,e):s&&"set"in s&&a&&(r=s.set(t,n,e))!==o?r:(t.setAttribute(e,n+""),n):s&&"get"in s&&a&&null!==(r=s.get(t,e))?r:(r=t.getAttribute(e),null===r?o:r))},removeAttr:function(t,e){var n,i,r,s,o=0;if(e&&1===t.nodeType)for(i=e.split(ot);o=0}})});var Pt=/^(?:textarea|input|select)$/i,Rt=/^([^\.]*|)(?:\.(.+)|)$/,Dt=/(?:^|\s)hover(\.\S+|)\b/,jt=/^key/,Mt=/^(?:mouse|contextmenu)|click/,Lt=/^(?:focusinfocus|focusoutblur)$/,Bt=function(t){return it.event.special.hover?t:t.replace(Dt,"mouseenter$1 mouseleave$1")};it.event={add:function(t,e,n,i,r){var s,a,_,l,h,c,u,p,d,f,m;if(3!==t.nodeType&&8!==t.nodeType&&e&&n&&(s=it._data(t))){for(n.handler&&(d=n,n=d.handler,r=d.selector),n.guid||(n.guid=it.guid++),_=s.events,_||(s.events=_={}),a=s.handle,a||(s.handle=a=function(t){return"undefined"==typeof it||t&&it.event.triggered===t.type?o:it.event.dispatch.apply(a.elem,arguments)},a.elem=t),e=it.trim(Bt(e)).split(" "),l=0;l=0&&(m=m.slice(0,-1),a=!0),m.indexOf(".")>=0&&(g=m.split("."),m=g.shift(),g.sort()),(!n||it.event.customEvent[m])&&!it.event.global[m])return;if(t="object"==typeof t?t[it.expando]?t:new it.Event(m,t):new it.Event(m),t.type=m,t.isTrigger=!0,t.exclusive=a,t.namespace=g.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,c=m.indexOf(":")<0?"on"+m:"",!n){r=it.cache;for(_ in r)r[_].events&&r[_].events[m]&&it.event.trigger(t,e,r[_].handle.elem,!0);return}if(t.result=o,t.target||(t.target=n),e=null!=e?it.makeArray(e):[],e.unshift(t),u=it.event.special[m]||{},u.trigger&&u.trigger.apply(n,e)===!1)return;if(d=[[n,u.bindType||m]],!i&&!u.noBubble&&!it.isWindow(n)){for(f=u.delegateType||m,l=Lt.test(f+m)?n:n.parentNode,h=n;l;l=l.parentNode)d.push([l,f]),h=l;h===(n.ownerDocument||W)&&d.push([h.defaultView||h.parentWindow||s,f])}for(_=0;_=0:it.find(c,this,null,[i]).length),a[c]&&l.push(h);l.length&&g.push({elem:i,matches:l})}for(u.length>p&&g.push({elem:this,matches:u.slice(p)}),e=0;e0?this.on(e,null,t,n):this.trigger(e)},jt.test(e)&&(it.event.fixHooks[e]=it.event.keyHooks),Mt.test(e)&&(it.event.fixHooks[e]=it.event.mouseHooks)}),function(t,e){function n(t,e,n,i){n=n||[],e=e||N;var r,s,o,a,_=e.nodeType;if(!t||"string"!=typeof t)return n;if(1!==_&&9!==_)return[];if(o=b(e),!o&&!i&&(r=et.exec(t)))if(a=r[1]){if(9===_){if(s=e.getElementById(a),!s||!s.parentNode)return n;if(s.id===a)return n.push(s),n}else if(e.ownerDocument&&(s=e.ownerDocument.getElementById(a))&&w(e,s)&&s.id===a)return n.push(s),n}else{if(r[2])return M.apply(n,L.call(e.getElementsByTagName(t),0)),n;if((a=r[3])&&ut&&e.getElementsByClassName)return M.apply(n,L.call(e.getElementsByClassName(a),0)),n}return f(t.replace(Q,"$1"),e,n,i,o)}function i(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function r(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function s(t){return F(function(e){return e=+e,F(function(n,i){for(var r,s=t([],n.length,e),o=s.length;o--;)n[r=s[o]]&&(n[r]=!(i[r]=n[r]))})})}function o(t,e,n){if(t===e)return n;for(var i=t.nextSibling;i;){if(i===e)return-1;i=i.nextSibling}return 1}function a(t,e){var i,r,s,o,a,_,l,h=H[O][t+" "];if(h)return e?0:h.slice(0);for(a=t,_=[],l=x.preFilter;a;){i&&!(r=Z.exec(a))||(r&&(a=a.slice(r[0].length)||a),_.push(s=[])),i=!1,(r=K.exec(a))&&(s.push(i=new k(r.shift())),a=a.slice(i.length),i.type=r[0].replace(Q," "));for(o in x.filter)(r=at[o].exec(a))&&(!l[o]||(r=l[o](r)))&&(s.push(i=new k(r.shift())),a=a.slice(i.length),i.type=o,i.matches=r);if(!i)break}return e?a.length:a?n.error(t):H(t,_).slice(0)}function _(t,e,n){var i=e.dir,r=n&&"parentNode"===e.dir,s=D++;return e.first?function(e,n,s){for(;e=e[i];)if(r||1===e.nodeType)return t(e,n,s)}:function(e,n,o){if(o){for(;e=e[i];)if((r||1===e.nodeType)&&t(e,n,o))return e}else for(var a,_=R+" "+s+" ",l=_+g;e=e[i];)if(r||1===e.nodeType){if((a=e[O])===l)return e.sizset;if("string"==typeof a&&0===a.indexOf(_)){if(e.sizset)return e}else{if(e[O]=l,t(e,n,o))return e.sizset=!0,e;e.sizset=!1}}}}function l(t){return t.length>1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function h(t,e,n,i,r){for(var s,o=[],a=0,_=t.length,l=null!=e;a<_;a++)(s=t[a])&&(n&&!n(s,i,r)||(o.push(s),l&&e.push(a)));return o}function c(t,e,n,i,r,s){return i&&!i[O]&&(i=c(i)),r&&!r[O]&&(r=c(r,s)),F(function(s,o,a,_){var l,c,u,p=[],f=[],m=o.length,g=s||d(e||"*",a.nodeType?[a]:a,[]),v=!t||!s&&e?g:h(g,p,t,a,_),x=n?r||(s?t:m||i)?[]:o:v;if(n&&n(v,x,a,_),i)for(l=h(x,f),i(l,[],a,_),c=l.length;c--;)(u=l[c])&&(x[f[c]]=!(v[f[c]]=u));if(s){if(r||t){if(r){for(l=[],c=x.length;c--;)(u=x[c])&&l.push(v[c]=u);r(null,x=[],l,_)}for(c=x.length;c--;)(u=x[c])&&(l=r?B.call(s,u):p[c])>-1&&(s[l]=!(o[l]=u))}}else x=h(x===o?x.splice(m,x.length):x),r?r(null,o,x,_):M.apply(o,x)})}function u(t){for(var e,n,i,r=t.length,s=x.relative[t[0].type],o=s||x.relative[" "],a=s?1:0,h=_(function(t){return t===e},o,!0),p=_(function(t){return B.call(e,t)>-1},o,!0),d=[function(t,n,i){return!s&&(i||n!==A)||((e=n).nodeType?h(t,n,i):p(t,n,i))}];a1&&l(d),a>1&&t.slice(0,a-1).join("").replace(Q,"$1"),n,a0,r=t.length>0,s=function(o,a,_,l,c){var u,p,d,f=[],m=0,v="0",y=o&&[],b=null!=c,w=A,C=o||r&&x.find.TAG("*",c&&a.parentNode||a),E=R+=null==w?1:Math.E;for(b&&(A=a!==N&&a,g=s.el);null!=(u=C[v]);v++){if(r&&u){for(p=0;d=t[p];p++)if(d(u,a,_)){l.push(u);break}b&&(R=E,g=++s.el)}i&&((u=!d&&u)&&m--,o&&y.push(u))}if(m+=v,i&&v!==m){for(p=0;d=e[p];p++)d(y,f,a,_);if(o){if(m>0)for(;v--;)!y[v]&&!f[v]&&(f[v]=j.call(l));f=h(f)}M.apply(l,f),b&&!o&&f.length>0&&m+e.length>1&&n.uniqueSort(l)}return b&&(R=E,A=w),y};return s.el=0,i?F(s):s}function d(t,e,i){for(var r=0,s=e.length;r2&&"ID"===(_=o[0]).type&&9===e.nodeType&&!r&&x.relative[o[1].type]){if(e=x.find.ID(_.matches[0].replace(ot,""),e,r)[0],!e)return n;t=t.slice(o.shift().length)}for(s=at.POS.test(t)?-1:o.length-1;s>=0&&(_=o[s],!x.relative[l=_.type]);s--)if((h=x.find[l])&&(i=h(_.matches[0].replace(ot,""),nt.test(o[0].type)&&e.parentNode||e,r))){if(o.splice(s,1),t=i.length&&o.join(""),!t)return M.apply(n,L.call(i,0)),n;break}}return C(t,c)(i,e,r,n,nt.test(t)),n}function m(){}var g,v,x,y,b,w,C,E,T,A,I=!0,S="undefined",O=("sizcache"+Math.random()).replace(".",""),k=String,N=t.document,P=N.documentElement,R=0,D=0,j=[].pop,M=[].push,L=[].slice,B=[].indexOf||function(t){for(var e=0,n=this.length;ex.cacheLength&&delete t[e.shift()],t[n+" "]=i},t)},V=q(),H=q(),U=q(),z="[\\x20\\t\\r\\n\\f]",G="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",W=G.replace("w","w#"),Y="([*^$|!~]?=)",$="\\["+z+"*("+G+")"+z+"*(?:"+Y+z+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+W+")|)|)"+z+"*\\]",X=":("+G+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+$+")|[^:]|\\\\.)*|.*))\\)|)",J=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+z+"*((?:-\\d)?\\d*)"+z+"*\\)|)(?=[^-]|$)",Q=new RegExp("^"+z+"+|((?:^|[^\\\\])(?:\\\\.)*)"+z+"+$","g"),Z=new RegExp("^"+z+"*,"+z+"*"),K=new RegExp("^"+z+"*([\\x20\\t\\r\\n\\f>+~])"+z+"*"),tt=new RegExp(X),et=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,nt=/[\x20\t\r\n\f]*[+~]/,rt=/h\d/i,st=/input|select|textarea|button/i,ot=/\\(?!\\)/g,at={ID:new RegExp("^#("+G+")"),CLASS:new RegExp("^\\.("+G+")"),NAME:new RegExp("^\\[name=['\"]?("+G+")['\"]?\\]"),TAG:new RegExp("^("+G.replace("w","w*")+")"),ATTR:new RegExp("^"+$),PSEUDO:new RegExp("^"+X),POS:new RegExp(J,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+z+"*(even|odd|(([+-]|)(\\d*)n|)"+z+"*(?:([+-]|)"+z+"*(\\d+)|))"+z+"*\\)|)","i"),needsContext:new RegExp("^"+z+"*[>+~]|"+J,"i")},_t=function(t){var e=N.createElement("div");try{return t(e)}catch(t){return!1}finally{e=null}},lt=_t(function(t){return t.appendChild(N.createComment("")),!t.getElementsByTagName("*").length}),ht=_t(function(t){return t.innerHTML="",t.firstChild&&typeof t.firstChild.getAttribute!==S&&"#"===t.firstChild.getAttribute("href")}),ct=_t(function(t){t.innerHTML="";var e=typeof t.lastChild.getAttribute("multiple");return"boolean"!==e&&"string"!==e}),ut=_t(function(t){return t.innerHTML="",!(!t.getElementsByClassName||!t.getElementsByClassName("e").length)&&(t.lastChild.className="e",2===t.getElementsByClassName("e").length)}),pt=_t(function(t){t.id=O+0,t.innerHTML="
",P.insertBefore(t,P.firstChild);var e=N.getElementsByName&&N.getElementsByName(O).length===2+N.getElementsByName(O+0).length;return v=!N.getElementById(O),P.removeChild(t),e});try{L.call(P.childNodes,0)[0].nodeType}catch(t){L=function(t){for(var e,n=[];e=this[t];t++)n.push(e);return n}}n.matches=function(t,e){return n(t,null,null,e)},n.matchesSelector=function(t,e){return n(e,null,null,[t]).length>0},y=n.getText=function(t){var e,n="",i=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=y(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i];i++)n+=y(e);return n},b=n.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},w=n.contains=P.contains?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!!(i&&1===i.nodeType&&n.contains&&n.contains(i))}:P.compareDocumentPosition?function(t,e){return e&&!!(16&t.compareDocumentPosition(e))}:function(t,e){for(;e=e.parentNode;)if(e===t)return!0;return!1},n.attr=function(t,e){var n,i=b(t);return i||(e=e.toLowerCase()),(n=x.attrHandle[e])?n(t):i||ct?t.getAttribute(e):(n=t.getAttributeNode(e),n?"boolean"==typeof t[e]?t[e]?e:null:n.specified?n.value:null:null)},x=n.selectors={cacheLength:50,createPseudo:F,match:at,attrHandle:ht?{}:{href:function(t){return t.getAttribute("href",2)},type:function(t){return t.getAttribute("type")}},find:{ID:v?function(t,e,n){if(typeof e.getElementById!==S&&!n){var i=e.getElementById(t);return i&&i.parentNode?[i]:[]}}:function(t,n,i){if(typeof n.getElementById!==S&&!i){var r=n.getElementById(t);return r?r.id===t||typeof r.getAttributeNode!==S&&r.getAttributeNode("id").value===t?[r]:e:[]}},TAG:lt?function(t,e){if(typeof e.getElementsByTagName!==S)return e.getElementsByTagName(t)}:function(t,e){var n=e.getElementsByTagName(t);if("*"===t){for(var i,r=[],s=0;i=n[s];s++)1===i.nodeType&&r.push(i);return r}return n},NAME:pt&&function(t,e){if(typeof e.getElementsByName!==S)return e.getElementsByName(name)},CLASS:ut&&function(t,e,n){if(typeof e.getElementsByClassName!==S&&!n)return e.getElementsByClassName(t)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(ot,""),t[3]=(t[4]||t[5]||"").replace(ot,""),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1]?(t[2]||n.error(t[0]),t[3]=+(t[3]?t[4]+(t[5]||1):2*("even"===t[2]||"odd"===t[2])),t[4]=+(t[6]+t[7]||"odd"===t[2])):t[2]&&n.error(t[0]),t},PSEUDO:function(t){var e,n;return at.CHILD.test(t[0])?null:(t[3]?t[2]=t[3]:(e=t[4])&&(tt.test(e)&&(n=a(e,!0))&&(n=e.indexOf(")",e.length-n)-e.length)&&(e=e.slice(0,n),t[0]=t[0].slice(0,n)),t[2]=e),t.slice(0,3))}},filter:{ID:v?function(t){return t=t.replace(ot,""),function(e){return e.getAttribute("id")===t}}:function(t){return t=t.replace(ot,""),function(e){var n=typeof e.getAttributeNode!==S&&e.getAttributeNode("id");return n&&n.value===t}},TAG:function(t){return"*"===t?function(){return!0}:(t=t.replace(ot,"").toLowerCase(),function(e){return e.nodeName&&e.nodeName.toLowerCase()===t})},CLASS:function(t){var e=V[O][t+" "];return e||(e=new RegExp("(^|"+z+")"+t+"("+z+"|$)"))&&V(t,function(t){return e.test(t.className||typeof t.getAttribute!==S&&t.getAttribute("class")||"")})},ATTR:function(t,e,i){return function(r,s){var o=n.attr(r,t);return null==o?"!="===e:!e||(o+="","="===e?o===i:"!="===e?o!==i:"^="===e?i&&0===o.indexOf(i):"*="===e?i&&o.indexOf(i)>-1:"$="===e?i&&o.substr(o.length-i.length)===i:"~="===e?(" "+o+" ").indexOf(i)>-1:"|="===e&&(o===i||o.substr(0,i.length+1)===i+"-"))}},CHILD:function(t,e,n,i){return"nth"===t?function(t){var e,r,s=t.parentNode;if(1===n&&0===i)return!0;if(s)for(r=0,e=s.firstChild;e&&(1!==e.nodeType||(r++,t!==e));e=e.nextSibling);return r-=i,r===n||r%n===0&&r/n>=0}:function(e){var n=e;switch(t){case"only":case"first":for(;n=n.previousSibling;)if(1===n.nodeType)return!1;if("first"===t)return!0;n=e;case"last":for(;n=n.nextSibling;)if(1===n.nodeType)return!1;return!0}}},PSEUDO:function(t,e){var i,r=x.pseudos[t]||x.setFilters[t.toLowerCase()]||n.error("unsupported pseudo: "+t);return r[O]?r(e):r.length>1?(i=[t,t,"",e],x.setFilters.hasOwnProperty(t.toLowerCase())?F(function(t,n){for(var i,s=r(t,e),o=s.length;o--;)i=B.call(t,s[o]),t[i]=!(n[i]=s[o])}):function(t){return r(t,0,i)}):r}},pseudos:{not:F(function(t){var e=[],n=[],i=C(t.replace(Q,"$1"));return i[O]?F(function(t,e,n,r){for(var s,o=i(t,null,r,[]),a=t.length;a--;)(s=o[a])&&(t[a]=!(e[a]=s))}):function(t,r,s){return e[0]=t,i(e,null,s,n),!n.pop()}}),has:F(function(t){return function(e){return n(t,e).length>0}}),contains:F(function(t){return function(e){return(e.textContent||e.innerText||y(e)).indexOf(t)>-1}}),enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},parent:function(t){return!x.pseudos.empty(t)},empty:function(t){var e;for(t=t.firstChild;t;){if(t.nodeName>"@"||3===(e=t.nodeType)||4===e)return!1;t=t.nextSibling}return!0},header:function(t){return rt.test(t.nodeName)},text:function(t){var e,n;return"input"===t.nodeName.toLowerCase()&&"text"===(e=t.type)&&(null==(n=t.getAttribute("type"))||n.toLowerCase()===e)},radio:i("radio"),checkbox:i("checkbox"),file:i("file"),password:i("password"),image:i("image"),submit:r("submit"),reset:r("reset"),button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},input:function(t){return st.test(t.nodeName)},focus:function(t){var e=t.ownerDocument;return t===e.activeElement&&(!e.hasFocus||e.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},active:function(t){return t===t.ownerDocument.activeElement},first:s(function(){return[0]}),last:s(function(t,e){return[e-1]}),eq:s(function(t,e,n){return[n<0?n+e:n]}),even:s(function(t,e){for(var n=0;n=0;)t.push(i);return t}),gt:s(function(t,e,n){for(var i=n<0?n+e:n;++i",t.querySelectorAll("[selected]").length||s.push("\\["+z+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),t.querySelectorAll(":checked").length||s.push(":checked")}),_t(function(t){t.innerHTML="

",t.querySelectorAll("[test^='']").length&&s.push("[*^$]="+z+"*(?:\"\"|'')"),t.innerHTML="",t.querySelectorAll(":enabled").length||s.push(":enabled",":disabled")}),s=new RegExp(s.join("|")),f=function(t,n,r,o,_){if(!o&&!_&&!s.test(t)){var l,h,c=!0,u=O,p=n,d=9===n.nodeType&&t;if(1===n.nodeType&&"object"!==n.nodeName.toLowerCase()){for(l=a(t),(c=n.getAttribute("id"))?u=c.replace(i,"\\$&"):n.setAttribute("id",u),u="[id='"+u+"'] ",h=l.length;h--;)l[h]=u+l[h].join("");p=nt.test(t)&&n.parentNode||n,d=l.join(",")}if(d)try{return M.apply(r,L.call(p.querySelectorAll(d),0)),r}catch(t){}finally{c||n.removeAttribute("id")}}return e(t,n,r,o,_)},_&&(_t(function(e){t=_.call(e,"div");try{_.call(e,"[test!='']:sizzle"),o.push("!=",X)}catch(t){}}),o=new RegExp(o.join("|")),n.matchesSelector=function(e,i){if(i=i.replace(r,"='$1']"),!b(e)&&!o.test(i)&&!s.test(i))try{var a=_.call(e,i);if(a||t||e.document&&11!==e.document.nodeType)return a}catch(t){}return n(i,null,null,[e]).length>0})}(),x.pseudos.nth=x.pseudos.eq,x.filters=m.prototype=x.pseudos,x.setFilters=new m,n.attr=it.attr,it.find=n,it.expr=n.selectors,it.expr[":"]=it.expr.pseudos,it.unique=n.uniqueSort,it.text=n.getText,it.isXMLDoc=n.isXML,it.contains=n.contains}(s);var Ft=/Until$/,qt=/^(?:parents|prev(?:Until|All))/,Vt=/^.[^:#\[\.,]*$/,Ht=it.expr.match.needsContext,Ut={children:!0,contents:!0,next:!0,prev:!0};it.fn.extend({find:function(t){var e,n,i,r,s,o,a=this;if("string"!=typeof t)return it(t).filter(function(){for(e=0,n=a.length;e0)for(r=i;r=0:it.filter(t,this).length>0:this.filter(t).length>0)},closest:function(t,e){for(var n,i=0,r=this.length,s=[],o=Ht.test(t)||"string"!=typeof t?it(t,e||this.context):0;i-1:it.find.matchesSelector(n,t)){s.push(n);break}n=n.parentNode}return s=s.length>1?it.unique(s):s,this.pushStack(s,"closest",t)},index:function(t){return t?"string"==typeof t?it.inArray(this[0],it(t)):it.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(t,e){var n="string"==typeof t?it(t,e):it.makeArray(t&&t.nodeType?[t]:t),i=it.merge(this.get(),n);return this.pushStack(u(n[0])||u(i[0])?i:it.unique(i))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),it.fn.andSelf=it.fn.addBack,it.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return it.dir(t,"parentNode")},parentsUntil:function(t,e,n){return it.dir(t,"parentNode",n)},next:function(t){return p(t,"nextSibling")},prev:function(t){return p(t,"previousSibling")},nextAll:function(t){return it.dir(t,"nextSibling")},prevAll:function(t){return it.dir(t,"previousSibling")},nextUntil:function(t,e,n){return it.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return it.dir(t,"previousSibling",n)},siblings:function(t){return it.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return it.sibling(t.firstChild)},contents:function(t){return it.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:it.merge([],t.childNodes)}},function(t,e){it.fn[t]=function(n,i){var r=it.map(this,e,n);return Ft.test(t)||(i=n),i&&"string"==typeof i&&(r=it.filter(i,r)),r=this.length>1&&!Ut[t]?it.unique(r):r,this.length>1&&qt.test(t)&&(r=r.reverse()),this.pushStack(r,t,Z.call(arguments).join(","))}}),it.extend({filter:function(t,e,n){return n&&(t=":not("+t+")"),1===e.length?it.find.matchesSelector(e[0],t)?[e[0]]:[]:it.find.matches(t,e)},dir:function(t,e,n){for(var i=[],r=t[e];r&&9!==r.nodeType&&(n===o||1!==r.nodeType||!it(r).is(n));)1===r.nodeType&&i.push(r),r=r[e];return i},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}});var zt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Gt=/ jQuery\d+="(?:null|\d+)"/g,Wt=/^\s+/,Yt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,$t=/<([\w:]+)/,Xt=/]","i"),te=/^(?:checkbox|radio)$/,ee=/checked\s*(?:[^=]|=\s*.checked.)/i,ne=/\/(java|ecma)script/i,ie=/^\s*\s*$/g,re={option:[1,""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},se=f(W),oe=se.appendChild(W.createElement("div"));re.optgroup=re.option,re.tbody=re.tfoot=re.colgroup=re.caption=re.thead,re.th=re.td,it.support.htmlSerialize||(re._default=[1,"X
","
"]),it.fn.extend({text:function(t){return it.access(this,function(t){return t===o?it.text(this):this.empty().append((this[0]&&this[0].ownerDocument||W).createTextNode(t))},null,t,arguments.length)},wrapAll:function(t){if(it.isFunction(t))return this.each(function(e){it(this).wrapAll(t.call(this,e))});if(this[0]){var e=it(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(t){return it.isFunction(t)?this.each(function(e){it(this).wrapInner(t.call(this,e))}):this.each(function(){var e=it(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=it.isFunction(t);return this.each(function(n){it(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){it.nodeName(this,"body")||it(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(t){(1===this.nodeType||11===this.nodeType)&&this.appendChild(t)})},prepend:function(){return this.domManip(arguments,!0,function(t){(1===this.nodeType||11===this.nodeType)&&this.insertBefore(t,this.firstChild)})},before:function(){if(!u(this[0]))return this.domManip(arguments,!1,function(t){this.parentNode.insertBefore(t,this)});if(arguments.length){var t=it.clean(arguments);return this.pushStack(it.merge(t,this),"before",this.selector)}},after:function(){if(!u(this[0]))return this.domManip(arguments,!1,function(t){this.parentNode.insertBefore(t,this.nextSibling)});if(arguments.length){var t=it.clean(arguments);return this.pushStack(it.merge(this,t),"after",this.selector)}},remove:function(t,e){for(var n,i=0;null!=(n=this[i]);i++)t&&!it.filter(t,[n]).length||(!e&&1===n.nodeType&&(it.cleanData(n.getElementsByTagName("*")),it.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)for(1===t.nodeType&&it.cleanData(t.getElementsByTagName("*"));t.firstChild;)t.removeChild(t.firstChild);return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return it.clone(this,t,e)})},html:function(t){return it.access(this,function(t){var e=this[0]||{},n=0,i=this.length;if(t===o)return 1===e.nodeType?e.innerHTML.replace(Gt,""):o;if("string"==typeof t&&!Qt.test(t)&&(it.support.htmlSerialize||!Kt.test(t))&&(it.support.leadingWhitespace||!Wt.test(t))&&!re[($t.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(Yt,"<$1>");try{for(;n1&&"string"==typeof l&&ee.test(l))return this.each(function(){it(this).domManip(t,e,n)});if(it.isFunction(l))return this.each(function(i){var r=it(this);t[0]=l.call(this,i,e?r.html():o),r.domManip(t,e,n)});if(this[0]){if(i=it.buildFragment(t,this,h),s=i.fragment,r=s.firstChild,1===s.childNodes.length&&(s=r),r)for(e=e&&it.nodeName(r,"tr"),a=i.cacheable||c-1;_0?this.clone(!0):this).get(),it(o[r])[e](i),s=s.concat(i);return this.pushStack(s,t,o.selector)}}),it.extend({clone:function(t,e,n){var i,r,s,o;if(it.support.html5Clone||it.isXMLDoc(t)||!Kt.test("<"+t.nodeName+">")?o=t.cloneNode(!0):(oe.innerHTML=t.outerHTML,oe.removeChild(o=oe.firstChild)),!(it.support.noCloneEvent&&it.support.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||it.isXMLDoc(t)))for(v(t,o),i=x(t),r=x(o),s=0;i[s];++s)r[s]&&v(i[s],r[s]);if(e&&(g(t,o),n))for(i=x(t),r=x(o),s=0;i[s];++s)g(i[s],r[s]);return i=r=null,o},clean:function(t,e,n,i){var r,s,o,a,_,l,h,c,u,p,d,m=e===W&&se,g=[];for(e&&"undefined"!=typeof e.createDocumentFragment||(e=W),r=0;null!=(o=t[r]);r++)if("number"==typeof o&&(o+=""),o){if("string"==typeof o)if(Jt.test(o)){for(m=m||f(e),h=e.createElement("div"),m.appendChild(h),o=o.replace(Yt,"<$1>"),a=($t.exec(o)||["",""])[1].toLowerCase(),_=re[a]||re._default,l=_[0],h.innerHTML=_[1]+o+_[2];l--;)h=h.lastChild;if(!it.support.tbody)for(c=Xt.test(o),u="table"!==a||c?""!==_[1]||c?[]:h.childNodes:h.firstChild&&h.firstChild.childNodes,s=u.length-1;s>=0;--s)it.nodeName(u[s],"tbody")&&!u[s].childNodes.length&&u[s].parentNode.removeChild(u[s]);!it.support.leadingWhitespace&&Wt.test(o)&&h.insertBefore(e.createTextNode(Wt.exec(o)[0]),h.firstChild),o=h.childNodes,h.parentNode.removeChild(h)}else o=e.createTextNode(o);o.nodeType?g.push(o):it.merge(g,o)}if(h&&(o=h=m=null),!it.support.appendChecked)for(r=0;null!=(o=g[r]);r++)it.nodeName(o,"input")?y(o):"undefined"!=typeof o.getElementsByTagName&&it.grep(o.getElementsByTagName("input"),y);if(n)for(p=function(t){if(!t.type||ne.test(t.type))return i?i.push(t.parentNode?t.parentNode.removeChild(t):t):n.appendChild(t)},r=0;null!=(o=g[r]);r++)it.nodeName(o,"script")&&p(o)||(n.appendChild(o),"undefined"!=typeof o.getElementsByTagName&&(d=it.grep(it.merge([],o.getElementsByTagName("script")),p),g.splice.apply(g,[r+1,0].concat(d)),r+=d.length));return g},cleanData:function(t,e){for(var n,i,r,s,o=0,a=it.expando,_=it.cache,l=it.support.deleteExpando,h=it.event.special;null!=(r=t[o]);o++)if((e||it.acceptData(r))&&(i=r[a],n=i&&_[i])){if(n.events)for(s in n.events)h[s]?it.event.remove(r,s):it.removeEvent(r,s,n.handle); _[i]&&(delete _[i],l?delete r[a]:r.removeAttribute?r.removeAttribute(a):r[a]=null,it.deletedIds.push(i))}}}),function(){var t,e;it.uaMatch=function(t){t=t.toLowerCase();var e=/(chrome)[ \/]([\w.]+)/.exec(t)||/(webkit)[ \/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:e[1]||"",version:e[2]||"0"}},t=it.uaMatch($.userAgent),e={},t.browser&&(e[t.browser]=!0,e.version=t.version),e.chrome?e.webkit=!0:e.webkit&&(e.safari=!0),it.browser=e,it.sub=function(){function t(e,n){return new t.fn.init(e,n)}it.extend(!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=t,t.sub=this.sub,t.fn.init=function(n,i){return i&&i instanceof it&&!(i instanceof t)&&(i=t(i)),it.fn.init.call(this,n,i,e)},t.fn.init.prototype=t.fn;var e=t(W);return t}}();var ae,_e,le,he=/alpha\([^)]*\)/i,ce=/opacity=([^)]*)/,ue=/^(top|right|bottom|left)$/,pe=/^(none|table(?!-c[ea]).+)/,de=/^margin/,fe=new RegExp("^("+rt+")(.*)$","i"),me=new RegExp("^("+rt+")(?!px)[a-z%]+$","i"),ge=new RegExp("^([-+])=("+rt+")","i"),ve={BODY:"block"},xe={position:"absolute",visibility:"hidden",display:"block"},ye={letterSpacing:0,fontWeight:400},be=["Top","Right","Bottom","Left"],we=["Webkit","O","Moz","ms"],Ce=it.fn.toggle;it.fn.extend({css:function(t,e){return it.access(this,function(t,e,n){return n!==o?it.style(t,e,n):it.css(t,e)},t,e,arguments.length>1)},show:function(){return C(this,!0)},hide:function(){return C(this)},toggle:function(t,e){var n="boolean"==typeof t;return it.isFunction(t)&&it.isFunction(e)?Ce.apply(this,arguments):this.each(function(){(n?t:w(this))?it(this).show():it(this).hide()})}}),it.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=ae(t,"opacity");return""===n?"1":n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:it.support.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,s,a,_=it.camelCase(e),l=t.style;if(e=it.cssProps[_]||(it.cssProps[_]=b(l,_)),a=it.cssHooks[e]||it.cssHooks[_],n===o)return a&&"get"in a&&(r=a.get(t,!1,i))!==o?r:l[e];if(s=typeof n,"string"===s&&(r=ge.exec(n))&&(n=(r[1]+1)*r[2]+parseFloat(it.css(t,e)),s="number"),!(null==n||"number"===s&&isNaN(n)||("number"===s&&!it.cssNumber[_]&&(n+="px"),a&&"set"in a&&(n=a.set(t,n,i))===o)))try{l[e]=n}catch(t){}}},css:function(t,e,n,i){var r,s,a,_=it.camelCase(e);return e=it.cssProps[_]||(it.cssProps[_]=b(t.style,_)),a=it.cssHooks[e]||it.cssHooks[_],a&&"get"in a&&(r=a.get(t,!0,i)),r===o&&(r=ae(t,e)),"normal"===r&&e in ye&&(r=ye[e]),n||i!==o?(s=parseFloat(r),n||it.isNumeric(s)?s||0:r):r},swap:function(t,e,n){var i,r,s={};for(r in e)s[r]=t.style[r],t.style[r]=e[r];i=n.call(t);for(r in e)t.style[r]=s[r];return i}}),s.getComputedStyle?ae=function(t,e){var n,i,r,o,a=s.getComputedStyle(t,null),_=t.style;return a&&(n=a.getPropertyValue(e)||a[e],""===n&&!it.contains(t.ownerDocument,t)&&(n=it.style(t,e)),me.test(n)&&de.test(e)&&(i=_.width,r=_.minWidth,o=_.maxWidth,_.minWidth=_.maxWidth=_.width=n,n=a.width,_.width=i,_.minWidth=r,_.maxWidth=o)),n}:W.documentElement.currentStyle&&(ae=function(t,e){var n,i,r=t.currentStyle&&t.currentStyle[e],s=t.style;return null==r&&s&&s[e]&&(r=s[e]),me.test(r)&&!ue.test(e)&&(n=s.left,i=t.runtimeStyle&&t.runtimeStyle.left,i&&(t.runtimeStyle.left=t.currentStyle.left),s.left="fontSize"===e?"1em":r,r=s.pixelLeft+"px",s.left=n,i&&(t.runtimeStyle.left=i)),""===r?"auto":r}),it.each(["height","width"],function(t,e){it.cssHooks[e]={get:function(t,n,i){if(n)return 0===t.offsetWidth&&pe.test(ae(t,"display"))?it.swap(t,xe,function(){return A(t,e,i)}):A(t,e,i)},set:function(t,n,i){return E(t,n,i?T(t,e,i,it.support.boxSizing&&"border-box"===it.css(t,"boxSizing")):0)}}}),it.support.opacity||(it.cssHooks.opacity={get:function(t,e){return ce.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var n=t.style,i=t.currentStyle,r=it.isNumeric(e)?"alpha(opacity="+100*e+")":"",s=i&&i.filter||n.filter||"";n.zoom=1,e>=1&&""===it.trim(s.replace(he,""))&&n.removeAttribute&&(n.removeAttribute("filter"),i&&!i.filter)||(n.filter=he.test(s)?s.replace(he,r):s+" "+r)}}),it(function(){it.support.reliableMarginRight||(it.cssHooks.marginRight={get:function(t,e){return it.swap(t,{display:"inline-block"},function(){if(e)return ae(t,"marginRight")})}}),!it.support.pixelPosition&&it.fn.position&&it.each(["top","left"],function(t,e){it.cssHooks[e]={get:function(t,n){if(n){var i=ae(t,e);return me.test(i)?it(t).position()[e]+"px":i}}}})}),it.expr&&it.expr.filters&&(it.expr.filters.hidden=function(t){return 0===t.offsetWidth&&0===t.offsetHeight||!it.support.reliableHiddenOffsets&&"none"===(t.style&&t.style.display||ae(t,"display"))},it.expr.filters.visible=function(t){return!it.expr.filters.hidden(t)}),it.each({margin:"",padding:"",border:"Width"},function(t,e){it.cssHooks[t+e]={expand:function(n){var i,r="string"==typeof n?n.split(" "):[n],s={};for(i=0;i<4;i++)s[t+be[i]+e]=r[i]||r[i-2]||r[0];return s}},de.test(t)||(it.cssHooks[t+e].set=E)});var Ee=/%20/g,Te=/\[\]$/,Ae=/\r?\n/g,Ie=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Se=/^(?:select|textarea)/i;it.fn.extend({serialize:function(){return it.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?it.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||Se.test(this.nodeName)||Ie.test(this.type))}).map(function(t,e){var n=it(this).val();return null==n?null:it.isArray(n)?it.map(n,function(t,n){return{name:e.name,value:t.replace(Ae,"\r\n")}}):{name:e.name,value:n.replace(Ae,"\r\n")}}).get()}}),it.param=function(t,e){var n,i=[],r=function(t,e){e=it.isFunction(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(e===o&&(e=it.ajaxSettings&&it.ajaxSettings.traditional),it.isArray(t)||t.jquery&&!it.isPlainObject(t))it.each(t,function(){r(this.name,this.value)});else for(n in t)S(n,t[n],e,r);return i.join("&").replace(Ee,"+")};var Oe,ke,Ne=/#.*$/,Pe=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Re=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,De=/^(?:GET|HEAD)$/,je=/^\/\//,Me=/\?/,Le=/)<[^<]*)*<\/script>/gi,Be=/([?&])_=[^&]*/,Fe=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,qe=it.fn.load,Ve={},He={},Ue=["*/"]+["*"];try{ke=Y.href}catch(t){ke=W.createElement("a"),ke.href="",ke=ke.href}Oe=Fe.exec(ke.toLowerCase())||[],it.fn.load=function(t,e,n){if("string"!=typeof t&&qe)return qe.apply(this,arguments);if(!this.length)return this;var i,r,s,a=this,_=t.indexOf(" ");return _>=0&&(i=t.slice(_,t.length),t=t.slice(0,_)),it.isFunction(e)?(n=e,e=o):e&&"object"==typeof e&&(r="POST"),it.ajax({url:t,type:r,dataType:"html",data:e,complete:function(t,e){n&&a.each(n,s||[t.responseText,e,t])}}).done(function(t){s=arguments,a.html(i?it("
").append(t.replace(Le,"")).find(i):t)}),this},it.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(t,e){it.fn[e]=function(t){return this.on(e,t)}}),it.each(["get","post"],function(t,e){it[e]=function(t,n,i,r){return it.isFunction(n)&&(r=r||i,i=n,n=o),it.ajax({type:e,url:t,data:n,success:i,dataType:r})}}),it.extend({getScript:function(t,e){return it.get(t,o,e,"script")},getJSON:function(t,e,n){return it.get(t,e,n,"json")},ajaxSetup:function(t,e){return e?N(t,it.ajaxSettings):(e=t,t=it.ajaxSettings),N(t,e),t},ajaxSettings:{url:ke,isLocal:Re.test(Oe[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Ue},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":s.String,"text html":!0,"text json":it.parseJSON,"text xml":it.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:O(Ve),ajaxTransport:O(He),ajax:function(t,e){function n(t,e,n,s){var l,c,v,x,b,C=e;2!==y&&(y=2,_&&clearTimeout(_),a=o,r=s||"",w.readyState=t>0?4:0,n&&(x=P(u,w,n)),t>=200&&t<300||304===t?(u.ifModified&&(b=w.getResponseHeader("Last-Modified"),b&&(it.lastModified[i]=b),b=w.getResponseHeader("Etag"),b&&(it.etag[i]=b)),304===t?(C="notmodified",l=!0):(l=R(u,x),C=l.state,c=l.data,v=l.error,l=!v)):(v=C,C&&!t||(C="error",t<0&&(t=0))),w.status=t,w.statusText=(e||C)+"",l?f.resolveWith(p,[c,C,w]):f.rejectWith(p,[w,C,v]),w.statusCode(g),g=o,h&&d.trigger("ajax"+(l?"Success":"Error"),[w,u,l?c:v]),m.fireWith(p,[w,C]),h&&(d.trigger("ajaxComplete",[w,u]),--it.active||it.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=o),e=e||{};var i,r,s,a,_,l,h,c,u=it.ajaxSetup({},e),p=u.context||u,d=p!==u&&(p.nodeType||p instanceof it)?it(p):it.event,f=it.Deferred(),m=it.Callbacks("once memory"),g=u.statusCode||{},v={},x={},y=0,b="canceled",w={readyState:0,setRequestHeader:function(t,e){if(!y){var n=t.toLowerCase();t=x[n]=x[n]||t,v[t]=e}return this},getAllResponseHeaders:function(){return 2===y?r:null},getResponseHeader:function(t){var e;if(2===y){if(!s)for(s={};e=Pe.exec(r);)s[e[1].toLowerCase()]=e[2];e=s[t.toLowerCase()]}return e===o?null:e},overrideMimeType:function(t){return y||(u.mimeType=t),this},abort:function(t){return t=t||b,a&&a.abort(t),n(0,t),this}};if(f.promise(w),w.success=w.done,w.error=w.fail,w.complete=m.add,w.statusCode=function(t){if(t){var e;if(y<2)for(e in t)g[e]=[g[e],t[e]];else e=t[w.status],w.always(e)}return this},u.url=((t||u.url)+"").replace(Ne,"").replace(je,Oe[1]+"//"),u.dataTypes=it.trim(u.dataType||"*").toLowerCase().split(ot),null==u.crossDomain&&(l=Fe.exec(u.url.toLowerCase()),u.crossDomain=!(!l||l[1]===Oe[1]&&l[2]===Oe[2]&&(l[3]||("http:"===l[1]?80:443))==(Oe[3]||("http:"===Oe[1]?80:443)))),u.data&&u.processData&&"string"!=typeof u.data&&(u.data=it.param(u.data,u.traditional)),k(Ve,u,e,w),2===y)return w;if(h=u.global,u.type=u.type.toUpperCase(),u.hasContent=!De.test(u.type),h&&0===it.active++&&it.event.trigger("ajaxStart"),!u.hasContent&&(u.data&&(u.url+=(Me.test(u.url)?"&":"?")+u.data,delete u.data),i=u.url,u.cache===!1)){var C=it.now(),E=u.url.replace(Be,"$1_="+C);u.url=E+(E===u.url?(Me.test(u.url)?"&":"?")+"_="+C:"")}(u.data&&u.hasContent&&u.contentType!==!1||e.contentType)&&w.setRequestHeader("Content-Type",u.contentType),u.ifModified&&(i=i||u.url,it.lastModified[i]&&w.setRequestHeader("If-Modified-Since",it.lastModified[i]),it.etag[i]&&w.setRequestHeader("If-None-Match",it.etag[i])),w.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+("*"!==u.dataTypes[0]?", "+Ue+"; q=0.01":""):u.accepts["*"]);for(c in u.headers)w.setRequestHeader(c,u.headers[c]);if(!u.beforeSend||u.beforeSend.call(p,w,u)!==!1&&2!==y){b="abort";for(c in{success:1,error:1,complete:1})w[c](u[c]);if(a=k(He,u,e,w)){w.readyState=1,h&&d.trigger("ajaxSend",[w,u]),u.async&&u.timeout>0&&(_=setTimeout(function(){w.abort("timeout")},u.timeout));try{y=1,a.send(v,n)}catch(t){if(!(y<2))throw t;n(-1,t)}}else n(-1,"No Transport");return w}return w.abort()},active:0,lastModified:{},etag:{}});var ze=[],Ge=/\?/,We=/(=)\?(?=&|$)|\?\?/,Ye=it.now();it.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=ze.pop()||it.expando+"_"+Ye++;return this[t]=!0,t}}),it.ajaxPrefilter("json jsonp",function(t,e,n){var i,r,a,_=t.data,l=t.url,h=t.jsonp!==!1,c=h&&We.test(l),u=h&&!c&&"string"==typeof _&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&We.test(_);if("jsonp"===t.dataTypes[0]||c||u)return i=t.jsonpCallback=it.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,r=s[i],c?t.url=l.replace(We,"$1"+i):u?t.data=_.replace(We,"$1"+i):h&&(t.url+=(Ge.test(l)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||it.error(i+" was not called"),a[0]},t.dataTypes[0]="json",s[i]=function(){a=arguments},n.always(function(){s[i]=r,t[i]&&(t.jsonpCallback=e.jsonpCallback,ze.push(i)),a&&it.isFunction(r)&&r(a[0]),a=r=o}),"script"}),it.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(t){return it.globalEval(t),t}}}),it.ajaxPrefilter("script",function(t){t.cache===o&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),it.ajaxTransport("script",function(t){if(t.crossDomain){var e,n=W.head||W.getElementsByTagName("head")[0]||W.documentElement;return{send:function(i,r){e=W.createElement("script"),e.async="async",t.scriptCharset&&(e.charset=t.scriptCharset),e.src=t.url,e.onload=e.onreadystatechange=function(t,i){(i||!e.readyState||/loaded|complete/.test(e.readyState))&&(e.onload=e.onreadystatechange=null,n&&e.parentNode&&n.removeChild(e),e=o,i||r(200,"success"))},n.insertBefore(e,n.firstChild)},abort:function(){e&&e.onload(0,1)}}}});var $e,Xe=!!s.ActiveXObject&&function(){for(var t in $e)$e[t](0,1)},Je=0;it.ajaxSettings.xhr=s.ActiveXObject?function(){return!this.isLocal&&D()||j()}:D,function(t){it.extend(it.support,{ajax:!!t,cors:!!t&&"withCredentials"in t})}(it.ajaxSettings.xhr()),it.support.ajax&&it.ajaxTransport(function(t){if(!t.crossDomain||it.support.cors){var e;return{send:function(n,i){var r,a,_=t.xhr();if(t.username?_.open(t.type,t.url,t.async,t.username,t.password):_.open(t.type,t.url,t.async),t.xhrFields)for(a in t.xhrFields)_[a]=t.xhrFields[a];t.mimeType&&_.overrideMimeType&&_.overrideMimeType(t.mimeType),!t.crossDomain&&!n["X-Requested-With"]&&(n["X-Requested-With"]="XMLHttpRequest");try{for(a in n)_.setRequestHeader(a,n[a])}catch(t){}_.send(t.hasContent&&t.data||null),e=function(n,s){var a,l,h,c,u;try{if(e&&(s||4===_.readyState))if(e=o,r&&(_.onreadystatechange=it.noop,Xe&&delete $e[r]),s)4!==_.readyState&&_.abort();else{a=_.status,h=_.getAllResponseHeaders(),c={},u=_.responseXML,u&&u.documentElement&&(c.xml=u);try{c.text=_.responseText}catch(t){}try{l=_.statusText}catch(t){l=""}a||!t.isLocal||t.crossDomain?1223===a&&(a=204):a=c.text?200:404}}catch(t){s||i(-1,t)}c&&i(a,l,c,h)},t.async?4===_.readyState?setTimeout(e,0):(r=++Je,Xe&&($e||($e={},it(s).unload(Xe)),$e[r]=e),_.onreadystatechange=e):e()},abort:function(){e&&e(0,1)}}}});var Qe,Ze,Ke=/^(?:toggle|show|hide)$/,tn=new RegExp("^(?:([-+])=|)("+rt+")([a-z%]*)$","i"),en=/queueHooks$/,nn=[q],rn={"*":[function(t,e){var n,i,r=this.createTween(t,e),s=tn.exec(e),o=r.cur(),a=+o||0,_=1,l=20;if(s){if(n=+s[2],i=s[3]||(it.cssNumber[t]?"":"px"),"px"!==i&&a){a=it.css(r.elem,t,!0)||n||1;do _=_||".5",a/=_,it.style(r.elem,t,a+i);while(_!==(_=r.cur()/o)&&1!==_&&--l)}r.unit=i,r.start=a,r.end=s[1]?a+(s[1]+1)*n:n}return r}]};it.Animation=it.extend(B,{tweener:function(t,e){it.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var n,i=0,r=t.length;i-1,c={},u={};h?(u=o.position(),r=u.top,s=u.left):(r=parseFloat(_)||0,s=parseFloat(l)||0),it.isFunction(e)&&(e=e.call(t,n,a)),null!=e.top&&(c.top=e.top-a.top+r),null!=e.left&&(c.left=e.left-a.left+s),"using"in e?e.using.call(t,c):o.css(c)}},it.fn.extend({position:function(){if(this[0]){var t=this[0],e=this.offsetParent(),n=this.offset(),i=sn.test(e[0].nodeName)?{top:0,left:0}:e.offset();return n.top-=parseFloat(it.css(t,"marginTop"))||0,n.left-=parseFloat(it.css(t,"marginLeft"))||0,i.top+=parseFloat(it.css(e[0],"borderTopWidth"))||0,i.left+=parseFloat(it.css(e[0],"borderLeftWidth"))||0,{top:n.top-i.top,left:n.left-i.left}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||W.body;t&&!sn.test(t.nodeName)&&"static"===it.css(t,"position");)t=t.offsetParent;return t||W.body})}}),it.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n=/Y/.test(e);it.fn[t]=function(i){return it.access(this,function(t,i,r){var s=U(t);return r===o?s?e in s?s[e]:s.document.documentElement[i]:t[i]:void(s?s.scrollTo(n?it(s).scrollLeft():r,n?r:it(s).scrollTop()):t[i]=r)},t,i,arguments.length,null)}}),it.each({Height:"height",Width:"width"},function(t,e){it.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){it.fn[i]=function(i,r){var s=arguments.length&&(n||"boolean"!=typeof i),a=n||(i===!0||r===!0?"margin":"border");return it.access(this,function(e,n,i){var r;return it.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):i===o?it.css(e,n,i,a):it.style(e,n,i,a)},e,s?i:o,s,null)}})}),s.jQuery=s.$=it,n(724)&&n(724).jQuery&&(i=[],r=function(){return it}.apply(e,i),!(void 0!==r&&(t.exports=r)))}(window)},function(t,e,n){"use strict";var i=n(0),r=n(1),s=(n.n(r),n(54)),o=(n.n(s),n(844)),a=n(846),_=n(849),l=n(859),h=n(860),c=n(847),u=n(857),p=n(842),d=n(100);n.d(e,"a",function(){return f});var f=function(){function t(t,e,n){this.instruments={awg:null,dc:null,la:null,osc:null,trigger:null,gpio:null,logger:null},this.firmwareRepositoryUrl="https://s3-us-west-2.amazonaws.com/digilent/Software/OpenScope+MZ/release/without-bootloader",this.listFirmwareUrl="https://s3-us-west-2.amazonaws.com/digilent?prefix=Software/OpenScope+MZ/release/without-bootloader",this.descriptorObject=e,this.httpTimeout=n,this.rootUri=t,this.transport=new d.a(this.rootUri,n),"local"===t&&this.transport.setLocalTransport(e),this.deviceMake=e.deviceMake,this.deviceModel=e.deviceModel,this.firmwareVersion=e.firmwareVersion,this.calibrationSource=e.calibrationSource,this.macAddress=e.macAddress,this.instruments.awg=new o.a(this.transport,e.awg),this.instruments.dc=new a.a(this.transport,e.dc),this.instruments.la=new _.a(this.transport,e.la||{numChans:0}),this.instruments.osc=new l.a(this.transport,e.osc||{numChans:0}),this.instruments.trigger=new h.a(this.transport,"deviceDescriptor.trigger"),this.instruments.gpio=new c.a(this.transport,e.gpio),this.instruments.logger=new u.a(this.transport,e.log),this.file=new p.a(this.transport)}return t.prototype.multiCommand=function(t){var e=this,n={};return r.Observable.create(function(i){for(var r in t){n[r]={};for(var s=Object.keys(t[r]),o=!1,a=0,_=s;a<_.length;a++){var l=_[a],h=void 0;try{h=(p=e.instruments[r])[l+"Json"].apply(p,t[r][l])}catch(t){console.log(t),o=!0,i.error("Error in multiCommand().\nThis is most likely due to an undefined function.\nUnknown function name is: "+l+"Json.\nAuto-generated error: "+t)}if(o)return;for(var c in h[r])void 0===n[r][c]?(n[r][c]=[],n[r][c]=h[r][c]):n[r][c].push(h[r][c][0])}}var u;console.log("multicommand: "),console.log(n),e.transport.writeRead("/",JSON.stringify(n),"json").subscribe(function(t){var n=String.fromCharCode.apply(null,new Int8Array(t.slice(0,1)));if(isNaN(parseInt(n)))if("{"===n){try{console.log(String.fromCharCode.apply(null,new Int8Array(t.slice(0)))),u=JSON.parse(String.fromCharCode.apply(null,new Int8Array(t.slice(0))))}catch(t){console.log(t),i.error("Error in multiCommand().\nThis is most likely due to an unparseable response.\nAuto-generated error: "+t)}var r=!1;for(var s in u)for(var o in u[s])for(var a=0,_=u[s][o];a<_.length;a++){var l=_[a];try{l.statusCode>0&&(console.log("StatusCode Error!"),i.error(l),r=!0),i.next(e.instruments[s][l.command+"Parse"](o,l))}catch(t){console.log(t),r=!0,i.error("Error in multiCommand().\nThis is most likely due to an undefined function.\nUnknown function name is: "+l.command+"Parse.\nAuto-generated error: "+t)}if(r)return}i.complete()}else i.error("Error in multiCommand().\nThis is most likely due to an unrecognized response format. Exiting");else{for(var h=0,c=0,p="";h<2&&c<1e4;){var d="";d+=String.fromCharCode.apply(null,new Int8Array(t.slice(c,c+1))),"\n"===d&&h++,p+=d,c++}var f=p.indexOf("\r\n"),m=parseFloat(p.substring(0,f)),g=void 0,v=void 0;try{g=JSON.parse(p.substring(f+2,f+m+2)),v=t.slice(f+2+m)}catch(e){return console.log("Error parsing OSJB response. Printing entire response"),console.log(String.fromCharCode.apply(null,new Int8Array(t.slice(0)))),void i.error(e)}var r=!1;for(var s in g)for(var o in g[s])for(var x=0,y=g[s][o];x0||void 0!=e.agent?void n.error(e):(n.next(e),void n.complete())},function(t){n.error(t)},function(){n.complete()})})},t.prototype.resetInstruments=function(){var t={device:[{command:"resetInstruments"}]};return this._genericResponseHandler(t)},t.prototype.storageGetLocations=function(){var t={device:[{command:"storageGetLocations"}]};return this._genericResponseHandler(t)},t.prototype.calibrationGetStorageTypes=function(){var t={device:[{command:"calibrationGetStorageTypes"}]};return this._genericResponseHandler(t)},t.prototype.calibrationGetInstructions=function(){var t={device:[{command:"calibrationGetInstructions"}]};return this._genericResponseHandler(t)},t.prototype.calibrationStart=function(t){var e={device:[{command:"calibrationStart"}]};return t.daq&&(e.device[0].daq=t.daq),t.dc&&(e.device[0].dc=t.dc),t.awg&&(e.device[0].awg=t.awg),this._genericResponseHandler(e)},t.prototype.calibrationLoad=function(t){var e={device:[{command:"calibrationLoad",type:t}]};return this._genericResponseHandler(e)},t.prototype.calibrationRead=function(){var t={device:[{command:"calibrationRead"}]};return this._genericResponseHandler(t)},t.prototype.calibrationSave=function(t){var e={device:[{command:"calibrationSave",type:t}]};return this._genericResponseHandler(e)},t.prototype.calibrationGetStatus=function(){var t={device:[{command:"calibrationGetStatus"}]};return this._genericResponseHandler(t)},t.prototype.nicList=function(){var t={device:[{command:"nicList"}]};return this._genericResponseHandler(t)},t.prototype.nicGetStatus=function(t){var e={device:[{command:"nicGetStatus",adapter:t}]};return this._genericResponseHandler(e)},t.prototype.nicConnect=function(t,e,n){var i={device:[{command:"nicConnect",adapter:t,parameterSet:e,force:n}]};return this._genericResponseHandler(i)},t.prototype.nicDisconnect=function(t){var e={device:[{command:"nicDisconnect",adapter:t}]};return this._genericResponseHandler(e)},t.prototype.wifiScan=function(t,e){void 0===e&&(e=!0);var n={device:[{command:"wifiScan",adapter:t,force:e}]};return this._genericResponseHandler(n)},t.prototype.wifiReadScannedNetworks=function(t){var e={device:[{command:"wifiReadScannedNetworks",adapter:t}]};return this._genericResponseHandler(e)},t.prototype.wifiSetParameters=function(t,e,n,i,r,s,o){var a={device:[{command:"wifiSetParameters",ssid:e,securityType:n,autoConnect:i}]};return"wep40"===n||"wep104"===n?(a.device[0].keys=s,a.device[0].keyIndex=o):"wpa"===n||"wpa2"===n?r?a.device[0].passphrase=r:a.device[0].keys=s:"open"===n&&(a.device[0].passphrase=""),this._genericResponseHandler(a)},t.prototype.wifiListSavedParameters=function(t){var e={device:[{command:"wifiListSavedParameters",storageLocation:t}]};return this._genericResponseHandler(e)},t.prototype.wifiDeleteParameters=function(t,e){var n={device:[{command:"wifiDeleteParameters",storageLocation:t,ssid:e}]};return this._genericResponseHandler(n)},t.prototype.wifiSaveParameters=function(t){var e={device:[{command:"wifiSaveParameters",storageLocation:t}]};return this._genericResponseHandler(e)},t.prototype.wifiLoadParameters=function(t,e){var n={device:[{command:"wifiLoadParameters",storageLocation:t,ssid:e}]};return this._genericResponseHandler(n)},t.decorators=[{type:i.Injectable}],t.ctorParameters=[null,null,null],t}()},function(t,e,n){"use strict";var i=n(0),r=n(1),s=(n.n(r),n(54)),o=(n.n(s),n(100)),a=n(171);n.d(e,"a",function(){return _});var _=function(){function t(t){this.transport=t,this.commandUtilService=new a.a}return t.prototype.write=function(t,e,n,i){var s=this;i=void 0==i?0:i;var o={file:[{command:"write",type:t,path:e,filePosition:i,binaryOffset:0,binaryLength:n.byteLength}]};return r.Observable.create(function(t){var e=s.commandUtilService.createChunkedArrayBuffer(o,n);s.transport.writeRead("/",e,"binary").subscribe(function(e){var n;try{var i=String.fromCharCode.apply(null,new Uint8Array(e.slice(0)));n=JSON.parse(i)}catch(e){return void t.error(e)}return void 0==n||void 0!=n.agent?void t.error(n):void 0==n.file||void 0==n.file[0]||0!==n.file[0].statusCode?void t.error(n):(t.next(n),void t.complete())},function(e){t.error(e)},function(){t.complete()})})},t.prototype.listDir=function(t,e){var n={file:[{command:"listdir",type:t,path:e}]};return this.genericResponse(n)},t.prototype.getFileSize=function(t,e){var n={file:[{command:"getFileSize",type:t,path:e}]};return this.genericResponse(n)},t.prototype.getCurrentState=function(){var t={file:[{command:"getCurrentState"}]};return this.genericResponse(t)},t.prototype.delete=function(t,e){var n={file:[]},i="string"==typeof e?[e]:e;return i.forEach(function(e){n.file.push({command:"delete",type:t,path:e})}),this.genericResponse(n)},t.prototype.read=function(t,e,n,i,s){var o=this,a={file:[{command:"read",type:t,path:e,filePosition:n,requestedLength:i}]};return r.Observable.create(function(t){o.transport.writeRead("/",JSON.stringify(a),"json",s).subscribe(function(e){o.commandUtilService.observableParseChunkedTransfer(e,"u8").subscribe(function(e){var n=e.json,i=e.typedArray;return void 0==e||void 0!=e.agent?void t.error(e):void 0==n.file||void 0==n.file[0]||0!==n.file[0].statusCode?void t.error(e):(t.next({jsonObject:n,file:o.safeStringBinary(i)}),void t.complete())},function(e){t.error(e)},function(){})},function(e){t.error(e)},function(){t.complete()})})},t.prototype.safeStringBinary=function(t){for(var e="",n=0;n0||void 0!=i.agent)return void e.error(i);e.next(i),e.complete()},function(t){e.error(t)},function(){e.complete()})})},e.prototype.getCurrentState=function(e){var n={awg:{}};return e.forEach(function(t,i,r){n.awg[e[i]]=[{command:"getCurrentState"}]}),t.prototype._genericResponseHandler.call(this,n)},e.prototype.setRegularWaveform=function(e,n){var i={awg:{}};return e.forEach(function(t,r,s){i.awg[e[r]]=[{command:"setRegularWaveform",signalType:n[r].signalType,signalFreq:Math.floor(1e3*n[r].signalFreq),vpp:Math.floor(1e3*n[r].vpp),vOffset:Math.floor(1e3*n[r].vOffset)}]}),t.prototype._genericResponseHandler.call(this,i)},e.prototype.setRegularWaveformJson=function(t,e){var n={awg:{}};return t.forEach(function(i,r,s){n.awg[t[r]]=[{command:"setRegularWaveform",signalType:e[r].signalType,signalFreq:Math.floor(1e3*e[r].signalFreq),vpp:Math.floor(1e3*e[r].vpp),vOffset:Math.floor(1e3*e[r].vOffset)}]}),n},e.prototype.setRegularWaveformParse=function(t,e){return e},e.prototype.runJson=function(t){var e={awg:{}};return t.forEach(function(n,i,r){e.awg[t[i]]=[{command:"run"}]}),e},e.prototype.runParse=function(t,e){return e},e.prototype.run=function(e){var n={awg:{}};return e.forEach(function(t,i,r){n.awg[e[i]]=[{command:"run"}]}),t.prototype._genericResponseHandler.call(this,n)},e.prototype.stop=function(e){var n={awg:{}};return e.forEach(function(t,i,r){n.awg[e[i]]=[{command:"stop"}]}),t.prototype._genericResponseHandler.call(this,n)},e.decorators=[{type:i.Injectable}],e.ctorParameters=[{type:_.a},null],e}(o.a)},function(t,e,n){"use strict";var i=n(0);n.d(e,"a",function(){return r});var r=function(){function t(t){this.voltageMin=0,this.voltageMax=0,this.voltageIncrement=0,this.currentMin=0,this.currentMax=0,this.currentIncrement=0,this.voltageMin=t.voltageMin,this.voltageMax=t.voltageMax,this.voltageIncrement=t.voltageIncrement,this.currentMin=t.currentMin,this.currentMax=t.currentMax,this.currentIncrement=t.currentIncrement}return t.decorators=[{type:i.Injectable}],t.ctorParameters=[null],t}()},function(t,e,n){"use strict";var i=n(0),r=n(1),s=(n.n(r),n(54)),o=(n.n(s),n(119)),a=n(845),_=n(100);n.d(e,"a",function(){return h});var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},h=function(t){function e(e,n){t.call(this,e,"/"),this.chans=[],this.numChans=n.numChans;for(var i in n)"numChans"!==i&&this.chans.push(new a.a(n[i]))}return l(e,t),e.prototype.getVoltagesJson=function(t){var e={dc:{}};return t.forEach(function(n,i,r){e.dc[t[i]]=[{command:"getVoltage"}]}),e},e.prototype.getVoltageParse=function(t,e){return"Channel "+t+" "+e.command+" successful"},e.prototype.setVoltagesJson=function(t,e){var n=[],i={dc:{}};return e.forEach(function(e,r,s){n.push(1e3*e),i.dc[t[r]]=[{command:"setVoltage",voltage:Math.round(1e3*e)}]}),i},e.prototype.setVoltageParse=function(t,e){return"Channel "+t+" "+e.command+" successful"},e.prototype.getVoltages=function(e){var n=this,i=this.getVoltagesJson(e);return r.Observable.create(function(r){t.prototype._genericResponseHandler.call(n,i).subscribe(function(t){for(var n=0;n0||void 0!=t.agent)return void r.error(t);t.dc[e[n]][0].voltage=t.dc[e[n]][0].voltage/1e3}r.next(t),r.complete()},function(t){r.error(t)},function(){})})},e.prototype.setVoltages=function(e,n){var i=this.setVoltagesJson(e,n);return t.prototype._genericResponseHandler.call(this,i)},e.prototype.streamReadVoltages=function(t,e){var n=this;void 0===e&&(e=0);var i={command:"dcGetVoltages",chans:t};return r.Observable.create(function(r){n.transport.streamFrom(n.endpoint,JSON.stringify(i),"json",e).subscribe(function(e){for(var n=JSON.parse(String.fromCharCode.apply(null,new Int8Array(e.slice(0)))),i=0;i0||void 0!=n.agent)return void r.error(n);n.voltages.forEach(function(t,e,n){n[e]=t/1e3}),r.next(n.voltages)},function(t){r.error(t)},function(){r.complete()})})},e.prototype.stopStream=function(){this.transport.stopStream()},e.decorators=[{type:i.Injectable}],e.ctorParameters=[{type:_.a},null],e}(o.a)},function(t,e,n){"use strict";var i=n(0),r=n(1),s=(n.n(r),n(54)),o=(n.n(s),n(119)),a=n(100);n.d(e,"a",function(){return l});var _=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},l=function(t){function e(e,n){t.call(this,e,"/"),this.numChans=n.numChans,this.sinkCurrentMax=n.sinkCurrentMax,this.sourceCurrentMax=n.sourceCurrentMax}return _(e,t),e.prototype.setParameters=function(e,n){var i={gpio:{}};return e.forEach(function(t,r,s){i.gpio[e[r]]=[{command:"setParameters",direction:n[r]}]}),t.prototype._genericResponseHandler.call(this,i)},e.prototype.write=function(e,n){var i={gpio:{}};return n.forEach(function(t,r,s){i.gpio[e[r]]=[{command:"write",value:n[r]}]}),t.prototype._genericResponseHandler.call(this,i)},e.prototype.read=function(t){var e=this,n={gpio:{}};return t.forEach(function(e,i,r){n.gpio[t[i]]=[{command:"read"}]}),r.Observable.create(function(i){t.length<1&&i.error("No Channels Specified"),e.transport.writeRead(e.endpoint,JSON.stringify(n),"json").subscribe(function(e){var n;try{n=JSON.parse(String.fromCharCode.apply(null,new Int8Array(e.slice(0))))}catch(t){return void i.error(t)}for(var r=0;r0||void 0!=n.agent)return void i.error(n);i.next(n),i.complete()},function(t){i.error(t)},function(){i.complete()})})},e.prototype.getCurrentState=function(t){for(var e=this,n={gpio:{}},i=0,s=t;i0)return void i.error(n);i.next(n),i.complete()},function(t){i.error(t)},function(){i.complete()})})},e.decorators=[{type:i.Injectable}],e.ctorParameters=[{type:a.a},null],e}(o.a)},function(t,e,n){"use strict";var i=n(0);n.d(e,"a",function(){return r});var r=function(){function t(t){this.bufferDataType=t.bufferDataType,this.numDataBits=t.numDataBits,this.bitmask=t.bitmask,this.sampleFreqMin=t.sampleFreqMin,this.sampleFreqMax=t.sampleFreqMax,this.bufferSizeMax=t.bufferSizeMax}return t.decorators=[{type:i.Injectable}],t.ctorParameters=[null],t}()},function(t,e,n){"use strict";var i=n(0),r=n(1),s=(n.n(r),n(54)),o=(n.n(s),n(848)),a=n(119),_=n(493),l=n(100),h=n(171);n.d(e,"a",function(){return u});var c=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=function(t){function e(e,n){t.call(this,e,"/"),this.chans=[],this.numDataBuffers=8,this.dataBuffer=[],this.dataBufferWriteIndex=0,this.dataBufferReadIndex=0,this.numChans=n.numChans,this.commandUtilityService=new h.a;for(var i in n)"numChans"!==i&&this.chans.push(new o.a(n[i]));for(var r=0;r0)return void i.error(o);var c=o.la[h][0].bitmask.toString(2);console.log(c);for(var u=0;u0?1:0),m.push([v*f-g,(d&l[v])>0?1:0]);e.dataBuffer[e.dataBufferWriteIndex][p-1]=new _.a({dt:1/(o.la[h][0].actualSampleFreq/1e3),t0:0,y:a[p],data:m,pointOfInterest:o.la[h][0].pointOfInterest,triggerPosition:g,seriesOffset:.5,triggerDelay:void 0==o.la[h][0].triggerDelay?o.la[h][0].actualTriggerDelay:o.la[h][0].triggerDelay})}}e.dataBufferReadIndex=e.dataBufferWriteIndex,e.dataBufferWriteIndex=(e.dataBufferWriteIndex+1)%e.numDataBuffers;var x=performance.now();console.log("Time: "+(x-r)),console.log(a),i.next(o),i.complete()},function(t){"corrupt transfer"===t?i.error(t):i.error(n)},function(){})},function(t){i.error(t)},function(){i.complete()})})},e.decorators=[{type:i.Injectable}],e.ctorParameters=[{type:l.a},null],e}(a.a)},function(t,e,n){"use strict";var i=n(0);n.d(e,"a",function(){return r});var r=function(){function t(t){this.resolution=0,this.effectiveBits=0,this.bufferSizeMax=0,this.fileSamplesMax=0,this.sampleDataType="I16",this.sampleFreqUnits=0,this.sampleFreqMin=0,this.sampleFreqMax=0,this.delayUnits=0,this.delayMax=0,this.delayMin=0,this.voltageUnits=0,this.adcVpp=0,this.inputVoltageMax=0,this.inputVoltageMin=0,this.gains=[],this.resolution=t.resolution,this.effectiveBits=t.effectiveBits,this.bufferSizeMax=t.bufferSizeMax,this.fileSamplesMax=t.fileSamplesMax,this.sampleDataType=t.sampleDataType,this.sampleFreqUnits=t.sampleFreqUnits,this.sampleFreqMin=t.sampleFreqMin,this.sampleFreqMax=t.sampleFreqMax||t.adcAggregateSampleFreq,this.delayUnits=t.delayUnits,this.delayMax=t.delayMax,this.delayMin=t.delayMin,this.voltageUnits=t.voltageUnits,this.adcVpp=t.adcVpp,this.inputVoltageMax=t.inputVoltageMax,this.inputVoltageMin=t.inputVoltageMin,this.gains=t.gains}return t.decorators=[{type:i.Injectable}],t.ctorParameters=[null],t}()},function(t,e,n){"use strict";var i=n(0),r=n(54),s=(n.n(r),n(119)),o=n(100),a=n(850),_=n(494);n.d(e,"a",function(){return h});var l=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},h=function(t){function e(e,n){if(t.call(this,e,"/"),this.chans=[],this.numChans=0,this.fileFormat=-1,this.fileRevision=-1,this.loggerCommandService=new _.a(this),void 0!=n){this.fileFormat=n.fileFormat,this.fileRevision=n.fileRevision,this.numChans=n.numChans;for(var i in n)parseInt(i).toString()!==i||isNaN(parseInt(i))||this.chans.push(new a.a(n[i]))}}return l(e,t),e.prototype.setParameters=function(t,e,n,i,r,s,o,a,_){return this.loggerCommandService.analogSetParameters(t,e,n,i,r,s,o,a,_)},e.prototype.run=function(t,e){return this.loggerCommandService.run("analog",e)},e.prototype.stop=function(t,e){return this.loggerCommandService.stop("analog",e)},e.prototype.read=function(t,e,n,i){return this.loggerCommandService.read("analog",e,n,i)},e.prototype.getCurrentState=function(t,e){return this.loggerCommandService.getCurrentState("analog",e)},e.decorators=[{type:i.Injectable}],e.ctorParameters=[{type:o.a},null],e}(s.a)},function(t,e,n){"use strict";var i=n(0),r=n(1),s=(n.n(r),n(54)),o=(n.n(s),n(119)),a=n(171);n.d(e,"a",function(){return _});var _=function(){function t(t){this.instrumentRef=t,this.commandUtilityService=new a.a}return t.prototype.setParametersJson=function(t,e,n,i,r,s,o,a,_,l){var h={log:{daq:{command:"setParameters",maxSampleCount:e,startDelay:Math.round(i*Math.pow(10,12)),sampleFreq:Math.round(1e6*n),storageLocation:r,logOnBoot:s,service:o,key:a,uri:_,channels:[]}}};return t.forEach(function(e,n,i){var r={};r[t[n]]={average:l[n]},h.log.daq.channels.push(r)}),h},t.prototype.runParse=function(t,e){return"Channel "+t+" "+e.command+" successful"},t.prototype.stopParse=function(t,e){return"Channel "+t+" "+e.command+" successful"},t.prototype.runJson=function(){var t={log:{daq:{command:"run"}}};return t},t.prototype.stopJson=function(){var t={log:{daq:{command:"stop"}}};return t},t.prototype.readJson=function(t,e,n){void 0===n&&(n=-1);var i={log:{daq:{command:"read",channels:t,startIndex:e,count:n}}};return i},t.prototype.getCurrentStateJson=function(){var t={log:{daq:{command:"getCurrentState"}}};return t},t.prototype.setParameters=function(t,e,n,i,r,s,o,a,_,l){var h=this.setParametersJson(t,e,n,i,r,s,o,a,_,l);return this.instrumentRef._genericResponseHandler(h)},t.prototype.run=function(){var t=this.runJson();return this.instrumentRef._genericResponseHandler(t)},t.prototype.stop=function(){var t=this.stopJson();return this.instrumentRef._genericResponseHandler(t)},t.prototype.read=function(t,e,n){var i=this,s=this.readJson(t,e,n);return r.Observable.create(function(t){i.instrumentRef.transport.writeRead("/",JSON.stringify(s),"binary").flatMap(function(t){return i.commandUtilityService.observableParseChunkedTransfer(t)}).retryWhen(function(t){return t.map(function(t){if(2684354570===t.payload.log.daq.statusCode)return{};throw t})}).subscribe(function(e){var n={cmdRespObj:e.json,instruments:{}},i=e.json,r=e.typedArray;console.log(i);for(var s in i.log){n.instruments[s]={};for(var o=0,a=i.log.daq.channels;o0)return void t.error("One or more channels still acquiring");for(var s=i.osc[r][0].binaryOffset/2,o=n.typedArray.slice(s,s+i.osc[r][0].binaryLength/2),a=Array.prototype.slice.call(o),l=a.map(function(t){return t/1e3}),h=1/(i.osc[r][0].actualSampleFreq/1e3),c=[],u=-1*i.osc[r][0].triggerDelay/Math.pow(10,12)+h*l.length/2,p=0;p0&&(this.timeOfLastRead=i);var a,_=1e6/s,l={command:"read",statusCode:0,channels:n,binaryOffset:0,binaryLength:null,actualCount:null,startIndex:this.startIndex,maxSampleCount:this.maxSampleCount,actualGain:1,actualVOffset:e.vOffset,actualSampleFreq:1e6/_,actualStartDelay:0,overflow:"circular",y:null,wait:0};if(this.simulatedDeviceService.getTriggerArmed())switch(e.signalType){case"sine":a=this.drawSine(e,n,o,_);break;case"triangle":a=this.drawTriangle(e,n,o,_);break;case"sawtooth":a=this.drawSawtooth(e,n,o,_);break;case"square":a=this.drawSquare(e,n,o,_);break;case"dc":a=this.drawDc(e.vOffset,n,o);break;default:a=this.drawDefault(n,o),l.actualVOffset=0}else a=this.drawDefault(n,o),l.actualVOffset=0;return l.binaryLength=2*a.length,l.actualCount=a.length/t.channels.length,l.y=a,this.startIndex+=l.actualCount,l},t.decorators=[{type:i.Injectable}],t.ctorParameters=[{type:r.a}],t}()},function(t,e,n){"use strict";var i=n(0),r=n(130);n.d(e,"a",function(){return s});var s=function(){function t(t){this.values=[0,0,0,0,0,0,0,0,0,0],this.directions=["input","input","input","input","input","input","input","input","input","input"],this.counter=1,this.prevChannel=-1,this.simulatedDeviceService=t}return t.prototype.counterVal=function(t){parseInt(t)<=this.prevChannel&&this.counter++,this.values[t]=(this.counter&Math.pow(2,t-1))>0?1:0,this.prevChannel=parseInt(t)},t.prototype.read=function(t){return this.counterVal(t),{command:"read",value:this.values[t],direction:this.directions[t],statusCode:0,wait:100}},t.prototype.write=function(t,e){return this.values[t]=e,{command:"write",statusCode:0,wait:500}},t.prototype.setParameters=function(t,e){return this.values[t]=e,{command:"setParameters",statusCode:0,wait:100}},t.decorators=[{type:i.Injectable}],t.ctorParameters=[{type:r.a}],t}()},function(t,e,n){"use strict";var i=n(0),r=n(130);n.d(e,"a",function(){return s});var s=function(){function t(t){this.buffers=[],this.sampleFreqs=[],this.bufferSizes=[],this.bitmasks=[],this.triggerDelays=[],this.simulatedDeviceService=t,this.laDescriptor=this.simulatedDeviceService.getEnumeration().la;for(var e=0;e1&&void 0!==arguments[1]?arguments[1]:{},n=e.preserveFormatting,a=void 0!==n&&n,_=e.escapeMapFn,l=void 0===_?o:_,h=String(t),c="",u=l(i({},r),a?i({},s):{}),p=Object.keys(u),d=function(){var t=!1;p.forEach(function(e,n){t||h.length>=e.length&&h.slice(0,e.length)===e&&(c+=u[p[n]],h=h.slice(e.length,h.length),t=!0)}),t||(c+=h.slice(0,1),h=h.slice(1,h.length))};h;)d();return c}},function(t,e,n){var i,r;!function(n){"use strict";function s(t){function e(){var e=Error.apply(this,arguments);e.name=this.name=t,this.stack=e.stack,this.message=e.message}function n(){}return n.prototype=Error.prototype,e.prototype=new n,e}function o(t,e){return isNaN(t=parseInt(t,10))&&a(),t*e}function a(){throw new m}function _(t,e,n){for(var i=1;e>0;t=t*t%n,e>>=1)1&e&&(i=i*t%n);return i}function l(t,e){for(;e%2===0;e/=2);for(;e%5===0;e/=5);if(1===e)return 0;for(var n=10%e,i=1;1!==n;i++)if(n=10*n%e,i>p)return 0;return i}function h(t,e,n){for(var i=1,r=_(10,n,e),s=0;s<300;s++){if(i===r)return s;i=10*i%e,r=10*r%e}return 0}function c(t,e){if(!t)return e;if(!e)return t;for(;;){if(t%=e,!t)return e;if(e%=t,!e)return t}}function u(t,e){return this instanceof u?(g(t,e),t=u.REDUCE?c(d.d,d.n):1,this.s=d.s,this.n=d.n/t,void(this.d=d.d/t)):new u(t,e)}var p=2e3,d={s:1,n:0,d:1},f=u.DivisionByZero=s("DivisionByZero"),m=u.InvalidParameter=s("InvalidParameter"),g=function(t,e){var n,i=0,r=1,s=1,_=0,l=0,h=0,c=1,u=1,p=0,m=1,g=1,v=1,x=1e7;if(void 0===t||null===t);else if(void 0!==e)i=t,r=e,s=i*r;else switch(typeof t){case"object":"d"in t&&"n"in t?(i=t.n,r=t.d,"s"in t&&(i*=t.s)):0 in t?(i=t[0],1 in t&&(r=t[1])):a(),s=i*r;break;case"number":if(t<0&&(s=t,t=-t),t%1===0)i=t;else if(t>0){for(t>=1&&(u=Math.pow(10,Math.floor(1+Math.log(t)/Math.LN10)),t/=u);m<=x&&v<=x;){if(n=(p+g)/(m+v),t===n){m+v<=x?(i=p+g,r=m+v):v>m?(i=g,r=v):(i=p,r=m);break}t>n?(p+=g,m+=v):(g+=p,v+=m),m>x?(i=g,r=v):(i=p,r=m)}i*=u}else(isNaN(t)||isNaN(e))&&(r=i=NaN);break;case"string":if(m=t.match(/\d+|./g),null===m&&a(),"-"===m[p]?(s=-1,p++):"+"===m[p]&&p++,m.length===p+1?l=o(m[p++],s):"."===m[p+1]||"."===m[p]?("."!==m[p]&&(_=o(m[p++],s)),p++,(p+1===m.length||"("===m[p+1]&&")"===m[p+3]||"'"===m[p+1]&&"'"===m[p+3])&&(l=o(m[p],s),c=Math.pow(10,m[p].length),p++),("("===m[p]&&")"===m[p+2]||"'"===m[p]&&"'"===m[p+2])&&(h=o(m[p+1],s),u=Math.pow(10,m[p+1].length)-1,p+=3)):"/"===m[p+1]||":"===m[p+1]?(l=o(m[p],s),c=o(m[p+2],1),p+=3):"/"===m[p+3]&&" "===m[p+1]&&(_=o(m[p],s),l=o(m[p+2],s),c=o(m[p+4],1),p+=5),m.length<=p){r=c*u,s=i=h+r*_+u*l;break}default:a()}if(0===r)throw new f;d.s=s<0?-1:1,d.n=Math.abs(i),d.d=Math.abs(r)};u.REDUCE=1,u.prototype={s:1,n:0,d:1,abs:function(){return new u(this.n,this.d)},neg:function(){return new u(-this.s*this.n,this.d)},add:function(t,e){return g(t,e),new u(this.s*this.n*d.d+d.s*this.d*d.n,this.d*d.d)},sub:function(t,e){return g(t,e),new u(this.s*this.n*d.d-d.s*this.d*d.n,this.d*d.d)},mul:function(t,e){return g(t,e),new u(this.s*d.s*this.n*d.n,this.d*d.d)},div:function(t,e){return g(t,e),new u(this.s*d.s*this.n*d.d,this.d*d.n)},clone:function(){return new u(this)},mod:function(t,e){return isNaN(this.n)||isNaN(this.d)?new u(NaN):void 0===t?new u(this.s*this.n%this.d,1):(g(t,e),0===d.n&&0===this.d&&u(0,0),new u(this.s*(d.d*this.n)%(d.n*this.d),d.d*this.d))},gcd:function(t,e){return g(t,e),new u(c(d.n,this.n)*c(d.d,this.d),d.d*this.d)},lcm:function(t,e){return g(t,e),0===d.n&&0===this.n?new u:new u(d.n*this.n,c(d.n,this.n)*c(d.d,this.d))},ceil:function(t){return t=Math.pow(10,t||0),isNaN(this.n)||isNaN(this.d)?new u(NaN):new u(Math.ceil(t*this.s*this.n/this.d),t)},floor:function(t){return t=Math.pow(10,t||0),isNaN(this.n)||isNaN(this.d)?new u(NaN):new u(Math.floor(t*this.s*this.n/this.d),t)},round:function(t){return t=Math.pow(10,t||0),isNaN(this.n)||isNaN(this.d)?new u(NaN):new u(Math.round(t*this.s*this.n/this.d),t)},inverse:function(){return new u(this.s*this.d,this.n)},pow:function(t){return t<0?new u(Math.pow(this.s*this.d,-t),Math.pow(this.n,-t)):new u(Math.pow(this.s*this.n,t),Math.pow(this.d,t))},equals:function(t,e){return g(t,e),this.s*this.n*d.d===d.s*d.n*this.d},compare:function(t,e){g(t,e);var n=this.s*this.n*d.d-d.s*d.n*this.d;return(00&&(n+=e,n+=" ",i%=r),n+=i,n+="/",n+=r),n},toLatex:function(t){var e,n="",i=this.n,r=this.d;return this.s<0&&(n+="-"),1===r?n+=i:(t&&(e=Math.floor(i/r))>0&&(n+=e,i%=r),n+="\\frac{",n+=i,n+="}{",n+=r,n+="}"),n},toContinued:function(){var t,e=this.n,n=this.d,i=[];if(isNaN(this.n)||isNaN(this.d))return i;do i.push(Math.floor(e/n)),t=e%n,e=n,n=t;while(1!==e);return i},toString:function(t){var e,n=this.n,i=this.d;if(isNaN(n)||isNaN(i))return"NaN";u.REDUCE||(e=c(n,i),n/=e,i/=e),t=t||15;var r=l(n,i),s=h(n,i,r),o=this.s===-1?"-":"";if(o+=n/i|0,n%=i,n*=10,n&&(o+="."),r){for(var a=s;a--;)o+=n/i|0,n%=i,n*=10;o+="(";for(var a=r;a--;)o+=n/i|0,n%=i,n*=10;o+=")"}else for(var a=t;n&&a--;)o+=n/i|0,n%=i,n*=10;return o}},i=[],r=function(){return u}.apply(e,i),!(void 0!==r&&(t.exports=r))}(this)},function(t,e,n){"use strict";var i=n(90),r=n(173);n.d(e,"a",function(){return o}),n.d(e,"b",function(){return a}),n.d(e,"c",function(){return _}),n.d(e,"d",function(){return l}),n.d(e,"e",function(){return h}),n.d(e,"f",function(){return c});var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(){t.apply(this,arguments)}return s(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new i.a(t.querySelector("ion-backdrop")),n=new i.a(t.querySelector(".action-sheet-wrapper")); e.fromTo("opacity",.01,.4),n.fromTo("translateY","100%","0%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(e).add(n)},e}(r.a),a=function(t){function e(){t.apply(this,arguments)}return s(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new i.a(t.querySelector("ion-backdrop")),n=new i.a(t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.4,0),n.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(300).add(e).add(n)},e}(r.a),_=function(t){function e(){t.apply(this,arguments)}return s(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new i.a(t.querySelector("ion-backdrop")),n=new i.a(t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.01,.26),n.fromTo("translateY","100%","0%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(e).add(n)},e}(r.a),l=function(t){function e(){t.apply(this,arguments)}return s(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new i.a(t.querySelector("ion-backdrop")),n=new i.a(t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.26,0),n.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(450).add(e).add(n)},e}(r.a),h=function(t){function e(){t.apply(this,arguments)}return s(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new i.a(t.querySelector("ion-backdrop")),n=new i.a(t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.01,.16),n.fromTo("translateY","100%","0%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(e).add(n)},e}(r.a),c=function(t){function e(){t.apply(this,arguments)}return s(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new i.a(t.querySelector("ion-backdrop")),n=new i.a(t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.1,0),n.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(450).add(e).add(n)},e}(r.a)},function(t,e,n){"use strict";var i=n(90),r=n(173);n.d(e,"a",function(){return o}),n.d(e,"b",function(){return a}),n.d(e,"c",function(){return _}),n.d(e,"d",function(){return l}),n.d(e,"e",function(){return h}),n.d(e,"f",function(){return c});var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(){t.apply(this,arguments)}return s(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new i.a(t.querySelector("ion-backdrop")),n=new i.a(t.querySelector(".alert-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.1,1),e.fromTo("opacity",.01,.3),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(r.a),a=function(t){function e(){t.apply(this,arguments)}return s(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new i.a(t.querySelector("ion-backdrop")),n=new i.a(t.querySelector(".alert-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,.9),e.fromTo("opacity",.3,0),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(r.a),_=function(t){function e(){t.apply(this,arguments)}return s(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new i.a(t.querySelector("ion-backdrop")),n=new i.a(t.querySelector(".alert-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.1,1),e.fromTo("opacity",.01,.5),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(r.a),l=function(t){function e(){t.apply(this,arguments)}return s(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new i.a(t.querySelector("ion-backdrop")),n=new i.a(t.querySelector(".alert-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,.9),e.fromTo("opacity",.5,0),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(r.a),h=function(t){function e(){t.apply(this,arguments)}return s(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new i.a(t.querySelector("ion-backdrop")),n=new i.a(t.querySelector(".alert-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.3,1),e.fromTo("opacity",.01,.5),this.easing("cubic-bezier(0,0 0.05,1)").duration(200).add(e).add(n)},e}(r.a),c=function(t){function e(){t.apply(this,arguments)}return s(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new i.a(t.querySelector("ion-backdrop")),n=new i.a(t.querySelector(".alert-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,1.3),e.fromTo("opacity",.5,0),this.easing("ease-out").duration(150).add(e).add(n)},e}(r.a)},function(t,e,n){"use strict";function i(t){t=Math.abs(t);var e=t/l;return Math.min(400,Math.max(150,e))}var r=n(36),s=n(42),o=n(17);n.d(e,"a",function(){return _});var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},_=function(t){function e(e,n,i,r,s,o,a,_,l,h){t.call(this,e,o,a),this._form=n,this._item=i,this._app=r,this._platform=s,this._scrollView=_,this._disabled=!1,this._type="text",this._value="",this._nav=l,this._useAssist=e.getBoolean("scrollAssist",!1),this._usePadding=e.getBoolean("scrollPadding",this._useAssist),this._keyboardHeight=e.getNumber("keyboardHeight"),this._autoFocusAssist=e.get("autoFocusAssist","delay"),this._autoComplete=e.get("autocomplete","off"),this._autoCorrect=e.get("autocorrect","off"),h&&(h.valueAccessor=this,this.inputControl=h),n.register(this)}return a(e,t),e.prototype.scrollMove=function(t){var e=this;this._nav&&this._nav.isTransitioning()||(this.deregScrollMove(),this.hasFocus()&&(this._native.hideFocus(!0),this._scrollView.onScrollEnd(function(){e._native.hideFocus(!1),e.hasFocus()&&e.regScrollMove()})))},e.prototype.setItemInputControlCss=function(){var t=this._item,e=this._native,n=this.inputControl;t&&n&&this.setControlCss(t,n),e&&n&&this.setControlCss(e,n)},e.prototype.setControlCss=function(t,e){t.setElementClass("ng-untouched",e.untouched),t.setElementClass("ng-touched",e.touched),t.setElementClass("ng-pristine",e.pristine),t.setElementClass("ng-dirty",e.dirty),t.setElementClass("ng-valid",e.valid),t.setElementClass("ng-invalid",!e.valid)},e.prototype.setValue=function(t){this._value=t,this.checkHasValue(t)},e.prototype.setType=function(t){this._type="text",t&&(t=t.toLowerCase(),/password|email|number|search|tel|url|date|month|time|week/.test(t)&&(this._type=t))},e.prototype.setDisabled=function(t){this._disabled=n.i(o.k)(t),this._item&&this._item.setElementClass("item-input-disabled",this._disabled),this._native&&this._native.isDisabled(this._disabled)},e.prototype.setNativeInput=function(t){var e=this;this._native=t,this._item&&null!==this._item.labelId&&t.labelledBy(this._item.labelId),t.valueChange.subscribe(function(t){e.onChange(t)}),this.focusChange(this.hasFocus()),t.focusChange.subscribe(function(n){e.focusChange(n),e.checkHasValue(t.getValue()),n||e.onTouched(n)}),this.checkHasValue(t.getValue()),this.setDisabled(this._disabled);var i=this._elementRef.nativeElement,s=t.element();n.i(r.p)(i,s),i.hasAttribute("autofocus")&&(i.removeAttribute("autofocus"),"immediate"===this._autoFocusAssist?s.focus():"delay"===this._autoFocusAssist&&setTimeout(function(){s.focus()},650)),i.hasAttribute("autocomplete")&&(this._autoComplete=i.getAttribute("autocomplete")),s.setAttribute("autocomplete",this._autoComplete),i.hasAttribute("autocorrect")&&(this._autoCorrect=i.getAttribute("autocorrect")),s.setAttribute("autocorrect",this._autoCorrect)},e.prototype.setNextInput=function(t){var e=this;t&&t.focused.subscribe(function(){e._form.tabFocus(e)})},e.prototype.writeValue=function(t){this._value=t,this.checkHasValue(t)},e.prototype.onChange=function(t){this.checkHasValue(t)},e.prototype.onTouched=function(t){},e.prototype.hasFocus=function(){return this._native.hasFocus()},e.prototype.checkHasValue=function(t){if(this._item){var e=null!==t&&void 0!==t&&""!==t;this._item.setElementClass("input-has-value",e)}},e.prototype.focusChange=function(t){this._item&&this._item.setElementClass("input-has-focus",t),t||this.deregScrollMove()},e.prototype.pointerStart=function(t){"touchstart"===t.type&&(this._isTouch=!0),(this._isTouch||!this._isTouch&&"mousedown"===t.type)&&this._app.isEnabled()&&(this._coord=n.i(r.c)(t))},e.prototype.pointerEnd=function(t){if(this._isTouch&&"mouseup"===t.type||!this._app.isEnabled())t.preventDefault(),t.stopPropagation();else if(this._coord){var e=n.i(r.c)(t);n.i(r.h)(8,this._coord,e)||this.hasFocus()||(t.preventDefault(),t.stopPropagation(),this.initFocus())}this._coord=null},e.prototype.initFocus=function(){var t=this,n=this._scrollView;if(n){var r=this._elementRef.nativeElement;r=r.closest("ion-item,[ion-item]")||r;var s=e.getScrollData(r.offsetTop,r.offsetHeight,n.getContentDimensions(),this._keyboardHeight,this._platform.height());if(s.scrollAmount>-3&&s.scrollAmount<3)return this.setFocus(),void this.regScrollMove();this._usePadding&&n.addScrollPadding(s.scrollPadding);var o=i(s.scrollAmount);this._app.setEnabled(!1,o),this._nav&&this._nav.setTransitioning(!0,o),this._native.beginFocus(!0,s.inputSafeY),n.scrollTo(0,s.scrollTo,o).then(function(){t._native.beginFocus(!1,0),t.setFocus(),t._app.setEnabled(!0),t._nav&&t._nav.setTransitioning(!1),t.regScrollMove(),t._usePadding&&t._scrollView.clearScrollPaddingFocusOut()})}else this.setFocus(),this.regScrollMove()},e.prototype.setFocus=function(){this._form.setAsFocused(this),this._native.setFocus(),document.body.scrollTop=0},e.prototype.registerOnChange=function(t){this.onChange=t},e.prototype.registerOnTouched=function(t){this.onTouched=t},e.prototype.regScrollMove=function(){var t=this;this._useAssist&&this._scrollView&&setTimeout(function(){t.deregScrollMove(),t._deregScroll=t._scrollView.addScrollListener(t.scrollMove.bind(t))},80)},e.prototype.deregScrollMove=function(){this._deregScroll&&this._deregScroll()},e.prototype.focusNext=function(){this._form.tabFocus(this)},e.getScrollData=function(t,e,n,i,r){var s=t+n.contentTop-n.scrollTop,o=s+e,a=n.contentTop,_=r-i-a;_/=2;var l=a+_,h=s>=a&&s<=l,c=sl,p=o>=a&&o<=l,d=o>l,f={scrollAmount:0,scrollTo:0,scrollPadding:0,inputSafeY:0};if(h&&p)return f;if(u||d?(_>e?f.scrollAmount=Math.round(l-o):f.scrollAmount=Math.round(a-s),f.inputSafeY=-(s-a)+4):c&&(f.scrollAmount=Math.round(a-s),f.inputSafeY=a-s+4),f.scrollTo=n.scrollTop-f.scrollAmount,f.scrollAmount<0){var m=n.scrollHeight-n.scrollTop-n.contentHeight,g=m+f.scrollAmount;g<0&&(f.scrollPadding=n.contentHeight-_)}return f},e}(s.a),l=.3},function(t,e,n){"use strict";function i(t,e,i){var r=document.elementFromPoint(t,e);return n.i(s.d)(r,i)}var r=n(36),s=n(227),o=n(154);n.d(e,"a",function(){return h});var a=60,_=10,l="reorder-active",h=function(){function t(t){this.reorderList=t,this.selectedItemEle=null,this.events=new o.a(!1),this.events.pointerEvents({element:this.reorderList.getNativeElement(),pointerDown:this.onDragStart.bind(this),pointerMove:this.onDragMove.bind(this),pointerUp:this.onDragEnd.bind(this)})}return t.prototype.onDragStart=function(t){if(this.selectedItemEle)return!1;var e=t.target;if("ION-REORDER"!==e.nodeName)return!1;var i=e.$ionComponent;if(!i)return console.error("ion-reorder does not contain $ionComponent"),!1;this.reorderList.reorderPrepare();var o=i.getReorderNode();return o?(t.preventDefault(),this.selectedItemEle=o,this.selectedItemHeight=o.offsetHeight,this.lastYcoord=-100,this.lastToIndex=n.i(s.c)(o),this.windowHeight=window.innerHeight-a,this.lastScrollPosition=this.reorderList.scrollContent(0),this.offset=n.i(r.c)(t),this.offset.y+=this.lastScrollPosition,o.classList.add(l),this.reorderList.reorderStart(),!0):(console.error("reorder node not found"),!1)},t.prototype.onDragMove=function(t){var e=this.selectedItemEle;if(e){t.preventDefault();var i=n.i(r.c)(t),o=i.y,a=this.scroll(o);if(Math.abs(o-this.lastYcoord)>30){var _=this.itemForCoord(i);if(_){var l=n.i(s.c)(_);if(void 0!==l&&(l!==this.lastToIndex||this.emptyZone)){var h=n.i(s.c)(e);this.lastToIndex=l,this.lastYcoord=o,this.emptyZone=!1,this.reorderList.reorderMove(h,l,this.selectedItemHeight)}}else this.emptyZone=!0}var c=Math.round(o-this.offset.y+a);e.style[r.k.transform]="translateY("+c+"px)"}},t.prototype.onDragEnd=function(t){var e=this,i=this.selectedItemEle;if(i){t&&(t.preventDefault(),t.stopPropagation());var r=this.lastToIndex,o=n.i(s.c)(i),a=function(){e.selectedItemEle.style.transition="",e.selectedItemEle.classList.remove(l),e.selectedItemEle=null};r===o?(i.style.transition="transform 200ms ease-in-out",setTimeout(a,200)):a(),this.reorderList.reorderEmit(o,r)}},t.prototype.itemForCoord=function(t){return i(this.offset.x-100,t.y,this.reorderList.getNativeElement())},t.prototype.scroll=function(t){return tthis.windowHeight&&(this.lastScrollPosition=this.reorderList.scrollContent(_)),this.lastScrollPosition},t.prototype.destroy=function(){this.onDragEnd(null),this.events.unlistenAll(),this.events=null,this.reorderList=null},t}()},function(t,e,n){"use strict";function i(t){var e=t.target.closest("ion-item-sliding");return e?e.$ionComponent:null}function r(t){var e=t.target.closest("ion-item-options>button");return!!e}var s=n(392),o=n(36);n.d(e,"a",function(){return h});var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},_=10,l=20,h=function(t){function e(e){t.call(this,e.getNativeElement(),{maxAngle:l,threshold:_,gesture:e._gestureCtrl.create("item-sliding",{priority:-10})}),this.list=e,this.preSelectedContainer=null,this.selectedContainer=null,this.openContainer=null}return a(e,t),e.prototype.canStart=function(t){if(this.selectedContainer)return!1;var e=i(t);if(!e)return this.closeOpened(),!1;e!==this.openContainer&&this.closeOpened();var r=n.i(o.c)(t);return this.preSelectedContainer=e,this.firstCoordX=r.x,this.firstTimestamp=Date.now(),!0},e.prototype.onDragStart=function(t){t.preventDefault();var e=n.i(o.c)(t);this.selectedContainer=this.openContainer=this.preSelectedContainer,this.selectedContainer.startSliding(e.x)},e.prototype.onDragMove=function(t){t.preventDefault();var e=n.i(o.c)(t).x;this.selectedContainer.moveSliding(e)},e.prototype.onDragEnd=function(t){t.preventDefault();var e=n.i(o.c)(t).x,i=e-this.firstCoordX,r=Date.now()-this.firstTimestamp;this.selectedContainer.endSliding(i/r),this.selectedContainer=null,this.preSelectedContainer=null},e.prototype.notCaptured=function(t){r(t)||this.closeOpened()},e.prototype.closeOpened=function(){return this.selectedContainer=null,!!this.openContainer&&(this.openContainer.close(),this.openContainer=null,!0)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.closeOpened(),this.list=null,this.preSelectedContainer=null,this.selectedContainer=null,this.openContainer=null},e}(s.a)},function(t,e,n){"use strict";var i=n(90),r=n(173);n.d(e,"a",function(){return o}),n.d(e,"b",function(){return a}),n.d(e,"c",function(){return _}),n.d(e,"d",function(){return l}),n.d(e,"e",function(){return h}),n.d(e,"f",function(){return c});var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(){t.apply(this,arguments)}return s(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new i.a(t.querySelector("ion-backdrop")),n=new i.a(t.querySelector(".loading-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.1,1),e.fromTo("opacity",.01,.3),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(r.a),a=function(t){function e(){t.apply(this,arguments)}return s(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new i.a(t.querySelector("ion-backdrop")),n=new i.a(t.querySelector(".loading-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,.9),e.fromTo("opacity",.3,0),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(r.a),_=function(t){function e(){t.apply(this,arguments)}return s(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new i.a(t.querySelector("ion-backdrop")),n=new i.a(t.querySelector(".loading-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.1,1),e.fromTo("opacity",.01,.5),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(r.a),l=function(t){function e(){t.apply(this,arguments)}return s(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new i.a(t.querySelector("ion-backdrop")),n=new i.a(t.querySelector(".loading-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,.9),e.fromTo("opacity",.5,0),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(r.a),h=function(t){function e(){t.apply(this,arguments)}return s(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new i.a(t.querySelector("ion-backdrop")),n=new i.a(t.querySelector(".loading-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.3,1),e.fromTo("opacity",.01,.16),this.easing("cubic-bezier(0,0 0.05,1)").duration(200).add(e).add(n)},e}(r.a),c=function(t){function e(){t.apply(this,arguments)}return s(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new i.a(t.querySelector("ion-backdrop")),n=new i.a(t.querySelector(".loading-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,1.3),e.fromTo("opacity",.16,0),this.easing("ease-out").duration(150).add(e).add(n)},e}(r.a)},function(t,e,n){"use strict";var i=n(393),r=n(17);n.d(e,"a",function(){return o});var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(e,i,s){void 0===s&&(s={}),t.call(this,i,n.i(r.c)({direction:"x",edge:e.side,threshold:0,maxEdgeStart:e.maxEdgeStart||50,maxAngle:40,gesture:e.gestureCtrl.create("menu-swipe",{priority:10})},s)),this.menu=e}return s(e,t),e.prototype.canStart=function(e){var n=this.menu;return!!n.canSwipe()&&(!!n.isOpen||!n.getMenuController().getOpen()&&t.prototype.canStart.call(this,e))},e.prototype.onSlideBeforeStart=function(t){this.menu.swipeStart()},e.prototype.onSlide=function(t,e){var n="right"===this.menu.side?t.min:t.max,i=t.distance/n;e.preventDefault(),this.menu.swipeProgress(i)},e.prototype.onSlideEnd=function(t,e){var n="right"===this.menu.side?t.min:t.max,i=t.distance/n,r=t.velocity;n=Math.abs(.5*n);var s=r>=0&&(r>.2||t.delta>n),o=r<=0&&(r<-.2||t.delta<-n);this.menu.swipeEnd(o,s,i)},e.prototype.getElementStartPos=function(t,e){return"right"===this.menu.side?this.menu.isOpen?t.min:t.max:this.menu.isOpen?t.max:t.min},e.prototype.getSlideBoundaries=function(){return"right"===this.menu.side?{min:-this.menu.width(),max:0}:{min:0,max:this.menu.width()}},e}(i.a)},function(t,e,n){"use strict";var i=n(90),r=n(113),s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(){function t(){this.ani=new i.a}return t.prototype.setOpen=function(t,e,n){var i=this.ani.onFinish(n,!0).reverse(!t);e?i.play():i.play({duration:0})},t.prototype.setProgressStart=function(t){this.isOpening=!t,this.ani.reverse(t).progressStart()},t.prototype.setProgessStep=function(t){this.ani.progressStep(t)},t.prototype.setProgressEnd=function(t,e,n){var i=this,r=this.isOpening&&t;this.isOpening||t||(r=!0),this.ani.onFinish(function(){i.isOpening=!1,n(r)},!0),this.ani.progressEnd(t,e)},t.prototype.destroy=function(){this.ani&&this.ani.destroy()},t}(),a=function(t){function e(e,n){t.call(this);var r=e.width()*("right"===e.side?-1:1)+"px";this.ani.easing("ease").duration(250);var s=new i.a(e.getContentElement());s.fromTo("translateX","0px",r),this.ani.add(s)}return s(e,t),e}(o);r.a.registerType("reveal",a);var _=function(t){function e(e,n){t.call(this),this.ani.easing("ease").duration(250);var r,s,o;"right"===e.side?(r=-e.width()+"px",s=e.width()+"px",o="0px"):(r=e.width()+"px",o="0px",s=-e.width()+"px");var a=new i.a(e.getMenuElement());a.fromTo("translateX",s,o),this.ani.add(a);var _=new i.a(e.getContentElement());_.fromTo("translateX","0px",r),this.ani.add(_)}return s(e,t),e}(o);r.a.registerType("push",_);var l=function(t){function e(e,n){t.call(this),this.ani.easing("ease").duration(250);var r,s;"right"===e.side?(r=8+e.width()+"px",s="0px"):(r=-(8+e.width())+"px",s="0px");var o=new i.a(e.getMenuElement());o.fromTo("translateX",r,s),this.ani.add(o);var a=new i.a(e.getBackdropElement());a.fromTo("opacity",.01,.35),this.ani.add(a)}return s(e,t),e}(o);r.a.registerType("overlay",l)},function(t,e,n){"use strict";var i=n(90),r=n(196),s=n(36);n.d(e,"a",function(){return a}),n.d(e,"b",function(){return _}),n.d(e,"c",function(){return l}),n.d(e,"d",function(){return h});var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=function(t){function e(){t.apply(this,arguments)}return o(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.enteringView.pageRef().nativeElement,n=e.querySelector("ion-backdrop"),r=new i.a(n),s=new i.a(e.querySelector(".modal-wrapper"));r.fromTo("opacity",.01,.4),s.fromTo("translateY","100%","0%"),this.element(this.enteringView.pageRef()).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(400).add(r).add(s)},e}(r.a),_=function(t){function e(){t.apply(this,arguments)}return o(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.leavingView.pageRef().nativeElement,r=new i.a(e.querySelector("ion-backdrop")),o=e.querySelector(".modal-wrapper"),a=o.getBoundingClientRect(),_=new i.a(o),l=n.i(s.d)();_.fromTo("translateY","0px",l.height-a.top+"px"),r.fromTo("opacity",.4,0),this.element(this.leavingView.pageRef()).easing("ease-out").duration(250).add(r).add(_)},e}(r.a),l=function(t){function e(){t.apply(this,arguments)}return o(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.enteringView.pageRef().nativeElement,n=new i.a(e.querySelector("ion-backdrop")),r=new i.a(e.querySelector(".modal-wrapper"));n.fromTo("opacity",.01,.4),r.fromTo("translateY","40px","0px"),r.fromTo("opacity",.01,1);var s=280,o="cubic-bezier(0.36,0.66,0.04,1)";this.element(this.enteringView.pageRef()).easing(o).duration(s).add(n).add(r)},e}(r.a),h=function(t){function e(){t.apply(this,arguments)}return o(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.leavingView.pageRef().nativeElement,n=new i.a(e.querySelector("ion-backdrop")),r=new i.a(e.querySelector(".modal-wrapper"));n.fromTo("opacity",.4,0),r.fromTo("translateY","0px","40px"),r.fromTo("opacity",.99,0),this.element(this.leavingView.pageRef()).duration(200).easing("cubic-bezier(0.47,0,0.745,0.715)").add(r).add(n)},e}(r.a)},function(t,e,n){"use strict";var i=n(90),r=n(173);n.d(e,"a",function(){return o}),n.d(e,"b",function(){return a});var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(){t.apply(this,arguments)}return s(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new i.a(t.querySelector("ion-backdrop")),n=new i.a(t.querySelector(".picker-wrapper"));e.fromTo("opacity",.01,.26),n.fromTo("translateY","100%","0%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(e).add(n)},e}(r.a),a=function(t){function e(){t.apply(this,arguments)}return s(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new i.a(t.querySelector("ion-backdrop")),n=new i.a(t.querySelector(".picker-wrapper"));e.fromTo("opacity",.26,0),n.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(450).add(e).add(n)},e}(r.a)},function(t,e,n){"use strict";var i=n(90),r=n(36),s=n(196);n.d(e,"a",function(){return _}),n.d(e,"b",function(){return l}),n.d(e,"c",function(){return h}),n.d(e,"d",function(){return c});var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=function(t){function e(){t.apply(this,arguments)}return o(e,t),e.prototype.mdPositionView=function(t,e){var n="top",i="left",s=t.querySelector(".popover-wrapper"),o=t.querySelector(".popover-content"),a=o.getBoundingClientRect(),_=a.width,l=a.height,h=window.innerWidth,c=window.innerHeight,u=e&&e.target&&e.target.getBoundingClientRect(),d=u&&"top"in u?u.top:c/2-l/2,f=u&&"left"in u?u.left:h/2-_/2,m=u&&u.height||0,g={top:d,left:f};g.lefth&&(g.left=h-_-p,i="right"),d+m+l>c&&d-l>0?(g.top=d-l,t.className=t.className+" popover-bottom",n="bottom"):d+m+l>c&&(o.style.bottom=p+"px"),o.style.top=g.top+"px",o.style.left=g.left+"px",o.style[r.k.transformOrigin]=n+" "+i,s.style.opacity="1"},e.prototype.iosPositionView=function(t,e){var n="top",i="left",s=t.querySelector(".popover-wrapper"),o=t.querySelector(".popover-content"),a=o.getBoundingClientRect(),_=a.width,l=a.height,h=window.innerWidth,c=window.innerHeight,p=e&&e.target&&e.target.getBoundingClientRect(),d=p&&"top"in p?p.top:c/2-l/2,f=p&&"left"in p?p.left:h/2,m=p&&p.width||0,g=p&&p.height||0,v=t.querySelector(".popover-arrow"),x=v.getBoundingClientRect(),y=x.width,b=x.height;p||(v.style.display="none");var w={top:d+g,left:f+m/2-y/2},C={top:d+g+(b-1),left:f+m/2-_/2};C.lefth&&(C.left=h-_-u,i="right"),d+g+l>c&&d-l>0?(w.top=d-(b+1),C.top=d-l-(b-1),t.className=t.className+" popover-bottom",n="bottom"):d+g+l>c&&(o.style.bottom=u+"%"),v.style.top=w.top+"px",v.style.left=w.left+"px",o.style.top=C.top+"px",o.style.left=C.left+"px",o.style[r.k.transformOrigin]=n+" "+i,s.style.opacity="1"},e}(s.a),_=function(t){function e(){t.apply(this,arguments)}return o(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new i.a(t.querySelector("ion-backdrop")),n=new i.a(t.querySelector(".popover-wrapper"));n.fromTo("opacity",.01,1),e.fromTo("opacity",.01,.08),this.easing("ease").duration(100).add(e).add(n)},e.prototype.play=function(){var e=this;n.i(r.l)(function(){e.iosPositionView(e.enteringView.pageRef().nativeElement,e.opts.ev),t.prototype.play.call(e)})},e}(a),l=function(t){function e(){t.apply(this,arguments)}return o(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new i.a(t.querySelector("ion-backdrop")),n=new i.a(t.querySelector(".popover-wrapper"));n.fromTo("opacity",.99,0),e.fromTo("opacity",.08,0),this.easing("ease").duration(500).add(e).add(n)},e}(a),h=function(t){function e(){t.apply(this,arguments)}return o(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new i.a(t.querySelector(".popover-content")),n=new i.a(t.querySelector(".popover-viewport"));e.fromTo("scale",.001,1),n.fromTo("opacity",.01,1),this.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).add(e).add(n)},e.prototype.play=function(){var e=this;n.i(r.l)(function(){e.mdPositionView(e.enteringView.pageRef().nativeElement,e.opts.ev),t.prototype.play.call(e)})},e}(a),c=function(t){function e(){t.apply(this,arguments)}return o(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new i.a(t.querySelector(".popover-wrapper"));e.fromTo("opacity",.99,0),this.easing("ease").duration(500).fromTo("opacity",.01,1).add(e)},e}(a),u=2,p=12},function(t,e,n){"use strict";function i(t,e){function n(){return"horizontal"===v.params.direction}function r(t){return Math.floor(t)}function a(){v.autoplayTimeoutId=setTimeout(function(){v.params.loop?(v.fixLoop(),v._slideNext()):v.isEnd?e.autoplayStopOnLast?v.stopAutoplay():v._slideTo(0):v._slideNext()},v.params.autoplay)}function _(t,e){var n=s(t.target);if(!n.is(e))if("string"==typeof e)n=n.parents(e);else if(e.nodeType){var i;return n.parents().each(function(t,n){n===e&&(i=e)}),i?e:void 0}if(0!==n.length)return n[0]}function l(t,e){e=e||{};var n=window.MutationObserver||window.WebkitMutationObserver,i=new n(function(t){t.forEach(function(t){v.onResize(!0),v.emit("onObserverUpdate",v,t)})});i.observe(t,{attributes:"undefined"==typeof e.attributes||e.attributes,childList:"undefined"==typeof e.childList||e.childList,characterData:"undefined"==typeof e.characterData||e.characterData}),v.observers.push(i)}function h(t){t.originalEvent&&(t=t.originalEvent);var e=t.keyCode||t.charCode;if(!v.params.allowSwipeToNext&&(n()&&39===e||!n()&&40===e))return!1;if(!v.params.allowSwipeToPrev&&(n()&&37===e||!n()&&38===e))return!1;if(!(t.shiftKey||t.altKey||t.ctrlKey||t.metaKey||document.activeElement&&document.activeElement.nodeName&&("input"===document.activeElement.nodeName.toLowerCase()||"textarea"===document.activeElement.nodeName.toLowerCase()))){if(37===e||39===e||38===e||40===e){var i=!1;if(v.container.parents(".swiper-slide").length>0&&0===v.container.parents(".swiper-slide-active").length)return;var r={left:window.pageXOffset,top:window.pageYOffset},s=window.innerWidth,o=window.innerHeight,a=v.container.offset();v.rtl&&(a.left=a.left-v.container[0].scrollLeft);for(var _=[[a.left,a.top],[a.left+v.width,a.top],[a.left,a.top+v.height],[a.left+v.width,a.top+v.height]],l=0;l<_.length;l++){var h=_[l];h[0]>=r.left&&h[0]<=r.left+s&&h[1]>=r.top&&h[1]<=r.top+o&&(i=!0)}if(!i)return}n()?(37!==e&&39!==e||(t.preventDefault?t.preventDefault():t.returnValue=!1),(39===e&&!v.rtl||37===e&&v.rtl)&&v.slideNext(),(37===e&&!v.rtl||39===e&&v.rtl)&&v.slidePrev()):(38!==e&&40!==e||(t.preventDefault?t.preventDefault():t.returnValue=!1),40===e&&v.slideNext(),38===e&&v.slidePrev())}}function c(t){t.originalEvent&&(t=t.originalEvent);var e=v.mousewheel.event,i=0;if(t.detail)i=-t.detail;else if("mousewheel"===e)if(v.params.mousewheelForceToAxis)if(n()){if(!(Math.abs(t.wheelDeltaX)>Math.abs(t.wheelDeltaY)))return;i=t.wheelDeltaX}else{if(!(Math.abs(t.wheelDeltaY)>Math.abs(t.wheelDeltaX)))return;i=t.wheelDeltaY}else i=t.wheelDelta;else if("DOMMouseScroll"===e)i=-t.detail;else if("wheel"===e)if(v.params.mousewheelForceToAxis)if(n()){if(!(Math.abs(t.deltaX)>Math.abs(t.deltaY)))return;i=-t.deltaX}else{if(!(Math.abs(t.deltaY)>Math.abs(t.deltaX)))return;i=-t.deltaY}else i=Math.abs(t.deltaX)>Math.abs(t.deltaY)?-t.deltaX:-t.deltaY;if(v.params.mousewheelInvert&&(i=-i),v.params.freeMode){var r=v.getWrapperTranslate()+i*v.params.mousewheelSensitivity;if(r>0&&(r=0),r60)if(i<0)if(v.isEnd&&!v.params.loop||v.animating){if(v.params.mousewheelReleaseOnEdges)return!0}else v.slideNext();else if(v.isBeginning&&!v.params.loop||v.animating){if(v.params.mousewheelReleaseOnEdges)return!0}else v.slidePrev();v.mousewheel.lastScrollTime=(new window.Date).getTime()}return v.params.autoplay&&v.stopAutoplay(),t.preventDefault?t.preventDefault():t.returnValue=!1,!1}function u(t,e){t=s(t);var i,r,o;i=t.attr("data-swiper-parallax")||"0",r=t.attr("data-swiper-parallax-x"),o=t.attr("data-swiper-parallax-y"),r||o?(r=r||"0",o=o||"0"):n()?(r=i,o="0"):(o=i,r="0"),r=r.indexOf("%")>=0?parseInt(r,10)*e+"%":r*e+"px",o=o.indexOf("%")>=0?parseInt(o,10)*e+"%":o*e+"px",t.transform("translate3d("+r+", "+o+",0px)")}function p(t){return 0!==t.indexOf("on")&&(t=t[0]!==t[0].toUpperCase()?"on"+t[0].toUpperCase()+t.substring(1):"on"+t), t}if(!(this instanceof i))return new i(t,e);var d={direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,autoplay:!1,autoplayDisableOnInteraction:!0,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeSticky:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",coverflow:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},cube:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},fade:{crossFade:!1},parallax:!1,scrollbar:null,scrollbarHide:!0,keyboardControl:!1,mousewheelControl:!1,mousewheelReleaseOnEdges:!1,mousewheelInvert:!1,mousewheelForceToAxis:!1,mousewheelSensitivity:1,hashnav:!1,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,onlyExternal:!1,threshold:0,touchMoveStopPropagation:!0,pagination:null,paginationElement:"span",paginationClickable:!1,paginationHide:!1,paginationBulletRender:null,resistance:!0,resistanceRatio:.85,nextButton:null,prevButton:null,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,lazyLoading:!1,lazyLoadingInPrevNext:!1,lazyLoadingOnTransitionStart:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,control:void 0,controlInverse:!1,controlBy:"slide",allowSwipeToPrev:!0,allowSwipeToNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",buttonDisabledClass:"swiper-button-disabled",paginationHiddenClass:"swiper-pagination-hidden",observer:!1,observeParents:!1,a11y:!1,prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",runCallbacksOnInit:!0},f=e&&e.virtualTranslate;e=e||{};for(var m in d)if("undefined"==typeof e[m])e[m]=d[m];else if("object"==typeof e[m])for(var g in d[m])"undefined"==typeof e[m][g]&&(e[m][g]=d[m][g]);var v=this;if(v.version="3.1.0",v.params=e,v.classNames=[],"undefined"!=typeof s&&"undefined"!=typeof o&&(s=o),("undefined"!=typeof s||(s="undefined"==typeof o?window.Dom7||window.Zepto||window.jQuery:o))&&(v.$=s,v.container=s(t),0!==v.container.length)){if(v.container.length>1)return void v.container.each(function(){new i(this,e)});v.container[0].swiper=v,v.container.data("swiper",v),v.classNames.push("swiper-container-"+v.params.direction),v.params.freeMode&&v.classNames.push("swiper-container-free-mode"),v.support.flexbox||(v.classNames.push("swiper-container-no-flexbox"),v.params.slidesPerColumn=1),(v.params.parallax||v.params.watchSlidesVisibility)&&(v.params.watchSlidesProgress=!0),["cube","coverflow"].indexOf(v.params.effect)>=0&&(v.support.transforms3d?(v.params.watchSlidesProgress=!0,v.classNames.push("swiper-container-3d")):v.params.effect="slide"),"slide"!==v.params.effect&&v.classNames.push("swiper-container-"+v.params.effect),"cube"===v.params.effect&&(v.params.resistanceRatio=0,v.params.slidesPerView=1,v.params.slidesPerColumn=1,v.params.slidesPerGroup=1,v.params.centeredSlides=!1,v.params.spaceBetween=0,v.params.virtualTranslate=!0,v.params.setWrapperSize=!1),"fade"===v.params.effect&&(v.params.slidesPerView=1,v.params.slidesPerColumn=1,v.params.slidesPerGroup=1,v.params.watchSlidesProgress=!0,v.params.spaceBetween=0,"undefined"==typeof f&&(v.params.virtualTranslate=!0)),v.params.grabCursor&&v.support.touch&&(v.params.grabCursor=!1),v.wrapper=v.container.children("."+v.params.wrapperClass),v.params.pagination&&(v.paginationContainer=s(v.params.pagination),v.params.paginationClickable&&v.paginationContainer.addClass("swiper-pagination-clickable")),v.rtl=n()&&("rtl"===v.container[0].dir.toLowerCase()||"rtl"===v.container.css("direction")),v.rtl&&v.classNames.push("swiper-container-rtl"),v.rtl&&(v.wrongRTL="-webkit-box"===v.wrapper.css("display")),v.params.slidesPerColumn>1&&v.classNames.push("swiper-container-multirow"),v.device.android&&v.classNames.push("swiper-container-android"),v.container.addClass(v.classNames.join(" ")),v.translate=0,v.progress=0,v.velocity=0,v.lockSwipeToNext=function(){v.params.allowSwipeToNext=!1},v.lockSwipeToPrev=function(){v.params.allowSwipeToPrev=!1},v.lockSwipes=function(){v.params.allowSwipeToNext=v.params.allowSwipeToPrev=!1},v.unlockSwipeToNext=function(){v.params.allowSwipeToNext=!0},v.unlockSwipeToPrev=function(){v.params.allowSwipeToPrev=!0},v.unlockSwipes=function(){v.params.allowSwipeToNext=v.params.allowSwipeToPrev=!0},v.params.grabCursor&&(v.container[0].style.cursor="move",v.container[0].style.cursor="-webkit-grab",v.container[0].style.cursor="-moz-grab",v.container[0].style.cursor="grab"),v.imagesToLoad=[],v.imagesLoaded=0,v.loadImage=function(t,e,n,i){function r(){i&&i()}var s;t.complete&&n?r():e?(s=new window.Image,s.onload=r,s.onerror=r,s.src=e):r()},v.preloadImages=function(){function t(){"undefined"!=typeof v&&null!==v&&(void 0!==v.imagesLoaded&&v.imagesLoaded++,v.imagesLoaded===v.imagesToLoad.length&&(v.params.updateOnImagesReady&&v.update(),v.emit("onImagesReady",v)))}v.imagesToLoad=v.container.find("img");for(var e=0;e=0&&(e=parseFloat(e.replace("%",""))/100*v.size),v.virtualSize=-e,v.rtl?v.slides.css({marginLeft:"",marginTop:""}):v.slides.css({marginRight:"",marginBottom:""});var a;v.params.slidesPerColumn>1&&(a=Math.floor(v.slides.length/v.params.slidesPerColumn)===v.slides.length/v.params.slidesPerColumn?v.slides.length:Math.ceil(v.slides.length/v.params.slidesPerColumn)*v.params.slidesPerColumn);var _,l=v.params.slidesPerColumn,h=a/l,c=h-(v.params.slidesPerColumn*h-v.slides.length);for(t=0;t1){var p,d,f;"column"===v.params.slidesPerColumnFill?(d=Math.floor(t/l),f=t-d*l,(d>c||d===c&&f===l-1)&&++f>=l&&(f=0,d++),p=d+f*a/l,u.css({"-webkit-box-ordinal-group":p,"-moz-box-ordinal-group":p,"-ms-flex-order":p,"-webkit-order":p,order:p})):(f=Math.floor(t/h),d=t-f*h),u.css({"margin-top":0!==f&&v.params.spaceBetween&&v.params.spaceBetween+"px"}).attr("data-swiper-column",d).attr("data-swiper-row",f)}"none"!==u.css("display")&&("auto"===v.params.slidesPerView?(_=n()?u.outerWidth(!0):u.outerHeight(!0),v.params.roundLengths&&(_=r(_))):(_=(v.size-(v.params.slidesPerView-1)*e)/v.params.slidesPerView,v.params.roundLengths&&(_=r(_)),n()?v.slides[t].style.width=_+"px":v.slides[t].style.height=_+"px"),v.slides[t].swiperSlideSize=_,v.slidesSizesGrid.push(_),v.params.centeredSlides?(i=i+_/2+s/2+e,0===t&&(i=i-v.size/2-e),Math.abs(i)<.001&&(i=0),o%v.params.slidesPerGroup===0&&v.snapGrid.push(i),v.slidesGrid.push(i)):(o%v.params.slidesPerGroup===0&&v.snapGrid.push(i),v.slidesGrid.push(i),i=i+_+e),v.virtualSize+=_+e,s=_,o++)}v.virtualSize=Math.max(v.virtualSize,v.size)+v.params.slidesOffsetAfter;var m;if(v.rtl&&v.wrongRTL&&("slide"===v.params.effect||"coverflow"===v.params.effect)&&v.wrapper.css({width:v.virtualSize+v.params.spaceBetween+"px"}),v.support.flexbox&&!v.params.setWrapperSize||(n()?v.wrapper.css({width:v.virtualSize+v.params.spaceBetween+"px"}):v.wrapper.css({height:v.virtualSize+v.params.spaceBetween+"px"})),v.params.slidesPerColumn>1&&(v.virtualSize=(_+v.params.spaceBetween)*a,v.virtualSize=Math.ceil(v.virtualSize/v.params.slidesPerColumn)-v.params.spaceBetween,v.wrapper.css({width:v.virtualSize+v.params.spaceBetween+"px"}),v.params.centeredSlides)){for(m=[],t=0;tMath.floor(v.snapGrid[v.snapGrid.length-1])&&v.snapGrid.push(v.virtualSize-v.size)}0===v.snapGrid.length&&(v.snapGrid=[0]),0!==v.params.spaceBetween&&(n()?v.rtl?v.slides.css({marginLeft:e+"px"}):v.slides.css({marginRight:e+"px"}):v.slides.css({marginBottom:e+"px"})),v.params.watchSlidesProgress&&v.updateSlidesOffset()},v.updateSlidesOffset=function(){for(var t=0;t=0&&o0&&a<=v.size||o<=0&&a>=v.size;_&&v.slides.eq(i).addClass(v.params.slideVisibleClass)}r.progress=v.rtl?-s:s}}},v.updateProgress=function(t){"undefined"==typeof t&&(t=v.translate||0);var e=v.maxTranslate()-v.minTranslate();0===e?(v.progress=0,v.isBeginning=v.isEnd=!0):(v.progress=(t-v.minTranslate())/e,v.isBeginning=v.progress<=0,v.isEnd=v.progress>=1),v.isBeginning&&v.emit("onReachBeginning",v),v.isEnd&&v.emit("onReachEnd",v),v.params.watchSlidesProgress&&v.updateSlidesProgress(t),v.emit("onProgress",v,v.progress)},v.updateActiveIndex=function(){var t,e,n,i=v.rtl?v.translate:-v.translate;for(e=0;e=v.slidesGrid[e]&&i=v.slidesGrid[e]&&i=v.slidesGrid[e]&&(t=e);(t<0||"undefined"==typeof t)&&(t=0),n=Math.floor(t/v.params.slidesPerGroup),n>=v.snapGrid.length&&(n=v.snapGrid.length-1),t!==v.activeIndex&&(v.snapIndex=n,v.previousIndex=v.activeIndex,v.activeIndex=t,v.updateClasses())},v.updateClasses=function(){v.slides.removeClass(v.params.slideActiveClass+" "+v.params.slideNextClass+" "+v.params.slidePrevClass);var t=v.slides.eq(v.activeIndex);if(t.addClass(v.params.slideActiveClass),t.next("."+v.params.slideClass).addClass(v.params.slideNextClass),t.prev("."+v.params.slideClass).addClass(v.params.slidePrevClass),v.bullets&&v.bullets.length>0){v.bullets.removeClass(v.params.bulletActiveClass);var e;v.params.loop?(e=Math.ceil(v.activeIndex-v.loopedSlides)/v.params.slidesPerGroup,e>v.slides.length-1-2*v.loopedSlides&&(e-=v.slides.length-2*v.loopedSlides),e>v.bullets.length-1&&(e-=v.bullets.length)):e="undefined"!=typeof v.snapIndex?v.snapIndex:v.activeIndex||0,v.paginationContainer.length>1?v.bullets.each(function(){s(this).index()===e&&s(this).addClass(v.params.bulletActiveClass)}):v.bullets.eq(e).addClass(v.params.bulletActiveClass)}v.params.loop||(v.params.prevButton&&(v.isBeginning?(s(v.params.prevButton).addClass(v.params.buttonDisabledClass),v.params.a11y&&v.a11y&&v.a11y.disable(s(v.params.prevButton))):(s(v.params.prevButton).removeClass(v.params.buttonDisabledClass),v.params.a11y&&v.a11y&&v.a11y.enable(s(v.params.prevButton)))),v.params.nextButton&&(v.isEnd?(s(v.params.nextButton).addClass(v.params.buttonDisabledClass),v.params.a11y&&v.a11y&&v.a11y.disable(s(v.params.nextButton))):(s(v.params.nextButton).removeClass(v.params.buttonDisabledClass),v.params.a11y&&v.a11y&&v.a11y.enable(s(v.params.nextButton)))))},v.updatePagination=function(){if(v.params.pagination&&v.paginationContainer&&v.paginationContainer.length>0){for(var t="",e=v.params.loop?Math.ceil((v.slides.length-2*v.loopedSlides)/v.params.slidesPerGroup):v.snapGrid.length,n=0;n";v.paginationContainer.html(t),v.bullets=v.paginationContainer.find("."+v.params.bulletClass),v.params.paginationClickable&&v.params.a11y&&v.a11y&&v.a11y.initPagination()}},v.update=function(t){function e(){i=Math.min(Math.max(v.translate,v.maxTranslate()),v.minTranslate()),v.setWrapperTranslate(i),v.updateActiveIndex(),v.updateClasses()}if(v.updateContainerSize(),v.updateSlidesSize(),v.updateProgress(),v.updatePagination(),v.updateClasses(),v.params.scrollbar&&v.scrollbar&&v.scrollbar.set(),t){var n,i;v.controller&&v.controller.spline&&(v.controller.spline=void 0),v.params.freeMode?e():(n=("auto"===v.params.slidesPerView||v.params.slidesPerView>1)&&v.isEnd&&!v.params.centeredSlides?v.slideTo(v.slides.length-1,0,!1,!0):v.slideTo(v.activeIndex,0,!1,!0),n||e())}},v.onResize=function(t){var e=v.params.allowSwipeToPrev,n=v.params.allowSwipeToNext;if(v.params.allowSwipeToPrev=v.params.allowSwipeToNext=!0,v.updateContainerSize(),v.updateSlidesSize(),("auto"===v.params.slidesPerView||v.params.freeMode||t)&&v.updatePagination(),v.params.scrollbar&&v.scrollbar&&v.scrollbar.set(),v.controller&&v.controller.spline&&(v.controller.spline=void 0),v.params.freeMode){var i=Math.min(Math.max(v.translate,v.maxTranslate()),v.minTranslate());v.setWrapperTranslate(i),v.updateActiveIndex(),v.updateClasses()}else v.updateClasses(),("auto"===v.params.slidesPerView||v.params.slidesPerView>1)&&v.isEnd&&!v.params.centeredSlides?v.slideTo(v.slides.length-1,0,!1,!0):v.slideTo(v.activeIndex,0,!1,!0);v.params.allowSwipeToPrev=e,v.params.allowSwipeToNext=n};var x=["mousedown","mousemove","mouseup"];window.navigator.pointerEnabled?x=["pointerdown","pointermove","pointerup"]:window.navigator.msPointerEnabled&&(x=["MSPointerDown","MSPointerMove","MSPointerUp"]),v.touchEvents={start:v.support.touch||!v.params.simulateTouch?"touchstart":x[0],move:v.support.touch||!v.params.simulateTouch?"touchmove":x[1],end:v.support.touch||!v.params.simulateTouch?"touchend":x[2]},(window.navigator.pointerEnabled||window.navigator.msPointerEnabled)&&("container"===v.params.touchEventsTarget?v.container:v.wrapper).addClass("swiper-wp8-"+v.params.direction),v.initEvents=function(t){var n=t?"off":"on",i=t?"removeEventListener":"addEventListener",r="container"===v.params.touchEventsTarget?v.container[0]:v.wrapper[0],o=v.support.touch?r:document,a=!!v.params.nested;v.browser.ie?(r[i](v.touchEvents.start,v.onTouchStart,!1),o[i](v.touchEvents.move,v.onTouchMove,a),o[i](v.touchEvents.end,v.onTouchEnd,!1)):(v.support.touch&&(r[i](v.touchEvents.start,v.onTouchStart,!1),r[i](v.touchEvents.move,v.onTouchMove,a),r[i](v.touchEvents.end,v.onTouchEnd,!1)),!e.simulateTouch||v.device.ios||v.device.android||(r[i]("mousedown",v.onTouchStart,!1),document[i]("mousemove",v.onTouchMove,a),document[i]("mouseup",v.onTouchEnd,!1))),window[i]("resize",v.onResize),v.params.nextButton&&(s(v.params.nextButton)[n]("click",v.onClickNext),v.params.a11y&&v.a11y&&s(v.params.nextButton)[n]("keydown",v.a11y.onEnterKey)),v.params.prevButton&&(s(v.params.prevButton)[n]("click",v.onClickPrev),v.params.a11y&&v.a11y&&s(v.params.prevButton)[n]("keydown",v.a11y.onEnterKey)),v.params.pagination&&v.params.paginationClickable&&(s(v.paginationContainer)[n]("click","."+v.params.bulletClass,v.onClickIndex),v.params.a11y&&v.a11y&&s(v.paginationContainer)[n]("keydown","."+v.params.bulletClass,v.a11y.onEnterKey)),(v.params.preventClicks||v.params.preventClicksPropagation)&&r[i]("click",v.preventClicks,!0)},v.attachEvents=function(t){v.initEvents()},v.detachEvents=function(){v.initEvents(!0)},v.allowClick=!0,v.preventClicks=function(t){v.allowClick||(v.params.preventClicks&&t.preventDefault(),v.params.preventClicksPropagation&&v.animating&&(t.stopPropagation(),t.stopImmediatePropagation()))},v.onClickNext=function(t){t.preventDefault(),v.isEnd&&!v.params.loop||v.slideNext()},v.onClickPrev=function(t){t.preventDefault(),v.isBeginning&&!v.params.loop||v.slidePrev()},v.onClickIndex=function(t){t.preventDefault();var e=s(this).index()*v.params.slidesPerGroup;v.params.loop&&(e+=v.loopedSlides),v.slideTo(e)},v.updateClickedSlide=function(t){var e=_(t,"."+v.params.slideClass),n=!1;if(e)for(var i=0;iv.slides.length-v.params.slidesPerView)v.fixLoop(),o=v.wrapper.children("."+v.params.slideClass+'[data-swiper-slide-index="'+r+'"]').eq(0).index(),setTimeout(function(){v.slideTo(o)},0);else if(o0&&(A=!1),"touchstart"!==t.type){var i=!0;s(t.target).is(O)&&(i=!1),document.activeElement&&s(document.activeElement).is(O)&&document.activeElement.blur(),i&&t.preventDefault()}v.emit("onTouchStart",v,t)}}}},v.onTouchMove=function(t){if(t.originalEvent&&(t=t.originalEvent),!(P&&"mousemove"===t.type||t.preventedByNestedSwiper)){if(v.params.onlyExternal)return v.allowClick=!1,void(y&&(v.touches.startX=v.touches.currentX="touchmove"===t.type?t.targetTouches[0].pageX:t.pageX,v.touches.startY=v.touches.currentY="touchmove"===t.type?t.targetTouches[0].pageY:t.pageY,w=Date.now()));if(P&&document.activeElement&&t.target===document.activeElement&&s(t.target).is(O))return b=!0,void(v.allowClick=!1);if(v.emit("onTouchMove",v,t),!(t.targetTouches&&t.targetTouches.length>1)){if(v.touches.currentX="touchmove"===t.type?t.targetTouches[0].pageX:t.pageX,v.touches.currentY="touchmove"===t.type?t.targetTouches[0].pageY:t.pageY,"undefined"==typeof C){var i=180*Math.atan2(Math.abs(v.touches.currentY-v.touches.startY),Math.abs(v.touches.currentX-v.touches.startX))/Math.PI;C=n()?i>v.params.touchAngle:90-i>v.params.touchAngle}if(C&&v.emit("onTouchMoveOpposite",v,t),"undefined"==typeof R&&v.browser.ieTouch&&(v.touches.currentX===v.touches.startX&&v.touches.currentY===v.touches.startY||(R=!0)),y){if(C)return void(y=!1);if(R||!v.browser.ieTouch){v.allowClick=!1,v.emit("onSliderMove",v,t),t.preventDefault(),v.params.touchMoveStopPropagation&&!v.params.nested&&t.stopPropagation(),b||(e.loop&&v.fixLoop(),T=v.getWrapperTranslate(),v.setWrapperTransition(0),v.animating&&v.wrapper.trigger("webkitTransitionEnd transitionend oTransitionEnd MSTransitionEnd msTransitionEnd"),v.params.autoplay&&v.autoplaying&&(v.params.autoplayDisableOnInteraction?v.stopAutoplay():v.pauseAutoplay()),S=!1,v.params.grabCursor&&(v.container[0].style.cursor="move",v.container[0].style.cursor="-webkit-grabbing",v.container[0].style.cursor="-moz-grabbin",v.container[0].style.cursor="grabbing")),b=!0;var r=v.touches.diff=n()?v.touches.currentX-v.touches.startX:v.touches.currentY-v.touches.startY;r*=v.params.touchRatio,v.rtl&&(r=-r),v.swipeDirection=r>0?"prev":"next",E=r+T;var o=!0;if(r>0&&E>v.minTranslate()?(o=!1,v.params.resistance&&(E=v.minTranslate()-1+Math.pow(-v.minTranslate()+T+r,v.params.resistanceRatio))):r<0&&ET&&(E=T),v.params.followFinger){if(v.params.threshold>0){if(!(Math.abs(r)>v.params.threshold||A))return void(E=T);if(!A)return A=!0,v.touches.startX=v.touches.currentX,v.touches.startY=v.touches.currentY,E=T,void(v.touches.diff=n()?v.touches.currentX-v.touches.startX:v.touches.currentY-v.touches.startY)}(v.params.freeMode||v.params.watchSlidesProgress)&&v.updateActiveIndex(),v.params.freeMode&&(0===N.length&&N.push({position:v.touches[n()?"startX":"startY"],time:w}),N.push({position:v.touches[n()?"currentX":"currentY"],time:(new window.Date).getTime()})),v.updateProgress(E),v.setWrapperTranslate(E)}}}}}},v.onTouchEnd=function(t){if(t.originalEvent&&(t=t.originalEvent),v.emit("onTouchEnd",v,t),y){v.params.grabCursor&&b&&y&&(v.container[0].style.cursor="move",v.container[0].style.cursor="-webkit-grab",v.container[0].style.cursor="-moz-grab",v.container[0].style.cursor="grab");var e=Date.now(),n=e-w;if(v.allowClick&&(v.updateClickedSlide(t),v.emit("onTap",v,t),n<300&&e-k>300&&(I&&clearTimeout(I),I=setTimeout(function(){v&&(v.params.paginationHide&&v.paginationContainer.length>0&&!s(t.target).hasClass(v.params.bulletClass)&&v.paginationContainer.toggleClass(v.params.paginationHiddenClass),v.emit("onClick",v,t))},300)),n<300&&e-k<300&&(I&&clearTimeout(I),v.emit("onDoubleTap",v,t))),k=Date.now(),setTimeout(function(){v&&(v.allowClick=!0)},0),!y||!b||!v.swipeDirection||0===v.touches.diff||E===T)return void(y=b=!1);y=b=!1;var i;if(i=v.params.followFinger?v.rtl?v.translate:-v.translate:-E,v.params.freeMode){if(i<-v.minTranslate())return void v.slideTo(v.activeIndex);if(i>-v.maxTranslate())return void(v.slides.length1){var r=N.pop(),o=N.pop(),a=r.position-o.position,_=r.time-o.time;v.velocity=a/_,v.velocity=v.velocity/2,Math.abs(v.velocity)<.02&&(v.velocity=0),(_>150||(new window.Date).getTime()-r.time>300)&&(v.velocity=0)}else v.velocity=0;N.length=0;var l=1e3*v.params.freeModeMomentumRatio,h=v.velocity*l,c=v.translate+h;v.rtl&&(c=-c);var u,p=!1,d=20*Math.abs(v.velocity)*v.params.freeModeMomentumBounceRatio;if(cv.minTranslate())v.params.freeModeMomentumBounce?(c-v.minTranslate()>d&&(c=v.minTranslate()+d),u=v.minTranslate(),p=!0,S=!0):c=v.minTranslate();else if(v.params.freeModeSticky){var f,m=0;for(m=0;m-c){f=m;break}c=Math.abs(v.snapGrid[f]-c)=v.params.longSwipesMs)&&(v.updateProgress(),v.updateActiveIndex()))}var g,x=0,C=v.slidesSizesGrid[0];for(g=0;g=v.slidesGrid[g]&&i=v.slidesGrid[g]&&(x=g,C=v.slidesGrid[v.slidesGrid.length-1]-v.slidesGrid[v.slidesGrid.length-2]);var A=(i-v.slidesGrid[x])/C;if(n>v.params.longSwipesMs){if(!v.params.longSwipes)return void v.slideTo(v.activeIndex);"next"===v.swipeDirection&&(A>=v.params.longSwipesRatio?v.slideTo(x+v.params.slidesPerGroup):v.slideTo(x)),"prev"===v.swipeDirection&&(A>1-v.params.longSwipesRatio?v.slideTo(x+v.params.slidesPerGroup):v.slideTo(x))}else{if(!v.params.shortSwipes)return void v.slideTo(v.activeIndex);"next"===v.swipeDirection&&v.slideTo(x+v.params.slidesPerGroup),"prev"===v.swipeDirection&&v.slideTo(x)}}},v._slideTo=function(t,e){return v.slideTo(t,e,!0,!0)},v.slideTo=function(t,e,i,r){"undefined"==typeof i&&(i=!0),"undefined"==typeof t&&(t=0),t<0&&(t=0),v.snapIndex=Math.floor(t/v.params.slidesPerGroup),v.snapIndex>=v.snapGrid.length&&(v.snapIndex=v.snapGrid.length-1);var s=-v.snapGrid[v.snapIndex];v.params.autoplay&&v.autoplaying&&(r||!v.params.autoplayDisableOnInteraction?v.pauseAutoplay(e):v.stopAutoplay()),v.updateProgress(s);for(var o=0;o=Math.floor(100*v.slidesGrid[o])&&(t=o);if(!v.params.allowSwipeToNext&&sv.translate&&s>v.maxTranslate()&&(v.activeIndex||0)!==t)return!1;if("undefined"==typeof e&&(e=v.params.speed),v.previousIndex=v.activeIndex||0,v.activeIndex=t,s===v.translate)return v.updateClasses(),!1;v.updateClasses(),v.onTransitionStart(i);n()?s:0,n()?0:s;return 0===e?(v.setWrapperTransition(0),v.setWrapperTranslate(s),v.onTransitionEnd(i)):(v.setWrapperTransition(e),v.setWrapperTranslate(s),v.animating||(v.animating=!0,v.wrapper.transitionEnd(function(){v&&v.onTransitionEnd(i)}))),!0},v.onTransitionStart=function(t){"undefined"==typeof t&&(t=!0),v.lazy&&v.lazy.onTransitionStart(),t&&(v.emit("onTransitionStart",v),v.activeIndex!==v.previousIndex&&v.emit("onSlideChangeStart",v))},v.onTransitionEnd=function(t){v.animating=!1,v.setWrapperTransition(0),"undefined"==typeof t&&(t=!0),v.lazy&&v.lazy.onTransitionEnd(),t&&(v.emit("onTransitionEnd",v),v.activeIndex!==v.previousIndex&&v.emit("onSlideChangeEnd",v)),v.params.hashnav&&v.hashnav&&v.hashnav.setHash()},v.slideNext=function(t,e,n){if(v.params.loop){if(v.animating)return!1;v.fixLoop();v.container[0].clientLeft;return v.slideTo(v.activeIndex+v.params.slidesPerGroup,e,t,n)}return v.slideTo(v.activeIndex+v.params.slidesPerGroup,e,t,n)},v._slideNext=function(t){return v.slideNext(!0,t,!0)},v.slidePrev=function(t,e,n){if(v.params.loop){if(v.animating)return!1;v.fixLoop();v.container[0].clientLeft;return v.slideTo(v.activeIndex-1,e,t,n)}return v.slideTo(v.activeIndex-1,e,t,n)},v._slidePrev=function(t){return v.slidePrev(!0,t,!0)},v.slideReset=function(t,e,n){return v.slideTo(v.activeIndex,e,t)},v.setWrapperTransition=function(t,e){v.wrapper.transition(t),"slide"!==v.params.effect&&v.effects[v.params.effect]&&v.effects[v.params.effect].setTransition(t),v.params.parallax&&v.parallax&&v.parallax.setTransition(t),v.params.scrollbar&&v.scrollbar&&v.scrollbar.setTransition(t),v.params.control&&v.controller&&v.controller.setTransition(t,e),v.emit("onSetTransition",v,t)},v.setWrapperTranslate=function(t,e,i){var r=0,s=0,o=0;n()?r=v.rtl?-t:t:s=t,v.params.virtualTranslate||(v.support.transforms3d?v.wrapper.transform("translate3d("+r+"px, "+s+"px, "+o+"px)"):v.wrapper.transform("translate("+r+"px, "+s+"px)")),v.translate=n()?r:s,e&&v.updateActiveIndex(),"slide"!==v.params.effect&&v.effects[v.params.effect]&&v.effects[v.params.effect].setTranslate(v.translate),v.params.parallax&&v.parallax&&v.parallax.setTranslate(v.translate),v.params.scrollbar&&v.scrollbar&&v.scrollbar.setTranslate(v.translate),v.params.control&&v.controller&&v.controller.setTranslate(v.translate,i),v.emit("onSetTranslate",v,v.translate)},v.getTranslate=function(t,e){var n,i,r,s;return"undefined"==typeof e&&(e="x"),v.params.virtualTranslate?v.rtl?-v.translate:v.translate:(r=window.getComputedStyle(t,null),window.WebKitCSSMatrix?s=new window.WebKitCSSMatrix("none"===r.webkitTransform?"":r.webkitTransform):(s=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=s.toString().split(",")),"x"===e&&(i=window.WebKitCSSMatrix?s.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===e&&(i=window.WebKitCSSMatrix?s.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),v.rtl&&i&&(i=-i),i||0)},v.getWrapperTranslate=function(t){return"undefined"==typeof t&&(t=n()?"x":"y"),v.getTranslate(v.wrapper[0],t)},v.observers=[],v.initObservers=function(){if(v.params.observeParents)for(var t=v.container.parents(),e=0;et.length&&(v.loopedSlides=t.length);var e,n=[],i=[];for(t.each(function(e,r){var o=s(this);e=t.length-v.loopedSlides&&n.push(r),o.attr("data-swiper-slide-index",e)}),e=0;e=0;e--)v.wrapper.prepend(s(n[e].cloneNode(!0)).addClass(v.params.slideDuplicateClass))},v.destroyLoop=function(){v.wrapper.children("."+v.params.slideClass+"."+v.params.slideDuplicateClass).remove(),v.slides.removeAttr("data-swiper-slide-index")},v.fixLoop=function(){var t;v.activeIndex=2*v.loopedSlides||v.activeIndex>v.slides.length-2*v.params.slidesPerView)&&(t=-v.slides.length+v.activeIndex+v.loopedSlides,t+=v.loopedSlides,v.slideTo(t,0,!1,!0))},v.appendSlide=function(t){if(v.params.loop&&v.destroyLoop(),"object"==typeof t&&t.length)for(var e=0;e
'),v.wrapper.append(t)),t.css({height:v.width+"px"})):(t=v.container.find(".swiper-cube-shadow"),0===t.length&&(t=s('
'),v.container.append(t))));for(var i=0;i-1&&(e=90*i+90*_,v.rtl&&(e=90*-i-90*_)),r.transform(u),v.params.cube.slideShadows){var p=n()?r.find(".swiper-slide-shadow-left"):r.find(".swiper-slide-shadow-top"),d=n()?r.find(".swiper-slide-shadow-right"):r.find(".swiper-slide-shadow-bottom");0===p.length&&(p=s('
'),r.append(p)),0===d.length&&(d=s('
'),r.append(d));r[0].progress;p.length&&(p[0].style.opacity=-r[0].progress),d.length&&(d[0].style.opacity=r[0].progress)}}if(v.wrapper.css({"-webkit-transform-origin":"50% 50% -"+v.size/2+"px","-moz-transform-origin":"50% 50% -"+v.size/2+"px","-ms-transform-origin":"50% 50% -"+v.size/2+"px","transform-origin":"50% 50% -"+v.size/2+"px"}),v.params.cube.shadow)if(n())t.transform("translate3d(0px, "+(v.width/2+v.params.cube.shadowOffset)+"px, "+-v.width/2+"px) rotateX(90deg) rotateZ(0deg) scale("+v.params.cube.shadowScale+")");else{var f=Math.abs(e)-90*Math.floor(Math.abs(e)/90),m=1.5-(Math.sin(2*f*Math.PI/360)/2+Math.cos(2*f*Math.PI/360)/2),g=v.params.cube.shadowScale,x=v.params.cube.shadowScale/m,y=v.params.cube.shadowOffset;t.transform("scale3d("+g+", 1, "+x+") translate3d(0px, "+(v.height/2+y)+"px, "+-v.height/2/x+"px) rotateX(-90deg)")}var b=v.isSafari||v.isUiWebView?-v.size/2:0;v.wrapper.transform("translate3d(0px,0,"+b+"px) rotateX("+(n()?0:e)+"deg) rotateY("+(n()?-e:0)+"deg)")},setTransition:function(t){v.slides.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),v.params.cube.shadow&&!n()&&v.container.find(".swiper-cube-shadow").transition(t)}},coverflow:{setTranslate:function(){for(var t=v.translate,e=n()?-t+v.width/2:-t+v.height/2,i=n()?v.params.coverflow.rotate:-v.params.coverflow.rotate,r=v.params.coverflow.depth,o=0,a=v.slides.length;o'),_.append(x)),0===y.length&&(y=s('
'),_.append(y)),x.length&&(x[0].style.opacity=c>0?c:0),y.length&&(y[0].style.opacity=-c>0?-c:0)}}if(v.browser.ie){var b=v.wrapper[0].style;b.perspectiveOrigin=e+"px 50%"}},setTransition:function(t){v.slides.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t)}}},v.lazy={initialImageLoaded:!1,loadImageInSlide:function(t,e){if("undefined"!=typeof t&&("undefined"==typeof e&&(e=!0),0!==v.slides.length)){var n=v.slides.eq(t),i=n.find(".swiper-lazy:not(.swiper-lazy-loaded):not(.swiper-lazy-loading)");!n.hasClass("swiper-lazy")||n.hasClass("swiper-lazy-loaded")||n.hasClass("swiper-lazy-loading")||i.add(n[0]),0!==i.length&&i.each(function(){var t=s(this);t.addClass("swiper-lazy-loading");var i=t.attr("data-background"),r=t.attr("data-src");v.loadImage(t[0],r||i,!1,function(){if(i?(t.css("background-image","url("+i+")"),t.removeAttr("data-background")):(t.attr("src",r),t.removeAttr("data-src")),t.addClass("swiper-lazy-loaded").removeClass("swiper-lazy-loading"),n.find(".swiper-lazy-preloader, .preloader").remove(),v.params.loop&&e){var s=n.attr("data-swiper-slide-index");if(n.hasClass(v.params.slideDuplicateClass)){var o=v.wrapper.children('[data-swiper-slide-index="'+s+'"]:not(.'+v.params.slideDuplicateClass+")");v.lazy.loadImageInSlide(o.index(),!1)}else{var a=v.wrapper.children("."+v.params.slideDuplicateClass+'[data-swiper-slide-index="'+s+'"]');v.lazy.loadImageInSlide(a.index(),!1)}}v.emit("onLazyImageReady",v,n[0],t[0])}),v.emit("onLazyImageLoad",v,n[0],t[0])})}},load:function(){var t;if(v.params.watchSlidesVisibility)v.wrapper.children("."+v.params.slideVisibleClass).each(function(){v.lazy.loadImageInSlide(s(this).index())});else if(v.params.slidesPerView>1)for(t=v.activeIndex;t1){for(t=v.activeIndex+v.params.slidesPerView;t0&&v.lazy.loadImageInSlide(e.index());var n=v.wrapper.children("."+v.params.slidePrevClass);n.length>0&&v.lazy.loadImageInSlide(n.index())}},onTransitionStart:function(){v.params.lazyLoading&&(v.params.lazyLoadingOnTransitionStart||!v.params.lazyLoadingOnTransitionStart&&!v.lazy.initialImageLoaded)&&v.lazy.load()},onTransitionEnd:function(){v.params.lazyLoading&&!v.params.lazyLoadingOnTransitionStart&&v.lazy.load()}},v.scrollbar={set:function(){if(v.params.scrollbar){var t=v.scrollbar;t.track=s(v.params.scrollbar),t.drag=t.track.find(".swiper-scrollbar-drag"),0===t.drag.length&&(t.drag=s('
'),t.track.append(t.drag)),t.drag[0].style.width="",t.drag[0].style.height="",t.trackSize=n()?t.track[0].offsetWidth:t.track[0].offsetHeight,t.divider=v.size/v.virtualSize,t.moveDivider=t.divider*(t.trackSize/v.size),t.dragSize=t.trackSize*t.divider,n()?t.drag[0].style.width=t.dragSize+"px":t.drag[0].style.height=t.dragSize+"px",t.divider>=1?t.track[0].style.display="none":t.track[0].style.display="",v.params.scrollbarHide&&(t.track[0].style.opacity=0)}},setTranslate:function(){if(v.params.scrollbar){var t,e=v.scrollbar,i=(v.translate||0,e.dragSize);t=(e.trackSize-e.dragSize)*v.progress,v.rtl&&n()?(t=-t,t>0?(i=e.dragSize-t,t=0):-t+e.dragSize>e.trackSize&&(i=e.trackSize+t)):t<0?(i=e.dragSize+t,t=0):t+e.dragSize>e.trackSize&&(i=e.trackSize-t),n()?(v.support.transforms3d?e.drag.transform("translate3d("+t+"px, 0, 0)"):e.drag.transform("translateX("+t+"px)"),e.drag[0].style.width=i+"px"):(v.support.transforms3d?e.drag.transform("translate3d(0px, "+t+"px, 0)"):e.drag.transform("translateY("+t+"px)"),e.drag[0].style.height=i+"px"),v.params.scrollbarHide&&(clearTimeout(e.timeout),e.track[0].style.opacity=1,e.timeout=setTimeout(function(){e.track[0].style.opacity=0,e.track.transition(400)},1e3))}},setTransition:function(t){v.params.scrollbar&&v.scrollbar.drag.transition(t)}},v.controller={LinearSpline:function(t,e){this.x=t,this.y=e,this.lastIndex=t.length-1;var n,i;this.x.length;this.interpolate=function(t){return t?(i=r(this.x,t),n=i-1,(t-this.x[n])*(this.y[i]-this.y[n])/(this.x[i]-this.x[n])+this.y[n]):0};var r=function(){var t,e,n;return function(i,r){for(e=-1,t=i.length;t-e>1;)i[n=t+e>>1]<=r?e=n:t=n;return t}}()},getInterpolateFunction:function(t){v.controller.spline||(v.controller.spline=v.params.loop?new v.controller.LinearSpline(v.slidesGrid,t.slidesGrid):new v.controller.LinearSpline(v.snapGrid,t.snapGrid))},setTranslate:function(t,e){function n(e){t=e.rtl&&"horizontal"===e.params.direction?-v.translate:v.translate,"slide"===v.params.controlBy&&(v.controller.getInterpolateFunction(e),s=-v.controller.spline.interpolate(-t)),s&&"container"!==v.params.controlBy||(r=(e.maxTranslate()-e.minTranslate())/(v.maxTranslate()-v.minTranslate()),s=(t-v.minTranslate())*r+e.minTranslate()),v.params.controlInverse&&(s=e.maxTranslate()-s),e.updateProgress(s),e.setWrapperTranslate(s,!1,v),e.updateActiveIndex()}var r,s,o=v.params.control;if(v.isArray(o))for(var a=0;a'),notify:function(t){var e=v.a11y.liveRegion;0!==e.length&&(e.html(""),e.html(t))},init:function(){if(v.params.nextButton){var t=s(v.params.nextButton);v.a11y.makeFocusable(t),v.a11y.addRole(t,"button"),v.a11y.addLabel(t,v.params.nextSlideMessage)}if(v.params.prevButton){var e=s(v.params.prevButton);v.a11y.makeFocusable(e),v.a11y.addRole(e,"button"),v.a11y.addLabel(e,v.params.prevSlideMessage)}s(v.container).append(v.a11y.liveRegion)},initPagination:function(){v.params.pagination&&v.params.paginationClickable&&v.bullets&&v.bullets.length&&v.bullets.each(function(){var t=s(this);v.a11y.makeFocusable(t),v.a11y.addRole(t,"button"),v.a11y.addLabel(t,v.params.paginationBulletMessage.replace(/{{index}}/,t.index()+1))})},destroy:function(){v.a11y.liveRegion&&v.a11y.liveRegion.length>0&&v.a11y.liveRegion.remove()}},v.init=function(){v.params.loop&&v.createLoop(),v.updateContainerSize(),v.updateSlidesSize(),v.updatePagination(),v.params.scrollbar&&v.scrollbar&&v.scrollbar.set(),"slide"!==v.params.effect&&v.effects[v.params.effect]&&(v.params.loop||v.updateProgress(),v.effects[v.params.effect].setTranslate()),v.params.loop?v.slideTo(v.params.initialSlide+v.loopedSlides,0,v.params.runCallbacksOnInit):(v.slideTo(v.params.initialSlide,0,v.params.runCallbacksOnInit),0===v.params.initialSlide&&(v.parallax&&v.params.parallax&&v.parallax.setTranslate(),v.lazy&&v.params.lazyLoading&&(v.lazy.load(),v.lazy.initialImageLoaded=!0))),v.attachEvents(),v.params.observer&&v.support.observer&&v.initObservers(),v.params.preloadImages&&!v.params.lazyLoading&&v.preloadImages(),v.params.autoplay&&v.startAutoplay(),v.params.keyboardControl&&v.enableKeyboardControl&&v.enableKeyboardControl(),v.params.mousewheelControl&&v.enableMousewheelControl&&v.enableMousewheelControl(),v.params.hashnav&&v.hashnav&&v.hashnav.init(),v.params.a11y&&v.a11y&&v.a11y.init(),v.emit("onInit",v)},v.cleanupStyles=function(){v.container.removeClass(v.classNames.join(" ")).removeAttr("style"),v.wrapper.removeAttr("style"),v.slides&&v.slides.length&&v.slides.removeClass([v.params.slideVisibleClass,v.params.slideActiveClass,v.params.slideNextClass,v.params.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-column").removeAttr("data-swiper-row"),v.paginationContainer&&v.paginationContainer.length&&v.paginationContainer.removeClass(v.params.paginationHiddenClass),v.bullets&&v.bullets.length&&v.bullets.removeClass(v.params.bulletActiveClass),v.params.prevButton&&s(v.params.prevButton).removeClass(v.params.buttonDisabledClass),v.params.nextButton&&s(v.params.nextButton).removeClass(v.params.buttonDisabledClass),v.params.scrollbar&&v.scrollbar&&(v.scrollbar.track&&v.scrollbar.track.length&&v.scrollbar.track.removeAttr("style"),v.scrollbar.drag&&v.scrollbar.drag.length&&v.scrollbar.drag.removeAttr("style"))},v.destroy=function(t,e){v.detachEvents(),v.stopAutoplay(),v.params.loop&&v.destroyLoop(),e&&v.cleanupStyles(),v.disconnectObservers(),v.params.keyboardControl&&v.disableKeyboardControl&&v.disableKeyboardControl(),v.params.mousewheelControl&&v.disableMousewheelControl&&v.disableMousewheelControl(),v.params.a11y&&v.a11y&&v.a11y.destroy(),v.emit("onDestroy"),t!==!1&&(v=null)},v.init(),v}}function r(t){t.fn.swiper=function(e){var n;return t(this).each(function(){var t=new i(this,e);n||(n=t)}),n}}e.a=i;var s;i.prototype={isSafari:function(){var t=navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent),isArray:function(t){return"[object Array]"===Object.prototype.toString.apply(t)},browser:{ie:window.navigator.pointerEnabled||window.navigator.msPointerEnabled,ieTouch:window.navigator.msPointerEnabled&&window.navigator.msMaxTouchPoints>1||window.navigator.pointerEnabled&&window.navigator.maxTouchPoints>1},device:function(){var t=navigator.userAgent,e=t.match(/(Android);?[\s\/]+([\d.]+)?/),n=t.match(/(iPad).*OS\s([\d_]+)/),i=t.match(/(iPod)(.*OS\s([\d_]+))?/),r=!n&&t.match(/(iPhone\sOS)\s([\d_]+)/);return{ios:n||r||i,android:e}}(),support:{touch:window.Modernizr&&Modernizr.touch===!0||function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}(),transforms3d:window.Modernizr&&Modernizr.csstransforms3d===!0||function(){var t=document.createElement("div").style;return"webkitPerspective"in t||"MozPerspective"in t||"OPerspective"in t||"MsPerspective"in t||"perspective"in t}(),flexbox:function(){for(var t=document.createElement("div").style,e="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),n=0;n=0&&a.indexOf(">")>=0){var _="div";for(0===a.indexOf(":~]/)?(n||document).querySelectorAll(e):[document.getElementById(e.split("#")[1])],r=0;r0&&e[0].nodeType)for(r=0;r0?parseFloat(this.css("width")):null},outerWidth:function(t){return this.length>0?t?this[0].offsetWidth+parseFloat(this.css("margin-right"))+parseFloat(this.css("margin-left")):this[0].offsetWidth:null},height:function(){return this[0]===window?window.innerHeight:this.length>0?parseFloat(this.css("height")):null},outerHeight:function(t){return this.length>0?t?this[0].offsetHeight+parseFloat(this.css("margin-top"))+parseFloat(this.css("margin-bottom")):this[0].offsetHeight:null},offset:function(){if(this.length>0){var t=this[0],e=t.getBoundingClientRect(),n=document.body,i=t.clientTop||n.clientTop||0,r=t.clientLeft||n.clientLeft||0,s=window.pageYOffset||t.scrollTop,o=window.pageXOffset||t.scrollLeft;return{top:e.top+s-i,left:e.left+o-r}}return null},css:function(t,e){var n;if(1===arguments.length){if("string"!=typeof t){for(n=0;ni-1?new t([]):e<0?(n=i+e,new t(n<0?[]:[this[n]])):new t([this[e]])},append:function(e){var n,i;for(n=0;n=0;i--)this[n].insertBefore(r.childNodes[i],this[n].childNodes[0])}else if(e instanceof t)for(i=0;i1)for(var r=0;r1)for(var r=0;r0?n?this[0].nextElementSibling&&e(this[0].nextElementSibling).is(n)?[this[0].nextElementSibling]:[]:this[0].nextElementSibling?[this[0].nextElementSibling]:[]:[])},nextAll:function(n){var i=[],r=this[0];if(!r)return new t([]);for(;r.nextElementSibling;){var s=r.nextElementSibling;n?e(s).is(n)&&i.push(s):i.push(s),r=s}return new t(i)},prev:function(n){return new t(this.length>0?n?this[0].previousElementSibling&&e(this[0].previousElementSibling).is(n)?[this[0].previousElementSibling]:[]:this[0].previousElementSibling?[this[0].previousElementSibling]:[]:[])},prevAll:function(n){var i=[],r=this[0];if(!r)return new t([]);for(;r.previousElementSibling;){var s=r.previousElementSibling;n?e(s).is(n)&&i.push(s):i.push(s),r=s}return new t(i)},parent:function(t){for(var n=[],i=0;it)return;_=l.record+1}else l={row:0,width:0,height:0,top:0,left:0,tmpl:-1},_=0;for(var u=0,p=_;p<=c;p++)if(a=e[p],i&&(h=i(a,p,e),null!==h&&(l=r(l,p,b,h,o.hdrWidth,o.hdrHeight,o.viewWidth),n.push(l))),l=r(l,p,y,null,o.itmWidth,o.itmHeight,o.viewWidth),n.push(l),s&&(h=s(a,p,e),null!==h&&(l=r(l,p,w,h,o.ftrWidth,o.ftrHeight,o.viewWidth),n.push(l))),l.record===c&&(l.isLast=!0),u++,l.top+l.height+o.itmHeight>t&&u>3)return}function r(t,e,n,i,r,s,o){var a;return a=t.left+t.width+r>o?{record:e,tmpl:n,row:t.row+1,width:r,height:s,top:t.top+t.height,left:0,reads:0}:{record:e,tmpl:n,row:t.row,width:r,height:s,top:t.top,left:t.left+t.width,reads:0},i&&(a.data=i),a}function s(t,e,n,i,r,s,a,_,l,h,c,u){var p,d,f,m,g,v=!1,C=s.length-1,E=null,T=a.length;t=Math.max(t,0),e=Math.min(e,r.length-1);for(var A=t;A<=e;A++){if(f=r[A],d=null,m=!1,!u){for(var I=0;Ie)&&(d?i?p.celld.cell&&(d=a[I]):d=a[I])}if(m)continue}if(!d){if(null===E){E=-1;for(var S=T-1;S>=0;S--)if(p=a[S],p&&!p.isLastRecord){E=_.indexOf(p.view);break}}if(g=f.tmpl===b?h:f.tmpl===w?c:l,!g){console.error("virtual"+(f.tmpl===b?"Header":f.tmpl===w?"Footer":"Item")+" template required");continue}d={tmpl:f.tmpl,view:_.createEmbeddedView(g,new x(null,null,null),E)},T=a.push(d)}d.cell=A,d.view.context.$implicit=f.data||s[f.record],d.view.context.index=A,d.hasChanges=!0,d.lastTransform=null,v=!0}if(u){var O=s[C]||{};o(a,_,b,h,O),o(a,_,y,l,O),o(a,_,w,c,O)}return v}function o(t,e,n,i,r){if(i){var s={tmpl:n,view:e.createEmbeddedView(i),isLastRecord:!0,hidden:!0};s.view.context.$implicit=r,t.push(s)}}function a(t,e,n){if(t.length&&e.length){var i=g(t[0]);e[0].top=i.clientTop,e[0].left=i.clientLeft,e[0].row=0,_(t,e,n,!0);for(var r=0;rn.viewWidth?(o.row++,o.top=a.top+a.height,o.left=0):(o.row=a.row,o.top=a.top,o.left=a.left+a.width),o.top+o.height>n.scrollTop&&hn.bottomViewCell&&(n.bottomViewCell=h)}function l(t,e){var n=window.getComputedStyle(e);t.left=e.offsetLeft-parseFloat(n.marginLeft),t.width=e.offsetWidth+parseFloat(n.marginLeft)+parseFloat(n.marginRight),t.height=e.offsetHeight+parseFloat(n.marginTop)+parseFloat(n.marginBottom)}function h(t,e,n){for(var i,r,s,o,a=Math.max(n,e.length).toString(),_=0,l=t.length;_0){e.topCell=Math.max(e.topViewCell-a,0),e.bottomCell=Math.min(e.topCell+2,o-1);for(var _=e.topCell;_e.bottomCell&&(e.bottomCell=_),!(r>=s));_++);}else{e.bottomCell=Math.min(e.bottomViewCell+a,o-1),e.topCell=Math.max(e.bottomCell-2,0);for(var _=e.bottomCell;_>=0&&(n=t[_],n.row!==i&&(r+=n.height,i=n.row),_=s));_--);}}function u(t,e){if(e.record>=t-1)return e.top+e.height;var n=t-e.record-1,i=e.top+e.height;return Math.ceil(i+i/(t-n)*n)}function p(t,e,n,i){var r=u(t,e),s=e.record/(t-1),o=Math.abs(n-r);return o>r*i||s>.995?r:n}function d(t,e,n,i,r,s,o,a,_){t.viewWidth=e.offsetWidth,t.viewHeight=e.offsetHeight,t.renderHeight=t.viewHeight*_,t.viewWidth>0&&t.viewHeight>0&&(t.itmWidth=f(t.viewWidth,n),t.itmHeight=m(t.viewHeight,i),t.hdrWidth=f(t.viewWidth,r),t.hdrHeight=m(t.viewHeight,s),t.ftrWidth=f(t.viewWidth,o),t.ftrHeight=m(t.viewHeight,a),t.valid=!0)}function f(t,e){if(e.indexOf("%")>0)return t*(parseFloat(e)/100);if(e.indexOf("px")>0)return parseFloat(e);throw'virtual scroll width can only use "%" or "px" units'}function m(t,e){if(e.indexOf("px")>0)return parseFloat(e);throw'virtual scroll height must use "px" units'}function g(t){for(var e=t.view.rootNodes,n=0;n-1}function d(t){return t.trim().split(/\s+/g)}function f(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;in[e]?1:0}):i.sort()),i}function v(t,e){for(var n,i,r=e[0].toUpperCase()+e.slice(1),s=0;s<_t.length;){if(n=_t[s],i=n?n+r:e,i in t)return i;s++}}function x(){return dt++}function y(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||window}function b(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){_(t.options.enable,[t])&&n.handler(e)},this.init()}function w(t){var e,n=t.options.inputClass;return new(e=n?n:gt?M:vt?F:mt?V:j)(t,C)}function C(t,e,n){var i=n.pointers.length,r=n.changedPointers.length,s=e&Et&&i-r===0,o=e&(At|It)&&i-r===0;n.isFirst=!!s,n.isFinal=!!o,s&&(t.session={}),n.eventType=e,E(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function E(t,e){var n=t.session,i=e.pointers,r=i.length;n.firstInput||(n.firstInput=I(e)),r>1&&!n.firstMultiple?n.firstMultiple=I(e):1===r&&(n.firstMultiple=!1);var s=n.firstInput,o=n.firstMultiple,a=o?o.center:s.center,_=e.center=S(i);e.timeStamp=pt(),e.deltaTime=e.timeStamp-s.timeStamp,e.angle=P(a,_),e.distance=N(a,_),T(n,e),e.offsetDirection=k(e.deltaX,e.deltaY);var l=O(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=l.x,e.overallVelocityY=l.y,e.overallVelocity=ut(l.x)>ut(l.y)?l.x:l.y,e.scale=o?D(o.pointers,i):1,e.rotation=o?R(o.pointers,i):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,A(n,e);var h=t.element;u(e.srcEvent.target,h)&&(h=e.srcEvent.target),e.target=h}function T(t,e){var n=e.center,i=t.offsetDelta||{},r=t.prevDelta||{},s=t.prevInput||{};e.eventType!==Et&&s.eventType!==At||(r=t.prevDelta={x:s.deltaX||0,y:s.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=r.x+(n.x-i.x),e.deltaY=r.y+(n.y-i.y)}function A(t,e){var n,i,r,s,o=t.lastInterval||e,a=e.timeStamp-o.timeStamp;if(e.eventType!=It&&(a>Ct||void 0===o.velocity)){var _=e.deltaX-o.deltaX,l=e.deltaY-o.deltaY,h=O(a,_,l);i=h.x,r=h.y,n=ut(h.x)>ut(h.y)?h.x:h.y,s=k(_,l),t.lastInterval=e}else n=o.velocity,i=o.velocityX,r=o.velocityY,s=o.direction;e.velocity=n,e.velocityX=i,e.velocityY=r,e.direction=s}function I(t){for(var e=[],n=0;n=ut(e)?t<0?Ot:kt:e<0?Nt:Pt}function N(t,e,n){n||(n=Mt);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return Math.sqrt(i*i+r*r)}function P(t,e,n){n||(n=Mt);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return 180*Math.atan2(r,i)/Math.PI}function R(t,e){return P(e[1],e[0],Lt)+P(t[1],t[0],Lt)}function D(t,e){return N(e[0],e[1],Lt)/N(t[0],t[1],Lt)}function j(t,e){this.evEl=Ft,this.evWin=qt,this.allow=!0,this.pressed=!1,b.apply(this,arguments)}function M(){this.evEl=Ut,this.evWin=zt,b.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function L(){this.evTarget=Wt,this.evWin=Yt,this.started=!1,b.apply(this,arguments)}function B(t,e){var n=m(t.touches),i=m(t.changedTouches);return e&(At|It)&&(n=g(n.concat(i),"identifier",!0)),[n,i]}function F(t,e){this.evTarget=Xt,this.targetIds={},b.apply(this,arguments)}function q(t,e){var n=m(t.touches),i=this.targetIds;if(e&(Et|Tt)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,s,o=m(t.changedTouches),a=[],_=this.target;if(s=n.filter(function(t){return u(t.target,_)}),e===Et)for(r=0;r-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function e(e){n.manager.emit(e,t)}var n=this,i=this.state;i=ae&&e(n.options.event+G(i))},tryEmit:function(t){return this.canEmit()?this.emit(t):void(this.state=he)},canEmit:function(){for(var t=0;te.threshold&&r&e.direction},attrTest:function(t){return $.prototype.attrTest.call(this,t)&&(this.state&se||!(this.state&se)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=W(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),o(J,$,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[ee]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&se)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),o(Q,z,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Kt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,r=t.distancee.time;if(this._input=t,!r||!n||t.eventType&(At|It)&&!s)this.reset();else if(t.eventType&Et)this.reset(),this._timer=i(function(){this.state=_e,this.tryEmit()},e.time,this);else if(t.eventType&At)return _e;return he},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===_e&&(t&&t.eventType&At?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=pt(),this.manager.emit(this.options.event,this._input)))}}),o(Z,$,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[ee]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&se)}}),o(K,$,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Rt|Dt,pointers:1},getTouchAction:function(){return X.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(Rt|Dt)?e=t.overallVelocity:n&Rt?e=t.overallVelocityX:n&Dt&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&ut(e)>this.options.velocity&&t.eventType&At},emit:function(t){var e=W(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),o(tt,z,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[te]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,r=t.distance=this.threshold){var r=Math.atan2(n,e),s="y"===this.direction?Math.sin(r):Math.cos(r);return this._angle=r,s>this.maxCosine?this._isPan=1:s<-this.maxCosine?this._isPan=-1:this._isPan=0,this.dirty=!1,!0}return!1},t.prototype.angle=function(){return this._angle},t.prototype.pan=function(){return this._isPan},t}()},function(t,e,n){"use strict";var i=n(17),r=n(393);n.d(e,"a",function(){return o});var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(e,r,s,o){t.call(this,e,n.i(i.c)({direction:"x",maxEdgeStart:75,gesture:o.create("goback-swipe",{priority:20})},r)),this._nav=s}return s(e,t),e.prototype.canStart=function(e){return this._nav.canSwipeBack()&&t.prototype.canStart.call(this,e)},e.prototype.onSlideBeforeStart=function(t){this._nav.swipeBackStart()},e.prototype.onSlide=function(t){var e=t.distance/t.max;this._nav.swipeBackProgress(e)},e.prototype.onSlideEnd=function(t,e){var n=Math.abs(t.velocity)>.2||Math.abs(t.delta)>.5*Math.abs(t.max),i=t.distance/t.max;this._nav.swipeBackEnd(n,i)},e}(r.a)},function(t,e,n){"use strict";var i=n(90),r=n(17),s=n(196);n.d(e,"a",function(){return g});var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a=500,_="cubic-bezier(0.36,0.66,0.04,1)",l="opacity",h="transform",c="translateX",u="99.5%",p="-33%",d="0%",f=.8,m="show-back-button",g=function(t){function e(){t.apply(this,arguments)}return o(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.enteringView,s=this.leavingView,o=this.opts;this.duration(n.i(r.a)(o.duration)?o.duration:a),this.easing(n.i(r.a)(o.easing)?o.easing:_);var g="back"===o.direction,v=e&&e.hasNavbar(),x=s&&s.hasNavbar();if(e){var y=e.pageRef().nativeElement,b=new i.a(e.contentRef());if(b.element(y.querySelectorAll("ion-header > *:not(ion-navbar),ion-footer > *")),this.add(b),g?b.fromTo(c,p,d,!0).fromTo(l,f,1,!0):b.beforeClearStyles([l]).fromTo(c,u,d,!0),v){var w=y.querySelector("ion-navbar"),C=new i.a(w);this.add(C);var E=new i.a(w.querySelector("ion-title")),T=new i.a(w.querySelectorAll("ion-buttons,[menuToggle]")),A=new i.a(w.querySelector(".toolbar-background")),I=new i.a(w.querySelector(".back-button"));if(C.add(E).add(T).add(A).add(I),E.fromTo(l,.01,1,!0),T.fromTo(l,.01,1,!0),g)E.fromTo(c,p,d,!0),e.enableBack()&&I.beforeAddClass(m).fromTo(l,.01,1,!0);else if(E.fromTo(c,u,d,!0),A.beforeClearStyles([l]).fromTo(c,u,d,!0),e.enableBack()){I.beforeAddClass(m).fromTo(l,.01,1,!0);var S=new i.a(w.querySelector(".back-button-text"));S.fromTo(c,"100px","0px"),C.add(S)}else I.beforeRemoveClass(m)}}if(s&&s.pageRef()){var O=s.pageRef().nativeElement,k=new i.a(s.contentRef());if(k.element(O.querySelectorAll("ion-header > *:not(ion-navbar),ion-footer > *")),this.add(k),g?k.beforeClearStyles([l]).fromTo(c,d,"100%"):k.fromTo(c,d,p).fromTo(l,1,f).afterClearStyles([h,l]),x){var N=O.querySelector("ion-navbar"),P=new i.a(N),R=new i.a(N.querySelector("ion-title")),D=new i.a(N.querySelectorAll("ion-buttons,[menuToggle]")),j=new i.a(N.querySelector(".toolbar-background")),M=new i.a(N.querySelector(".back-button"));if(P.add(R).add(D).add(M).add(j), this.add(P),M.fromTo(l,.99,0),R.fromTo(l,.99,0),D.fromTo(l,.99,0),g){R.fromTo(c,d,"100%"),j.beforeClearStyles([l]).fromTo(c,d,"100%");var L=new i.a(N.querySelector(".back-button-text"));L.fromTo(c,d,"300px"),P.add(L)}else R.fromTo(c,d,p).afterClearStyles([h]),M.afterClearStyles([l]),R.afterClearStyles([l]),D.afterClearStyles([l])}}},e}(s.a)},function(t,e,n){"use strict";var i=n(90),r=n(17),s=n(196);n.d(e,"a",function(){return c});var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a="translateY",_="40px",l="0px",h="show-back-button",c=function(t){function e(){t.apply(this,arguments)}return o(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.enteringView,s=this.leavingView,o=this.opts,c="back"===o.direction;if(e&&(c?this.duration(n.i(r.a)(o.duration)?o.duration:200).easing("cubic-bezier(0.47,0,0.745,0.715)"):(this.duration(n.i(r.a)(o.duration)?o.duration:280).easing("cubic-bezier(0.36,0.66,0.04,1)"),this.enteringPage.fromTo(a,_,l,!0).fromTo("opacity",.01,1,!0)),e.hasNavbar())){var u=e.pageRef().nativeElement,p=u.querySelector("ion-navbar"),d=new i.a(p);this.add(d);var f=new i.a(p.querySelector(".back-button"));this.add(f),e.enableBack()?f.beforeAddClass(h):f.beforeRemoveClass(h)}if(s&&c){this.duration(o.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)");var m=new i.a(s.pageRef());this.add(m.fromTo(a,l,_).fromTo("opacity",.99,0))}},e}(s.a)},function(t,e,n){"use strict";var i=n(90),r=n(17),s=n(196);n.d(e,"a",function(){return l});var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},a="show-back-button",_=.95,l=function(t){function e(){t.apply(this,arguments)}return o(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.enteringView,s=this.leavingView,o=this.opts,l="back"===o.direction;if(e&&(l?(this.duration(n.i(r.a)(o.duration)?o.duration:120).easing("cubic-bezier(0.47,0,0.745,0.715)"),this.enteringPage.beforeClearStyles(["scale"])):(this.duration(n.i(r.a)(o.duration)?o.duration:280).easing("cubic-bezier(0,0 0.05,1)"),this.enteringPage.fromTo("scale",_,1,!0).fromTo("opacity",.01,1,!0)),e.hasNavbar())){var h=e.pageRef().nativeElement,c=h.querySelector("ion-navbar"),u=new i.a(c);this.add(u);var p=new i.a(c.querySelector(".back-button"));this.add(p),e.enableBack()?p.beforeAddClass(a):p.beforeRemoveClass(a)}if(s&&l){this.duration(o.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)");var d=new i.a(s.pageRef());this.add(d.fromTo("scale",1,_).fromTo("opacity",.99,0))}},e}(s.a)},function(t,e,n){"use strict";var i=n(0),r=n(303);(function(){function t(t){this.translate={},this.translate=t}return t.prototype.transform=function(t,e){var n;return e.length>0&&(n=e[0]),this.translate.translate(t,n)},t.prototype.supports=function(t){return!0},t.decorators=[{type:i.Pipe,args:[{name:"translate"}]},{type:i.Injectable}],t.ctorParameters=[{type:r.a}],t})()},function(t,e,n){"use strict";var i=n(0),r=n(22),s=n(36),o=n(2),a=330;(function(){function t(t,e,n,i){this.elementRef=n,this.renderer=i,this._showing=!1,t._clickBlock=this,this.isEnabled=e.getBoolean("clickBlock",!0)}return t.prototype.activate=function(t,e){this.isEnabled&&(n.i(s.o)(this._tmrId),t&&(this._tmrId=n.i(s.j)(this.activate.bind(this,!1),e||a)),this._showing!==t&&(this.renderer.setElementClass(this.elementRef.nativeElement,"click-block-active",t),this._showing=t))},t.decorators=[{type:i.Directive,args:[{selector:".click-block"}]}],t.ctorParameters=[{type:r.a,decorators:[{type:i.Inject,args:[n.i(i.forwardRef)(function(){return r.a})]}]},{type:o.c},{type:i.ElementRef},{type:i.Renderer}],t})()},function(t,e,n){"use strict";function i(t,e,i){if(n.i(x.d)(e))return"";var s=[],o=!1;if(H.forEach(function(a,_){if(t.indexOf(a.f)>-1){var l="{"+_+"}",h=r(a.f,e[a.k],e,i);!o&&h&&n.i(x.a)(e[a.k])&&(o=!0),s.push(l,h),t=t.replace(a.f,l)}}),!o)return"";for(var a=0;a12&&(e-=12),t===D&&e<10)return"0"+e}return e.toString()}function s(t,e,n){var i,r=[];if(t===w||t===C)for(i=n.year;i>=e.year;)r.push(i--);else if(t===E||t===T||t===A||t===I||t===D||t===j)for(i=1;i<13;i++)r.push(i);else if(t===S||t===O||t===k||t===N)for(i=1;i<32;i++)r.push(i);else if(t===P||t===R)for(i=0;i<24;i++)r.push(i);else if(t===M||t===L)for(i=0;i<60;i++)r.push(i);else if(t===B||t===F)for(i=0;i<60;i++)r.push(i);else t!==q&&t!==V||r.push("am","pm");return r}function o(t,e,n){return parseInt("1"+v(t)+m(e)+m(n),10)}function a(t){return t?o(t.year,t.month,t.day):-1}function _(t,e){return 4===t||6===t||9===t||11===t?30:2===t?l(e)?29:28:31}function l(t){return t%4===0&&t%100!==0||t%400===0}function h(t){var e;if(n.i(x.a)(t)&&""!==t&&(e=b.exec(t),n.i(x.a)(e)?(e.unshift(void 0,void 0),e[2]=e[3]=void 0):e=y.exec(t)),n.i(x.d)(e))return null;for(var i=1;i<8;i++)e[i]=void 0!==e[i]?parseInt(e[i],10):null;var r=0;return n.i(x.a)(e[9])&&n.i(x.a)(e[10])&&(r=60*parseInt(e[10],10),n.i(x.a)(e[11])&&(r+=parseInt(e[11],10)),"-"===e[9]&&(r*=-1)),{year:e[1],month:e[2],day:e[3],hour:e[4],minute:e[5],second:e[6],millisecond:e[7],tzOffset:r}}function c(t,e){if(n.i(x.a)(e)&&""!==e){if(n.i(x.o)(e)){if(e=h(e))return void n.i(x.c)(t,e)}else if(n.i(x.a)(e.year)||n.i(x.a)(e.hour)||n.i(x.a)(e.month)||n.i(x.a)(e.day)||n.i(x.a)(e.minute)||n.i(x.a)(e.second)){n.i(x.a)(e.ampm)&&n.i(x.a)(e.hour)&&("pm"===e.ampm.value?e.hour.value=12===e.hour.value?12:e.hour.value+12:e.hour.value=12===e.hour.value?0:e.hour.value);for(var i in e)t[i]=e[i].value;return}console.warn('Error parsing date: "'+e+'". Please provide a valid ISO 8601 datetime format: https://www.w3.org/TR/NOTE-datetime')}else for(var i in t)delete t[i]}function u(t){var e=[];t=t.replace(/[^\w\s]/gi," "),H.forEach(function(e){e.f.length>1&&t.indexOf(e.f)>-1&&t.indexOf(e.f+e.f.charAt(0))<0&&(t=t.replace(e.f," "+e.f+" "))});var n=t.split(" ").filter(function(t){return t.length>0});return n.forEach(function(t,i){H.forEach(function(r){if(t===r.f){if((t===q||t===V)&&(e.indexOf(j)<0&&e.indexOf(D)<0||n[i-1]!==L&&n[i-1]!==M))return;e.push(t)}})}),e}function p(t,e){return e===q||e===V?t.hour<12?"am":"pm":e===D||e===j?t.hour>12?t.hour-12:t.hour:t[d(e)]}function d(t){for(var e in H)if(H[e].f===t)return H[e].k;return null}function f(t){var e="";return n.i(x.a)(t)&&(n.i(x.a)(t.year)?(e=v(t.year),n.i(x.a)(t.month)&&(e+="-"+m(t.month),n.i(x.a)(t.day)&&(e+="-"+m(t.day),n.i(x.a)(t.hour)&&(e+="T"+m(t.hour)+":"+m(t.minute)+":"+m(t.second),t.millisecond>0&&(e+="."+g(t.millisecond)),e+=n.i(x.d)(t.tzOffset)||0===t.tzOffset?"Z":(t.tzOffset>0?"+":"-")+m(Math.floor(t.tzOffset/60))+":"+m(t.tzOffset%60))))):n.i(x.a)(t.hour)&&(e=m(t.hour)+":"+m(t.minute),n.i(x.a)(t.second)&&(e+=":"+m(t.second),n.i(x.a)(t.millisecond)&&(e+="."+g(t.millisecond))))),e}function m(t){return("0"+(n.i(x.a)(t)?Math.abs(t):"0")).slice(-2)}function g(t){return("00"+(n.i(x.a)(t)?Math.abs(t):"0")).slice(-3)}function v(t){return("000"+(n.i(x.a)(t)?Math.abs(t):"0")).slice(-4)}var x=n(17);e.j=i,e.d=r,e.c=s,e.h=o,e.g=a,e.f=_,e.k=h,e.i=c,e.a=u,e.e=p,e.b=d,e.l=f;var y=/^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,b=/^((\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,w="YYYY",C="YY",E="MMMM",T="MMM",A="MM",I="M",S="DDDD",O="DDD",k="DD",N="D",P="HH",R="H",D="hh",j="h",M="mm",L="m",B="ss",F="s",q="A",V="a",H=[{f:w,k:"year"},{f:E,k:"month"},{f:S,k:"day"},{f:T,k:"month"},{f:O,k:"day"},{f:C,k:"year"},{f:A,k:"month"},{f:k,k:"day"},{f:P,k:"hour"},{f:D,k:"hour"},{f:M,k:"minute"},{f:B,k:"second"},{f:I,k:"month"},{f:N,k:"day"},{f:R,k:"hour"},{f:j,k:"hour"},{f:L,k:"minute"},{f:F,k:"second"},{f:q,k:"ampm"},{f:V,k:"ampm"}],U=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],z=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],G=["January","February","March","April","May","June","July","August","September","October","November","December"],W=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},function(t,e,n){"use strict";function i(t){if(window.angular){var e=window.angular.module("ionic.native",[]);for(var n in t){var i="$cordova"+n,r=t[n];!function(t,n,i){e.service(t,[function(){var t=window.angular.copy(n);return t.prototype.name=i,t}])}(i,r,n)}}}e.a=i},function(t,e,n){"use strict";function i(t,e){for(var n=0,e=e.split("."),i=e.length;nm)return 1}for(var g=0,v=Math.max(p.length,d.length);gr)return 1}return 0}},function(t,e,n){!function(e,n){t.exports=n()}(this,function(){"use strict";function t(e){return t.result?t.result:e&&"function"==typeof e.getSerializer?(t.result=e.getSerializer(),t.result):Promise.reject(new Error("localforage.getSerializer() was not available! localforage v1.4+ is required!"))}function e(t,n){return e.result=e.result||{},e.result[n]?e.result[n]:t&&"function"==typeof t.getDriver?(e.result[n]=t.getDriver(n),e.result[n]):Promise.reject(new Error("localforage.getDriver() was not available! localforage v1.4+ is required!"))}function n(t){return e(t,t.WEBSQL)}function i(){return a.then(function(){if("undefined"!=typeof sqlitePlugin&&"function"==typeof sqlitePlugin.openDatabase)return sqlitePlugin.openDatabase;throw new Error("SQLite plugin is not present.")})}function r(e){var r=this,s={db:null};if(e)for(var o in e)s[o]="string"!=typeof e[o]?e[o].toString():e[o];var a=i().then(function(t){return new Promise(function(e,n){try{s.location=s.location||"default",s.db=t({name:s.name,version:String(s.version),description:s.description,size:s.size,location:s.location})}catch(t){n(t)}s.db.transaction(function(t){t.executeSql("CREATE TABLE IF NOT EXISTS "+s.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],function(){r._dbInfo=s,e()},function(t,e){n(e)})})})}),_=t(r),l=n(r);return Promise.all([_,l,a]).then(function(t){return s.serializer=t[0],a})}function s(t){function e(t,e){t[e]=function(){var t=this,i=arguments;return n(t).then(function(n){return n[e].apply(t,i)})}}for(var i=["clear","getItem","iterate","key","keys","length","removeItem","setItem"],r=0,s=i.length;r=43)}}).catch(function(){return!1})}function p(t){return"boolean"==typeof Ct?bt.resolve(Ct):u(t).then(function(t){return Ct=t})}function d(t){var e=Et[t.name],n={};n.promise=new bt(function(t,e){n.resolve=t,n.reject=e}),e.deferredOperations.push(n),e.dbReady?e.dbReady=e.dbReady.then(function(){return n.promise}):e.dbReady=n.promise}function f(t){var e=Et[t.name],n=e.deferredOperations.pop();if(n)return n.resolve(),n.promise}function m(t,e){var n=Et[t.name],i=n.deferredOperations.pop();if(i)return i.reject(e),i.promise}function g(t,e){return new bt(function(n,i){if(Et[t.name]=Et[t.name]||I(),t.db){if(!e)return n(t.db);d(t),t.db.close()}var r=[t.name];e&&r.push(t.version);var s=yt.open.apply(yt,r);e&&(s.onupgradeneeded=function(e){var n=s.result;try{n.createObjectStore(t.storeName),e.oldVersion<=1&&n.createObjectStore(wt)}catch(n){if("ConstraintError"!==n.name)throw n;console.warn('The database "'+t.name+'" has been upgraded from version '+e.oldVersion+" to version "+e.newVersion+', but the storage "'+t.storeName+'" already exists.')}}),s.onerror=function(t){t.preventDefault(),i(s.error)},s.onsuccess=function(){n(s.result),f(t)}})}function v(t){return g(t,!1)}function x(t){return g(t,!0)}function y(t,e){if(!t.db)return!0;var n=!t.db.objectStoreNames.contains(t.storeName),i=t.versiont.db.version;if(i&&(t.version!==e&&console.warn('The database "'+t.name+"\" can't be downgraded from version "+t.db.version+" to version "+t.version+"."),t.version=t.db.version),r||n){if(n){var s=t.db.version+1;s>t.version&&(t.version=s)}return!0}return!1}function b(t){return new bt(function(e,n){var i=new FileReader;i.onerror=n,i.onloadend=function(n){var i=btoa(n.target.result||"");e({__local_forage_encoded_blob:!0,data:i,type:t.type})},i.readAsBinaryString(t)})}function w(t){var e=c(atob(t.data));return o([e],{type:t.type})}function C(t){return t&&t.__local_forage_encoded_blob}function E(t){var e=this,n=e._initReady().then(function(){var t=Et[e._dbInfo.name];if(t&&t.dbReady)return t.dbReady});return _(n,t,t),n}function T(t){d(t);for(var e=Et[t.name],n=e.forages,i=0;i0&&(!t.db||"InvalidStateError"===r.name||"NotFoundError"===r.name))return bt.resolve().then(function(){if(!t.db||"NotFoundError"===r.name&&!t.db.objectStoreNames.contains(t.storeName)&&t.version<=t.db.version)return t.db&&(t.version=t.db.version+1),x(t)}).then(function(){return T(t).then(function(){A(t,e,n,i-1)})}).catch(n);n(r)}}function I(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function S(t){function e(){return bt.resolve()}var n=this,i={db:null};if(t)for(var r in t)i[r]=t[r];var s=Et[i.name];s||(s=I(),Et[i.name]=s),s.forages.push(n),n._initReady||(n._initReady=n.ready,n.ready=E);for(var o=[],a=0;a>4,h[_++]=(15&i)<<4|r>>2,h[_++]=(3&r)<<6|63&s;return l}function q(t){var e,n=new Uint8Array(t),i="";for(e=0;e>2],i+=Ot[(3&n[e])<<4|n[e+1]>>4],i+=Ot[(15&n[e+1])<<2|n[e+2]>>6],i+=Ot[63&n[e+2]];return n.length%3===2?i=i.substring(0,i.length-1)+"=":n.length%3===1&&(i=i.substring(0,i.length-2)+"=="),i}function V(t,e){var n="";if(t&&(n=Wt.call(t)),t&&("[object ArrayBuffer]"===n||t.buffer&&"[object ArrayBuffer]"===Wt.call(t.buffer))){var i,r=Pt;t instanceof ArrayBuffer?(i=t,r+=Dt):(i=t.buffer,"[object Int8Array]"===n?r+=Mt:"[object Uint8Array]"===n?r+=Lt:"[object Uint8ClampedArray]"===n?r+=Bt:"[object Int16Array]"===n?r+=Ft:"[object Uint16Array]"===n?r+=Vt:"[object Int32Array]"===n?r+=qt:"[object Uint32Array]"===n?r+=Ht:"[object Float32Array]"===n?r+=Ut:"[object Float64Array]"===n?r+=zt:e(new Error("Failed to get type for BinaryArray"))),e(r+q(i))}else if("[object Blob]"===n){var s=new FileReader;s.onload=function(){var n=kt+t.type+"~"+q(this.result);e(Pt+jt+n)},s.readAsArrayBuffer(t)}else try{e(JSON.stringify(t))}catch(n){console.error("Couldn't convert value into a JSON string: ",t),e(null,n)}}function H(t){if(t.substring(0,Rt)!==Pt)return JSON.parse(t);var e,n=t.substring(Gt),i=t.substring(Rt,Gt);if(i===jt&&Nt.test(n)){var r=n.match(Nt);e=r[1],n=n.substring(r[0].length)}var s=F(n);switch(i){case Dt:return s;case jt:return o([s],{type:e});case Mt:return new Int8Array(s);case Lt:return new Uint8Array(s);case Bt:return new Uint8ClampedArray(s);case Ft:return new Int16Array(s);case Vt:return new Uint16Array(s);case qt:return new Int32Array(s);case Ht:return new Uint32Array(s);case Ut:return new Float32Array(s);case zt:return new Float64Array(s);default:throw new Error("Unkown type: "+i)}}function U(t,e,n,i){t.executeSql("CREATE TABLE IF NOT EXISTS "+e.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],n,i)}function z(t){var e=this,n={db:null};if(t)for(var i in t)n[i]="string"!=typeof t[i]?t[i].toString():t[i];var r=new bt(function(t,i){try{n.db=openDatabase(n.name,String(n.version),n.description,n.size)}catch(t){return i(t)}n.db.transaction(function(r){U(r,n,function(){e._dbInfo=n,t()},function(t,e){i(e)})},i)});return n.serializer=Yt,r}function G(t,e,n,i,r,s){t.executeSql(n,i,r,function(t,o){o.code===o.SYNTAX_ERR?t.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[e.storeName],function(t,a){a.rows.length?s(t,o):U(t,e,function(){t.executeSql(n,i,r,s)},s)},s):s(t,o)},s)}function W(t,e){var n=this;t=l(t);var i=new bt(function(e,i){n.ready().then(function(){var r=n._dbInfo;r.db.transaction(function(n){G(n,r,"SELECT * FROM "+r.storeName+" WHERE key = ? LIMIT 1",[t],function(t,n){var i=n.rows.length?n.rows.item(0).value:null;i&&(i=r.serializer.deserialize(i)),e(i)},function(t,e){i(e)})})}).catch(i)});return a(i,e),i}function Y(t,e){var n=this,i=new bt(function(e,i){n.ready().then(function(){var r=n._dbInfo;r.db.transaction(function(n){G(n,r,"SELECT * FROM "+r.storeName,[],function(n,i){for(var s=i.rows,o=s.length,a=0;a0)return void s($.apply(r,[t,a,n,i-1]));o(e)}})})}).catch(o)});return a(s,n),s}function X(t,e,n){return $.apply(this,[t,e,n,1])}function J(t,e){var n=this;t=l(t);var i=new bt(function(e,i){n.ready().then(function(){var r=n._dbInfo;r.db.transaction(function(n){G(n,r,"DELETE FROM "+r.storeName+" WHERE key = ?",[t],function(){e()},function(t,e){i(e)})})}).catch(i)});return a(i,e),i}function Q(t){var e=this,n=new bt(function(t,n){e.ready().then(function(){var i=e._dbInfo;i.db.transaction(function(e){G(e,i,"DELETE FROM "+i.storeName,[],function(){t()},function(t,e){n(e)})})}).catch(n)});return a(n,t),n}function Z(t){var e=this,n=new bt(function(t,n){e.ready().then(function(){var i=e._dbInfo;i.db.transaction(function(e){G(e,i,"SELECT COUNT(key) as c FROM "+i.storeName,[],function(e,n){var i=n.rows.item(0).c;t(i)},function(t,e){n(e)})})}).catch(n)});return a(n,t),n}function K(t,e){var n=this,i=new bt(function(e,i){n.ready().then(function(){var r=n._dbInfo;r.db.transaction(function(n){G(n,r,"SELECT key FROM "+r.storeName+" WHERE id = ? LIMIT 1",[t+1],function(t,n){var i=n.rows.length?n.rows.item(0).key:null;e(i)},function(t,e){i(e)})})}).catch(i)});return a(i,e),i}function tt(t){var e=this,n=new bt(function(t,n){e.ready().then(function(){var i=e._dbInfo;i.db.transaction(function(e){G(e,i,"SELECT key FROM "+i.storeName,[],function(e,n){for(var i=[],r=0;r '__WebKitDatabaseInfoTable__'",[],function(n,i){for(var r=[],s=0;s0}function at(t){var e=this,n={};if(t)for(var i in t)n[i]=t[i];return n.keyPrefix=rt(t,e._defaultConfig),ot()?(e._dbInfo=n,n.serializer=Yt,bt.resolve()):bt.reject()}function _t(t){var e=this,n=e.ready().then(function(){for(var t=e._dbInfo.keyPrefix,n=localStorage.length-1;n>=0;n--){var i=localStorage.key(n);0===i.indexOf(t)&&localStorage.removeItem(i)}});return a(n,t),n}function lt(t,e){var n=this;t=l(t);var i=n.ready().then(function(){var e=n._dbInfo,i=localStorage.getItem(e.keyPrefix+t);return i&&(i=e.serializer.deserialize(i)),i});return a(i,e),i}function ht(t,e){var n=this,i=n.ready().then(function(){for(var e=n._dbInfo,i=e.keyPrefix,r=i.length,s=localStorage.length,o=1,a=0;a=0;e--){var n=localStorage.key(e);0===n.indexOf(t)&&localStorage.removeItem(n)}}):bt.reject("Invalid arguments"),a(i,e),i}function gt(t,e){t[e]=function(){var n=arguments;return t.ready().then(function(){return t[e].apply(t,n)})}}function vt(){for(var t=1;t1, -1 when x<0, and 0 when x=0.",examples:["sign(3.5)","sign(-4.2)","sign(0)"],seealso:["abs"]}},function(t,e,n){"use strict";t.exports={name:"sqrt",category:"Arithmetic",syntax:["sqrt(x)"],description:"Compute the square root value. If x = y * y, then y is the square root of x.",examples:["sqrt(25)","5 * 5","sqrt(-1)"],seealso:["square","sqrtm","multiply","nthRoot","nthRoots","pow"]}},function(t,e,n){"use strict";t.exports={name:"sqrtm",category:"Arithmetic",syntax:["sqrtm(x)"],description:"Calculate the principal square root of a square matrix. The principal square root matrix `X` of another matrix `A` is such that `X * X = A`.",examples:["sqrtm([[1, 2], [3, 4]])"],seealso:["sqrt","abs","square","multiply"]}},function(t,e,n){"use strict";t.exports={name:"square",category:"Arithmetic",syntax:["square(x)"],description:"Compute the square of a value. The square of x is x * x.",examples:["square(3)","sqrt(9)","3^2","3 * 3"],seealso:["multiply","pow","sqrt","cube"]}},function(t,e,n){"use strict";t.exports={name:"subtract",category:"Operators",syntax:["x - y","subtract(x, y)"],description:"subtract two values.",examples:["a = 5.3 - 2","a + 2","2/3 - 1/6","2 * 3 - 3","2.1 km - 500m"],seealso:["add"]}},function(t,e,n){"use strict";t.exports={name:"unaryMinus",category:"Operators",syntax:["-x","unaryMinus(x)"],description:"Inverse the sign of a value. Converts booleans and strings to numbers.",examples:["-4.5","-(-5.6)",'-"22"'],seealso:["add","subtract","unaryPlus"]}},function(t,e,n){"use strict";t.exports={name:"unaryPlus",category:"Operators",syntax:["+x","unaryPlus(x)"],description:"Converts booleans and strings to numbers.",examples:["+true",'+"2"'],seealso:["add","subtract","unaryMinus"]}},function(t,e,n){"use strict";t.exports={name:"xgcd",category:"Arithmetic",syntax:["xgcd(a, b)"],description:"Calculate the extended greatest common divisor for two values. The result is an array [d, x, y] with 3 entries, where d is the greatest common divisor, and d = x * a + y * b.",examples:["xgcd(8, 12)","gcd(8, 12)","xgcd(36163, 21199)"],seealso:["gcd","lcm"]}},function(t,e,n){"use strict";t.exports={name:"bitAnd",category:"Bitwise",syntax:["x & y","bitAnd(x, y)"],description:"Bitwise AND operation. Performs the logical AND operation on each pair of the corresponding bits of the two given values by multiplying them. If both bits in the compared position are 1, the bit in the resulting binary representation is 1, otherwise, the result is 0",examples:["5 & 3","bitAnd(53, 131)","[1, 12, 31] & 42"],seealso:["bitNot","bitOr","bitXor","leftShift","rightArithShift","rightLogShift"]}},function(t,e,n){"use strict";t.exports={name:"bitNot",category:"Bitwise",syntax:["~x","bitNot(x)"],description:"Bitwise NOT operation. Performs a logical negation on each bit of the given value. Bits that are 0 become 1, and those that are 1 become 0.",examples:["~1","~2","bitNot([2, -3, 4])"],seealso:["bitAnd","bitOr","bitXor","leftShift","rightArithShift","rightLogShift"]}},function(t,e,n){"use strict";t.exports={name:"bitOr",category:"Bitwise",syntax:["x | y","bitOr(x, y)"],description:"Bitwise OR operation. Performs the logical inclusive OR operation on each pair of corresponding bits of the two given values. The result in each position is 1 if the first bit is 1 or the second bit is 1 or both bits are 1, otherwise, the result is 0.",examples:["5 | 3","bitOr([1, 2, 3], 4)"],seealso:["bitAnd","bitNot","bitXor","leftShift","rightArithShift","rightLogShift"]}},function(t,e,n){"use strict";t.exports={name:"bitXor",category:"Bitwise",syntax:["bitXor(x, y)"],description:"Bitwise XOR operation, exclusive OR. Performs the logical exclusive OR operation on each pair of corresponding bits of the two given values. The result in each position is 1 if only the first bit is 1 or only the second bit is 1, but will be 0 if both are 0 or both are 1.",examples:["bitOr(1, 2)","bitXor([2, 3, 4], 4)"],seealso:["bitAnd","bitNot","bitOr","leftShift","rightArithShift","rightLogShift"]}},function(t,e,n){"use strict";t.exports={name:"leftShift",category:"Bitwise",syntax:["x << y","leftShift(x, y)"],description:"Bitwise left logical shift of a value x by y number of bits.",examples:["4 << 1","8 >> 1"],seealso:["bitAnd","bitNot","bitOr","bitXor","rightArithShift","rightLogShift"]}},function(t,e,n){"use strict";t.exports={name:"rightArithShift",category:"Bitwise",syntax:["x >> y","rightArithShift(x, y)"],description:"Bitwise right arithmetic shift of a value x by y number of bits.",examples:["8 >> 1","4 << 1","-12 >> 2"],seealso:["bitAnd","bitNot","bitOr","bitXor","leftShift","rightLogShift"]}},function(t,e,n){"use strict";t.exports={name:"rightLogShift",category:"Bitwise",syntax:["x >>> y","rightLogShift(x, y)"],description:"Bitwise right logical shift of a value x by y number of bits.",examples:["8 >>> 1","4 << 1","-12 >>> 2"],seealso:["bitAnd","bitNot","bitOr","bitXor","leftShift","rightArithShift"]}},function(t,e,n){"use strict";t.exports={name:"bellNumbers",category:"Combinatorics",syntax:["bellNumbers(n)"],description:"The Bell Numbers count the number of partitions of a set. A partition is a pairwise disjoint subset of S whose union is S. `bellNumbers` only takes integer arguments. The following condition must be enforced: n >= 0.",examples:["bellNumbers(3)","bellNumbers(8)"],seealso:["stirlingS2"]}},function(t,e,n){"use strict";t.exports={name:"catalan",category:"Combinatorics",syntax:["catalan(n)"],description:"The Catalan Numbers enumerate combinatorial structures of many different types. catalan only takes integer arguments. The following condition must be enforced: n >= 0.",examples:["catalan(3)","catalan(8)"],seealso:["bellNumbers"]}},function(t,e,n){"use strict";t.exports={name:"composition",category:"Combinatorics",syntax:["composition(n, k)"],description:"The composition counts of n into k parts. composition only takes integer arguments. The following condition must be enforced: k <= n.",examples:["composition(5, 3)"],seealso:["combinations"]}},function(t,e,n){"use strict";t.exports={name:"stirlingS2",category:"Combinatorics",syntax:["stirlingS2(n, k)"],description:"he Stirling numbers of the second kind, counts the number of ways to partition a set of n labelled objects into k nonempty unlabelled subsets. `stirlingS2` only takes integer arguments. The following condition must be enforced: k <= n. If n = k or k = 1, then s(n,k) = 1.",examples:["stirlingS2(5, 3)"],seealso:["bellNumbers"]}},function(t,e,n){"use strict";t.exports={name:"arg",category:"Complex",syntax:["arg(x)"],description:"Compute the argument of a complex value. If x = a+bi, the argument is computed as atan2(b, a).",examples:["arg(2 + 2i)","atan2(3, 2)","arg(2 + 3i)"],seealso:["re","im","conj","abs"]}},function(t,e,n){"use strict";t.exports={name:"conj",category:"Complex",syntax:["conj(x)"],description:"Compute the complex conjugate of a complex value. If x = a+bi, the complex conjugate is a-bi.",examples:["conj(2 + 3i)","conj(2 - 3i)","conj(-5.2i)"],seealso:["re","im","abs","arg"]}},function(t,e,n){"use strict";t.exports={name:"im",category:"Complex",syntax:["im(x)"],description:"Get the imaginary part of a complex number.",examples:["im(2 + 3i)","re(2 + 3i)","im(-5.2i)","im(2.4)"],seealso:["re","conj","abs","arg"]}},function(t,e,n){"use strict";t.exports={name:"re",category:"Complex",syntax:["re(x)"],description:"Get the real part of a complex number.",examples:["re(2 + 3i)","im(2 + 3i)","re(-5.2i)","re(2.4)"],seealso:["im","conj","abs","arg"]}},function(t,e,n){"use strict";t.exports={name:"eval",category:"Expression",syntax:["eval(expression)","eval([expr1, expr2, expr3, ...])"],description:"Evaluate an expression or an array with expressions.",examples:['eval("2 + 3")','eval("sqrt(" + 4 + ")")'],seealso:[]}},function(t,e,n){"use strict";t.exports={name:"help",category:"Expression",syntax:["help(object)","help(string)"],description:"Display documentation on a function or data type.",examples:["help(sqrt)",'help("complex")'],seealso:[]}},function(t,e,n){"use strict";t.exports={name:"distance",category:"Geometry",syntax:["distance([x1, y1], [x2, y2])","distance([[x1, y1], [x2, y2])"],description:"Calculates the Euclidean distance between two points.",examples:["distance([0,0], [4,4])","distance([[0,0], [4,4]])"],seealso:[]}},function(t,e,n){"use strict";t.exports={name:"intersect",category:"Geometry",syntax:["intersect(expr1, expr2, expr3, expr4)","intersect(expr1, expr2, expr3)"],description:"Computes the intersection point of lines and/or planes.",examples:["intersect([0, 0], [10, 10], [10, 0], [0, 10])","intersect([1, 0, 1], [4, -2, 2], [1, 1, 1, 6])"],seealso:[]}},function(t,e,n){"use strict";t.exports={name:"and",category:"Logical",syntax:["x and y","and(x, y)"],description:"Logical and. Test whether two values are both defined with a nonzero/nonempty value.",examples:["true and false","true and true","2 and 4"],seealso:["not","or","xor"]}},function(t,e,n){"use strict";t.exports={name:"not",category:"Logical",syntax:["not x","not(x)"],description:"Logical not. Flips the boolean value of given argument.",examples:["not true","not false","not 2","not 0"],seealso:["and","or","xor"]}},function(t,e,n){"use strict";t.exports={name:"or",category:"Logical",syntax:["x or y","or(x, y)"],description:"Logical or. Test if at least one value is defined with a nonzero/nonempty value.",examples:["true or false","false or false","0 or 4"],seealso:["not","and","xor"]}},function(t,e,n){"use strict";t.exports={name:"xor",category:"Logical",syntax:["x xor y","xor(x, y)"],description:"Logical exclusive or, xor. Test whether one and only one value is defined with a nonzero/nonempty value.",examples:["true xor false","false xor false","true xor true","0 xor 4"],seealso:["not","and","or"]}},function(t,e,n){"use strict";t.exports={name:"column",category:"Matrix",syntax:["column(x, index)"],description:"Return a column from a matrix or array.",examples:["A = [[1, 2], [3, 4]]","column(A, 1)","column(A, 2)"],seealso:["row"]}},function(t,e,n){"use strict";t.exports={name:"concat",category:"Matrix",syntax:["concat(A, B, C, ...)","concat(A, B, C, ..., dim)"],description:"Concatenate matrices. By default, the matrices are concatenated by the last dimension. The dimension on which to concatenate can be provided as last argument.",examples:["A = [1, 2; 5, 6]","B = [3, 4; 7, 8]","concat(A, B)","concat(A, B, 1)","concat(A, B, 2)"],seealso:["det","diag","identity","inv","ones","range","size","squeeze","subset","trace","transpose","zeros"]}},function(t,e,n){"use strict";t.exports={name:"cross",category:"Matrix",syntax:["cross(A, B)"],description:"Calculate the cross product for two vectors in three dimensional space.",examples:["cross([1, 1, 0], [0, 1, 1])","cross([3, -3, 1], [4, 9, 2])","cross([2, 3, 4], [5, 6, 7])"],seealso:["multiply","dot"]}},function(t,e,n){"use strict";t.exports={name:"transpose",category:"Matrix",syntax:["x'","ctranspose(x)"],description:"Complex Conjugate and Transpose a matrix",examples:["a = [1, 2, 3; 4, 5, 6]","a'","ctranspose(a)"],seealso:["concat","det","diag","identity","inv","ones","range","size","squeeze","subset","trace","zeros"]}},function(t,e,n){"use strict";t.exports={name:"det",category:"Matrix",syntax:["det(x)"],description:"Calculate the determinant of a matrix",examples:["det([1, 2; 3, 4])","det([-2, 2, 3; -1, 1, 3; 2, 0, -1])"],seealso:["concat","diag","identity","inv","ones","range","size","squeeze","subset","trace","transpose","zeros"]}},function(t,e,n){"use strict";t.exports={name:"diag",category:"Matrix",syntax:["diag(x)","diag(x, k)"],description:"Create a diagonal matrix or retrieve the diagonal of a matrix. When x is a vector, a matrix with the vector values on the diagonal will be returned. When x is a matrix, a vector with the diagonal values of the matrix is returned. When k is provided, the k-th diagonal will be filled in or retrieved, if k is positive, the values are placed on the super diagonal. When k is negative, the values are placed on the sub diagonal.",examples:["diag(1:3)","diag(1:3, 1)","a = [1, 2, 3; 4, 5, 6; 7, 8, 9]","diag(a)"],seealso:["concat","det","identity","inv","ones","range","size","squeeze","subset","trace","transpose","zeros"]}},function(t,e,n){"use strict";t.exports={name:"dot",category:"Matrix",syntax:["dot(A, B)","A * B"],description:"Calculate the dot product of two vectors. The dot product of A = [a1, a2, a3, ..., an] and B = [b1, b2, b3, ..., bn] is defined as dot(A, B) = a1 * b1 + a2 * b2 + a3 * b3 + ... + an * bn",examples:["dot([2, 4, 1], [2, 2, 3])","[2, 4, 1] * [2, 2, 3]"],seealso:["multiply","cross"]}},function(t,e,n){"use strict";t.exports={name:"filter",category:"Matrix",syntax:["filter(x, test)"],description:"Filter items in a matrix.",examples:["isPositive(x) = x > 0","filter([6, -2, -1, 4, 3], isPositive)","filter([6, -2, 0, 1, 0], x != 0)"],seealso:["sort","map","forEach"]}},function(t,e,n){"use strict";t.exports={name:"flatten",category:"Matrix",syntax:["flatten(x)"],description:"Flatten a multi dimensional matrix into a single dimensional matrix.",examples:["a = [1, 2, 3; 4, 5, 6]","size(a)","b = flatten(a)","size(b)"],seealso:["concat","resize","size","squeeze"]}},function(t,e,n){"use strict";t.exports={name:"forEach",category:"Matrix",syntax:["forEach(x, callback)"],description:"Iterates over all elements of a matrix/array, and executes the given callback function.",examples:["forEach([1, 2, 3], function(val) { console.log(val) })"],seealso:["map","sort","filter"]}},function(t,e,n){"use strict";t.exports={name:"getMatrixDataType",category:"Matrix",syntax:["getMatrixDataType(x)"],description:'Find the data type of all elements in a matrix or array, for example "number" if all items are a number and "Complex" if all values are complex numbers. If a matrix contains more than one data type, it will return "mixed".',examples:["getMatrixDataType([1, 2, 3])","getMatrixDataType([[5 cm], [2 inch]])",'getMatrixDataType([1, "text"])',"getMatrixDataType([1, bignumber(4)])"],seealso:["matrix","sparse","typeof"]}},function(t,e,n){"use strict";t.exports={name:"identity",category:"Matrix",syntax:["identity(n)","identity(m, n)","identity([m, n])"],description:"Returns the identity matrix with size m-by-n. The matrix has ones on the diagonal and zeros elsewhere.",examples:["identity(3)","identity(3, 5)","a = [1, 2, 3; 4, 5, 6]","identity(size(a))"],seealso:["concat","det","diag","inv","ones","range","size","squeeze","subset","trace","transpose","zeros"]}},function(t,e,n){"use strict";t.exports={name:"inv",category:"Matrix",syntax:["inv(x)"],description:"Calculate the inverse of a matrix",examples:["inv([1, 2; 3, 4])","inv(4)","1 / 4"],seealso:["concat","det","diag","identity","ones","range","size","squeeze","subset","trace","transpose","zeros"]}},function(t,e,n){"use strict";t.exports={name:"kron",category:"Matrix",syntax:["kron(x, y)"],description:"Calculates the kronecker product of 2 matrices or vectors.",examples:["kron([[1, 0], [0, 1]], [[1, 2], [3, 4]])","kron([1,1], [2,3,4])"],seealso:["multiply","dot","cross"]}},function(t,e,n){"use strict";t.exports={name:"map",category:"Matrix",syntax:["map(x, callback)"],description:"Create a new matrix or array with the results of the callback function executed on each entry of the matrix/array.",examples:["map([1, 2, 3], square)"],seealso:["filter","forEach"]}},function(t,e,n){"use strict";t.exports={name:"ones",category:"Matrix",syntax:["ones(m)","ones(m, n)","ones(m, n, p, ...)","ones([m])","ones([m, n])","ones([m, n, p, ...])"],description:"Create a matrix containing ones.",examples:["ones(3)","ones(3, 5)","ones([2,3]) * 4.5","a = [1, 2, 3; 4, 5, 6]","ones(size(a))"],seealso:["concat","det","diag","identity","inv","range","size","squeeze","subset","trace","transpose","zeros"]}},function(t,e,n){"use strict";t.exports={name:"partitionSelect",category:"Matrix",syntax:["partitionSelect(x, k)","partitionSelect(x, k, compare)"],description:"Partition-based selection of an array or 1D matrix. Will find the kth smallest value, and mutates the input array. Uses Quickselect.",examples:["partitionSelect([5, 10, 1], 2)",'partitionSelect(["C", "B", "A", "D"], 1)'],seealso:["sort"]}},function(t,e,n){"use strict";t.exports={name:"range",category:"Type",syntax:["start:end","start:step:end","range(start, end)","range(start, end, step)","range(string)"],description:"Create a range. Lower bound of the range is included, upper bound is excluded.",examples:["1:5","3:-1:-3","range(3, 7)","range(0, 12, 2)",'range("4:10")',"a = [1, 2, 3, 4; 5, 6, 7, 8]","a[1:2, 1:2]"],seealso:["concat","det","diag","identity","inv","ones","size","squeeze","subset","trace","transpose","zeros"]}},function(t,e,n){"use strict";t.exports={name:"reshape",category:"Matrix",syntax:["reshape(x, sizes)"],description:"Reshape a multi dimensional array to fit the specified dimensions.",examples:["reshape([1, 2, 3, 4, 5, 6], [2, 3])","reshape([[1, 2], [3, 4]], [1, 4])","reshape([[1, 2], [3, 4]], [4])"],seealso:["size","squeeze","resize"]}},function(t,e,n){"use strict";t.exports={name:"resize",category:"Matrix",syntax:["resize(x, size)","resize(x, size, defaultValue)"],description:"Resize a matrix.",examples:["resize([1,2,3,4,5], [3])","resize([1,2,3], [5])","resize([1,2,3], [5], -1)","resize(2, [2, 3])",'resize("hello", [8], "!")'],seealso:["size","subset","squeeze","reshape"]}},function(t,e,n){"use strict";t.exports={name:"row",category:"Matrix",syntax:["row(x, index)"],description:"Return a row from a matrix or array.",examples:["A = [[1, 2], [3, 4]]","row(A, 1)","row(A, 2)"],seealso:["column"]}},function(t,e,n){"use strict";t.exports={name:"size",category:"Matrix",syntax:["size(x)"],description:"Calculate the size of a matrix.",examples:["size(2.3)",'size("hello world")',"a = [1, 2; 3, 4; 5, 6]","size(a)","size(1:6)"],seealso:["concat","det","diag","identity","inv","ones","range","squeeze","subset","trace","transpose","zeros"]}},function(t,e,n){"use strict";t.exports={name:"sort",category:"Matrix",syntax:["sort(x)","sort(x, compare)"],description:'Sort the items in a matrix. Compare can be a string "asc", "desc", "natural", or a custom sort function.',examples:["sort([5, 10, 1])",'sort(["C", "B", "A", "D"])',"sortByLength(a, b) = size(a)[1] - size(b)[1]",'sort(["Langdon", "Tom", "Sara"], sortByLength)','sort(["10", "1", "2"], "natural")'],seealso:["map","filter","forEach"]}},function(t,e,n){"use strict";t.exports={name:"squeeze",category:"Matrix",syntax:["squeeze(x)"],description:"Remove inner and outer singleton dimensions from a matrix.",examples:["a = zeros(3,2,1)","size(squeeze(a))","b = zeros(1,1,3)","size(squeeze(b))"],seealso:["concat","det","diag","identity","inv","ones","range","size","subset","trace","transpose","zeros"]}},function(t,e,n){"use strict";t.exports={name:"subset",category:"Matrix",syntax:["value(index)","value(index) = replacement","subset(value, [index])","subset(value, [index], replacement)"],description:"Get or set a subset of a matrix or string. Indexes are one-based. Both the ranges lower-bound and upper-bound are included.",examples:["d = [1, 2; 3, 4]","e = []","e[1, 1:2] = [5, 6]","e[2, :] = [7, 8]","f = d * e","f[2, 1]","f[:, 1]"],seealso:["concat","det","diag","identity","inv","ones","range","size","squeeze","trace","transpose","zeros"]}},function(t,e,n){"use strict";t.exports={name:"trace",category:"Matrix",syntax:["trace(A)"],description:"Calculate the trace of a matrix: the sum of the elements on the main diagonal of a square matrix.",examples:["A = [1, 2, 3; -1, 2, 3; 2, 0, 3]","trace(A)"],seealso:["concat","det","diag","identity","inv","ones","range","size","squeeze","subset","transpose","zeros"]}},function(t,e,n){"use strict";t.exports={name:"transpose",category:"Matrix",syntax:["x'","transpose(x)"],description:"Transpose a matrix",examples:["a = [1, 2, 3; 4, 5, 6]","a'","transpose(a)"],seealso:["concat","det","diag","identity","inv","ones","range","size","squeeze","subset","trace","zeros"]}},function(t,e,n){"use strict";t.exports={name:"zeros",category:"Matrix",syntax:["zeros(m)","zeros(m, n)","zeros(m, n, p, ...)","zeros([m])","zeros([m, n])","zeros([m, n, p, ...])"],description:"Create a matrix containing zeros.",examples:["zeros(3)","zeros(3, 5)","a = [1, 2, 3; 4, 5, 6]","zeros(size(a))"],seealso:["concat","det","diag","identity","inv","ones","range","size","squeeze","subset","trace","transpose"]}},function(t,e,n){"use strict";t.exports={name:"combinations",category:"Probability",syntax:["combinations(n, k)"],description:"Compute the number of combinations of n items taken k at a time",examples:["combinations(7, 5)"],seealso:["permutations","factorial"]}},function(t,e,n){"use strict";t.exports={name:"factorial",category:"Probability",syntax:["n!","factorial(n)"],description:"Compute the factorial of a value",examples:["5!","5 * 4 * 3 * 2 * 1","3!"],seealso:["combinations","permutations","gamma"]}},function(t,e,n){"use strict";t.exports={name:"gamma",category:"Probability",syntax:["gamma(n)"],description:"Compute the gamma function. For small values, the Lanczos approximation is used, and for large values the extended Stirling approximation.",examples:["gamma(4)","3!","gamma(1/2)","sqrt(pi)"],seealso:["factorial"]}},function(t,e,n){"use strict";t.exports={name:"kldivergence",category:"Probability",syntax:["kldivergence(x, y)"],description:"Calculate the Kullback-Leibler (KL) divergence between two distributions.",examples:["kldivergence([0.7,0.5,0.4], [0.2,0.9,0.5])"],seealso:[]}},function(t,e,n){"use strict";t.exports={name:"multinomial",category:"Probability",syntax:["multinomial(A)"],description:"Multinomial Coefficients compute the number of ways of picking a1, a2, ..., ai unordered outcomes from `n` possibilities. multinomial takes one array of integers as an argument. The following condition must be enforced: every ai > 0.",examples:["multinomial([1, 2, 1])"],seealso:["combinations","factorial"]}},function(t,e,n){"use strict";t.exports={name:"permutations",category:"Probability",syntax:["permutations(n)","permutations(n, k)"],description:"Compute the number of permutations of n items taken k at a time",examples:["permutations(5)","permutations(5, 3)"],seealso:["combinations","factorial"]}},function(t,e,n){"use strict";t.exports={name:"pickRandom",category:"Probability",syntax:["pickRandom(array)","pickRandom(array, number)","pickRandom(array, weights)","pickRandom(array, number, weights)","pickRandom(array, weights, number)"],description:"Pick a random entry from a given array.",examples:["pickRandom(0:10)","pickRandom([1, 3, 1, 6])","pickRandom([1, 3, 1, 6], 2)","pickRandom([1, 3, 1, 6], [2, 3, 2, 1])","pickRandom([1, 3, 1, 6], 2, [2, 3, 2, 1])","pickRandom([1, 3, 1, 6], [2, 3, 2, 1], 2)"],seealso:["random","randomInt"]}},function(t,e,n){"use strict";t.exports={name:"random",category:"Probability",syntax:["random()","random(max)","random(min, max)","random(size)","random(size, max)","random(size, min, max)"],description:"Return a random number.",examples:["random()","random(10, 20)","random([2, 3])"],seealso:["pickRandom","randomInt"]}},function(t,e,n){"use strict";t.exports={name:"randomInt",category:"Probability",syntax:["randomInt(max)","randomInt(min, max)","randomInt(size)","randomInt(size, max)","randomInt(size, min, max)"],description:"Return a random integer number",examples:["randomInt(10, 20)","randomInt([2, 3], 10)"],seealso:["pickRandom","random"]}},function(t,e,n){"use strict";t.exports={name:"compare",category:"Relational",syntax:["compare(x, y)"],description:"Compare two values. Returns 1 when x > y, -1 when x < y, and 0 when x == y.",examples:["compare(2, 3)","compare(3, 2)","compare(2, 2)","compare(5cm, 40mm)","compare(2, [1, 2, 3])"],seealso:["equal","unequal","smaller","smallerEq","largerEq","compareNatural","compareText"]}},function(t,e,n){"use strict";t.exports={name:"compareNatural",category:"Relational",syntax:["compareNatural(x, y)"],description:"Compare two values of any type in a deterministic, natural way. Returns 1 when x > y, -1 when x < y, and 0 when x == y.",examples:["compareNatural(2, 3)","compareNatural(3, 2)","compareNatural(2, 2)","compareNatural(5cm, 40mm)",'compareNatural("2", "10")',"compareNatural(2 + 3i, 2 + 4i)","compareNatural([1, 2, 4], [1, 2, 3])","compareNatural([1, 5], [1, 2, 3])","compareNatural([1, 2], [1, 2])","compareNatural({a: 2}, {a: 4})"],seealso:["equal","unequal","smaller","smallerEq","largerEq","compare","compareText"]}},function(t,e,n){"use strict";t.exports={name:"compareText",category:"Relational",syntax:["compareText(x, y)"],description:"Compare two strings lexically. Comparison is case sensitive. Returns 1 when x > y, -1 when x < y, and 0 when x == y.",examples:['compareText("B", "A")','compareText("A", "B")','compareText("A", "A")','compareText("2", "10")','compare("2", "10")',"compare(2, 10)",'compareNatural("2", "10")','compareText("B", ["A", "B", "C"])'],seealso:["compare","compareNatural"]}},function(t,e,n){"use strict";t.exports={name:"deepEqual",category:"Relational",syntax:["deepEqual(x, y)"],description:"Check equality of two matrices element wise. Returns true if the size of both matrices is equal and when and each of the elements are equal.",examples:["deepEqual([1,3,4], [1,3,4])","deepEqual([1,3,4], [1,3])"],seealso:["equal","unequal","smaller","larger","smallerEq","largerEq","compare"]}},function(t,e,n){"use strict";t.exports={name:"equal",category:"Relational",syntax:["x == y","equal(x, y)"],description:"Check equality of two values. Returns true if the values are equal, and false if not.",examples:["2+2 == 3","2+2 == 4","a = 3.2","b = 6-2.8","a == b","50cm == 0.5m"],seealso:["unequal","smaller","larger","smallerEq","largerEq","compare","deepEqual","equalText"]}},function(t,e,n){"use strict";t.exports={name:"equalText",category:"Relational",syntax:["equalText(x, y)"],description:"Check equality of two strings. Comparison is case sensitive. Returns true if the values are equal, and false if not.",examples:['equalText("Hello", "Hello")','equalText("a", "A")','equal("2e3", "2000")','equalText("2e3", "2000")','equalText("B", ["A", "B", "C"])'], seealso:["compare","compareNatural","compareText","equal"]}},function(t,e,n){"use strict";t.exports={name:"larger",category:"Relational",syntax:["x > y","larger(x, y)"],description:"Check if value x is larger than y. Returns true if x is larger than y, and false if not.",examples:["2 > 3","5 > 2*2","a = 3.3","b = 6-2.8","(a > b)","(b < a)","5 cm > 2 inch"],seealso:["equal","unequal","smaller","smallerEq","largerEq","compare"]}},function(t,e,n){"use strict";t.exports={name:"largerEq",category:"Relational",syntax:["x >= y","largerEq(x, y)"],description:"Check if value x is larger or equal to y. Returns true if x is larger or equal to y, and false if not.",examples:["2 >= 1+1","2 > 1+1","a = 3.2","b = 6-2.8","(a >= b)"],seealso:["equal","unequal","smallerEq","smaller","compare"]}},function(t,e,n){"use strict";t.exports={name:"smaller",category:"Relational",syntax:["x < y","smaller(x, y)"],description:"Check if value x is smaller than value y. Returns true if x is smaller than y, and false if not.",examples:["2 < 3","5 < 2*2","a = 3.3","b = 6-2.8","(a < b)","5 cm < 2 inch"],seealso:["equal","unequal","larger","smallerEq","largerEq","compare"]}},function(t,e,n){"use strict";t.exports={name:"smallerEq",category:"Relational",syntax:["x <= y","smallerEq(x, y)"],description:"Check if value x is smaller or equal to value y. Returns true if x is smaller than y, and false if not.",examples:["2 <= 1+1","2 < 1+1","a = 3.2","b = 6-2.8","(a <= b)"],seealso:["equal","unequal","larger","smaller","largerEq","compare"]}},function(t,e,n){"use strict";t.exports={name:"unequal",category:"Relational",syntax:["x != y","unequal(x, y)"],description:"Check unequality of two values. Returns true if the values are unequal, and false if they are equal.",examples:["2+2 != 3","2+2 != 4","a = 3.2","b = 6-2.8","a != b","50cm != 0.5m","5 cm != 2 inch"],seealso:["equal","smaller","larger","smallerEq","largerEq","compare","deepEqual"]}},function(t,e,n){"use strict";t.exports={name:"setCartesian",category:"Set",syntax:["setCartesian(set1, set2)"],description:"Create the cartesian product of two (multi)sets. Multi-dimension arrays will be converted to single-dimension arrays before the operation.",examples:["setCartesian([1, 2], [3, 4])"],seealso:["setUnion","setIntersect","setDifference","setPowerset"]}},function(t,e,n){"use strict";t.exports={name:"setDifference",category:"Set",syntax:["setDifference(set1, set2)"],description:"Create the difference of two (multi)sets: every element of set1, that is not the element of set2. Multi-dimension arrays will be converted to single-dimension arrays before the operation.",examples:["setDifference([1, 2, 3, 4], [3, 4, 5, 6])","setDifference([[1, 2], [3, 4]], [[3, 4], [5, 6]])"],seealso:["setUnion","setIntersect","setSymDifference"]}},function(t,e,n){"use strict";t.exports={name:"setDistinct",category:"Set",syntax:["setDistinct(set)"],description:"Collect the distinct elements of a multiset. A multi-dimension array will be converted to a single-dimension array before the operation.",examples:["setDistinct([1, 1, 1, 2, 2, 3])"],seealso:["setMultiplicity"]}},function(t,e,n){"use strict";t.exports={name:"setIntersect",category:"Set",syntax:["setIntersect(set1, set2)"],description:"Create the intersection of two (multi)sets. Multi-dimension arrays will be converted to single-dimension arrays before the operation.",examples:["setIntersect([1, 2, 3, 4], [3, 4, 5, 6])","setIntersect([[1, 2], [3, 4]], [[3, 4], [5, 6]])"],seealso:["setUnion","setDifference"]}},function(t,e,n){"use strict";t.exports={name:"setIsSubset",category:"Set",syntax:["setIsSubset(set1, set2)"],description:"Check whether a (multi)set is a subset of another (multi)set: every element of set1 is the element of set2. Multi-dimension arrays will be converted to single-dimension arrays before the operation.",examples:["setIsSubset([1, 2], [3, 4, 5, 6])","setIsSubset([3, 4], [3, 4, 5, 6])"],seealso:["setUnion","setIntersect","setDifference"]}},function(t,e,n){"use strict";t.exports={name:"setMultiplicity",category:"Set",syntax:["setMultiplicity(element, set)"],description:"Count the multiplicity of an element in a multiset. A multi-dimension array will be converted to a single-dimension array before the operation.",examples:["setMultiplicity(1, [1, 2, 2, 4])","setMultiplicity(2, [1, 2, 2, 4])"],seealso:["setDistinct","setSize"]}},function(t,e,n){"use strict";t.exports={name:"setPowerset",category:"Set",syntax:["setPowerset(set)"],description:"Create the powerset of a (multi)set: the powerset contains very possible subsets of a (multi)set. A multi-dimension array will be converted to a single-dimension array before the operation.",examples:["setPowerset([1, 2, 3])"],seealso:["setCartesian"]}},function(t,e,n){"use strict";t.exports={name:"setSize",category:"Set",syntax:["setSize(set)","setSize(set, unique)"],description:'Count the number of elements of a (multi)set. When the second parameter "unique" is true, count only the unique values. A multi-dimension array will be converted to a single-dimension array before the operation.',examples:["setSize([1, 2, 2, 4])","setSize([1, 2, 2, 4], true)"],seealso:["setUnion","setIntersect","setDifference"]}},function(t,e,n){"use strict";t.exports={name:"setSymDifference",category:"Set",syntax:["setSymDifference(set1, set2)"],description:"Create the symmetric difference of two (multi)sets. Multi-dimension arrays will be converted to single-dimension arrays before the operation.",examples:["setSymDifference([1, 2, 3, 4], [3, 4, 5, 6])","setSymDifference([[1, 2], [3, 4]], [[3, 4], [5, 6]])"],seealso:["setUnion","setIntersect","setDifference"]}},function(t,e,n){"use strict";t.exports={name:"setUnion",category:"Set",syntax:["setUnion(set1, set2)"],description:"Create the union of two (multi)sets. Multi-dimension arrays will be converted to single-dimension arrays before the operation.",examples:["setUnion([1, 2, 3, 4], [3, 4, 5, 6])","setUnion([[1, 2], [3, 4]], [[3, 4], [5, 6]])"],seealso:["setIntersect","setDifference"]}},function(t,e,n){"use strict";t.exports={name:"erf",category:"Special",syntax:["erf(x)"],description:"Compute the erf function of a value using a rational Chebyshev approximations for different intervals of x",examples:["erf(0.2)","erf(-0.5)","erf(4)"],seealso:[]}},function(t,e,n){"use strict";t.exports={name:"mad",category:"Statistics",syntax:["mad(a, b, c, ...)","mad(A)"],description:"Compute the median absolute deviation of a matrix or a list with values. The median absolute deviation is defined as the median of the absolute deviations from the median.",examples:["mad(10, 20, 30)","mad([1, 2, 3])"],seealso:["mean","median","std","abs"]}},function(t,e,n){"use strict";t.exports={name:"max",category:"Statistics",syntax:["max(a, b, c, ...)","max(A)","max(A, dim)"],description:"Compute the maximum value of a list of values.",examples:["max(2, 3, 4, 1)","max([2, 3, 4, 1])","max([2, 5; 4, 3])","max([2, 5; 4, 3], 1)","max([2, 5; 4, 3], 2)","max(2.7, 7.1, -4.5, 2.0, 4.1)","min(2.7, 7.1, -4.5, 2.0, 4.1)"],seealso:["mean","median","min","prod","std","sum","var"]}},function(t,e,n){"use strict";t.exports={name:"mean",category:"Statistics",syntax:["mean(a, b, c, ...)","mean(A)","mean(A, dim)"],description:"Compute the arithmetic mean of a list of values.",examples:["mean(2, 3, 4, 1)","mean([2, 3, 4, 1])","mean([2, 5; 4, 3])","mean([2, 5; 4, 3], 1)","mean([2, 5; 4, 3], 2)","mean([1.0, 2.7, 3.2, 4.0])"],seealso:["max","median","min","prod","std","sum","var"]}},function(t,e,n){"use strict";t.exports={name:"median",category:"Statistics",syntax:["median(a, b, c, ...)","median(A)"],description:"Compute the median of all values. The values are sorted and the middle value is returned. In case of an even number of values, the average of the two middle values is returned.",examples:["median(5, 2, 7)","median([3, -1, 5, 7])"],seealso:["max","mean","min","prod","std","sum","var","quantileSeq"]}},function(t,e,n){"use strict";t.exports={name:"min",category:"Statistics",syntax:["min(a, b, c, ...)","min(A)","min(A, dim)"],description:"Compute the minimum value of a list of values.",examples:["min(2, 3, 4, 1)","min([2, 3, 4, 1])","min([2, 5; 4, 3])","min([2, 5; 4, 3], 1)","min([2, 5; 4, 3], 2)","min(2.7, 7.1, -4.5, 2.0, 4.1)","max(2.7, 7.1, -4.5, 2.0, 4.1)"],seealso:["max","mean","median","prod","std","sum","var"]}},function(t,e,n){"use strict";t.exports={name:"mode",category:"Statistics",syntax:["mode(a, b, c, ...)","mode(A)","mode(A, a, b, B, c, ...)"],description:"Computes the mode of all values as an array. In case mode being more than one, multiple values are returned in an array.",examples:["mode(2, 1, 4, 3, 1)","mode([1, 2.7, 3.2, 4, 2.7])","mode(1, 4, 6, 1, 6)"],seealso:["max","mean","min","median","prod","std","sum","var"]}},function(t,e,n){"use strict";t.exports={name:"prod",category:"Statistics",syntax:["prod(a, b, c, ...)","prod(A)"],description:"Compute the product of all values.",examples:["prod(2, 3, 4)","prod([2, 3, 4])","prod([2, 5; 4, 3])"],seealso:["max","mean","min","median","min","std","sum","var"]}},function(t,e,n){"use strict";t.exports={name:"quantileSeq",category:"Statistics",syntax:["quantileSeq(A, prob[, sorted])","quantileSeq(A, [prob1, prob2, ...][, sorted])","quantileSeq(A, N[, sorted])"],description:"Compute the prob order quantile of a matrix or a list with values. The sequence is sorted and the middle value is returned. Supported types of sequence values are: Number, BigNumber, Unit Supported types of probablity are: Number, BigNumber. \n\nIn case of a (multi dimensional) array or matrix, the prob order quantile of all elements will be calculated.",examples:["quantileSeq([3, -1, 5, 7], 0.5)","quantileSeq([3, -1, 5, 7], [1/3, 2/3])","quantileSeq([3, -1, 5, 7], 2)","quantileSeq([-1, 3, 5, 7], 0.5, true)"],seealso:["mean","median","min","max","prod","std","sum","var"]}},function(t,e,n){"use strict";t.exports={name:"std",category:"Statistics",syntax:["std(a, b, c, ...)","std(A)","std(A, normalization)"],description:'Compute the standard deviation of all values, defined as std(A) = sqrt(var(A)). Optional parameter normalization can be "unbiased" (default), "uncorrected", or "biased".',examples:["std(2, 4, 6)","std([2, 4, 6, 8])",'std([2, 4, 6, 8], "uncorrected")','std([2, 4, 6, 8], "biased")',"std([1, 2, 3; 4, 5, 6])"],seealso:["max","mean","min","median","min","prod","sum","var"]}},function(t,e,n){"use strict";t.exports={name:"sum",category:"Statistics",syntax:["sum(a, b, c, ...)","sum(A)"],description:"Compute the sum of all values.",examples:["sum(2, 3, 4, 1)","sum([2, 3, 4, 1])","sum([2, 5; 4, 3])"],seealso:["max","mean","median","min","prod","std","sum","var"]}},function(t,e,n){"use strict";t.exports={name:"var",category:"Statistics",syntax:["var(a, b, c, ...)","var(A)","var(A, normalization)"],description:'Compute the variance of all values. Optional parameter normalization can be "unbiased" (default), "uncorrected", or "biased".',examples:["var(2, 4, 6)","var([2, 4, 6, 8])",'var([2, 4, 6, 8], "uncorrected")','var([2, 4, 6, 8], "biased")',"var([1, 2, 3; 4, 5, 6])"],seealso:["max","mean","min","median","min","prod","std","sum"]}},function(t,e,n){"use strict";t.exports={name:"acos",category:"Trigonometry",syntax:["acos(x)"],description:"Compute the inverse cosine of a value in radians.",examples:["acos(0.5)","acos(cos(2.3))"],seealso:["cos","atan","asin"]}},function(t,e,n){"use strict";t.exports={name:"acosh",category:"Trigonometry",syntax:["acosh(x)"],description:"Calculate the hyperbolic arccos of a value, defined as `acosh(x) = ln(sqrt(x^2 - 1) + x)`.",examples:["acosh(1.5)"],seealso:["cosh","asinh","atanh"]}},function(t,e,n){"use strict";t.exports={name:"acot",category:"Trigonometry",syntax:["acot(x)"],description:"Calculate the inverse cotangent of a value.",examples:["acot(0.5)","acot(cot(0.5))","acot(2)"],seealso:["cot","atan"]}},function(t,e,n){"use strict";t.exports={name:"acoth",category:"Trigonometry",syntax:["acoth(x)"],description:"Calculate the hyperbolic arccotangent of a value, defined as `acoth(x) = (ln((x+1)/x) + ln(x/(x-1))) / 2`.",examples:["acoth(2)","acoth(0.5)"],seealso:["acsch","asech"]}},function(t,e,n){"use strict";t.exports={name:"acsc",category:"Trigonometry",syntax:["acsc(x)"],description:"Calculate the inverse cotangent of a value.",examples:["acsc(2)","acsc(csc(0.5))","acsc(0.5)"],seealso:["csc","asin","asec"]}},function(t,e,n){"use strict";t.exports={name:"acsch",category:"Trigonometry",syntax:["acsch(x)"],description:"Calculate the hyperbolic arccosecant of a value, defined as `acsch(x) = ln(1/x + sqrt(1/x^2 + 1))`.",examples:["acsch(0.5)"],seealso:["asech","acoth"]}},function(t,e,n){"use strict";t.exports={name:"asec",category:"Trigonometry",syntax:["asec(x)"],description:"Calculate the inverse secant of a value.",examples:["asec(0.5)","asec(sec(0.5))","asec(2)"],seealso:["acos","acot","acsc"]}},function(t,e,n){"use strict";t.exports={name:"asech",category:"Trigonometry",syntax:["asech(x)"],description:"Calculate the inverse secant of a value.",examples:["asech(0.5)"],seealso:["acsch","acoth"]}},function(t,e,n){"use strict";t.exports={name:"asin",category:"Trigonometry",syntax:["asin(x)"],description:"Compute the inverse sine of a value in radians.",examples:["asin(0.5)","asin(sin(0.5))"],seealso:["sin","acos","atan"]}},function(t,e,n){"use strict";t.exports={name:"asinh",category:"Trigonometry",syntax:["asinh(x)"],description:"Calculate the hyperbolic arcsine of a value, defined as `asinh(x) = ln(x + sqrt(x^2 + 1))`.",examples:["asinh(0.5)"],seealso:["acosh","atanh"]}},function(t,e,n){"use strict";t.exports={name:"atan",category:"Trigonometry",syntax:["atan(x)"],description:"Compute the inverse tangent of a value in radians.",examples:["atan(0.5)","atan(tan(0.5))"],seealso:["tan","acos","asin"]}},function(t,e,n){"use strict";t.exports={name:"atan2",category:"Trigonometry",syntax:["atan2(y, x)"],description:"Computes the principal value of the arc tangent of y/x in radians.",examples:["atan2(2, 2) / pi","angle = 60 deg in rad","x = cos(angle)","y = sin(angle)","atan2(y, x)"],seealso:["sin","cos","tan"]}},function(t,e,n){"use strict";t.exports={name:"atanh",category:"Trigonometry",syntax:["atanh(x)"],description:"Calculate the hyperbolic arctangent of a value, defined as `atanh(x) = ln((1 + x)/(1 - x)) / 2`.",examples:["atanh(0.5)"],seealso:["acosh","asinh"]}},function(t,e,n){"use strict";t.exports={name:"cos",category:"Trigonometry",syntax:["cos(x)"],description:"Compute the cosine of x in radians.",examples:["cos(2)","cos(pi / 4) ^ 2","cos(180 deg)","cos(60 deg)","sin(0.2)^2 + cos(0.2)^2"],seealso:["acos","sin","tan"]}},function(t,e,n){"use strict";t.exports={name:"cosh",category:"Trigonometry",syntax:["cosh(x)"],description:"Compute the hyperbolic cosine of x in radians.",examples:["cosh(0.5)"],seealso:["sinh","tanh","coth"]}},function(t,e,n){"use strict";t.exports={name:"cot",category:"Trigonometry",syntax:["cot(x)"],description:"Compute the cotangent of x in radians. Defined as 1/tan(x)",examples:["cot(2)","1 / tan(2)"],seealso:["sec","csc","tan"]}},function(t,e,n){"use strict";t.exports={name:"coth",category:"Trigonometry",syntax:["coth(x)"],description:"Compute the hyperbolic cotangent of x in radians.",examples:["coth(2)","1 / tanh(2)"],seealso:["sech","csch","tanh"]}},function(t,e,n){"use strict";t.exports={name:"csc",category:"Trigonometry",syntax:["csc(x)"],description:"Compute the cosecant of x in radians. Defined as 1/sin(x)",examples:["csc(2)","1 / sin(2)"],seealso:["sec","cot","sin"]}},function(t,e,n){"use strict";t.exports={name:"csch",category:"Trigonometry",syntax:["csch(x)"],description:"Compute the hyperbolic cosecant of x in radians. Defined as 1/sinh(x)",examples:["csch(2)","1 / sinh(2)"],seealso:["sech","coth","sinh"]}},function(t,e,n){"use strict";t.exports={name:"sec",category:"Trigonometry",syntax:["sec(x)"],description:"Compute the secant of x in radians. Defined as 1/cos(x)",examples:["sec(2)","1 / cos(2)"],seealso:["cot","csc","cos"]}},function(t,e,n){"use strict";t.exports={name:"sech",category:"Trigonometry",syntax:["sech(x)"],description:"Compute the hyperbolic secant of x in radians. Defined as 1/cosh(x)",examples:["sech(2)","1 / cosh(2)"],seealso:["coth","csch","cosh"]}},function(t,e,n){"use strict";t.exports={name:"sin",category:"Trigonometry",syntax:["sin(x)"],description:"Compute the sine of x in radians.",examples:["sin(2)","sin(pi / 4) ^ 2","sin(90 deg)","sin(30 deg)","sin(0.2)^2 + cos(0.2)^2"],seealso:["asin","cos","tan"]}},function(t,e,n){"use strict";t.exports={name:"sinh",category:"Trigonometry",syntax:["sinh(x)"],description:"Compute the hyperbolic sine of x in radians.",examples:["sinh(0.5)"],seealso:["cosh","tanh"]}},function(t,e,n){"use strict";t.exports={name:"tan",category:"Trigonometry",syntax:["tan(x)"],description:"Compute the tangent of x in radians.",examples:["tan(0.5)","sin(0.5) / cos(0.5)","tan(pi / 4)","tan(45 deg)"],seealso:["atan","sin","cos"]}},function(t,e,n){"use strict";t.exports={name:"tanh",category:"Trigonometry",syntax:["tanh(x)"],description:"Compute the hyperbolic tangent of x in radians.",examples:["tanh(0.5)","sinh(0.5) / cosh(0.5)"],seealso:["sinh","cosh"]}},function(t,e,n){"use strict";t.exports={name:"to",category:"Units",syntax:["x to unit","to(x, unit)"],description:"Change the unit of a value.",examples:["5 inch to cm","3.2kg to g","16 bytes in bits"],seealso:[]}},function(t,e,n){"use strict";t.exports={name:"clone",category:"Utils",syntax:["clone(x)"],description:"Clone a variable. Creates a copy of primitive variables,and a deep copy of matrices",examples:["clone(3.5)","clone(2 - 4i)","clone(45 deg)","clone([1, 2; 3, 4])",'clone("hello world")'],seealso:[]}},function(t,e,n){"use strict";t.exports={name:"format",category:"Utils",syntax:["format(value)","format(value, precision)"],description:"Format a value of any type as string.",examples:["format(2.3)","format(3 - 4i)","format([])","format(pi, 3)"],seealso:["print"]}},function(t,e,n){"use strict";t.exports={name:"hasNumericValue",category:"Utils",syntax:["hasNumericValue(x)"],description:"Test whether a value is an numeric value. In case of a string, true is returned if the string contains a numeric value.",examples:["hasNumericValue(2)",'hasNumericValue("2")','isNumeric("2")',"hasNumericValue(0)","hasNumericValue(bignumber(500))","hasNumericValue(fraction(0.125))","hasNumericValue(2 + 3i)",'hasNumericValue([2.3, "foo", false])'],seealso:["isInteger","isZero","isNegative","isPositive","isNaN","isNumeric"]}},function(t,e,n){"use strict";t.exports={name:"isInteger",category:"Utils",syntax:["isInteger(x)"],description:"Test whether a value is an integer number.",examples:["isInteger(2)","isInteger(3.5)","isInteger([3, 0.5, -2])"],seealso:["isNegative","isNumeric","isPositive","isZero"]}},function(t,e,n){"use strict";t.exports={name:"isNaN",category:"Utils",syntax:["isNaN(x)"],description:"Test whether a value is NaN (not a number)",examples:["isNaN(2)","isNaN(0 / 0)","isNaN(NaN)","isNaN(Infinity)"],seealso:["isNegative","isNumeric","isPositive","isZero"]}},function(t,e,n){"use strict";t.exports={name:"isNegative",category:"Utils",syntax:["isNegative(x)"],description:"Test whether a value is negative: smaller than zero.",examples:["isNegative(2)","isNegative(0)","isNegative(-4)","isNegative([3, 0.5, -2])"],seealso:["isInteger","isNumeric","isPositive","isZero"]}},function(t,e,n){"use strict";t.exports={name:"isNumeric",category:"Utils",syntax:["isNumeric(x)"],description:"Test whether a value is a numeric value. Returns true when the input is a number, BigNumber, Fraction, or boolean.",examples:["isNumeric(2)",'isNumeric("2")','hasNumericValue("2")',"isNumeric(0)","isNumeric(bignumber(500))","isNumeric(fraction(0.125))","isNumeric(2 + 3i)",'isNumeric([2.3, "foo", false])'],seealso:["isInteger","isZero","isNegative","isPositive","isNaN","hasNumericValue"]}},function(t,e,n){"use strict";t.exports={name:"isPositive",category:"Utils",syntax:["isPositive(x)"],description:"Test whether a value is positive: larger than zero.",examples:["isPositive(2)","isPositive(0)","isPositive(-4)","isPositive([3, 0.5, -2])"],seealso:["isInteger","isNumeric","isNegative","isZero"]}},function(t,e,n){"use strict";t.exports={name:"isPrime",category:"Utils",syntax:["isPrime(x)"],description:"Test whether a value is prime: has no divisors other than itself and one.",examples:["isPrime(3)","isPrime(-2)","isPrime([2, 17, 100])"],seealso:["isInteger","isNumeric","isNegative","isZero"]}},function(t,e,n){"use strict";t.exports={name:"isZero",category:"Utils",syntax:["isZero(x)"],description:"Test whether a value is zero.",examples:["isZero(2)","isZero(0)","isZero(-4)","isZero([3, 0, -2, 0])"],seealso:["isInteger","isNumeric","isNegative","isPositive"]}},function(t,e,n){"use strict";t.exports={name:"typeof",category:"Utils",syntax:["typeof(x)"],description:"Get the type of a variable.",examples:["typeof(3.5)","typeof(2 - 4i)","typeof(45 deg)",'typeof("hello world")'],seealso:["getMatrixDataType"]}},function(t,e,n){"use strict";function i(t,e,i,s){var o=i(n(174));return s("compile",{string:function(t){return o(t).compile()},"Array | Matrix":function(t){return r(t,function(t){return o(t).compile()})}})}var r=n(12);e.name="compile",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,s){var o=i(n(174));return s("compile",{string:function(t){var e={};return o(t).compile().eval(e)},"string, Object":function(t,e){return o(t).compile().eval(e)},"Array | Matrix":function(t){var e={};return r(t,function(t){return o(t).compile().eval(e)})},"Array | Matrix, Object":function(t,e){return r(t,function(t){return o(t).compile().eval(e)})}})}var r=n(12);e.name="eval",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,s,o){var a=i(n(643));return s("help",{any:function(e){var n,i=e;if("string"!=typeof e)for(n in o)if(o.hasOwnProperty(n)&&e===o[n]){i=n;break}var s=r(a,i);if(!s)throw new Error('No documentation found on "'+i+'"');return new t.Help(s)}})}var r=n(78).getSafeProperty;e.math=!0,e.name="help",e.factory=i},function(t,e,n){"use strict";t.exports=[n(1114),n(1115),n(1116),n(644),n(645)]},function(t,e,n){"use strict";t.exports=[n(643),n(1117),n(1120),n(1127),n(908),n(174),n(640)]},function(t,e,n){"use strict";function i(t,e,n,i){function r(){throw new Error("UpdateNode is deprecated. Use AssignmentNode instead.")}return r}e.name="UpdateNode",e.path="expression.node",e.factory=i},function(t,e,n){"use strict";t.exports=[n(647),n(648),n(649),n(650),n(651),n(233),n(653),n(652),n(304),n(84),n(654),n(234),n(305),n(655),n(656),n(199),n(1119)]},function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e,r,a){var _=r(n(107)),l=r(n(9));return function(t,e,n){try{if(Array.isArray(t))return l(t).subset(e,n).valueOf();if(t&&"function"==typeof t.subset)return t.subset(e,n);if("string"==typeof t)return _(t,e,n);if("object"===i(t)){if(!e.isObjectProperty())throw TypeError("Cannot apply a numeric index as object property");return o(t,e.getObjectProperty(),n),t}throw new TypeError("Cannot apply index: unsupported type of object")}catch(t){throw s(t)}}}var s=n(105).transform,o=n(78).setSafeProperty;e.factory=r},function(t,e,n){"use strict";function i(t,e,i,s){var o=i(n(403));return s("apply",{"...any":function(e){var n=e[1];t.isNumber(n)?e[1]=n-1:t.isBigNumber(n)&&(e[1]=n.minus(1));try{return o.apply(null,e)}catch(t){throw r(t)}}})}var r=n(105).transform;e.name="apply",e.path="expression.transform",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,s){var o=i(n(674));return s("column",{"...any":function(e){var n=e.length-1,i=e[n];t.isNumber(i)&&(e[n]=i-1);try{return o.apply(null,e)}catch(t){throw r(t)}}})}var r=n(105).transform;e.name="column",e.path="expression.transform",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,s){var o=i(n(308));return s("concat",{"...any":function(e){var n=e.length-1,i=e[n];t.isNumber(i)?e[n]=i-1:t.isBigNumber(i)&&(e[n]=i.minus(1));try{return o.apply(null,e)}catch(t){throw r(t)}}})}var r=n(105).transform;e.name="concat",e.path="expression.transform",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,s){function a(e,n,i){var r,s;return e[0]&&(r=e[0].compile().eval(i)),e[1]&&(s=t.isSymbolNode(e[1])||t.isFunctionAssignmentNode(e[1])?e[1].compile().eval(i):_(e[1],n,i)),h(r,s)}var _=i(n(397)),l=i(n(9));a.rawArgs=!0;var h=s("filter",{"Array, function":r,"Matrix, function":function(t,e){return l(r(t.toArray(),e))},"Array, RegExp":o,"Matrix, RegExp":function(t,e){return l(o(t.toArray(),e))}});return h.toTex=void 0,a}function r(t,e){var n=a(e);return s(t,function(t,i,r){return 1===n?e(t):2===n?e(t,[i+1]):e(t,[i+1],r)})}var s=n(16).filter,o=n(16).filterRegExp,a=n(159).maxArgumentCount;e.name="filter",e.path="expression.transform",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,o){function a(e,n,i){var r,s;return e[0]&&(r=e[0].compile().eval(i)),e[1]&&(s=t.isSymbolNode(e[1])||t.isFunctionAssignmentNode(e[1])?e[1].compile().eval(i):_(e[1],n,i)),l(r,s)}var _=i(n(397));a.rawArgs=!0;var l=o("forEach",{"Array | Matrix, function":function(t,e){var n=r(e),i=function i(r,o){Array.isArray(r)?s(r,function(t,e){i(t,o.concat(e+1))}):1===n?e(r):2===n?e(r,o):e(r,o,t)};i(t.valueOf(),[])}});return a}var r=n(159).maxArgumentCount,s=n(16).forEach;e.name="forEach",e.path="expression.transform",e.factory=i},function(t,e,n){"use strict";t.exports=[n(1122),n(1123),n(1124),n(1125),n(1126),n(1128),n(1129),n(1130),n(1131),n(1132),n(1133),n(1135),n(1134),n(1136),n(1137),n(1138)]},function(t,e,n){"use strict";function i(t,e,n){return function(){for(var e=[],n=0,i=arguments.length;n0?0:2;else if(r&&r.isSet===!0)r=r.map(function(t){return t-1});else if(t.isArray(r)||t.isMatrix(r))r=r.map(function(t){return t-1});else if(t.isNumber(r))r--;else if(t.isBigNumber(r))r=r.toNumber()-1;else if("string"!=typeof r)throw new TypeError("Dimension must be an Array, Matrix, number, string, or Range");e[n]=r}var s=new t.Index;return t.Index.apply(s,e),s}}e.name="index",e.path="expression.transform",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,s){function o(e,n,i){var r,s;return e[0]&&(r=e[0].compile().eval(i)),e[1]&&(s=t.isSymbolNode(e[1])||t.isFunctionAssignmentNode(e[1])?e[1].compile().eval(i):a(e[1],n,i)),l(r,s)}var a=i(n(397)),_=i(n(9));o.rawArgs=!0;var l=s("map",{"Array, function":function(t,e){return r(t,e,t)},"Matrix, function":function(t,e){return _(r(t.valueOf(),e,t))}});return o}function r(t,e,n){function i(t,s){return Array.isArray(t)?o(t,function(t,e){return i(t,s.concat(e+1))}):1===r?e(t):2===r?e(t,s):e(t,s,n)}var r=s(e);return i(t,[])}var s=n(159).maxArgumentCount,o=n(16).map;e.name="map",e.path="expression.transform",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,o){var a=i(n(408));return o("max",{"...any":function(e){if(2===e.length&&s(e[0])){var n=e[1];t.isNumber(n)?e[1]=n-1:t.isBigNumber(n)&&(e[1]=n.minus(1))}try{return a.apply(null,e)}catch(t){throw r(t)}}})}var r=n(105).transform,s=n(143);e.name="max",e.path="expression.transform",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,o){var a=i(n(685));return o("mean",{"...any":function(e){if(2===e.length&&s(e[0])){var n=e[1];t.isNumber(n)?e[1]=n-1:t.isBigNumber(n)&&(e[1]=n.minus(1))}try{return a.apply(null,e)}catch(t){throw r(t)}}})}var r=n(105).transform,s=n(143);e.name="mean",e.path="expression.transform",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,o){var a=i(n(687));return o("min",{"...any":function(e){if(2===e.length&&s(e[0])){var n=e[1];t.isNumber(n)?e[1]=n-1:t.isBigNumber(n)&&(e[1]=n.minus(1))}try{return a.apply(null,e)}catch(t){throw r(t)}}})}var r=n(105).transform,s=n(143);e.name="min",e.path="expression.transform",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,r){var s=i(n(310));return r("range",{"...any":function(t){var e=t.length-1,n=t[e];return"boolean"!=typeof n&&t.push(!0),s.apply(null,t)}})}e.name="range",e.path="expression.transform",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,s){var o=i(n(677));return s("row",{"...any":function(e){var n=e.length-1,i=e[n];t.isNumber(i)&&(e[n]=i-1);try{return o.apply(null,e)}catch(t){throw r(t)}}})}var r=n(105).transform;e.name="row",e.path="expression.transform",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,o){var a=i(n(688));return o("std",{"...any":function(e){if(e.length>=2&&s(e[0])){var n=e[1];t.isNumber(n)?e[1]=n-1:t.isBigNumber(n)&&(e[1]=n.minus(1))}try{return a.apply(null,e)}catch(t){throw r(t)}}})}var r=n(105).transform,s=n(143);e.name="std",e.path="expression.transform",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,s){var o=i(n(107));return s("subset",{"...any":function(t){try{return o.apply(null,t)}catch(t){throw r(t)}}})}var r=n(105).transform;e.name="subset",e.path="expression.transform",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,o){var a=i(n(409));return o("sum",{"...any":function(e){if(2===e.length&&s(e[0])){var n=e[1];t.isNumber(n)?e[1]=n-1:t.isBigNumber(n)&&(e[1]=n.minus(1))}try{return a.apply(null,e)}catch(t){throw r(t)}}})}var r=n(105).transform,s=n(143);e.name="sum",e.path="expression.transform",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,o){var a=i(n(410));return o("var",{"...any":function(e){if(e.length>=2&&s(e[0])){var n=e[1];t.isNumber(n)?e[1]=n-1:t.isBigNumber(n)&&(e[1]=n.minus(1))}try{return a.apply(null,e)}catch(t){throw r(t)}}})}var r=n(105).transform,s=n(143);e.name="var",e.path="expression.transform",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,r){function s(t){var e,n,i,r=t._size[0],s=t._size[1],o=l([r],"dense"),a=o._data,y=t.clone(),b=y._data,w=_([r],"");for(i=0;i0){for(var i=y(t,e.args[0],n),r=1;r0){var r=e.args.filter(function(t){return void 0===n[t]}),s=1===r.length?r[0]:new f("*","multiply",r),a=i.concat(b(s,n));return new f("*","multiply",a)}return new f("+","add",e.args.map(function(t){return new f("*","multiply",e.args.map(function(e){return e===t?b(e,n):e.clone()}))}))}if("/"===e.op&&e.isBinary()){var _=e.args[0],c=e.args[1];return void 0!==n[c]?new f("/","divide",[b(_,n),c]):void 0!==n[_]?new f("*","multiply",[new f("-","unaryMinus",[_]),new f("/","divide",[b(c,n),new f("^","pow",[c.clone(),o(2)])])]):new f("/","divide",[new f("-","subtract",[new f("*","multiply",[b(_,n),c.clone()]),new f("*","multiply",[_.clone(),b(c,n)])]),new f("^","pow",[c.clone(),o(2)])])}if("^"===e.op&&e.isBinary()){var u=e.args[0],p=e.args[1];if(void 0!==n[u])return t.isConstantNode(u)&&(h(u.value)||l(u.value,1))?o(0):new f("*","multiply",[e,new f("*","multiply",[new d("log",[u.clone()]),b(p.clone(),n)])]);if(void 0!==n[p]){if(t.isConstantNode(p)){if(h(p.value))return o(0);if(l(p.value,1))return b(u,n)}var m=new f("^","pow",[u.clone(),new f("-","subtract",[p,o(1)])]);return new f("*","multiply",[p.clone(),new f("*","multiply",[b(u,n),m])])}return new f("*","multiply",[new f("^","pow",[u.clone(),p.clone()]),new f("+","add",[new f("*","multiply",[b(u,n),new f("/","divide",[p.clone(),u.clone()])]),new f("*","multiply",[b(p,n),new d("log",[u.clone()])])])])}throw new Error('Operator "'+e.op+'" is not supported by derivative, or a wrong number of arguments is passed')}});return v}e.name="derivative",e.factory=i},function(t,e,n){"use strict";t.exports=[n(1140),n(399),n(1142),n(1139),n(398),n(658),n(662),n(1144),n(663)]},function(t,e,n){"use strict";function i(t,e,i,r){function s(t,e,n,i){function r(t){var e=t.type;if("FunctionNode"===e)throw new Error("There is an unsolved function call");if("OperatorNode"===e)if("^"===t.op){if("unaryMinus"===t.args[1].fn&&(t=t.args[0]),"ConstantNode"!==t.args[1].type||!p.isInteger(parseFloat(t.args[1].value)))throw new Error("There is a non-integer exponent");r(t.args[0])}else{if(a.indexOf(t.op)===-1)throw new Error("Operator "+t.op+" invalid in polynomial expression");for(var n=0;n1;if("OperatorNode"===i&&t.isBinary()){var s,o=!1;if("^"===t.op&&("ParenthesisNode"!==t.args[0].type&&"OperatorNode"!==t.args[0].type||"ConstantNode"!==t.args[1].type||(s=parseFloat(t.args[1].value),o=s>=2&&p.isInteger(s))),o){if(s>2){var _=t.args[0],l=new f("^","pow",[t.args[0].cloneDeep(),new d(s-1)]);t=new f("*","multiply",[_,l])}else t=new f("*","multiply",[t.args[0],t.args[0].cloneDeep()]);r&&("content"===n?e.content=t:e.args[n]=t)}}if("ParenthesisNode"===i)a(t.content,t,"content");else if("ConstantNode"!==i&&"SymbolNode"!==i)for(var h=0;hr&&(e[l]=0),e[l]+=o.cte*("+"===o.oper?1:-1),void(r=Math.max(l,r))}o.cte=l,""===o.fire&&(e[0]+=o.cte*("+"===o.oper?1:-1))}}void 0===e&&(e=[]),e[0]=0;var i={};i.cte=1,i.oper="+",i.fire="";var r=0,s="";n(t,null,i),r=e.length-1;for(var o,a=!0,_=r;_>=0;_--)if(0!==e[_]){var l=new d(a?e[_]:Math.abs(e[_])),h=e[_]<0?"-":"+";if(_>0){var c=new m(s);if(_>1){var u=new d(_);c=new f("^","pow",[c,u])}l=e[_]===-1&&a?new f("-","unaryMinus",[c]):1===Math.abs(e[_])?c:new f("*","multiply",[l,c])}o=a?l:"+"===h?new f("+","add",[o,l]):new f("-","subtract",[o,l]),a=!1}return a?new d(0):o}var l=i(n(399)),h=i(n(660)),c=i(n(659)),u=i(n(644)),p=n(19),d=i(n(233)),f=i(n(234)),m=i(n(199)),g=r("rationalize",{string:function(t){return g(u(t),{},!1)},"string, boolean":function(t,e){return g(u(t),{},e)},"string, Object":function(t,e){return g(u(t),e,!1)},"string, Object, boolean":function(t,e,n){return g(u(t),e,n)},Node:function(t){return g(t,{},!1)},"Node, boolean":function(t,e){return g(t,{},e)},"Node, Object":function(t,e){return g(t,e,!1)},"Node, Object, boolean":function(t,e,n){var i=o(),r=s(t,e,!0,i.firstRules),h=r.variables.length;if(t=r.expression,h>=1){t=a(t);var c,u,p=!0,d=!1;t=l(t,i.firstRules,{},{exactFractions:!1});for(var f;;){if(u=p?i.distrDivRules:i.sucDivRules,t=l(t,u),p=!p,f=t.toString(),f===c)break;d=!0,c=f}d&&(t=l(t,i.firstRulesAgain,{},{exactFractions:!1})),t=l(t,i.finalRules,{},{exactFractions:!1})}var m=[],g={};return"OperatorNode"===t.type&&t.isBinary()&&"/"===t.op?(1===h&&(t.args[0]=_(t.args[0],m),t.args[1]=_(t.args[1])),n&&(g.numerator=t.args[0],g.denominator=t.args[1])):(1===h&&(t=_(t,m)),n&&(g.numerator=t,g.denominator=null)),n?(g.coefficients=m,g.variables=r.variables,g.expression=t,g):t}});return g}e.name="rationalize",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i,r){function s(e,n){if(!n)return e;if(t.isSymbolNode(e)){var i=n[e.name];if(i instanceof o)return s(i,n);if("number"==typeof i)return r.parse(String(i))}else{if(t.isOperatorNode(e)){var h=e.args.map(function(t){return s(t,n)});return new a(e.op,e.fn,h,e.implicit)}if(t.isParenthesisNode(e))return new l(s(e.content,n));if(t.isFunctionNode(e)){var c=e.args.map(function(t){return s(t,n)});return new _(e.name,c)}}return e}var o=r.expression.node.Node,a=r.expression.node.OperatorNode,_=r.expression.node.FunctionNode,l=r.expression.node.ParenthesisNode;return s}e.math=!0,e.name="resolve",e.path="algebra.simplify",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,s){function o(t,e,n,i,r){t=f(t),e=f(e),r=c(t,r,!1),n&&(r._data=h(n,r._data));var s=p(t,r),o=u(e,s);return i&&(o._data=h(i,o._data)),o}var a=i(n(9)),_=i(n(398)),l=i(n(658)),h=i(n(1150)),c=i(n(400)),u=i(n(663)),p=i(n(662)),d=s("lusolve",{"Array, Array | Matrix":function(t,e){t=a(t);var n=_(t),i=o(n.L,n.U,n.p,null,e);return i.valueOf()},"DenseMatrix, Array | Matrix":function(t,e){var n=_(t);return o(n.L,n.U,n.p,null,e)},"SparseMatrix, Array | Matrix":function(t,e){var n=_(t);return o(n.L,n.U,n.p,null,e)},"SparseMatrix, Array | Matrix, number, number":function(t,e,n,i){var r=l(t,n,i);return o(r.L,r.U,r.p,r.q,e)},"Object, Array | Matrix":function(t,e){return o(t.L,t.U,t.p,t.q,e)}}),f=function(e){if(t.isMatrix(e))return e;if(r(e))return a(e);throw new TypeError("Invalid Matrix LU decomposition")};return d}var r=Array.isArray;e.name="lusolve",e.factory=i},function(t,e,n){"use strict";function i(t,e,i){function r(t,e,n,i,r){var s=d(e);if(1===t&&i===n)return u(e,s);if(2===t){for(var o=s._index,a=s._ptr,_=0,l=0;lr))for(var c=a[l+1];ho)n[a+p]=0,n[r+p]=-1,u++,e[p]=l(t),n[a+t]++;else{var f=n[_+d];f!==-1&&(h[f]=p),n[c+p]=n[_+d],n[_+d]=p}}return u}function a(t,e,n,i,r){if(t<2||t+e<0){for(var s=0;s3)return null;var n=e._size,i=n[0],u=n[1],p=0,d=Math.max(16,10*Math.sqrt(u));d=Math.min(u-2,d);var f=r(t,e,i,u,d);h(f,_,null);for(var m,g,v,x,y,b,w,C,E,T,A,I,S,O,k,N,P=f._index,R=f._ptr,D=R[u],j=[],M=[],L=0,B=u+1,F=2*(u+1),q=3*(u+1),V=4*(u+1),H=5*(u+1),U=6*(u+1),z=7*(u+1),G=j,W=s(u,R,M,L,q,G,F,z,B,U,V,H),Y=o(u,R,M,H,V,U,d,B,q,G,F),$=0;YX?(b=v,w=Z,C=M[L+v]-X):(b=P[Z++],w=R[b],C=M[L+b]),y=1;y<=C;y++)m=P[w++],(E=M[B+m])<=0||(Q+=E,M[B+m]=-E,P[tt++]=m,M[F+m]!==-1&&(G[M[F+m]]=G[m]),G[m]!==-1?M[F+G[m]]=M[F+m]:M[q+M[H+m]]=M[F+m]);b!==v&&(R[b]=l(v),M[U+b]=0)}for(0!==X&&(D=tt),M[H+v]=Q,R[v]=K,M[L+v]=tt-K,M[V+v]=-2,W=a(W,p,M,U,u),T=K;T=W?M[U+b]-=E:0!==M[U+b]&&(M[U+b]=M[H+b]+et)}for(T=K;T0?(N+=nt,P[O++]=b,k+=b):(R[b]=l(v),M[U+b]=0)}M[V+m]=O-I+1;var it=O,rt=I+M[L+m];for(Z=S+1;Z=0))for(k=G[m],m=M[z+k],M[z+k]=-1;m!==-1&&M[F+m]!==-1;m=M[F+m],W++){for(C=M[L+m],A=M[V+m],Z=R[m]+1;Z<=R[m]+C-1;Z++)M[U+P[Z]]=W;var ot=m;for(g=M[F+m];g!==-1;){var at=M[L+g]===C&&M[V+g]===A;for(Z=R[g]+1;at&&Z<=R[g]+C-1;Z++)M[U+P[Z]]!==W&&(at=0);at?(R[g]=l(m),M[B+m]+=M[B+g],M[B+g]=0,M[V+g]=-1,g=M[F+g],M[F+ot]=g):(ot=g,g=M[F+g])}}for(Z=K,T=K;T=0;g--)M[B+g]>0||(M[F+g]=M[q+R[g]],M[q+R[g]]=g);for(b=u;b>=0;b--)M[B+b]<=0||R[b]!==-1&&(M[F+b]=M[q+R[b]],M[q+R[b]]=b);for(v=0,m=0;m<=u;m++)R[m]===-1&&(v=c(m,v,M,q,F,j,U));return j.splice(j.length-1,1),j};return f}e.name="csAmd",e.path="algebra.sparse",e.factory=i},function(t,e,n){"use strict";function i(t,e,i){var r=i(n(311)),s=i(n(1151)),o=function(t,e,n,i){if(!t||!e||!n)return null;var o,a,_,l,h,c,u,p=t._size,d=p[0],f=p[1],m=4*f+(i?f+d+1:0),g=[],v=0,x=f,y=2*f,b=3*f,w=4*f,C=5*f+1;for(_=0;_=1&&E[a]++,2===S.jleaf&&E[S.q]--}e[a]!==-1&&(g[v+a]=e[a])}for(a=0;a=0;){t=i[f];var m=a?a[t]:t;r(u,t)||(s(u,t),i[d+f]=m<0?0:o(u[m]));var g=1;for(l=i[d+f],h=m<0?0:o(u[m+1]);l=0;n--)t[n]!==-1&&(o[_+n]=o[a+t[n]],o[a+t[n]]=n);for(n=0;n=0;_--)for(h=n[_],c=n[_+1],l=h;l=0;a--)p[a]=-1,_=d[a],_!==-1&&(0===f[x+_]++&&(f[v+_]=a),f[m+a]=f[g+_],f[g+_]=a);for(e.lnz=0,e.m2=s,_=0;_=2e-4||t<=-2e-4?Math.exp(t)-1:t+t*t/2+t*t*t/6}var a=n(26),_=s("expm1",{number:Math.expm1||o,Complex:function(e){var n=Math.exp(e.re);return new t.Complex(n*Math.cos(e.im)-1,n*Math.sin(e.im))},BigNumber:function(t){return t.exp().minus(1)},"Array | Matrix":function(t){return r(t,_)}});return _.toTex="\\left(e".concat(a.operators.pow,"{${args[0]}}-1\\right)"),_}var r=n(12);e.name="expm1",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,s){function o(e,n){if(!e.isInt()||!n.isInt())throw new Error("Parameters in function gcd must be integer numbers");for(var i=new t.BigNumber(0);!n.isZero();){var r=e.mod(n);e=n,n=r}return e.lt(i)?e.neg():e}var a=i(n(9)),_=i(n(158)),l=i(n(414)),h=i(n(179)),c=i(n(50)),u=i(n(40)),p=s("gcd",{"number, number":r,"BigNumber, BigNumber":o,"Fraction, Fraction":function(t,e){return t.gcd(e)},"SparseMatrix, SparseMatrix":function(t,e){return l(t,e,p)},"SparseMatrix, DenseMatrix":function(t,e){return _(e,t,p,!0)},"DenseMatrix, SparseMatrix":function(t,e){return _(t,e,p,!1)},"DenseMatrix, DenseMatrix":function(t,e){return c(t,e,p)},"Array, Array":function(t,e){return p(a(t),a(e)).valueOf()},"Array, Matrix":function(t,e){return p(a(t),e)},"Matrix, Array":function(t,e){return p(t,a(e))},"SparseMatrix, number | BigNumber":function(t,e){return h(t,e,p,!1)},"DenseMatrix, number | BigNumber":function(t,e){return u(t,e,p,!1)},"number | BigNumber, SparseMatrix":function(t,e){return h(e,t,p,!0)},"number | BigNumber, DenseMatrix":function(t,e){return u(e,t,p,!0)},"Array, number | BigNumber":function(t,e){return u(a(t),e,p,!1).valueOf()},"number | BigNumber, Array":function(t,e){return u(a(e),t,p,!0).valueOf()},"Array | Matrix | number | BigNumber, Array | Matrix | number | BigNumber, ...Array | Matrix | number | BigNumber":function(t,e,n){for(var i=p(t,e),r=0;r=0||e.predictable?s(n):new t.Complex(n,0).log().div(Math.LN10)},Complex:function(e){return new t.Complex(e).log().div(Math.LN10)},BigNumber:function(n){return!n.isNegative()||e.predictable?n.log():new t.Complex(n.toNumber(),0).log().div(Math.LN10)},"Array | Matrix":function(t){return r(t,o)}});return o.toTex={1:"\\log_{10}\\left(${args[0]}\\right)"},o}var r=n(12),s=Math.log10||function(t){return Math.log(t)/Math.LN10};e.name="log10",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,s){function o(n){return n>=-1||e.predictable?Math.log1p?Math.log1p(n):Math.log(n+1):a(new t.Complex(n,0))}function a(e){var n=e.re+1;return new t.Complex(Math.log(Math.sqrt(n*n+e.im*e.im)),Math.atan2(e.im,n))}var _=i(n(77)),l=i(n(402)),h=s("log1p",{number:o,Complex:a,BigNumber:function(n){var i=n.plus(1);return!i.isNegative()||e.predictable?i.ln():a(new t.Complex(n.toNumber(),0))},"Array | Matrix":function(t){return r(t,h)},"any, any":function(t,e){return _(h(t),l(e))}});return h.toTex={1:"\\ln\\left(${args[0]}+1\\right)",2:"\\log_{${args[1]}}\\left(${args[0]}+1\\right)"},h}var r=n(12);e.name="log1p",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){function s(e){var n=Math.sqrt(e.re*e.re+e.im*e.im);return new t.Complex(Math.log2?Math.log2(n):Math.log(n)/Math.LN2,Math.atan2(e.im,e.re)/Math.LN2)}var o=i("log2",{number:function(n){return n>=0||e.predictable?Math.log2?Math.log2(n):Math.log(n)/Math.LN2:s(new t.Complex(n,0))},Complex:s,BigNumber:function(n){return!n.isNegative()||e.predictable?n.log(2):s(new t.Complex(n.toNumber(),0))},"Array | Matrix":function(t){return r(t,o)}});return o.toTex="\\log_{2}\\left(${args[0]}\\right)",o}var r=n(12);e.name="log2",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,r){function s(t,e){if(e>0)return t-e*Math.floor(t/e);if(0===e)return t;throw new Error("Cannot calculate mod for a negative divisor")}var o=i(n(9)),a=n(26),_=i(n(126)),l=i(n(92)),h=i(n(316)),c=i(n(93)),u=i(n(94)),p=i(n(50)),d=i(n(40)),f=r("mod",{"number, number":s,"BigNumber, BigNumber":function(t,e){return e.isZero()?t:t.mod(e)},"Fraction, Fraction":function(t,e){return t.mod(e)},"SparseMatrix, SparseMatrix":function(t,e){return h(t,e,f,!1)},"SparseMatrix, DenseMatrix":function(t,e){return _(e,t,f,!0)},"DenseMatrix, SparseMatrix":function(t,e){return l(t,e,f,!1)},"DenseMatrix, DenseMatrix":function(t,e){return p(t,e,f)},"Array, Array":function(t,e){return f(o(t),o(e)).valueOf()},"Array, Matrix":function(t,e){return f(o(t),e)},"Matrix, Array":function(t,e){return f(t,o(e))},"SparseMatrix, any":function(t,e){return c(t,e,f,!1)},"DenseMatrix, any":function(t,e){return d(t,e,f,!1)},"any, SparseMatrix":function(t,e){return u(e,t,f,!0)},"any, DenseMatrix":function(t,e){return d(e,t,f,!0)},"Array, any":function(t,e){return d(o(t),e,f,!1).valueOf()},"any, Array":function(t,e){return d(o(e),t,f,!0).valueOf()}});return f.toTex={2:"\\left(${args[0]}".concat(a.operators.mod,"${args[1]}\\right)")},f}e.name="mod",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,r){function s(t,e){var n=t.size();if(1===n.length){if(e===Number.POSITIVE_INFINITY||"inf"===e){var i=0;return t.forEach(function(t){var e=o(t);p(e,i)&&(i=e)},!0),i}if(e===Number.NEGATIVE_INFINITY||"-inf"===e){var r;return t.forEach(function(t){var e=o(t);r&&!d(e,r)||(r=e)},!0),r||0}if("fro"===e)return s(t,2);if("number"==typeof e&&!isNaN(e)){if(!u(e,0)){var f=0;return t.forEach(function(t){f=a(_(o(t),e),f)},!0),_(f,1/e)}return Number.POSITIVE_INFINITY}throw new Error("Unsupported parameter value")}if(2===n.length){if(1===e){var m=[],g=0;return t.forEach(function(t,e){var n=e[1],i=a(m[n]||0,o(t));p(i,g)&&(g=i),m[n]=i},!0),g}if(e===Number.POSITIVE_INFINITY||"inf"===e){var v=[],x=0;return t.forEach(function(t,e){var n=e[0],i=a(v[n]||0,o(t));p(i,x)&&(x=i),v[n]=i},!0),x}if("fro"===e){var y=0;return t.forEach(function(t,e){y=a(y,c(t,l(t)))}),o(h(y))}if(2===e)throw new Error("Unsupported parameter value, missing implementation of matrix singular value decomposition");throw new Error("Unsupported parameter value")}}var o=i(n(115)),a=i(n(85)),_=i(n(176)),l=i(n(307)),h=i(n(177)),c=i(n(68)),u=i(n(72)),p=i(n(140)),d=i(n(156)),f=i(n(9)),m=r("norm",{number:Math.abs,Complex:function(t){return t.abs()},BigNumber:function(t){return t.abs()},boolean:function(t){return Math.abs(t)},Array:function(t){return s(f(t),2)},Matrix:function(t){return s(t,2)},"number | Complex | BigNumber | boolean, number | BigNumber | string":function(t){return m(t)},"Array, number | BigNumber | string":function(t,e){return s(f(t),e)},"Matrix, number | BigNumber | string":function(t,e){return s(t,e)}});return m.toTex={1:"\\left\\|${args[0]}\\right\\|",2:void 0},m}e.name="norm",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,s){function o(e,n){var i=t.BigNumber.precision,r=t.BigNumber.clone({precision:i+2}),s=new t.BigNumber(0),o=new r(1),a=n.isNegative();if(a&&(n=n.neg()),n.isZero())throw new Error("Root must be non-zero");if(e.isNegative()&&!n.abs().mod(2).equals(1))throw new Error("Root must be odd when a is negative.");if(e.isZero())return a?new r(1/0):0;if(!e.isFinite())return a?s:e;var _=e.abs().pow(o.div(n));return _=e.isNeg()?_.neg():_,new t.BigNumber((a?o.div(_):_).toPrecision(i))}var a=i(n(9)),_=i(n(158)),l=i(n(126)),h=i(n(317)),c=i(n(93)),u=i(n(50)),p=i(n(40)),d="Complex number not supported in function nthRoot. Use nthRoots instead.",f=s("nthRoot",{number:function(t){return r(t,2)},"number, number":r,BigNumber:function(e){return o(e,new t.BigNumber(2))},Complex:function(t){throw new Error(d)},"Complex, number":function(t,e){throw new Error(d)},"BigNumber, BigNumber":o,"Array | Matrix":function(t){return f(t,2)},"SparseMatrix, SparseMatrix":function(t,e){if(1===e.density())return h(t,e,f);throw new Error("Root must be non-zero")},"SparseMatrix, DenseMatrix":function(t,e){return l(e,t,f,!0)},"DenseMatrix, SparseMatrix":function(t,e){if(1===e.density())return _(t,e,f,!1);throw new Error("Root must be non-zero")},"DenseMatrix, DenseMatrix":function(t,e){return u(t,e,f)},"Array, Array":function(t,e){return f(a(t),a(e)).valueOf()},"Array, Matrix":function(t,e){return f(a(t),e)},"Matrix, Array":function(t,e){return f(t,a(e))},"SparseMatrix, number | BigNumber":function(t,e){return c(t,e,f,!1)},"DenseMatrix, number | BigNumber":function(t,e){return p(t,e,f,!1)},"number | BigNumber, SparseMatrix":function(t,e){if(1===e.density())return c(e,t,f,!0);throw new Error("Root must be non-zero")},"number | BigNumber, DenseMatrix":function(t,e){return p(e,t,f,!0)},"Array, number | BigNumber":function(t,e){return f(a(t),e).valueOf()},"number | BigNumber, Array":function(t,e){return f(t,a(e)).valueOf()}});return f.toTex={2:"\\sqrt[${args[1]}]{${args[0]}}"},f}function r(t,e){var n=e<0;if(n&&(e=-e),0===e)throw new Error("Root must be non-zero");if(t<0&&Math.abs(e)%2!==1)throw new Error("Root must be odd when a is negative.");if(0===t)return n?1/0:0;if(!isFinite(t))return n?0:t;var i=Math.pow(Math.abs(t),1/e);return i=t<0?-i:i,n?1/i:i}e.name="nthRoot",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("nthRoots",{Complex:function(t){return r(t,2)},"Complex, number":r});return s.toTex={2:"\\{y : $y^{args[1]} = {${args[0]}}\\}"},s}function r(t,e){if(e<0)throw new Error("Root must be greater than zero");if(0===e)throw new Error("Root must be non-zero");if(e%1!==0)throw new Error("Root must be an integer");if(0===t||0===t.abs())return[a(0)];var n,i="number"==typeof t;(i||0===t.re||0===t.im)&&(n=i?2*+(t<0):0===t.im?2*+(t.re<0):2*+(t.im<0)+1);for(var r=t.arg(),s=t.abs(),o=[],l=Math.pow(s,1/e),h=0;h>e},"BigNumber, BigNumber":s,"SparseMatrix, SparseMatrix":function(t,e){return p(t,e,v,!1)},"SparseMatrix, DenseMatrix":function(t,e){return u(e,t,v,!0)},"DenseMatrix, SparseMatrix":function(t,e){return c(t,e,v,!1)},"DenseMatrix, DenseMatrix":function(t,e){return m(t,e,v)},"Array, Array":function(t,e){return v(_(t),_(e)).valueOf()},"Array, Matrix":function(t,e){return v(_(t),e)},"Matrix, Array":function(t,e){return v(t,_(e))},"SparseMatrix, number | BigNumber":function(t,e){return l(e,0)?t.clone():f(t,e,v,!1)},"DenseMatrix, number | BigNumber":function(t,e){return l(e,0)?t.clone():g(t,e,v,!1)},"number | BigNumber, SparseMatrix":function(t,e){return l(t,0)?h(e.size(),e.storage()):d(e,t,v,!0)},"number | BigNumber, DenseMatrix":function(t,e){return l(t,0)?h(e.size(),e.storage()):g(e,t,v,!0)},"Array, number | BigNumber":function(t,e){return v(_(t),e).valueOf()},"number | BigNumber, Array":function(t,e){return v(t,_(e)).valueOf()}});return v.toTex={2:"\\left(${args[0]}".concat(a.operators.rightArithShift,"${args[1]}\\right)")},v}var r=n(19).isInteger,s=n(1317);e.name="rightArithShift",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,s){var o=n(26),a=i(n(9)),_=i(n(72)),l=i(n(178)),h=i(n(158)),c=i(n(126)),u=i(n(415)),p=i(n(179)),d=i(n(93)),f=i(n(50)),m=i(n(40)),g=s("rightLogShift",{"number, number":function(t,e){if(!r(t)||!r(e))throw new Error("Integers expected in function rightLogShift");return t>>>e},"SparseMatrix, SparseMatrix":function(t,e){return u(t,e,g,!1)},"SparseMatrix, DenseMatrix":function(t,e){return c(e,t,g,!0)},"DenseMatrix, SparseMatrix":function(t,e){return h(t,e,g,!1)},"DenseMatrix, DenseMatrix":function(t,e){return f(t,e,g)},"Array, Array":function(t,e){return g(a(t),a(e)).valueOf()},"Array, Matrix":function(t,e){return g(a(t),e)},"Matrix, Array":function(t,e){return g(t,a(e))},"SparseMatrix, number | BigNumber":function(t,e){return _(e,0)?t.clone():d(t,e,g,!1)},"DenseMatrix, number | BigNumber":function(t,e){return _(e,0)?t.clone():m(t,e,g,!1)},"number | BigNumber, SparseMatrix":function(t,e){return _(t,0)?l(e.size(),e.storage()):p(e,t,g,!0)},"number | BigNumber, DenseMatrix":function(t,e){return _(t,0)?l(e.size(),e.storage()):m(e,t,g,!0)},"Array, number | BigNumber":function(t,e){return g(a(t),e).valueOf()},"number | BigNumber, Array":function(t,e){return g(t,a(e)).valueOf()}});return g.toTex={2:"\\left(${args[0]}".concat(o.operators.rightLogShift,"${args[1]}\\right)")},g}var r=n(19).isInteger;e.name="rightLogShift",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,r){var s=i(n(85)),o=i(n(672)),a=i(n(235)),_=i(n(141)),l=r("bellNumbers",{"number | BigNumber":function(t){if(!_(t)||a(t))throw new TypeError("Non-negative integer value expected in function bellNumbers");for(var e=0,n=0;n<=t;n++)e=s(e,o(t,n));return e}});return l.toTex={1:"\\mathrm{B}_{${args[0]}}"},l}e.name="bellNumbers",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,r){var s=i(n(85)),o=i(n(175)),a=i(n(68)),_=i(n(312)),l=i(n(235)),h=i(n(141)),c=r("catalan",{"number | BigNumber":function(t){if(!h(t)||l(t))throw new TypeError("Non-negative integer value expected in function catalan");return o(_(a(t,2),t),s(t,1))}});return c.toTex={1:"\\mathrm{C}_{${args[0]}}"},c}e.name="catalan",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,r){var s=i(n(312)),o=i(n(91)),a=i(n(315)),_=i(n(141)),l=i(n(140)),h=r("composition",{"number | BigNumber, number | BigNumber":function(t,e){if(!(_(t)&&a(t)&&_(e)&&a(e)))throw new TypeError("Positive integer value expected in function composition");if(l(e,t))throw new TypeError("k must be less than or equal to n in function composition");return s(o(t,-1),o(e,-1))}});return h.toTex=void 0,h}e.name="composition",e.factory=i},function(t,e,n){"use strict";t.exports=[n(1187),n(1189),n(672),n(1188)]},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("arg",{number:function(t){return Math.atan2(0,t)},BigNumber:function(e){return t.BigNumber.atan2(0,e)},Complex:function(t){return t.arg()},"Array | Matrix":function(t){return r(t,s)}});return s.toTex={1:"\\arg\\left(${args[0]}\\right)"},s}var r=n(12);e.name="arg",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("im",{number:function(t){return 0},BigNumber:function(e){return new t.BigNumber(0)},Complex:function(t){return t.im},"Array | Matrix":function(t){return r(t,s)}});return s.toTex={1:"\\Im\\left\\lbrace${args[0]}\\right\\rbrace"},s}var r=n(12);e.name="im",e.factory=i},function(t,e,n){"use strict";t.exports=[n(1191),n(307),n(1192),n(1194)]},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("re",{number:function(t){return t},BigNumber:function(t){return t},Complex:function(t){return t.re},"Array | Matrix":function(t){return r(t,s)}});return s.toTex={1:"\\Re\\left\\lbrace${args[0]}\\right\\rbrace"},s}var r=n(12);e.name="re",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,r){function s(e){return"number"==typeof e||t.isBigNumber(e)}function o(t){return t.constructor!==Array&&(t=l(t)),s(t[0])&&s(t[1])}function a(t){return t.constructor!==Array&&(t=l(t)),s(t[0])&&s(t[1])&&s(t[2])}function _(t){return t.constructor!==Array&&(t=l(t)),s(t[0])&&s(t[1])&&s(t[2])&&s(t[3])&&s(t[4])&&s(t[5])}function l(t){for(var e=Object.keys(t),n=[],i=0;i1?[o]:o}var a=i(n(9)),_=i(n(86)),l=i(n(68)),h=s("cross",{"Matrix, Matrix":function(t,e){return a(o(t.toArray(),e.toArray()))},"Matrix, Array":function(t,e){return a(o(t.toArray(),e))},"Array, Matrix":function(t,e){return a(o(t,e.toArray()))},"Array, Array":o});return h.toTex={2:"\\left(${args[0]}\\right)\\times\\left(${args[1]}\\right)"},h}var r=n(16);e.name="cross",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,r){var s=i(n(311)),o=i(n(307)),a=n(26),_=r("ctranspose",{any:function(t){return o(s(t))}});return _.toTex={1:"\\left(${args[0]}\\right)".concat(a.operators.ctranspose)},_}e.name="ctranspose",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,o){function a(t,e,n,i){if(!s(e))throw new TypeError("Second parameter in function diag must be an integer");var r=e>0?e:0,o=e<0?-e:0;switch(n.length){case 1:return _(t,e,i,n[0],o,r);case 2:return l(t,e,i,n,o,r)}throw new RangeError("Matrix for function diag must be 2 dimensional")}function _(e,n,i,r,s,o){var a=[r+s,r+o],_=t.Matrix.storage(i||"dense"),l=_.diagonal(a,e,n);return null!==i?l:l.valueOf()}function l(e,n,i,r,s,o){if(t.isMatrix(e)){var a=e.diagonal(n);return null!==i?i!==a.storage()?h(a,i):a:a.valueOf()}for(var _=Math.min(r[0]-s,r[1]-o),l=[],c=0;c<_;c++)l[c]=e[c+s][c+o];return null!==i?h(l):l}var h=i(n(9)),c=o("diag",{Array:function(t){return a(t,0,r.size(t),null)},"Array, number":function(t,e){return a(t,e,r.size(t),null)},"Array, BigNumber":function(t,e){return a(t,e.toNumber(),r.size(t),null)},"Array, string":function(t,e){return a(t,0,r.size(t),e)},"Array, number, string":function(t,e,n){return a(t,e,r.size(t),n)},"Array, BigNumber, string":function(t,e,n){return a(t,e.toNumber(),r.size(t),n)},Matrix:function(t){return a(t,0,t.size(),t.storage())},"Matrix, number":function(t,e){return a(t,e,t.size(),t.storage())},"Matrix, BigNumber":function(t,e){return a(t,e.toNumber(),t.size(),t.storage())},"Matrix, string":function(t,e){return a(t,0,t.size(),e)},"Matrix, number, string":function(t,e,n){return a(t,e,t.size(),n)},"Matrix, BigNumber, string":function(t,e,n){return a(t,e.toNumber(),t.size(),n)}});return c.toTex=void 0,c}var r=n(16),s=n(19).isInteger;e.name="diag",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,s){function o(t,e){var n=r(t),i=r(e),s=n[0];if(1!==n.length||1!==i.length)throw new RangeError("Vector expected");if(n[0]!==i[0])throw new RangeError("Vectors must have equal length ("+n[0]+" != "+i[0]+")");if(0===s)throw new RangeError("Cannot calculate the dot product of empty vectors");for(var o=0,l=0;l1&&(b=p(b,g),w=-w),y=y*(f-C+1)/((2*f-C+1)*C),v=h(v,p(y,b)),x=h(x,p(y*w,b));for(var E=p(u(x),v),T=0;T2||r(e).length>2)throw new RangeError("Vectors with dimensions greater then 2 are not supported expected (Size x = "+JSON.stringify(t.length)+", y = "+JSON.stringify(e.length)+")");var n=[],i=[];return t.map(function(t){return e.map(function(e){return i=[],n.push(i),t.map(function(t){return e.map(function(e){return i.push(_(t,e))})})})})&&n}var a=i(n(9)),_=i(n(106)),l=s("kron",{"Matrix, Matrix":function(t,e){return a(o(t.toArray(),e.toArray()))},"Matrix, Array":function(t,e){return a(o(t.toArray(),e))},"Array, Matrix":function(t,e){return a(o(t,e.toArray()))},"Array, Array":o});return l}var r=n(16).size;e.name="kron",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,o){function a(e,n){var i=_(e),r=i?new t.BigNumber(1):1;if(l(e),n){var o=h(n);return e.length>0?o.resize(e,r):o}var a=[];return e.length>0?s(a,e,r):a}function _(e){var n=!1;return e.forEach(function(e,i,r){t.isBigNumber(e)&&(n=!0,r[i]=e.toNumber())}),n}function l(t){t.forEach(function(t){if("number"!=typeof t||!r(t)||t<0)throw new Error("Parameters in function ones must be positive integers")})}var h=i(n(9)),c=o("ones",{"":function(){return"Array"===e.matrix?a([]):a([],"default")},"...number | BigNumber | string":function(t){var n=t[t.length-1];if("string"==typeof n){var i=t.pop();return a(t,i)}return"Array"===e.matrix?a(t):a(t,"default")},Array:a,Matrix:function(t){var e=t.storage();return a(t.valueOf(),e)},"Array | Matrix, string":function(t,e){return a(t.valueOf(),e)}});return c.toTex=void 0,c}var r=n(19).isInteger,s=n(16).resize;e.name="ones",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,s){var o=i(n(9)),a=i(n(141)),_=s("reshape",{"Matrix, Array":function(t,e){return t.reshape?t.reshape(e):o(r.reshape(t.valueOf(),e))},"Array, Array":function(t,e){return e.forEach(function(t){if(!a(t))throw new TypeError("Invalid size for dimension: "+t)}),r.reshape(t,e)}});return _.toTex=void 0,_}var r=n(16);e.name="reshape",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,h){function c(t,e,n){if(void 0!==n){if("string"!=typeof n||1!==n.length)throw new TypeError("Single character expected as defaultValue")}else n=" ";if(1!==e.length)throw new r(e.length,1);var i=e[0];if("number"!=typeof i||!o(i))throw new TypeError("Invalid size, must contain positive integers (size: "+a(e)+")");if(t.length>i)return t.substring(0,i);if(t.lengthy&&++n>x)throw new Error("computing square root of matrix: iterative method could not converge")}while(e>y);return i}var l=i(n(115)),h=i(n(85)),c=i(n(68)),u=i(n(177)),p=i(n(86)),d=i(n(309)),f=i(n(124)),m=i(n(408)),g=i(n(201)),v=a("sqrtm",{"Array | Matrix":function(e){var n=t.isMatrix(e)?e.size():r.size(e);switch(n.length){case 1:if(1===n[0])return u(e);throw new RangeError("Matrix must be square (size: "+o.format(n)+")");case 2:var i=n[0],s=n[1];if(i===s)return _(e);throw new RangeError("Matrix must be square (size: "+o.format(n)+")")}}}),x=1e3,y=1e-6;return v.toTex={1:"{${args[0]}}".concat(s.operators.pow,"{\\frac{1}{2}}")},v}var r=n(16),s=n(26),o=n(64);e.name="sqrtm",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,o){var a=i(n(9)),_=o("squeeze",{Array:function(t){return s.squeeze(r.clone(t))},Matrix:function(t){var e=s.squeeze(t.toArray());return Array.isArray(e)?a(e):e},any:function(t){return r.clone(t)}});return _.toTex=void 0,_}var r=n(32),s=n(16);e.name="squeeze",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,o){function a(t){var e=t._size,n=t._data;switch(e.length){case 1:if(1===e[0])return r(n[0]);throw new RangeError("Matrix must be square (size: "+s(e)+")");case 2:var i=e[0],o=e[1];if(i===o){for(var a=0,_=0;_0)for(var l=0;ll)break}return _}throw new RangeError("Matrix must be square (size: "+s(r)+")")}var l=i(n(9)),h=i(n(85)),c=o("trace",{Array:function(t){return a(l(t))},SparseMatrix:_,DenseMatrix:a,any:r});return c.toTex={1:"\\mathrm{tr}\\left(${args[0]}\\right)"},c}var r=n(32).clone,s=n(64).format;e.name="trace",e.factory=i},function(t,e,n){"use strict";t.exports=[n(312),n(313),n(678),n(1223),n(1224),n(1225),n(1226),n(1227),n(1228)]},function(t,e,n){"use strict";function i(t,e,i,r){function s(t,e){var n=e.size().length,i=t.size().length;if(n>1)throw new Error("first object must be one dimensional");if(i>1)throw new Error("second object must be one dimensional");if(n!==i)throw new Error("Length of two vectors must be equal");var r=_(t);if(0===r)throw new Error("Sum of elements in first object must be non zero");var s=_(e);if(0===s)throw new Error("Sum of elements in second object must be non zero");var o=a(t,_(t)),p=a(e,_(e)),d=_(l(o,c(h(o,p))));return u(d)?d:Number.NaN}var o=i(n(9)),a=i(n(175)),_=i(n(409)),l=i(n(68)),h=i(n(668)),c=i(n(402)),u=i(n(204)),p=r("kldivergence",{"Array, Array":function(t,e){return s(o(t),o(e))},"Matrix, Array":function(t,e){return s(t,o(e))},"Array, Matrix":function(t,e){return s(o(t),e)},"Matrix, Matrix":function(t,e){return s(t,e)}});return p}e.name="kldivergence",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,s){var o=i(n(85)),a=i(n(68)),_=i(n(175)),l=i(n(313)),h=i(n(141)),c=i(n(315));return s("multinomial",{"Array | Matrix":function(t){var e=0,n=1;return r(t,function(t){if(!h(t)||!c(t))throw new TypeError("Positive integer value expected in function multinomial");e=o(e,t),n=a(n,l(t))}),_(l(e),n)}})}var r=n(180);e.name="multinomial",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,o){var a=i(n(313)),_=n(406),l=o("permutations",{"number | BigNumber":a,"number, number":function(t,e){if(!s(t)||t<0)throw new TypeError("Positive integer value expected in function permutations");if(!s(e)||e<0)throw new TypeError("Positive integer value expected in function permutations");if(e>t)throw new TypeError("second argument k must be less than or equal to first argument n");return _(t-e+1,t)},"BigNumber, BigNumber":function(e,n){var i,s;if(!r(e)||!r(n))throw new TypeError("Positive integer value expected in function permutations");if(n.gt(e))throw new TypeError("second argument k must be less than or equal to first argument n");for(i=new t.BigNumber(1),s=e.minus(n).plus(1);s.lte(e);s=s.plus(1))i=i.times(s);return i}});return l.toTex=void 0,l}function r(t){return t.isInteger()&&t.gte(0)}var s=n(19).isInteger;e.name="permutations",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,r){var s=i(n(405)),o=s("uniform").pickRandom;return o.toTex=void 0,o}e.name="pickRandom",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,r){var s=i(n(405)),o=s("uniform").random;return o.toTex=void 0,o}e.name="random",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,r){var s=i(n(405)),o=s("uniform").randomInt;return o.toTex=void 0,o}e.name="randomInt",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i,o){function a(t){l=null===t?s:r(String(t))}function _(){return l()}var l;return a(e.randomSeed),o.on("config",function(t,e,n){void 0!==n.randomSeed&&a(t.randomSeed)}),_}var r=n(1600),s=r();e.factory=i,e.math=!0},function(t,e,n){"use strict";function i(t,e,i,r){function s(t,e){if(Array.isArray(t)){if(Array.isArray(e)){var n=t.length;if(n!==e.length)return!1;for(var i=0;i0;n--)for(var i=0;it[i+1].length&&(e=t[i],t[i]=t[i+1],t[i+1]=e);return t}var _=i(n(116)),l=i(n(124)),h=i(n(107)),c=i(n(132)),u=s("setPowerset",{"Array | Matrix":function(t){if(0===h(l(t),new _(0)))return[];for(var e=r(Array.isArray(t)?t:t.toArray()).sort(c),n=[],i=0;i.toString(2).length<=e.length;)n.push(o(e,i.toString(2).split("").reverse())),i++;return a(n)}});return u}var r=n(16).flatten;e.name="setPowerset",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,s){var o=i(n(132)),a=s("setSize",{"Array | Matrix":function(t){return Array.isArray(t)?r(t).length:r(t.toArray()).length},"Array | Matrix, boolean":function(t,e){if(e===!1||0===t.length)return Array.isArray(t)?r(t).length:r(t.toArray()).length;for(var n=r(Array.isArray(t)?t:t.toArray()).sort(o),i=1,s=1;s=h?s(t):e<=o?s(t)*c(e):e<=4?s(t)*(1-u(e)):s(t)*(1-p(e))},BigNumber:function(e){return new t.BigNumber(d(e.toNumber()))},"Array | Matrix":function(t){return r(t,d)}});return d.toTex={1:"erf\\left(${args[0]}\\right)"},d}var r=n(12),s=n(19).sign,o=.46875,a=.5641895835477563,_=[[3.1611237438705655,113.86415415105016,377.485237685302,3209.3775891384694,.18577770618460315],[.5641884969886701,8.883149794388377,66.11919063714163,298.6351381974001,881.952221241769,1712.0476126340707,2051.0783778260716,1230.3393547979972,2.1531153547440383e-8],[.30532663496123236,.36034489994980445,.12578172611122926,.016083785148742275,.0006587491615298378,.016315387137302097]],l=[[23.601290952344122,244.02463793444417,1282.6165260773723,2844.236833439171],[15.744926110709835,117.6939508913125,537.1811018620099,1621.3895745666903,3290.7992357334597,4362.619090143247,3439.3676741437216,1230.3393548037495],[2.568520192289822,1.8729528499234604,.5279051029514285,.06051834131244132,.0023352049762686918]],h=Math.pow(2,53);e.name="erf",e.factory=i},function(t,e,n){"use strict";t.exports=[n(1241)]},function(t,e,n){"use strict";t.exports=[n(1244),n(408),n(685),n(686),n(687),n(1245),n(1246),n(1247),n(688),n(409),n(410)]},function(t,e,n){"use strict";function i(t,e,i,s){function o(t){if(t=r(t.valueOf()),0===t.length)throw new Error("Cannot calculate median absolute deviation (mad) of an empty array");try{var e=l(t);return l(_(t,function(t){return a(h(t,e))}))}catch(t){throw t instanceof TypeError&&t.message.indexOf("median")!==-1?new TypeError(t.message.replace("median","mad")):c(t,"mad")}}var a=i(n(115)),_=i(n(676)),l=i(n(686)),h=i(n(86)),c=i(n(157)),u=s("mad",{"Array | Matrix":o,"...":function(t){return o(t)}});return u.toTex=void 0,u}var r=n(16).flatten;e.name="mad",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,s){function o(t){t=r(t.valueOf());var e=t.length;if(0===e)throw new Error("Cannot calculate mode of an empty array");for(var n={},i=[],s=0,o=0;os&&(s=n[l],i=[l])}return i}var a=i(n(314)),_=i(n(204)),l=s("mode",{"Array | Matrix":o,"...":function(t){return o(t)}});return l}var r=n(16).flatten;e.name="mode",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,s){function o(t){var e;if(r(t,function(t){try{e=void 0===e?t:a(e,t)}catch(e){throw _(e,"prod",t)}}),void 0===e)throw new Error("Cannot calculate prod of an empty array");return e}var a=i(n(106)),_=i(n(157)),l=s("prod",{"Array | Matrix":o,"Array | Matrix, number | BigNumber":function(t,e){throw new Error("prod(A, dim) is not yet supported")},"...":function(t){return o(t)}});return l.toTex=void 0,l}var r=n(180);e.name="prod",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,_){function l(e,n,i){var o,_,l;if(arguments.length<2||arguments.length>3)throw new SyntaxError("Function quantileSeq requires two or three parameters");if(a(e)){if(i=i||!1,"boolean"==typeof i){if(_=e.valueOf(),s(n)){if(n<0)throw new Error("N/prob must be non-negative");if(n<=1)return h(_,n,i);if(n>1){if(!r(n))throw new Error("N must be a positive integer");var c=n+1;o=new Array(n);for(var u=0;u4294967295)throw new Error("N must be less than or equal to 2^32-1, as that is the maximum length of an Array");var d=new t.BigNumber(p+1);o=new Array(p);for(var f=0;f1)throw new Error("Probability must be between 0 and 1, inclusive")}else{if(!t.isBigNumber(g))throw new TypeError("Unexpected type of argument in function quantileSeq");if(l=new g.constructor(1),g.isNegative()||g.gt(l))throw new Error("Probability must be between 0 and 1, inclusive")}o[m]=h(_,g,i)}return o}throw new TypeError("Unexpected type of argument in function quantileSeq")}throw new TypeError("Unexpected type of argument in function quantileSeq")}throw new TypeError("Unexpected type of argument in function quantileSeq")}function h(t,e,n){var i=o(t),r=i.length;if(0===r)throw new Error("Cannot calculate quantile of an empty sequence");if(s(e)){var a=e*(r-1),_=a%1;if(0===_){var l=n?i[a]:p(i,a);return f(l),l}var h,m,g=Math.floor(a);if(n)h=i[g],m=i[g+1];else{m=p(i,g+1),h=i[g];for(var v=0;v0&&(h=i[v])}return f(h),f(m),c(u(h,1-_),u(m,_))}var x=e.times(r-1);if(x.isInteger()){x=x.toNumber();var y=n?i[x]:p(i,x);return f(y),y}var b,w,C=x.floor(),E=x.minus(C),T=C.toNumber();if(n)b=i[T],w=i[T+1];else{w=p(i,T+1),b=i[T];for(var A=0;A0&&(b=i[A])}f(b),f(w);var I=new E.constructor(1);return c(u(b,I.minus(E)),u(w,E))}var c=i(n(85)),u=i(n(68)),p=i(n(404)),d=i(n(202)),f=_({"number | BigNumber | Unit":function(t){return t}});return l}var r=n(19).isInteger,s=n(19).isNumber,o=n(16).flatten,a=n(143);e.name="quantileSeq",e.factory=i},function(t,e,n){"use strict";t.exports=[n(689),n(1249)]},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("print",{"string, Object | Array":r,"string, Object | Array, number | Object":r});return s.toTex=void 0,s}function r(t,e,n){return t.replace(/\$([\w.]+)/g,function(t,i){for(var r=i.split("."),a=e[r.shift()];r.length&&void 0!==a;){var _=r.shift();a=_?a[_]:a+"."}return void 0!==a?s(a)?a:o(a,n):t})}var s=n(64).isString,o=n(64).format;e.name="print",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("acos",{number:function(n){return n>=-1&&n<=1||e.predictable?Math.acos(n):new t.Complex(n,0).acos()},Complex:function(t){return t.acos()},BigNumber:function(t){return t.acos()},"Array | Matrix":function(t){return r(t,s)}});return s.toTex={1:"\\cos^{-1}\\left(${args[0]}\\right)"},s}var r=n(12);e.name="acos",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var o=i("acosh",{number:function(n){return n>=1||e.predictable?s(n):n<=-1?new t.Complex(Math.log(Math.sqrt(n*n-1)-n),Math.PI):new t.Complex(n,0).acosh()},Complex:function(t){return t.acosh()},BigNumber:function(t){return t.acosh()},"Array | Matrix":function(t){return r(t,o)}});return o.toTex={1:"\\cosh^{-1}\\left(${args[0]}\\right)"},o}var r=n(12),s=Math.acosh||function(t){return Math.log(Math.sqrt(t*t-1)+t)};e.name="acosh",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("acot",{number:function(t){return Math.atan(1/t)},Complex:function(t){return t.acot()},BigNumber:function(e){return new t.BigNumber(1).div(e).atan()},"Array | Matrix":function(t){return r(t,s)}});return s.toTex={1:"\\cot^{-1}\\left(${args[0]}\\right)"},s}var r=n(12);e.name="acot",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("acoth",{number:function(n){return n>=1||n<=-1||e.predictable?isFinite(n)?(Math.log((n+1)/n)+Math.log(n/(n-1)))/2:0:new t.Complex(n,0).acoth()},Complex:function(t){return t.acoth()},BigNumber:function(e){return new t.BigNumber(1).div(e).atanh()},"Array | Matrix":function(t){return r(t,s)}});return s.toTex={1:"\\coth^{-1}\\left(${args[0]}\\right)"},s}var r=n(12);e.name="acoth",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("acsc",{number:function(n){return n<=-1||n>=1||e.predictable?Math.asin(1/n):new t.Complex(n,0).acsc()},Complex:function(t){return t.acsc()},BigNumber:function(e){return new t.BigNumber(1).div(e).asin()},"Array | Matrix":function(t){return r(t,s)}});return s.toTex={1:"\\csc^{-1}\\left(${args[0]}\\right)"},s}var r=n(12);e.name="acsc",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("acsch",{number:function(t){return t=1/t,Math.log(t+Math.sqrt(t*t+1))},Complex:function(t){return t.acsch()},BigNumber:function(e){return new t.BigNumber(1).div(e).asinh()},"Array | Matrix":function(t){return r(t,s)}});return s.toTex={1:"\\mathrm{csch}^{-1}\\left(${args[0]}\\right)"},s}var r=n(12);e.name="acsch",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("asec",{number:function(n){return n<=-1||n>=1||e.predictable?Math.acos(1/n):new t.Complex(n,0).asec(); },Complex:function(t){return t.asec()},BigNumber:function(e){return new t.BigNumber(1).div(e).acos()},"Array | Matrix":function(t){return r(t,s)}});return s.toTex={1:"\\sec^{-1}\\left(${args[0]}\\right)"},s}var r=n(12);e.name="asec",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("asech",{number:function(n){if(n<=1&&n>=-1||e.predictable){n=1/n;var i=Math.sqrt(n*n-1);return n>0||e.predictable?Math.log(i+n):new t.Complex(Math.log(i-n),Math.PI)}return new t.Complex(n,0).asech()},Complex:function(t){return t.asech()},BigNumber:function(e){return new t.BigNumber(1).div(e).acosh()},"Array | Matrix":function(t){return r(t,s)}});return s.toTex={1:"\\mathrm{sech}^{-1}\\left(${args[0]}\\right)"},s}var r=n(12);e.name="asech",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("asin",{number:function(n){return n>=-1&&n<=1||e.predictable?Math.asin(n):new t.Complex(n,0).asin()},Complex:function(t){return t.asin()},BigNumber:function(t){return t.asin()},"Array | Matrix":function(t){return r(t,s,!0)}});return s.toTex={1:"\\sin^{-1}\\left(${args[0]}\\right)"},s}var r=n(12);e.name="asin",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("asinh",{number:Math.asinh||function(t){return Math.log(Math.sqrt(t*t+1)+t)},Complex:function(t){return t.asinh()},BigNumber:function(t){return t.asinh()},"Array | Matrix":function(t){return r(t,s,!0)}});return s.toTex={1:"\\sinh^{-1}\\left(${args[0]}\\right)"},s}var r=n(12);e.name="asinh",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("atan",{number:function(t){return Math.atan(t)},Complex:function(t){return t.atan()},BigNumber:function(t){return t.atan()},"Array | Matrix":function(t){return r(t,s,!0)}});return s.toTex={1:"\\tan^{-1}\\left(${args[0]}\\right)"},s}var r=n(12);e.name="atan",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,r){var s=i(n(9)),o=i(n(126)),a=i(n(92)),_=i(n(692)),l=i(n(93)),h=i(n(94)),c=i(n(50)),u=i(n(40)),p=r("atan2",{"number, number":Math.atan2,"BigNumber, BigNumber":function(e,n){return t.BigNumber.atan2(e,n)},"SparseMatrix, SparseMatrix":function(t,e){return _(t,e,p,!1)},"SparseMatrix, DenseMatrix":function(t,e){return o(e,t,p,!0)},"DenseMatrix, SparseMatrix":function(t,e){return a(t,e,p,!1)},"DenseMatrix, DenseMatrix":function(t,e){return c(t,e,p)},"Array, Array":function(t,e){return p(s(t),s(e)).valueOf()},"Array, Matrix":function(t,e){return p(s(t),e)},"Matrix, Array":function(t,e){return p(t,s(e))},"SparseMatrix, number | BigNumber":function(t,e){return l(t,e,p,!1)},"DenseMatrix, number | BigNumber":function(t,e){return u(t,e,p,!1)},"number | BigNumber, SparseMatrix":function(t,e){return h(e,t,p,!0)},"number | BigNumber, DenseMatrix":function(t,e){return u(e,t,p,!0)},"Array, number | BigNumber":function(t,e){return u(s(t),e,p,!1).valueOf()},"number | BigNumber, Array":function(t,e){return u(s(e),t,p,!0).valueOf()}});return p.toTex={2:"\\mathrm{atan2}\\left(${args}\\right)"},p}e.name="atan2",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var o=i("atanh",{number:function(n){return n<=1&&n>=-1||e.predictable?s(n):new t.Complex(n,0).atanh()},Complex:function(t){return t.atanh()},BigNumber:function(t){return t.atanh()},"Array | Matrix":function(t){return r(t,o,!0)}});return o.toTex={1:"\\tanh^{-1}\\left(${args[0]}\\right)"},o}var r=n(12),s=Math.atanh||function(t){return Math.log((1+t)/(1-t))/2};e.name="atanh",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("cos",{number:Math.cos,Complex:function(t){return t.cos()},BigNumber:function(t){return t.cos()},Unit:function(e){if(!e.hasBase(t.Unit.BASE_UNITS.ANGLE))throw new TypeError("Unit in function cos is no angle");return s(e.value)},"Array | Matrix":function(t){return r(t,s)}});return s.toTex={1:"\\cos\\left(${args[0]}\\right)"},s}var r=n(12);e.name="cos",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var o=i("cosh",{number:s,Complex:function(t){return t.cosh()},BigNumber:function(t){return t.cosh()},Unit:function(e){if(!e.hasBase(t.Unit.BASE_UNITS.ANGLE))throw new TypeError("Unit in function cosh is no angle");return o(e.value)},"Array | Matrix":function(t){return r(t,o)}});return o.toTex={1:"\\cosh\\left(${args[0]}\\right)"},o}var r=n(12),s=Math.cosh||function(t){return(Math.exp(t)+Math.exp(-t))/2};e.name="cosh",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("cot",{number:function(t){return 1/Math.tan(t)},Complex:function(t){return t.cot()},BigNumber:function(e){return new t.BigNumber(1).div(e.tan())},Unit:function(e){if(!e.hasBase(t.Unit.BASE_UNITS.ANGLE))throw new TypeError("Unit in function cot is no angle");return s(e.value)},"Array | Matrix":function(t){return r(t,s)}});return s.toTex={1:"\\cot\\left(${args[0]}\\right)"},s}var r=n(12);e.name="cot",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var o=i("coth",{number:r,Complex:function(t){return t.coth()},BigNumber:function(e){return new t.BigNumber(1).div(e.tanh())},Unit:function(e){if(!e.hasBase(t.Unit.BASE_UNITS.ANGLE))throw new TypeError("Unit in function coth is no angle");return o(e.value)},"Array | Matrix":function(t){return s(t,o)}});return o.toTex={1:"\\coth\\left(${args[0]}\\right)"},o}function r(t){var e=Math.exp(2*t);return(e+1)/(e-1)}var s=n(12);e.name="coth",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("csc",{number:function(t){return 1/Math.sin(t)},Complex:function(t){return t.csc()},BigNumber:function(e){return new t.BigNumber(1).div(e.sin())},Unit:function(e){if(!e.hasBase(t.Unit.BASE_UNITS.ANGLE))throw new TypeError("Unit in function csc is no angle");return s(e.value)},"Array | Matrix":function(t){return r(t,s)}});return s.toTex={1:"\\csc\\left(${args[0]}\\right)"},s}var r=n(12);e.name="csc",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var o=i("csch",{number:r,Complex:function(t){return t.csch()},BigNumber:function(e){return new t.BigNumber(1).div(e.sinh())},Unit:function(e){if(!e.hasBase(t.Unit.BASE_UNITS.ANGLE))throw new TypeError("Unit in function csch is no angle");return o(e.value)},"Array | Matrix":function(t){return s(t,o)}});return o.toTex={1:"\\mathrm{csch}\\left(${args[0]}\\right)"},o}function r(t){return 0===t?Number.POSITIVE_INFINITY:Math.abs(2/(Math.exp(t)-Math.exp(-t)))*o(t)}var s=n(12),o=n(19).sign;e.name="csch",e.factory=i},function(t,e,n){"use strict";t.exports=[n(1250),n(1251),n(1252),n(1253),n(1254),n(1255),n(1256),n(1257),n(1258),n(1259),n(1260),n(1261),n(1262),n(1263),n(1264),n(1265),n(1266),n(1267),n(1268),n(1270),n(1271),n(1272),n(1273),n(1274),n(1275)]},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("sec",{number:function(t){return 1/Math.cos(t)},Complex:function(t){return t.sec()},BigNumber:function(e){return new t.BigNumber(1).div(e.cos())},Unit:function(e){if(!e.hasBase(t.Unit.BASE_UNITS.ANGLE))throw new TypeError("Unit in function sec is no angle");return s(e.value)},"Array | Matrix":function(t){return r(t,s)}});return s.toTex={1:"\\sec\\left(${args[0]}\\right)"},s}var r=n(12);e.name="sec",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var o=i("sech",{number:r,Complex:function(t){return t.sech()},BigNumber:function(e){return new t.BigNumber(1).div(e.cosh())},Unit:function(e){if(!e.hasBase(t.Unit.BASE_UNITS.ANGLE))throw new TypeError("Unit in function sech is no angle");return o(e.value)},"Array | Matrix":function(t){return s(t,o)}});return o.toTex={1:"\\mathrm{sech}\\left(${args[0]}\\right)"},o}function r(t){return 2/(Math.exp(t)+Math.exp(-t))}var s=n(12);e.name="sech",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("sin",{number:Math.sin,Complex:function(t){return t.sin()},BigNumber:function(t){return t.sin()},Unit:function(e){if(!e.hasBase(t.Unit.BASE_UNITS.ANGLE))throw new TypeError("Unit in function sin is no angle");return s(e.value)},"Array | Matrix":function(t){return r(t,s,!0)}});return s.toTex={1:"\\sin\\left(${args[0]}\\right)"},s}var r=n(12);e.name="sin",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var o=i("sinh",{number:s,Complex:function(t){return t.sinh()},BigNumber:function(t){return t.sinh()},Unit:function(e){if(!e.hasBase(t.Unit.BASE_UNITS.ANGLE))throw new TypeError("Unit in function sinh is no angle");return o(e.value)},"Array | Matrix":function(t){return r(t,o,!0)}});return o.toTex={1:"\\sinh\\left(${args[0]}\\right)"},o}var r=n(12),s=Math.sinh||function(t){return(Math.exp(t)-Math.exp(-t))/2};e.name="sinh",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("tan",{number:Math.tan,Complex:function(t){return t.tan()},BigNumber:function(t){return t.tan()},Unit:function(e){if(!e.hasBase(t.Unit.BASE_UNITS.ANGLE))throw new TypeError("Unit in function tan is no angle");return s(e.value)},"Array | Matrix":function(t){return r(t,s,!0)}});return s.toTex={1:"\\tan\\left(${args[0]}\\right)"},s}var r=n(12);e.name="tan",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var o=i("tanh",{number:s,Complex:function(t){return t.tanh()},BigNumber:function(t){return t.tanh()},Unit:function(e){if(!e.hasBase(t.Unit.BASE_UNITS.ANGLE))throw new TypeError("Unit in function tanh is no angle");return o(e.value)},"Array | Matrix":function(t){return r(t,o,!0)}});return o.toTex={1:"\\tanh\\left(${args[0]}\\right)"},o}var r=n(12),s=Math.tanh||function(t){var e=Math.exp(2*t);return(e-1)/(e+1)};e.name="tanh",e.factory=i},function(t,e,n){"use strict";t.exports=[n(1277)]},function(t,e,n){"use strict";function i(t,e,i,r){var s=n(26),o=i(n(9)),a=i(n(50)),_=i(n(40)),l=r("to",{"Unit, Unit | string":function(t,e){return t.to(e)},"Matrix, Matrix":function(t,e){return a(t,e,l)},"Array, Array":function(t,e){return l(o(t),o(e)).valueOf()},"Array, Matrix":function(t,e){return l(o(t),e)},"Matrix, Array":function(t,e){return l(t,o(e))},"Matrix, any":function(t,e){return _(t,e,l,!1)},"any, Matrix":function(t,e){return _(e,t,l,!0)},"Array, any":function(t,e){return _(o(t),e,l,!1).valueOf()},"any, Array":function(t,e){return _(o(e),t,l,!0).valueOf()}});return l.toTex={2:"\\left(${args[0]}".concat(s.operators.to,"${args[1]}\\right)")},l}e.name="to",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("clone",{any:r.clone});return s.toTex=void 0,s}var r=n(32);e.name="clone",e.factory=i},function(t,e,n){"use strict";function i(t,e,i,r){var s=i(n(204)),o=r("hasNumericValue",{string:function(t){return t.trim().length>0&&!isNaN(Number(t))},any:function(t){return s(t)}});return o}e.name="hasNumericValue",e.factory=i},function(t,e,n){"use strict";t.exports=[n(1278),n(141),n(235),n(204),n(1279),n(315),n(1281),n(236),n(314),n(125)]},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("isPrime",{number:function(t){if(t<2)return!1;if(2===t)return!0;if(t%2===0)return!1;for(var e=3;e*e<=t;e+=2)if(t%e===0)return!1;return!0},BigNumber:function(e){if(e.lt(2))return!1;if(e.equals(2))return!0;if(e.mod(2).isZero())return!1;for(var n=t.BigNumber(3);n.times(n).lte(e);n=n.plus(1))if(e.mod(n).isZero())return!1;return!0},"Array | Matrix":function(t){return r(t,s)}});return s}var r=n(12);e.name="isPrime",e.factory=i},function(t,e,n){"use strict";t.exports=[n(1296),n(903),n(1198),n(1118),n(1283),n(907)]},function(t,e,n){"use strict";t.exports=[n(1284)]},function(t,e,n){"use strict";function i(t,e,n,i,r){return function(e,n){var i=t[n&&n.mathjs]||r.expression&&r.expression.node[n&&n.mathjs];return i&&"function"==typeof i.fromJSON?i.fromJSON(n):n}}e.name="reviver",e.path="json",e.factory=i,e.math=!0},function(t,e,n){"use strict";function i(t){var e=r.create(t);return e.create=i,e.import(n(1282)),e}var r=n(904);t.exports=i()},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e,n,i,r){var o=s.default.clone({precision:e.precision});return o.prototype.type="BigNumber",o.prototype.isBigNumber=!0,o.prototype.toJSON=function(){return{mathjs:"BigNumber",value:this.toString()}},o.fromJSON=function(t){return new o(t.value)},r.on("config",function(t,e){t.precision!==e.precision&&o.config({precision:t.precision})}),o}Object.defineProperty(e,"__esModule",{value:!0}),e.factory=r,e.math=e.path=e.name=void 0;var s=i(n(830)),o="BigNumber";e.name=o;var a="type";e.path=a;var _=!0;e.math=_},function(t,e,n){"use strict";t.exports=[n(1286),n(690)]},function(t,e,n){"use strict";function i(t,e,n,i){var s=i("bool",{"":function(){return!1},boolean:function(t){return t},number:function(t){return!!t},null:function(t){return!1},BigNumber:function(t){return!t.isZero()},string:function(t){var e=t.toLowerCase();if("true"===e)return!0;if("false"===e)return!1;var n=Number(t);if(""!==t&&!isNaN(n))return!!n;throw new Error('Cannot convert "'+t+'" to a boolean')},"Array | Matrix":function(t){return r(t,s)}});return s}var r=n(12);e.name="boolean",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i,o){function a(e){if(!(this instanceof a))throw new SyntaxError("Constructor must be called with the new operator");t.isChain(e)?this.value=e.value:this.value=e}function _(t,e){"function"==typeof e&&(a.prototype[t]=h(e))}function l(t,e){s(a.prototype,t,function(){var t=e();if("function"==typeof t)return h(t)})}function h(t){return function(){for(var e=[this.value],n=0;n0;){for(var a=s.degree,_=s.right;;){if(o=i[a],!o)break;if(c(s.key,o.key)){var l=o;o=s,s=l}p(o,s),i[a]=null,a++}i[a]=s,s=_,r--}t=null;for(var d=0;d0;){var r=i.right;i.left.right=i.right,i.right.left=i.left,i.left=e,i.right=e.right,e.right=i,i.right.left=i,i.parent=null,i=r,n--}return t.left.right=t.right,t.right.left=t.left,t===t.right?e=null:(e=t.right,e=l(e,this._size)),this._size--,this._minimum=e,t},s.prototype.remove=function(t){this._minimum=o(this._minimum,t,-1),this.extractMinimum()};var p=function(t,e){t.left.right=t.right,t.right.left=t.left,t.parent=e,e.child?(t.left=e.child,t.right=e.child.right,e.child.right=t,t.right.left=t):(e.child=t,t.right=t,t.left=t),e.degree++,t.mark=!1};return s}e.name="FibonacciHeap",e.path="type",e.factory=i},function(t,e,n){"use strict";function i(t,e,i){function s(e,n){if(!(this instanceof s))throw new SyntaxError("Constructor must be called with the new operator");if(n&&!_(n))throw new Error("Invalid datatype: "+n);if(t.isMatrix(e)||a(e)){var i=new l(e,n);this._data=i._data,this._size=i._size,this._datatype=i._datatype,this._min=null,this._max=null}else if(e&&a(e.data)&&a(e.size))this._data=e.data,this._size=e.size,this._datatype=e.datatype,this._min="undefined"!=typeof e.min?e.min:null,this._max="undefined"!=typeof e.max?e.max:null;else{if(e)throw new TypeError("Unsupported type of data ("+r.types.type(e)+")");this._data=[],this._size=[0],this._datatype=n,this._min=null,this._max=null}}var l=i(n(205)),h=i(n(156));return s.prototype=new l,s.prototype.type="ImmutableDenseMatrix",s.prototype.isImmutableDenseMatrix=!0,s.prototype.subset=function(e){switch(arguments.length){case 1:var n=l.prototype.subset.call(this,e);return t.isMatrix(n)?new s({data:n._data,size:n._size,datatype:n._datatype}):n;case 2:case 3:throw new Error("Cannot invoke set subset on an Immutable Matrix instance");default:throw new SyntaxError("Wrong number of arguments")}},s.prototype.set=function(){throw new Error("Cannot invoke set on an Immutable Matrix instance")},s.prototype.resize=function(){throw new Error("Cannot invoke resize on an Immutable Matrix instance")},s.prototype.reshape=function(){throw new Error("Cannot invoke reshape on an Immutable Matrix instance")},s.prototype.clone=function(){var t=new s({data:o.clone(this._data),size:o.clone(this._size),datatype:this._datatype});return t},s.prototype.toJSON=function(){return{mathjs:"ImmutableDenseMatrix",data:this._data,size:this._size,datatype:this._datatype}},s.fromJSON=function(t){return new s(t)},s.prototype.swapRows=function(){throw new Error("Cannot invoke swapRows on an Immutable Matrix instance")},s.prototype.min=function(){if(null===this._min){var t=null;this.forEach(function(e){(null===t||h(e,t))&&(t=e)}),this._min=null!==t?t:void 0}return this._min},s.prototype.max=function(){if(null===this._max){var t=null;this.forEach(function(e){(null===t||h(t,e))&&(t=e)}),this._max=null!==t?t:void 0}return this._max},s}var r=n(144),s=r.string,o=r.object,a=Array.isArray,_=s.isString;e.name="ImmutableDenseMatrix",e.path="type",e.factory=i},function(t,e,n){"use strict";function i(t,e,i){function r(){if(!(this instanceof r))throw new SyntaxError("Constructor must be called with the new operator");this._values=[],this._heap=new t.FibonacciHeap}var s=i(n(85)),o=i(n(72));return r.prototype.type="Spa",r.prototype.isSpa=!0,r.prototype.set=function(t,e){if(this._values[t])this._values[t].value=e;else{var n=this._heap.insert(t,e);this._values[t]=n}},r.prototype.get=function(t){var e=this._values[t];return e?e.value:0},r.prototype.accumulate=function(t,e){var n=this._values[t];n?n.value=s(n.value,e):(n=this._heap.insert(t,e),this._values[t]=n)},r.prototype.forEach=function(t,e,n){var i=this._heap,r=this._values,s=[],a=i.extractMinimum();for(a&&s.push(a);a&&a.key<=e;)a.key>=t&&(o(a.value,0)||n(a.key,a.value,this)),a=i.extractMinimum(),a&&s.push(a);for(var _=0;_0){var a=0;do{t._ptr.push(t._index.length);for(var _=0;_");for(var p=n.min()[0],d=n.min()[1],f=_[0],m=_[1],g=0;gu){for(_=u;_c){if(h){var d=0;for(_=0;_e-1&&(t._values.splice(l,1),t._index.splice(l,1),g++)}t._ptr[_]=t._values.length}return t._size[0]=e,t._size[1]=n,t}function T(t,e,n,i,r,s,o){var a=[],_=[],l=[],h=S,c=0;p(t._datatype)&&(h=f.find(S,[t._datatype,t._datatype])||S,c=f.convert(0,t._datatype));for(var u=function(t,e,n){t=s(t,e,n),h(t,c)||(a.push(t),_.push(e))},d=i;d<=r;d++){l.push(a.length);var g=t._ptr[d],v=t._ptr[d+1];if(o)for(var x=g;x=e&&y<=n&&u(t._values[x],y-e,d-i)}else{for(var b={},w=g;wo-1||r>a-1)&&(E(this,Math.max(i+1,o),Math.max(r+1,a),n),o=this._size[0],a=this._size[1]),d(i,o),d(r,a);var c=b(i,this._ptr[r],this._ptr[r+1],this._index);return c "+(this._values?_.format(this._values[l],t):"X")}return r},m.prototype.toString=function(){return _.format(this.toArray())},m.prototype.toJSON=function(){return{mathjs:"SparseMatrix",values:this._values,index:this._index,ptr:this._ptr,size:this._size,datatype:this._datatype}},m.prototype.diagonal=function(e){if(e){if(t.isBigNumber(e)&&(e=e.toNumber()),!c(e)||!u(e))throw new TypeError("The parameter k must be an integer number")}else e=0;var n=e>0?e:0,i=e<0?-e:0,r=this._size[0],s=this._size[1],o=Math.min(r-i,s-n),a=[],_=[],l=[];l[0]=0;for(var h=n;h0?i:0,d=i<0?-i:0,g=e[0],v=e[1],x=Math.min(g-d,v-l);if(h(n)){if(n.length!==x)throw new Error("Invalid value array length");_=function(t){return n[t]}}else if(t.isMatrix(n)){var y=n.size();if(1!==y.length||y[0]!==x)throw new Error("Invalid matrix length");_=function(t){return n.get([t]); }}else _=function(){return n};for(var b=[],w=[],C=[],E=0;E=0&&T=_||r[h]!==e)){var u=i?i[l]:void 0;r.splice(h,0,e),i&&i.splice(h,0,u),r.splice(h<=l?l+1:l,1),i&&i.splice(h<=l?l+1:l,1)}else if(h<_&&r[h]===e&&(l>=_||r[l]!==t)){var p=i?i[h]:void 0;r.splice(l,0,t),i&&i.splice(l,0,p),r.splice(l<=h?h+1:h,1),i&&i.splice(l<=h?h+1:h,1)}}},t.Matrix._storage.sparse=m,m}var r=n(144),s=n(75),o=r.array,a=r.object,_=r.string,l=r.number,h=Array.isArray,c=l.isNumber,u=l.isInteger,p=_.isString,d=o.validateIndex;e.name="SparseMatrix",e.path="type",e.factory=i,e.lazy=!1},function(t,e,n){"use strict";function i(t,e,n,i){return i("index",{"...number | string | BigNumber | Range | Array | Matrix":function(e){var n=e.map(function(e){return t.isBigNumber(e)?e.toNumber():Array.isArray(e)||t.isMatrix(e)?e.map(function(e){return t.isBigNumber(e)?e.toNumber():e}):e}),i=new t.Index;return t.Index.apply(i,n),i}})}e.name="index",e.factory=i},function(t,e,n){"use strict";function i(t,e,n,i){var r=t.SparseMatrix,s=i("sparse",{"":function(){return new r([])},string:function(t){return new r([],t)},"Array | Matrix":function(t){return new r(t)},"Array | Matrix, string":function(t,e){return new r(t,e)}});return s.toTex={0:"\\begin{bsparse}\\end{bsparse}",1:"\\left(${args[0]}\\right)"},s}e.name="sparse",e.factory=i},function(t,e,n){"use strict";t.exports=[n(413),n(205),n(1300),n(1299),n(1297),n(1298),n(116),n(691),n(1301),n(9),n(1302),n(318)]},function(t,e,n){"use strict";t.exports=[n(693)]},function(t,e,n){"use strict";function i(t,e,n,i){var o=i("string",{"":function(){return""},number:s.format,null:function(t){return"null"},boolean:function(t){return t+""},string:function(t){return t},"Array | Matrix":function(t){return r(t,o)},any:function(t){return String(t)}});return o.toTex={0:'\\mathtt{""}',1:"\\mathrm{string}\\left(${args[0]}\\right)"},o}var r=n(12),s=n(19);e.name="string",e.factory=i},function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(){return r=Object.assign||function(t){for(var e=1;e="0"&&t<="9"||"."===t}function d(t){return t>="0"&&t<="9"}function f(){F++,q=B.charAt(F)}function m(t){F=t,q=B.charAt(F)}function g(){var t,e="";if(t=F,"+"===q?f():"-"===q&&(e+=q,f()),!p(q))return m(t),null;if("."===q){if(e+=q,f(),!d(q))return m(t),null}else{for(;d(q);)e+=q,f();"."===q&&(e+=q,f())}for(;d(q);)e+=q,f();if("E"===q||"e"===q){var n="",i=F;if(n+=q,f(),"+"!==q&&"-"!==q||(n+=q,f()),!d(q))return m(i),e;for(e+=n;d(q);)e+=q,f()}return e}function v(){for(var t="",e=B.charCodeAt(F);e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122;)t+=q,f(),e=B.charCodeAt(F);return e=t.charCodeAt(0),e>=65&&e<=90||e>=97&&e<=122?t||null:null}function x(t){return q===t?(f(),t):null}function y(t){if(Y.hasOwnProperty(t)){var e=Y[t],n=e.prefixes[""];return{unit:e,prefix:n}}for(var i in Y)if(Y.hasOwnProperty(i)&&o(t,i)){var r=Y[i],s=t.length-i.length,a=t.substring(0,s),_=r.prefixes.hasOwnProperty(a)?r.prefixes[a]:void 0;if(void 0!==_)return{unit:r,prefix:_}}return null}function b(t){return t.equalBase(U.NONE)&&null!==t.value&&!e.predictable?t.value:t}function w(e){if("BigNumber"===e.number){var n=_.pi(t.BigNumber);Y.rad.value=new t.BigNumber(1),Y.deg.value=n.div(180),Y.grad.value=n.div(200),Y.cycle.value=n.times(2),Y.arcsec.value=n.div(648e3),Y.arcmin.value=n.div(10800)}else Y.rad.value=1,Y.deg.value=Math.PI/180,Y.grad.value=Math.PI/200,Y.cycle.value=2*Math.PI,Y.arcsec.value=Math.PI/648e3,Y.arcmin.value=Math.PI/10800;Y.radian.value=Y.rad.value,Y.degree.value=Y.deg.value,Y.gradian.value=Y.grad.value}function C(t){for(var e=0;e="0"&&t<="9"};if(0===e&&!i(n))throw new Error('Invalid unit name (must begin with alpha character): "'+t+'"');if(e>0&&!i(n)&&!r(n))throw new Error('Invalid unit name (only alphanumeric characters are allowed): "'+t+'"')}}var E=s(n(91)),T=s(n(86)),A=s(n(106)),I=s(n(77)),S=s(n(176)),O=s(n(115)),k=s(n(669)),N=s(n(306)),P=s(n(203)),R=s(n(204)),D=s(n(689)),j=s(n(125)),M=s(n(319)),L=s(n(411));c.prototype.type="Unit",c.prototype.isUnit=!0;var B,F,q;c.parse=function(n,i){if(i=i||{},B=n,F=-1,q="","string"!=typeof B)throw new TypeError("Invalid argument in Unit.parse, string expected");var r=new c;r.units=[];var s=1,o=!1;f(),u();var a=g(),_=null;a&&(_="BigNumber"===e.number?new t.BigNumber(a):"Fraction"===e.number?new t.Fraction(a):parseFloat(a),u(),x("*")?(s=1,o=!0):x("/")&&(s=-1,o=!0));for(var l=[],h=1;;){for(u();"("===q;)l.push(s),h*=s,s=1,f(),u();var p=void 0;if(!q)break;var d=q;if(p=v(),null===p)throw new SyntaxError('Unexpected "'+d+'" in "'+B+'" at index '+F.toString());var m=y(p);if(null===m)throw new SyntaxError('Unit "'+p+'" not found.');var b=s*h;if(u(),x("^")){u();var w=g();if(null===w)throw new SyntaxError('In "'+n+'", "^" must be followed by a floating-point number');b*=w}r.units.push({unit:m.unit,prefix:m.prefix,power:b});for(var C=0;C1||Math.abs(this.units[0].power-1)>1e-15)},c.prototype._normalize=function(t){var e,n,i,r,s;if(null===t||void 0===t||0===this.units.length)return t;if(this._isDerived()){var o=t;s=c._getNumberConverter(j(t));for(var a=0;a1e-12)return!1;return!0},c.prototype.equalBase=function(t){for(var e=0;e1e-12)return!1;return!0},c.prototype.equals=function(t){return this.equalBase(t)&&P(this.value,t.value)},c.prototype.multiply=function(t){for(var e=this.clone(),n=0;n1e-12&&(J.hasOwnProperty(a)?n.push({unit:J[a].unit,prefix:J[a].prefix,power:e.dimensions[o]||0}):s=!0)}n.length1e-12){if(!X.si.hasOwnProperty(i))throw new Error("Cannot express custom unit "+i+" in SI units");e.push({unit:X.si[i].unit,prefix:X.si[i].prefix,power:t.dimensions[n]||0})}}return t.units=e,t.fixPrefix=!0,t.skipAutomaticSimplification=!0,t},c.prototype.formatUnits=function(){for(var t="",e="",n=0,i=0,r=0;r0?(n++,t+=" "+this.units[r].prefix.name+this.units[r].unit.name,Math.abs(this.units[r].power-1)>1e-15&&(t+="^"+this.units[r].power)):this.units[r].power<0&&i++;if(i>0)for(var s=0;s0?(e+=" "+this.units[s].prefix.name+this.units[s].unit.name,Math.abs(this.units[s].power+1)>1e-15&&(e+="^"+-this.units[s].power)):(e+=" "+this.units[s].prefix.name+this.units[s].unit.name,e+="^"+this.units[s].power));t=t.substr(1),e=e.substr(1),n>1&&i>0&&(t="("+t+")"),i>1&&n>0&&(e="("+e+")");var o=t;return n>0&&i>0&&(o+=" / "),o+=e},c.prototype.format=function(e){var n=this.skipAutomaticSimplification||null===this.value?this.clone():this.simplify(),i=!1;"undefined"!=typeof n.value&&null!==n.value&&t.isComplex(n.value)&&(i=Math.abs(n.value.re)<1e-14);for(var r in n.units)n.units[r].unit&&("VA"===n.units[r].unit.name&&i?n.units[r].unit=Y.VAR:"VAR"!==n.units[r].unit.name||i||(n.units[r].unit=Y.VA));1!==n.units.length||n.fixPrefix||Math.abs(n.units[0].power-Math.round(n.units[0].power))<1e-14&&(n.units[0].prefix=n._bestPrefix());var s=n._denormalize(n.value),o=null!==n.value?D(s,e||{}):"",a=n.formatUnits();return n.value&&t.isComplex(n.value)&&(o="("+o+")"),a.length>0&&o.length>0&&(o+=" "),o+=a},c.prototype._bestPrefix=function(){if(1!==this.units.length)throw new Error("Can only compute the best prefix for single units with integer powers, like kg, s^2, N^-1, and so forth!");if(Math.abs(this.units[0].power-Math.round(this.units[0].power))>=1e-14)throw new Error("Can only compute the best prefix for single units with integer powers, like kg, s^2, N^-1, and so forth!");var t=null!==this.value?O(this.value):0,e=O(this.units[0].unit.value),n=this.units[0].prefix;if(0===t)return n;var i=this.units[0].power,r=Math.log(t/Math.pow(n.value*e,i))/Math.LN10-1.2;if(r>-2.200001&&r<1.800001)return n;r=Math.abs(r);var s=this.units[0].unit.prefixes;for(var o in s)if(s.hasOwnProperty(o)){var a=s[o];if(a.scientific){var _=Math.abs(Math.log(t/Math.pow(a.value*e,i))/Math.LN10-1.2);(_1e-12){d=!1;break}if(d){u=!0,h.base=U[p];break}}if(!u){var m=t+"_STUFF",g={dimensions:o.dimensions.slice(0)};g.key=m,U[m]=g,J[m]={unit:h,prefix:V.NONE[""]},h.base=U[m]}}else{var v=t+"_STUFF";if(H.indexOf(v)>=0)throw new Error('Cannot create new base unit "'+t+'": a base unit with that name already exists (and cannot be overridden)');H.push(v);for(var x in U)U.hasOwnProperty(x)&&(U[x].dimensions[H.length-1]=0);for(var y={dimensions:[]},b=0;b=a&&h<_?t.toSignificantDigits(r).toFixed():e.toExponential(t,r),l.replace(/((\.\d*?)(0+))($|e)/,function(){var t=arguments[2],e=arguments[4];return"."!==t?t+e:e});default:throw new Error('Unknown notation "'+s+'". Choose "auto", "exponential", or "fixed".')}},e.toEngineering=function(t,e){var n=t.e,i=n%3===0?n:n<0?n-3-n%3:n-n%3,r=t.mul(Math.pow(10,-i)),s=r.toPrecision(e);return s.indexOf("e")!==-1&&(s=r.toString()),s+"e"+(n>=0?"+":"")+i.toString()},e.toExponential=function(t,e){return void 0!==e?t.toExponential(e-1):t.toExponential()},e.toFixed=function(t,e){return t.toFixed(e)}},function(t,e,n){"use strict";t.exports=function(t,e){if(t.isFinite()&&!t.isInteger()||e.isFinite()&&!e.isInteger())throw new Error("Integers expected in function leftShift");var n=t.constructor;return t.isNaN()||e.isNaN()||e.isNegative()&&!e.isZero()?new n(NaN):t.isZero()||e.isZero()?t:t.isFinite()||e.isFinite()?e.lt(55)?t.times(Math.pow(2,e.toNumber())+""):t.times(new n(2).pow(e)):new n(NaN)}},function(t,e,n){"use strict";t.exports=function(t,e){if(t.isFinite()&&!t.isInteger()||e.isFinite()&&!e.isInteger())throw new Error("Integers expected in function rightArithShift");var n=t.constructor;return t.isNaN()||e.isNaN()||e.isNegative()&&!e.isZero()?new n(NaN):t.isZero()||e.isZero()?t:e.isFinite()?e.lt(55)?t.div(Math.pow(2,e.toNumber())+"").floor():t.div(new n(2).pow(e)).floor():new n(t.isNegative()?-1:t.isFinite()?0:NaN)}},function(t,e,n){"use strict";e.isBoolean=function(t){return"boolean"==typeof t}},function(t,e,n){"use strict";t.exports=function(t,e,n,i,r,s,o,a,_,l,h){var c,u,p,d,f=t._values,m=t._index,g=t._ptr,v=o._index;if(i)for(u=g[e],p=g[e+1],c=u;c1)for(var n=1;n=i)return void r.complete();r.next(e[n]),t.index=n+1,this.schedule(t)}},e.prototype._subscribe=function(t){var n=0,i=this,r=i.arrayLike,s=i.scheduler,o=r.length;if(s)return s.schedule(e.dispatch,0,{arrayLike:r,index:n,length:o,subscriber:t});for(var a=0;ad?d:e):e}function s(t){return"number"==typeof t&&_.root.isFinite(t)}function o(t){var e=+t;return 0===e?e:isNaN(e)?e:e<0?-1:1}var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},_=n(95),l=n(1),h=n(242),c=function(t){function e(e,n){if(t.call(this),this.scheduler=n,null==e)throw new Error("iterator cannot be null.");this.iterator=i(e)}return a(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.index,n=t.hasError,i=t.iterator,r=t.subscriber;if(n)return void r.error(t.error);var s=i.next();return s.done?void r.complete():(r.next(s.value),t.index=e+1,void(r.closed||this.schedule(t)))},e.prototype._subscribe=function(t){var n=0,i=this,r=i.iterator,s=i.scheduler;if(s)return s.schedule(e.dispatch,0,{index:n,iterator:r,subscriber:t});for(;;){var o=r.next();if(o.done){t.complete();break}if(t.next(o.value),t.closed)break}},e}(l.Observable);e.IteratorObservable=c;var u=function(){function t(t,e,n){void 0===e&&(e=0),void 0===n&&(n=t.length),this.str=t,this.idx=e,this.len=n}return t.prototype[h.$$iterator]=function(){return this},t.prototype.next=function(){return this.idx=i?void r.complete():(r.next(e),void(r.closed||(t.index=n+1,t.start=e+1,this.schedule(t))))},e.prototype._subscribe=function(t){var n=0,i=this.start,r=this._count,s=this.scheduler;if(s)return s.schedule(e.dispatch,0,{index:n,count:r,start:i,subscriber:t});for(;;){if(n++>=r){t.complete();break}if(t.next(i++),t.closed)break}},e}(r.Observable);e.RangeObservable=s},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n(1),s=n(715),o=n(429),a=function(t){function e(e,n,i){void 0===n&&(n=0),void 0===i&&(i=s.asap),t.call(this),this.source=e,this.delayTime=n,this.scheduler=i,(!o.isNumeric(n)||n<0)&&(this.delayTime=0),i&&"function"==typeof i.schedule||(this.scheduler=s.asap)}return i(e,t),e.create=function(t,n,i){return void 0===n&&(n=0),void 0===i&&(i=s.asap),new e(t,n,i)},e.dispatch=function(t){var e=t.source,n=t.subscriber;return e.subscribe(n)},e.prototype._subscribe=function(t){var n=this.delayTime,i=this.source,r=this.scheduler;return r.schedule(e.dispatch,n,{source:i,subscriber:t})},e}(r.Observable);e.SubscribeOnObservable=a},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n(429),s=n(1),o=n(101),a=n(161),_=n(329),l=function(t){function e(e,n,i){void 0===e&&(e=0),t.call(this),this.period=-1,this.dueTime=0,r.isNumeric(n)?this.period=Number(n)<1&&1||Number(n):a.isScheduler(n)&&(i=n),a.isScheduler(i)||(i=o.async),this.scheduler=i,this.dueTime=_.isDate(e)?+e-this.scheduler.now():e}return i(e,t),e.create=function(t,n,i){return void 0===t&&(t=0),new e(t,n,i)},e.dispatch=function(t){var e=t.index,n=t.period,i=t.subscriber,r=this;if(i.next(e),!i.closed){if(n===-1)return i.complete();t.index=e+1,r.schedule(t,n)}},e.prototype._subscribe=function(t){var n=0,i=this,r=i.period,s=i.dueTime,o=i.scheduler;return o.schedule(e.dispatch,s,{index:n,period:r,subscriber:t})},e}(s.Observable);e.TimerObservable=l},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n(1),s=n(30),o=n(29),a=function(t){function e(e,n){t.call(this),this.resourceFactory=e,this.observableFactory=n}return i(e,t),e.create=function(t,n){return new e(t,n)},e.prototype._subscribe=function(t){var e,n=this,i=n.resourceFactory,r=n.observableFactory;try{return e=i(),new _(t,e,r)}catch(e){t.error(e)}},e}(r.Observable);e.UsingObservable=a;var _=function(t){function e(e,n,i){t.call(this,e),this.resource=n,this.observableFactory=i,e.add(n),this.tryUse()}return i(e,t),e.prototype.tryUse=function(){try{var t=this.observableFactory.call(this,this.resource);t&&this.add(s.subscribeToResult(this,t))}catch(t){this._error(t)}},e}(o.OuterSubscriber)},function(t,e,n){"use strict";var i=n(1457);e.bindCallback=i.BoundCallbackObservable.create},function(t,e,n){"use strict";var i=n(1458);e.bindNodeCallback=i.BoundNodeCallbackObservable.create},function(t,e,n){"use strict";function i(){for(var t=[],e=0;e0;){var i=n.shift();i.length>0&&e.next(i)}t.prototype._complete.call(this)},e}(s.Subscriber)},function(t,e,n){"use strict";function i(t){var e=arguments.length,n=_.async;h.isScheduler(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]),this.lift(new c(t,i,r,n))}function r(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 s(t){var e=t.bufferCreationInterval,n=t.bufferTimeSpan,i=t.subscriber,r=t.scheduler,s=i.openContext(),a=this;i.closed||(i.add(s.closeAction=r.schedule(o,n,{subscriber:i,context:s})),a.schedule(t,e))}function o(t){var e=t.subscriber,n=t.context;e.closeContext(n)}var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},_=n(101),l=n(18),h=n(161);e.bufferTime=i;var c=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 p(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),u=function(){function t(){this.buffer=[]}return t}(),p=function(t){function e(e,n,i,a,_){t.call(this,e),this.bufferTimeSpan=n,this.bufferCreationInterval=i, this.maxBufferSize=a,this.scheduler=_,this.contexts=[];var l=this.openContext();if(this.timespanOnly=null==i||i<0,this.timespanOnly){var h={subscriber:this,context:l,bufferTimeSpan:n};this.add(l.closeAction=_.schedule(r,n,h))}else{var c={subscriber:this,context:l},u={bufferTimeSpan:n,bufferCreationInterval:i,subscriber:this,scheduler:_};this.add(l.closeAction=_.schedule(o,n,c)),this.add(_.schedule(s,i,u))}}return a(e,t),e.prototype._next=function(t){for(var e,n=this.contexts,i=n.length,r=0;r0;){var r=n.shift();i.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.timespanOnly){t=this.openContext();var n=this.bufferTimeSpan,i={subscriber:this,context:t,bufferTimeSpan:n};this.add(t.closeAction=this.scheduler.schedule(r,n,i))}},e.prototype.openContext=function(){var t=new u;return this.contexts.push(t),t},e.prototype.closeContext=function(t){this.destination.next(t.buffer);var e=this.contexts,n=e?e.indexOf(t):-1;n>=0&&e.splice(e.indexOf(t),1)},e}(l.Subscriber)},function(t,e,n){"use strict";function i(t,e){return this.lift(new _(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(79),o=n(30),a=n(29);e.bufferToggle=i;var _=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e._subscribe(new l(t,this.openings,this.closingSelector))},t}(),l=function(t){function e(e,n,i){t.call(this,e),this.openings=n,this.closingSelector=i,this.contexts=[],this.add(o.subscribeToResult(this,n))}return r(e,t),e.prototype._next=function(t){for(var e=this.contexts,n=e.length,i=0;i0;){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,n=e.call(this,t);n&&this.trySubscribe(n)}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=[],i=new s.Subscription,r={buffer:n,subscription:i};e.push(r);var a=o.subscribeToResult(this,t,r);!a||a.closed?this.closeBuffer(r):(a.context=r,this.add(a),i.add(a))},e}(a.OuterSubscriber)},function(t,e,n){"use strict";function i(t){return this.lift(new h(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(79),o=n(87),a=n(80),_=n(29),l=n(30);e.bufferWhen=i;var h=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e._subscribe(new c(t,this.closingSelector))},t}(),c=function(t){function e(e,n){t.call(this,e),this.closingSelector=n,this.subscribing=!1,this.openBuffer()}return r(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=this.buffer;this.buffer&&this.destination.next(e),this.buffer=[];var n=o.tryCatch(this.closingSelector)();n===a.errorObject?this.error(a.errorObject.e):(t=new s.Subscription,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add(l.subscribeToResult(this,n)),this.subscribing=!1)},e}(_.OuterSubscriber)},function(t,e,n){"use strict";function i(t,e,n){void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===e&&(e=Number.POSITIVE_INFINITY);var i,o,a=this,_=0,l=function(){return i=new s.ReplaySubject(t,e,n)};return new r.Observable(function(t){i||(i=l(),o=a.subscribe(function(t){return i.next(t)},function(t){var e=i;i=null,e.error(t)},function(){return i.complete()})),_++,i||(i=l());var e=i.subscribe(t);return function(){_--,e&&e.unsubscribe(),0===_&&o.unsubscribe()}})}var r=n(1),s=n(323);e.cache=i},function(t,e,n){"use strict";function i(t){var e=new a(t),n=this.lift(e);return e.caught=n}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(29),o=n(30);e._catch=i;var a=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e._subscribe(new _(t,this.selector,this.caught))},t}(),_=function(t){function e(e,n,i){t.call(this,e),this.selector=n,this.caught=i}return r(e,t),e.prototype.error=function(t){if(!this.isStopped){var e=void 0;try{e=this.selector(t,this.caught)}catch(t){return void this.destination.error(t)}this.unsubscribe(),this.destination.remove(this),o.subscribeToResult(this,e)}},e}(s.OuterSubscriber)},function(t,e,n){"use strict";function i(t){return this.lift(new r.CombineLatestOperator(t))}var r=n(421);e.combineAll=i},function(t,e,n){"use strict";function i(){return this.lift(new r.MergeAllOperator(1))}var r=n(324);e.concatAll=i},function(t,e,n){"use strict";function i(t,e){return this.lift(new r.MergeMapOperator(t,e,1))}var r=n(707);e.concatMap=i},function(t,e,n){"use strict";function i(t,e){return this.lift(new r.MergeMapToOperator(t,e,1))}var r=n(708);e.concatMapTo=i},function(t,e,n){"use strict";function i(t){return this.lift(new o(t,this))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(18);e.count=i;var o=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e._subscribe(new a(t,this.predicate,this.source))},t}(),a=function(t){function e(e,n,i){t.call(this,e),this.predicate=n,this.source=i,this.count=0,this.index=0}return r(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}(s.Subscriber)},function(t,e,n){"use strict";function i(t){return this.lift(new a(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(29),o=n(30);e.debounce=i;var a=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e._subscribe(new _(t,this.durationSelector))},t}(),_=function(t){function e(e,n){t.call(this,e),this.durationSelector=n,this.hasValue=!1,this.durationSubscription=null}return r(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=o.subscribeToResult(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}(s.OuterSubscriber)},function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=a.async),this.lift(new _(t,e))}function r(t){t.debouncedNext()}var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(18),a=n(101);e.debounceTime=i;var _=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e._subscribe(new l(t,this.dueTime,this.scheduler))},t}(),l=function(t){function e(e,n,i){t.call(this,e),this.dueTime=n,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}return s(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(r,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){this.clearDebounce(),this.hasValue&&(this.destination.next(this.lastValue),this.lastValue=null,this.hasValue=!1)},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(o.Subscriber)},function(t,e,n){"use strict";function i(t){return void 0===t&&(t=null),this.lift(new o(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(18);e.defaultIfEmpty=i;var o=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e._subscribe(new a(t,this.defaultValue))},t}(),a=function(t){function e(e,n){t.call(this,e),this.defaultValue=n,this.isEmpty=!0}return r(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}(s.Subscriber)},function(t,e,n){"use strict";function i(t,e){void 0===e&&(e=s.async);var n=o.isDate(t),i=n?+t-e.now():Math.abs(t);return this.lift(new l(i,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(101),o=n(329),a=n(18),_=n(239);e.delay=i;var l=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e._subscribe(new h(t,this.delay,this.scheduler))},t}(),h=function(t){function e(e,n,i){t.call(this,e),this.delay=n,this.scheduler=i,this.queue=[],this.active=!1,this.errored=!1}return r(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 s=Math.max(0,n[0].time-i.now());this.schedule(t,s)}else e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(this.errored!==!0){var e=this.scheduler,n=new c(e.now()+this.delay,t);this.queue.push(n),this.active===!1&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(_.Notification.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t)},e.prototype._complete=function(){this.scheduleNotification(_.Notification.createComplete())},e}(a.Subscriber),c=function(){function t(t,e){this.time=t,this.notification=e}return t}()},function(t,e,n){"use strict";function i(t,e){return e?new c(this,e).lift(new l(t)):this.lift(new l(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(18),o=n(1),a=n(29),_=n(30);e.delayWhen=i;var l=function(){function t(t){this.delayDurationSelector=t}return t.prototype.call=function(t,e){return e._subscribe(new h(t,this.delayDurationSelector))},t}(),h=function(t){function e(e,n){t.call(this,e),this.delayDurationSelector=n,this.completed=!1,this.delayNotifierSubscriptions=[],this.values=[]}return r(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){try{var e=this.delayDurationSelector(t);e&&this.tryDelay(e,t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.completed=!0,this.tryComplete()},e.prototype.removeSubscription=function(t){t.unsubscribe();var e=this.delayNotifierSubscriptions.indexOf(t),n=null;return e!==-1&&(n=this.values[e],this.delayNotifierSubscriptions.splice(e,1),this.values.splice(e,1)),n},e.prototype.tryDelay=function(t,e){var n=_.subscribeToResult(this,t,e);this.add(n),this.delayNotifierSubscriptions.push(n),this.values.push(e)},e.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},e}(a.OuterSubscriber),c=function(t){function e(e,n){t.call(this),this.source=e,this.subscriptionDelay=n}return r(e,t),e.prototype._subscribe=function(t){this.subscriptionDelay.subscribe(new u(t,this.source))},e}(o.Observable),u=function(t){function e(e,n){t.call(this),this.parent=e,this.source=n,this.sourceSubscribed=!1}return r(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.subscribeToSource()},e.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},e}(s.Subscriber)},function(t,e,n){"use strict";function i(){return this.lift(new o)}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(18);e.dematerialize=i;var o=function(){function t(){}return t.prototype.call=function(t,e){return e._subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e)}return r(e,t),e.prototype._next=function(t){t.observe(this.destination)},e}(s.Subscriber)},function(t,e,n){"use strict";function i(t,e,n){return r.distinct.call(this,function(n,i){return e?e(n[t],i[t]):n[t]===i[t]},n)}var r=n(702);e.distinctKey=i},function(t,e,n){"use strict";function i(t,e){return r.distinctUntilChanged.call(this,function(n,i){return e?e(n[t],i[t]):n[t]===i[t]})}var r=n(703);e.distinctUntilKeyChanged=i},function(t,e,n){"use strict";function i(t,e,n){return this.lift(new o(t,e,n))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(18);e._do=i;var o=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 a(t,this.nextOrObserver,this.error,this.complete))},t}(),a=function(t){function e(e,n,i,r){t.call(this,e);var o=new s.Subscriber(n,i,r);o.syncErrorThrowable=!0,this.add(o),this.safeSubscriber=o}return r(e,t),e.prototype._next=function(t){var e=this.safeSubscriber;e.next(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.next(t)},e.prototype._error=function(t){var e=this.safeSubscriber;e.error(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.error(t)},e.prototype._complete=function(){var t=this.safeSubscriber;t.complete(),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.complete()},e}(s.Subscriber)},function(t,e,n){"use strict";function i(t,e){return this.lift(new a(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(18),o=n(327);e.elementAt=i;var a=function(){function t(t,e){if(this.index=t,this.defaultValue=e,t<0)throw new o.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e._subscribe(new _(t,this.index,this.defaultValue))},t}(),_=function(t){function e(e,n,i){t.call(this,e),this.index=n,this.defaultValue=i}return r(e,t),e.prototype._next=function(t){0===this.index--&&(this.destination.next(t),this.destination.complete())},e.prototype._complete=function(){var t=this.destination;this.index>=0&&("undefined"!=typeof this.defaultValue?t.next(this.defaultValue):t.error(new o.ArgumentOutOfRangeError)),t.complete()},e}(s.Subscriber)},function(t,e,n){"use strict";function i(t,e){return this.lift(new o(t,e,this))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(18);e.every=i;var o=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 a(t,this.predicate,this.thisArg,this.source))},t}(),a=function(t){function e(e,n,i,r){t.call(this,e),this.predicate=n,this.thisArg=i,this.source=r,this.index=0,this.thisArg=i||this}return r(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}(s.Subscriber)},function(t,e,n){"use strict";function i(){return this.lift(new a)}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(29),o=n(30);e.exhaust=i;var a=function(){function t(){}return t.prototype.call=function(t,e){return e._subscribe(new _(t))},t}(),_=function(t){function e(e){t.call(this,e),this.hasCompleted=!1,this.hasSubscription=!1}return r(e,t),e.prototype._next=function(t){this.hasSubscription||(this.hasSubscription=!0,this.add(o.subscribeToResult(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}(s.OuterSubscriber)},function(t,e,n){"use strict";function i(t,e){return this.lift(new a(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(29),o=n(30);e.exhaustMap=i;var a=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e._subscribe(new _(t,this.project,this.resultSelector))},t}(),_=function(t){function e(e,n,i){t.call(this,e),this.project=n,this.resultSelector=i,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}return r(e,t),e.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},e.prototype.tryNext=function(t){var e=this.index++,n=this.destination;try{var i=this.project(t,e);this.hasSubscription=!0,this.add(o.subscribeToResult(this,i,t,e))}catch(t){n.error(t)}},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyNext=function(t,e,n,i,r){var s=this,o=s.resultSelector,a=s.destination;o?this.trySelectResult(t,e,n,i):a.next(e)},e.prototype.trySelectResult=function(t,e,n,i){var r=this,s=r.resultSelector,o=r.destination;try{var a=s(t,e,n,i);o.next(a)}catch(t){o.error(t)}},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(s.OuterSubscriber)},function(t,e,n){"use strict";function i(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,this.lift(new l(t,e,n))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(87),o=n(80),a=n(29),_=n(30);e.expand=i;var l=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 h(t,this.project,this.concurrent,this.scheduler))},t}();e.ExpandOperator=l;var h=function(t){function e(e,n,i,r){t.call(this,e),this.project=n,this.concurrent=i,this.scheduler=r,this.index=0,this.active=0,this.hasCompleted=!1,i0&&this._next(e.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(a.OuterSubscriber);e.ExpandSubscriber=h},function(t,e,n){"use strict";function i(t){return this.lift(new a(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(18),o=n(79);e._finally=i;var a=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e._subscribe(new _(t,this.callback))},t}(),_=function(t){function e(e,n){t.call(this,e),this.add(new o.Subscription(n))}return r(e,t),e}(s.Subscriber)},function(t,e,n){"use strict";function i(t,e){return this.lift(new r.FindValueOperator(t,this,!0,e))}var r=n(705);e.findIndex=i},function(t,e,n){"use strict";function i(t,e,n){return this.lift(new a(t,e,n,this))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(18),o=n(328);e.first=i;var a=function(){function t(t,e,n,i){this.predicate=t,this.resultSelector=e,this.defaultValue=n,this.source=i}return t.prototype.call=function(t,e){return e._subscribe(new _(t,this.predicate,this.resultSelector,this.defaultValue,this.source))},t}(),_=function(t){function e(e,n,i,r,s){t.call(this,e),this.predicate=n,this.resultSelector=i,this.defaultValue=r,this.source=s,this.index=0,this.hasCompleted=!1}return r(e,t),e.prototype._next=function(t){var e=this.index++;this.predicate?this._tryPredicate(t,e):this._emit(t,e)},e.prototype._tryPredicate=function(t,e){var n;try{n=this.predicate(t,e,this.source)}catch(t){return void this.destination.error(t)}n&&this._emit(t,e)},e.prototype._emit=function(t,e){return this.resultSelector?void this._tryResultSelector(t,e):void this._emitFinal(t)},e.prototype._tryResultSelector=function(t,e){var n;try{n=this.resultSelector(t,e)}catch(t){return void this.destination.error(t)}this._emitFinal(n)},e.prototype._emitFinal=function(t){var e=this.destination;e.next(t),e.complete(),this.hasCompleted=!0},e.prototype._complete=function(){var t=this.destination;this.hasCompleted||"undefined"==typeof this.defaultValue?this.hasCompleted||t.error(new o.EmptyError):(t.next(this.defaultValue),t.complete())},e}(s.Subscriber)},function(t,e,n){"use strict";function i(t,e,n){return this.lift(new c(this,t,e,n))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(18),o=n(79),a=n(1),_=n(57),l=n(1594),h=n(1592);e.groupBy=i;var c=function(){function t(t,e,n,i){this.source=t,this.keySelector=e,this.elementSelector=n,this.durationSelector=i}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.keySelector,this.elementSelector,this.durationSelector))},t}(),u=function(t){function e(e,n,i,r){t.call(this,e),this.keySelector=n,this.elementSelector=i,this.durationSelector=r,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}return r(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="string"==typeof e?new h.FastMap:new l.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){n.set(e,r=new _.Subject);var s=new d(e,r,this);if(this.destination.next(s),this.durationSelector){var o=void 0;try{o=this.durationSelector(new d(e,r))}catch(t){return void this.error(t)}this.add(o.subscribe(new p(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||(this.attemptedToUnsubscribe=!0,0===this.count&&t.prototype.unsubscribe.call(this))},e}(s.Subscriber),p=function(t){function e(e,n,i){t.call(this),this.key=e,this.group=n,this.parent=i}return r(e,t),e.prototype._next=function(t){this._complete()},e.prototype._error=function(t){var e=this.group;e.closed||e.error(t),this.parent.removeGroup(this.key)},e.prototype._complete=function(){var t=this.group;t.closed||t.complete(),this.parent.removeGroup(this.key)},e}(s.Subscriber),d=function(t){function e(e,n,i){t.call(this),this.key=e,this.groupSubject=n,this.refCountSubscription=i}return r(e,t),e.prototype._subscribe=function(t){var e=new o.Subscription,n=this,i=n.refCountSubscription,r=n.groupSubject;return i&&!i.closed&&e.add(new f(i)),e.add(r.subscribe(t)),e},e}(a.Observable);e.GroupedObservable=d;var f=function(t){function e(e){t.call(this),this.parent=e,e.count++}return r(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}(o.Subscription)},function(t,e,n){"use strict";function i(){return this.lift(new a)}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(18),o=n(722);e.ignoreElements=i;var a=function(){function t(){}return t.prototype.call=function(t,e){return e._subscribe(new _(t))},t}(),_=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype._next=function(t){o.noop()},e}(s.Subscriber)},function(t,e,n){"use strict";function i(){return this.lift(new o)}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(18);e.isEmpty=i;var o=function(){function t(){}return t.prototype.call=function(t,e){return e._subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e)}return r(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}(s.Subscriber)},function(t,e,n){"use strict";function i(t,e,n){return this.lift(new a(t,e,n,this))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(18),o=n(328);e.last=i;var a=function(){function t(t,e,n,i){this.predicate=t,this.resultSelector=e,this.defaultValue=n,this.source=i}return t.prototype.call=function(t,e){return e._subscribe(new _(t,this.predicate,this.resultSelector,this.defaultValue,this.source))},t}(),_=function(t){function e(e,n,i,r,s){t.call(this,e),this.predicate=n,this.resultSelector=i,this.defaultValue=r,this.source=s,this.hasValue=!1,this.index=0,"undefined"!=typeof r&&(this.lastValue=r,this.hasValue=!0)}return r(e,t),e.prototype._next=function(t){var e=this.index++;if(this.predicate)this._tryPredicate(t,e);else{if(this.resultSelector)return void this._tryResultSelector(t,e);this.lastValue=t,this.hasValue=!0}},e.prototype._tryPredicate=function(t,e){var n;try{n=this.predicate(t,e,this.source)}catch(t){return void this.destination.error(t)}if(n){if(this.resultSelector)return void this._tryResultSelector(t,e);this.lastValue=t,this.hasValue=!0}},e.prototype._tryResultSelector=function(t,e){var n;try{n=this.resultSelector(t,e)}catch(t){return void this.destination.error(t)}this.lastValue=n,this.hasValue=!0},e.prototype._complete=function(){var t=this.destination;this.hasValue?(t.next(this.lastValue),t.complete()):t.error(new o.EmptyError)},e}(s.Subscriber)},function(t,e,n){"use strict";function i(t){return t(this)}e.letProto=i},function(t,e,n){"use strict";function i(t){return this.lift(new o(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(18);e.mapTo=i;var o=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e._subscribe(new a(t,this.value))},t}(),a=function(t){function e(e,n){t.call(this,e),this.value=n}return r(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(s.Subscriber)},function(t,e,n){"use strict";function i(){return this.lift(new a)}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(18),o=n(239);e.materialize=i;var a=function(){function t(){}return t.prototype.call=function(t,e){return e._subscribe(new _(t))},t}(),_=function(t){function e(e){t.call(this,e)}return r(e,t),e.prototype._next=function(t){this.destination.next(o.Notification.createNext(t))},e.prototype._error=function(t){var e=this.destination;e.next(o.Notification.createError(t)),e.complete()},e.prototype._complete=function(){var t=this.destination;t.next(o.Notification.createComplete()),t.complete()},e}(s.Subscriber); },function(t,e,n){"use strict";function i(t){var e="function"==typeof t?function(e,n){return t(e,n)>0?e:n}:function(t,e){return t>e?t:e};return this.lift(new r.ReduceOperator(e))}var r=n(425);e.max=i},function(t,e,n){"use strict";function i(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),this.lift(new l(t,e,n))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(87),o=n(80),a=n(30),_=n(29);e.mergeScan=i;var l=function(){function t(t,e,n){this.project=t,this.seed=e,this.concurrent=n}return t.prototype.call=function(t,e){return e._subscribe(new h(t,this.project,this.seed,this.concurrent))},t}();e.MergeScanOperator=l;var h=function(t){function e(e,n,i,r){t.call(this,e),this.project=n,this.acc=i,this.concurrent=r,this.hasValue=!1,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return r(e,t),e.prototype._next=function(t){if(this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&(this.hasValue===!1&&this.destination.next(this.acc),this.destination.complete())},e}(_.OuterSubscriber);e.MergeScanSubscriber=h},function(t,e,n){"use strict";function i(t){var e="function"==typeof t?function(e,n){return t(e,n)<0?e:n}:function(t,e){return t-1&&(this.count=i-1),this.unsubscribe(),this.isStopped=!1,this.closed=!1,n.subscribe(this)}},e}(s.Subscriber)},function(t,e,n){"use strict";function i(t){return this.lift(new h(t,this))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(57),o=n(87),a=n(80),_=n(29),l=n(30);e.repeatWhen=i;var h=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e._subscribe(new c(t,this.notifier,this.source))},t}(),c=function(t){function e(e,n,i){t.call(this,e),this.notifier=n,this.source=i}return r(e,t),e.prototype.complete=function(){if(!this.isStopped){var e=this.notifications,n=this.retries,i=this.retriesSubscription;if(n)this.notifications=null,this.retriesSubscription=null;else{if(e=new s.Subject,n=o.tryCatch(this.notifier)(e),n===a.errorObject)return t.prototype.complete.call(this);i=l.subscribeToResult(this,n)}this.unsubscribe(),this.closed=!1,this.notifications=e,this.retries=n,this.retriesSubscription=i,e.next()}},e.prototype._unsubscribe=function(){var t=this,e=t.notifications,n=t.retriesSubscription;e&&(e.unsubscribe(),this.notifications=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype.notifyNext=function(t,e,n,i,r){var s=this,o=s.notifications,a=s.retries,_=s.retriesSubscription;this.notifications=null,this.retries=null,this.retriesSubscription=null,this.unsubscribe(),this.isStopped=!1,this.closed=!1,this.notifications=o,this.retries=a,this.retriesSubscription=_,this.source.subscribe(this)},e}(_.OuterSubscriber)},function(t,e,n){"use strict";function i(t){return void 0===t&&(t=-1),this.lift(new o(t,this))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(18);e.retry=i;var o=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e._subscribe(new a(t,this.count,this.source))},t}(),a=function(t){function e(e,n,i){t.call(this,e),this.count=n,this.source=i}return r(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this,i=n.source,r=n.count;if(0===r)return t.prototype.error.call(this,e);r>-1&&(this.count=r-1),this.unsubscribe(),this.isStopped=!1,this.closed=!1,i.subscribe(this)}},e}(s.Subscriber)},function(t,e,n){"use strict";function i(t){return this.lift(new h(t,this))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(57),o=n(87),a=n(80),_=n(29),l=n(30);e.retryWhen=i;var h=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e._subscribe(new c(t,this.notifier,this.source))},t}(),c=function(t){function e(e,n,i){t.call(this,e),this.notifier=n,this.source=i}return r(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{if(n=new s.Subject,i=o.tryCatch(this.notifier)(n),i===a.errorObject)return t.prototype.error.call(this,a.errorObject.e);r=l.subscribeToResult(this,i)}this.unsubscribe(),this.closed=!1,this.errors=n,this.retries=i,this.retriesSubscription=r,n.next(e)}},e.prototype._unsubscribe=function(){var t=this,e=t.errors,n=t.retriesSubscription;e&&(e.unsubscribe(),this.errors=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype.notifyNext=function(t,e,n,i,r){var s=this,o=s.errors,a=s.retries,_=s.retriesSubscription;this.errors=null,this.retries=null,this.retriesSubscription=null,this.unsubscribe(),this.isStopped=!1,this.closed=!1,this.errors=o,this.retries=a,this.retriesSubscription=_,this.source.subscribe(this)},e}(_.OuterSubscriber)},function(t,e,n){"use strict";function i(t){return this.lift(new a(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(29),o=n(30);e.sample=i;var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e._subscribe(new _(t,this.notifier))},t}(),_=function(t){function e(e,n){t.call(this,e),this.hasValue=!1,this.add(o.subscribeToResult(this,n))}return r(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}(s.OuterSubscriber)},function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=a.async),this.lift(new _(t,e))}function r(t){var e=t.subscriber,n=t.period;e.notifyNext(),this.schedule(t,n)}var s=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(18),a=n(101);e.sampleTime=i;var _=function(){function t(t,e){this.period=t,this.scheduler=e}return t.prototype.call=function(t,e){return e._subscribe(new l(t,this.period,this.scheduler))},t}(),l=function(t){function e(e,n,i){t.call(this,e),this.period=n,this.scheduler=i,this.hasValue=!1,this.add(i.schedule(r,n,{subscriber:this,period:n}))}return s(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}(o.Subscriber)},function(t,e,n){"use strict";function i(t,e){return this.lift(new o(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(18);e.scan=i;var o=function(){function t(t,e){this.accumulator=t,this.seed=e}return t.prototype.call=function(t,e){return e._subscribe(new a(t,this.accumulator,this.seed))},t}(),a=function(t){function e(e,n,i){t.call(this,e),this.accumulator=n,this.index=0,this.accumulatorSet=!1,this.seed=i,this.accumulatorSet="undefined"!=typeof i}return r(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.accumulatorSet=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){return this.accumulatorSet?this._tryNext(t):(this.seed=t,void 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}(s.Subscriber)},function(t,e,n){"use strict";function i(t,e){return this.lift(new _(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(18),o=n(87),a=n(80);e.sequenceEqual=i;var _=function(){function t(t,e){this.compareTo=t,this.comparor=e}return t.prototype.call=function(t,e){return e._subscribe(new l(t,this.compareTo,this.comparor))},t}();e.SequenceEqualOperator=_;var l=function(t){function e(e,n,i){t.call(this,e),this.compareTo=n,this.comparor=i,this._a=[],this._b=[],this._oneComplete=!1,this.add(n.subscribe(new h(e,this)))}return r(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},e.prototype.checkValues=function(){for(var t=this,e=t._a,n=t._b,i=t.comparor;e.length>0&&n.length>0;){var r=e.shift(),s=n.shift(),_=!1;i?(_=o.tryCatch(i)(r,s),_===a.errorObject&&this.destination.error(a.errorObject.e)):_=r===s,_||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}(s.Subscriber);e.SequenceEqualSubscriber=l;var h=function(t){function e(e,n){t.call(this,e),this.parent=n}return r(e,t),e.prototype._next=function(t){this.parent.nextB(t)},e.prototype._error=function(t){this.parent.error(t)},e.prototype._complete=function(){this.parent._complete()},e}(s.Subscriber)},function(t,e,n){"use strict";function i(){return new o.Subject}function r(){return s.multicast.call(this,i).refCount()}var s=n(206),o=n(57);e.share=r},function(t,e,n){"use strict";function i(t){return this.lift(new a(t,this))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(18),o=n(328);e.single=i;var a=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e._subscribe(new _(t,this.predicate,this.source))},t}(),_=function(t){function e(e,n,i){t.call(this,e),this.predicate=n,this.source=i,this.seenValue=!1,this.index=0}return r(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.predicate;this.index++,e?this.tryNext(t):this.applySingleValue(t)},e.prototype.tryNext=function(t){try{var e=this.predicate(t,this.index,this.source);e&&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 o.EmptyError)},e}(s.Subscriber)},function(t,e,n){"use strict";function i(t){return this.lift(new o(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(18);e.skip=i;var o=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e._subscribe(new a(t,this.total))},t}(),a=function(t){function e(e,n){t.call(this,e),this.total=n,this.count=0}return r(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(s.Subscriber)},function(t,e,n){"use strict";function i(t){return this.lift(new a(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(29),o=n(30);e.skipUntil=i;var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e._subscribe(new _(t,this.notifier))},t}(),_=function(t){function e(e,n){t.call(this,e),this.hasValue=!1,this.isInnerStopped=!1,this.add(o.subscribeToResult(this,n))}return r(e,t),e.prototype._next=function(e){this.hasValue&&t.prototype._next.call(this,e)},e.prototype._complete=function(){this.isInnerStopped?t.prototype._complete.call(this):this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,i,r){this.hasValue=!0},e.prototype.notifyComplete=function(){this.isInnerStopped=!0,this.isStopped&&t.prototype._complete.call(this)},e}(s.OuterSubscriber)},function(t,e,n){"use strict";function i(t){return this.lift(new o(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(18);e.skipWhile=i;var o=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e._subscribe(new a(t,this.predicate))},t}(),a=function(t){function e(e,n){t.call(this,e),this.predicate=n,this.skipping=!0,this.index=0}return r(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}(s.Subscriber)},function(t,e,n){"use strict";function i(){for(var t=[],e=0;e1?a.concatStatic(new r.ArrayObservable(t,n),this):a.concatStatic(new o.EmptyObservable(n),this)}var r=n(145),s=n(420),o=n(160),a=n(422),_=n(161);e.startWith=i},function(t,e,n){"use strict";function i(t,e){return void 0===e&&(e=0),new r.SubscribeOnObservable(this,e,t)}var r=n(1471);e.subscribeOn=i},function(t,e,n){"use strict";function i(){return this.lift(new a)}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(29),o=n(30);e._switch=i;var a=function(){function t(){}return t.prototype.call=function(t,e){return e._subscribe(new _(t))},t}(),_=function(t){function e(e){t.call(this,e),this.active=0,this.hasCompleted=!1}return r(e,t),e.prototype._next=function(t){this.unsubscribeInner(),this.active++,this.add(this.innerSubscription=o.subscribeToResult(this,t))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&this.destination.complete()},e.prototype.unsubscribeInner=function(){this.active=this.active>0?this.active-1:0;var t=this.innerSubscription;t&&(t.unsubscribe(),this.remove(t))},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(){this.unsubscribeInner(),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(s.OuterSubscriber)},function(t,e,n){"use strict";function i(t,e){return this.lift(new a(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(29),o=n(30);e.switchMap=i;var a=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e._subscribe(new _(t,this.project,this.resultSelector))},t}(),_=function(t){function e(e,n,i){t.call(this,e),this.project=n,this.resultSelector=i,this.index=0}return r(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(),this.add(this.innerSubscription=o.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,i,r){this.resultSelector?this._tryNotifyNext(t,e,n,i):this.destination.next(e)},e.prototype._tryNotifyNext=function(t,e,n,i){var r;try{r=this.resultSelector(t,e,n,i)}catch(t){return void this.destination.error(t)}this.destination.next(r)},e}(s.OuterSubscriber)},function(t,e,n){"use strict";function i(t,e){return this.lift(new a(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(29),o=n(30);e.switchMapTo=i;var a=function(){function t(t,e){this.observable=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e._subscribe(new _(t,this.observable,this.resultSelector))},t}(),_=function(t){function e(e,n,i){t.call(this,e),this.inner=n,this.resultSelector=i,this.index=0}return r(e,t),e.prototype._next=function(t){var e=this.innerSubscription;e&&e.unsubscribe(),this.add(this.innerSubscription=o.subscribeToResult(this,this.inner,t,this.index++))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,i,r){var s=this,o=s.resultSelector,a=s.destination;o?this.tryResultSelector(t,e,n,i):a.next(e)},e.prototype.tryResultSelector=function(t,e,n,i){var r,s=this,o=s.resultSelector,a=s.destination;try{r=o(t,e,n,i)}catch(t){return void a.error(t)}a.next(r)},e}(s.OuterSubscriber)},function(t,e,n){"use strict";function i(t){return 0===t?new a.EmptyObservable:this.lift(new _(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(18),o=n(327),a=n(160);e.take=i;var _=function(){function t(t){if(this.total=t,this.total<0)throw new o.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e._subscribe(new l(t,this.total))},t}(),l=function(t){function e(e,n){t.call(this,e),this.total=n,this.count=0}return r(e,t),e.prototype._next=function(t){var e=this.total;++this.count<=e&&(this.destination.next(t),this.count===e&&(this.destination.complete(),this.unsubscribe()))},e}(s.Subscriber)},function(t,e,n){"use strict";function i(t){return 0===t?new a.EmptyObservable:this.lift(new _(t))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(18),o=n(327),a=n(160);e.takeLast=i;var _=function(){function t(t){if(this.total=t,this.total<0)throw new o.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e._subscribe(new l(t,this.total))},t}(),l=function(t){function e(e,n){t.call(this,e),this.total=n,this.ring=new Array,this.count=0}return r(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,i=this.count++;if(e.length0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,r=0;r0?this.startWindowEvery:this.windowSize,n=this.destination,i=this.windowSize,r=this.windows,s=r.length,a=0;a=0&&_%e===0&&!this.closed&&r.shift().complete(),++this.count%e===0&&!this.closed){var l=new o.Subject;r.push(l),n.next(l)}},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}(s.Subscriber)},function(t,e,n){"use strict";function i(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=l.async),this.lift(new c(t,e,n))}function r(t){var e=t.subscriber,n=t.windowTimeSpan,i=t.window;i&&i.complete(),t.window=e.openWindow(),this.schedule(t,n)}function s(t){var e=t.windowTimeSpan,n=t.subscriber,i=t.scheduler,r=t.windowCreationInterval,s=n.openWindow(),a=this,_={action:a,subscription:null},l={subscriber:n,window:s,context:_};_.subscription=i.schedule(o,e,l),a.add(_.subscription),a.schedule(t,r)}function o(t){var e=t.subscriber,n=t.window,i=t.context;i&&i.action&&i.subscription&&i.action.remove(i.subscription),e.closeWindow(n)}var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},_=n(57),l=n(101),h=n(18);e.windowTime=i;var c=function(){function t(t,e,n){this.windowTimeSpan=t,this.windowCreationInterval=e,this.scheduler=n}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.windowTimeSpan,this.windowCreationInterval,this.scheduler))},t}(),u=function(t){function e(e,n,i,a){if(t.call(this,e),this.destination=e,this.windowTimeSpan=n,this.windowCreationInterval=i,this.scheduler=a,this.windows=[],null!==i&&i>=0){var _=this.openWindow(),l={subscriber:this,window:_,context:null},h={windowTimeSpan:n,windowCreationInterval:i,subscriber:this,scheduler:a};this.add(a.schedule(o,n,l)),this.add(a.schedule(s,i,h))}else{var c=this.openWindow(),u={subscriber:this,window:c,windowTimeSpan:n};this.add(a.schedule(r,n,u))}}return a(e,t),e.prototype._next=function(t){for(var e=this.windows,n=e.length,i=0;i0;)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 _.Subject;this.windows.push(t);var e=this.destination;return e.next(t),t},e.prototype.closeWindow=function(t){t.complete();var e=this.windows;e.splice(e.indexOf(t),1)},e}(h.Subscriber)},function(t,e,n){"use strict";function i(t,e){return this.lift(new c(t,e))}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(57),o=n(79),a=n(87),_=n(80),l=n(29),h=n(30);e.windowToggle=i;var c=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e._subscribe(new u(t,this.openings,this.closingSelector))},t}(),u=function(t){function e(e,n,i){t.call(this,e),this.openings=n,this.closingSelector=i,this.contexts=[],this.add(this.openSubscription=h.subscribeToResult(this,n,n))}return r(e,t),e.prototype._next=function(t){var e=this.contexts;if(e)for(var n=e.length,i=0;i0){var o=s.indexOf(n);o!==-1&&s.splice(o,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}(s.OuterSubscriber)},function(t,e,n){"use strict";function i(t){return this.lift(new r.ZipOperator(t))}var r=n(426);e.zipAll=i},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n(79),s=function(t){function e(e,n){t.call(this)}return i(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(r.Subscription);e.Action=s},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n(240),s=n(1591),o=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n}return i(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=s.AnimationFrame.requestAnimationFrame(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,i){return void 0===i&&(i=0),null!==i&&i>0?t.prototype.recycleAsyncId.call(this,e,n,i):void(0===e.actions.length&&(s.AnimationFrame.cancelAnimationFrame(n),e.scheduled=void 0))},e}(r.AsyncAction);e.AnimationFrameAction=o},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n(241),s=function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype.flush=function(){this.active=!0,this.scheduled=void 0;var t,e=this.actions,n=-1,i=e.length,r=e.shift();do if(t=r.execute(r.state,r.delay))break;while(++n0?t.prototype.requestAsyncId.call(this,e,n,i):(e.actions.push(this),e.scheduled||(e.scheduled=r.Immediate.setImmediate(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,i){return void 0===i&&(i=0),null!==i&&i>0?t.prototype.recycleAsyncId.call(this,e,n,i):void(0===e.actions.length&&(r.Immediate.clearImmediate(n),e.scheduled=void 0))},e}(s.AsyncAction);e.AsapAction=o},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n(241),s=function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype.flush=function(){this.active=!0,this.scheduled=void 0;var t,e=this.actions,n=-1,i=e.length,r=e.shift();do if(t=r.execute(r.state,r.delay))break;while(++n0?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?t.prototype.requestAsyncId.call(this,e,n,i):e.flush(this)},e}(r.AsyncAction);e.QueueAction=s},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n(241),s=function(t){function e(){t.apply(this,arguments)}return i(e,t),e}(r.AsyncScheduler);e.QueueScheduler=s},function(t,e,n){"use strict";var i=n(1581),r=n(1582);e.animationFrame=new r.AnimationFrameScheduler(i.AnimationFrameAction)},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=n(1),s=n(79),o=n(718),a=n(720),_=function(t){function e(e,n){t.call(this,function(t){var e=this,n=e.logSubscribedFrame();return t.add(new s.Subscription(function(){e.logUnsubscribedFrame(n)})),e.scheduleMessages(t),t}),this.messages=e,this.subscriptions=[],this.scheduler=n}return i(e,t),e.prototype.scheduleMessages=function(t){for(var e=this.messages.length,n=0;n0;)e.shift().setup();t.prototype.flush.call(this);for(var n=this.flushTests.filter(function(t){return t.ready});n.length>0;){var i=n.shift();this.assertDeepEqual(i.actual,i.expected)}},e.parseMarblesAsSubscriptions=function(t){if("string"!=typeof t)return new _.SubscriptionLog(Number.POSITIVE_INFINITY);for(var e=t.length,n=-1,i=Number.POSITIVE_INFINITY,r=Number.POSITIVE_INFINITY,s=0;s-1?n:o;break;case"!":if(r!==Number.POSITIVE_INFINITY)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");r=n>-1?n:o;break;default:throw new Error("there can only be '^' and '!' markers in a subscription marble diagram. Found instead '"+a+"'.")}}return r<0?new _.SubscriptionLog(i):new _.SubscriptionLog(i,r)},e.parseMarbles=function(t,e,n,i){if(void 0===i&&(i=!1),t.indexOf("!")!==-1)throw new Error('conventional marble diagrams cannot have the unsubscription marker "!"');for(var r=t.length,a=[],_=t.indexOf("^"),l=_===-1?0:_*-this.frameTimeFactor,h="object"!=typeof e?function(t){return t}:function(t){return i&&e[t]instanceof o.ColdObservable?e[t].messages:e[t]},c=-1,u=0;u-1?c:p,notification:d})}return a},e}(l.VirtualTimeScheduler);e.TestScheduler=c},function(t,e,n){"use strict";var i=n(95),r=function(){function t(t){t.requestAnimationFrame?(this.cancelAnimationFrame=t.cancelAnimationFrame.bind(t),this.requestAnimationFrame=t.requestAnimationFrame.bind(t)):t.mozRequestAnimationFrame?(this.cancelAnimationFrame=t.mozCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.mozRequestAnimationFrame.bind(t)):t.webkitRequestAnimationFrame?(this.cancelAnimationFrame=t.webkitCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.webkitRequestAnimationFrame.bind(t)):t.msRequestAnimationFrame?(this.cancelAnimationFrame=t.msCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.msRequestAnimationFrame.bind(t)):t.oRequestAnimationFrame?(this.cancelAnimationFrame=t.oCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.oRequestAnimationFrame.bind(t)):(this.cancelAnimationFrame=t.clearTimeout.bind(t),this.requestAnimationFrame=function(e){return t.setTimeout(e,1e3/60)})}return t}();e.RequestAnimationFrameDefinition=r,e.AnimationFrame=new r(i.root)},function(t,e,n){"use strict";var i=function(){function t(){this.values={}}return t.prototype.delete=function(t){return this.values[t]=null,!0},t.prototype.set=function(t,e){return this.values[t]=e,this},t.prototype.get=function(t){return this.values[t]},t.prototype.forEach=function(t,e){var n=this.values;for(var i in n)n.hasOwnProperty(i)&&null!==n[i]&&t.call(e,n[i],i)},t.prototype.clear=function(){this.values={}},t}();e.FastMap=i},function(t,e,n){"use strict";(function(t,i){var r=n(95),s=function(){function t(t){if(this.root=t,t.setImmediate&&"function"==typeof t.setImmediate)this.setImmediate=t.setImmediate.bind(t),this.clearImmediate=t.clearImmediate.bind(t);else{this.nextHandle=1,this.tasksByHandle={},this.currentlyRunningATask=!1,this.canUseProcessNextTick()?this.setImmediate=this.createProcessNextTickSetImmediate():this.canUsePostMessage()?this.setImmediate=this.createPostMessageSetImmediate():this.canUseMessageChannel()?this.setImmediate=this.createMessageChannelSetImmediate():this.canUseReadyStateChange()?this.setImmediate=this.createReadyStateChangeSetImmediate():this.setImmediate=this.createSetTimeoutSetImmediate();var e=function t(e){delete t.instance.tasksByHandle[e]};e.instance=this,this.clearImmediate=e}}return t.prototype.identify=function(t){return this.root.Object.prototype.toString.call(t)},t.prototype.canUseProcessNextTick=function(){return"[object process]"===this.identify(this.root.process)},t.prototype.canUseMessageChannel=function(){return Boolean(this.root.MessageChannel)},t.prototype.canUseReadyStateChange=function(){var t=this.root.document;return Boolean(t&&"onreadystatechange"in t.createElement("script"))},t.prototype.canUsePostMessage=function(){var t=this.root;if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}return!1},t.prototype.partiallyApplied=function(t){for(var e=[],n=1;n=d;)t/=2,e/=2,n>>>=1;return(t+n)/e}},t.exports.resetGlobal=function(){Math.random=m},r(Math.random(),h)}).call(e,n(135))},function(t,e,n){(function(t,e){!function(t,n){"use strict";function i(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n3?t.slice(3):"any":t,o=i.split("|").map(D).filter(j).filter(R),a=A(e,o),_=o.map(function(t){var e=r(t);return{name:t,typeIndex:s(e),test:e.test,conversion:null,conversionIndex:-1}}),l=a.map(function(t){var n=r(t.from);return{name:t.from,typeIndex:s(n),test:n.test,conversion:t,conversionIndex:e.indexOf(t)}});return{types:_.concat(l),restParam:n}}function c(t,e,n){var i=[];return""!==t.trim()&&(i=t.split(",").map(D).map(function(t,e,i){var r=h(t,n);if(r.restParam&&e!==i.length-1)throw new SyntaxError('Unexpected rest parameter "'+t+'": only allowed for the last parameter');return r})),i.some(L)?null:{params:i,fn:e}}function u(t){var e=F(t);return!!e&&e.restParam; }function p(t){return t.types.some(function(t){return null!=t.conversion})}function d(e){if(e&&0!==e.types.length){if(1===e.types.length)return r(e.types[0].name).test;if(2===e.types.length){var n=r(e.types[0].name).test,i=r(e.types[1].name).test;return function(t){return n(t)||i(t)}}var s=e.types.map(function(t){return r(t.name).test});return function(t){for(var e=0;e=r+1}}return 0===t.length?function(t){return 0===t.length}:1===t.length?(n=d(t[0]),function(t){return n(t[0])&&1===t.length}):2===t.length?(n=d(t[0]),i=d(t[1]),function(t){return n(t[0])&&i(t[1])&&2===t.length}):(e=t.map(d),function(t){for(var n=0;n0){var h=o(e[s]);return i=new TypeError("Unexpected type of argument in function "+a+" (expected: "+r.join(" or ")+", actual: "+h+", index: "+s+")"),i.data={category:"wrongType",fn:a,index:s,actual:h,expected:r},i}}else _=l}var c=_.map(function(t){return u(t.params)?1/0:t.params.length});if(e.lengthp?(i=new TypeError("Too many arguments in function "+a+" (expected: "+p+", actual: "+e.length+")"),i.data={category:"tooManyArgs",fn:a,index:e.length,expectedLength:p},i):(i=new TypeError('Arguments of type "'+e.join(", ")+'" do not match any of the defined signatures of function '+a+"."),i.data={category:"mismatch",actual:e.map(o)},i)}function w(t){for(var e=999,n=0;n=o:l?o>=a:o===a}function P(t,i){if(0===Object.keys(i).length)throw new SyntaxError("No signatures provided");var r=[];Object.keys(i).map(function(t){return c(t,i[t],Z.conversions)}).filter(M).forEach(function(t){var e=U(r,function(e){return N(e,t)});if(e)throw new TypeError('Conflicting signatures "'+l(e.params)+'" and "'+l(t.params)+'".');r.push(t)});var s=G(r,function(t){var e=t?k(t.params,!1):[];return e.map(function(e){return{params:e,fn:t.fn}})}).filter(M);s.sort(T);var o=s[0]&&s[0].params.length<=2&&!u(s[0].params),a=s[1]&&s[1].params.length<=2&&!u(s[1].params),_=s[2]&&s[2].params.length<=2&&!u(s[2].params),h=s[3]&&s[3].params.length<=2&&!u(s[3].params),p=s[4]&&s[4].params.length<=2&&!u(s[4].params),m=s[5]&&s[5].params.length<=2&&!u(s[5].params),g=o&&a&&_&&h&&p&&m,v=s.map(function(t){return f(t.params)}),x=o?d(s[0].params[0]):e,y=a?d(s[1].params[0]):e,w=_?d(s[2].params[0]):e,C=h?d(s[3].params[0]):e,E=p?d(s[4].params[0]):e,A=m?d(s[5].params[0]):e,S=o?d(s[0].params[1]):e,P=a?d(s[1].params[1]):e,R=_?d(s[2].params[1]):e,D=h?d(s[3].params[1]):e,j=p?d(s[4].params[1]):e,L=m?d(s[5].params[1]):e,B=s.map(function(t){return I(t.params,t.fn)}),F=o?B[0]:n,q=a?B[1]:n,V=_?B[2]:n,H=h?B[3]:n,z=p?B[4]:n,W=m?B[5]:n,Y=o?s[0].params.length:-1,$=a?s[1].params.length:-1,X=_?s[2].params.length:-1,J=h?s[3].params.length:-1,Q=p?s[4].params.length:-1,K=m?s[5].params.length:-1,tt=g?6:0,et=s.length,nt=function(){for(var e=tt;e