define(["exports","./app-store-ov","systemjs","tslib","css:/components/testimonials-box.css","css:/components/reviews-queue.css","npm:zenscroll/zenscroll.js","npm:dompurify/dist/purify.js"],function(e,t,n,r,i,o,a,s){"use strict";var l=["addListener","removeListener"],c=["addEventListener","removeEventListener"],d=["on","off"];function u(e,n,i,o){if(t.isFunction(i)&&(o=i,i=void 0),o)return u(e,n,i).pipe(t.mapOneOrManyArgs(o));var a=r.__read(function(e){return t.isFunction(e.addEventListener)&&t.isFunction(e.removeEventListener)}(e)?c.map(function(t){return function(r){return e[t](n,r,i)}}):function(e){return t.isFunction(e.addListener)&&t.isFunction(e.removeListener)}(e)?l.map(p(e,n)):function(e){return t.isFunction(e.on)&&t.isFunction(e.off)}(e)?d.map(p(e,n)):[],2),s=a[0],h=a[1];if(!s&&t.isArrayLike(e))return t.mergeMap(function(e){return u(e,n,i)})(t.internalFromArray(e));if(!s)throw new TypeError("Invalid event target");return new t.Observable(function(e){var t=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.next(1<t.length?t:t[0])};return s(t),function(){return h(t)}})}function p(e,t){return function(n){return function(r){return e[n](t,r)}}}(function(){function e(e,t,n){this._el=e,this._zone=t,this._dserv=n,this.offset=null,this.fixedcenter=!1,this.userscrolleroffset=!0,this._enable=!0,this.auto_start=!0,this._nativesupport="fixed",this.trynative=!1,this.sticky_parent=!1}Object.defineProperty(e.prototype,"refresh",{get:function(){return this._refresh},set:function(e){var n=this;this._refresh=e,!t.isNode()&&this._scroller&&setTimeout(function(){n._scrollWatch()})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return this._enable},set:function(e){var n=this;this._enable=e,e&&!t.isNode()&&setTimeout(function(){n._scrollWatch()})},enumerable:!1,configurable:!0}),e.prototype._getSupport=function(){if(!window.getComputedStyle)return!1;for(var e=document.createElement("div"),t=["","-webkit-","-moz-","-ms-"],n=null,r=0,i=t.length;r<i;r++){var o=t[r]+"sticky";try{e.style.position=o}catch(e){}if(e.style.position&&e.style.position.indexOf("sticky")>-1){n=o;break}}return n},e.prototype._scrollWatch=function(){if(this.enabled){var e=this._el.nativeElement,t=this._el.nativeElement.parentNode.getBoundingClientRect(),n={};if(!(0===e.offsetHeight&&0===e.offsetWidth)){var r=t.top<this.offset?this.offset:t.top;r+e.offsetHeight>t.bottom&&(r=t.bottom-e.offsetHeight),n.top=r+"px",this.fixedcenter&&(n.left=t.left+"px",n.right=window.innerWidth-t.right+"px");var i="position:fixed;top:"+n.top+";left:"+n.left+";";n.right&&(i+="right:"+n.right),e.style.cssText!==i&&(e.style.cssText=i)}}},e.prototype.ngAfterViewInit=function(){var e=this;if(this._scrollWatch=this._scrollWatch.bind(this),!t.isNode()&&!window.JSTESTING){if(this.sticky_parent&&(this._el={nativeElement:this._el.nativeElement.parentNode}),this.trynative){var n=this._getSupport();if(n)return void(this._el.nativeElement.style.position=n)}var r;this._scroller=this.scroller?document.querySelector(this.scroller):this._dserv.overwrite_to_body?window:this._dserv.element,this.scroller&&this.userscrolleroffset&&null===this.offset&&!this._dserv.overwrite_to_body&&(this.offset=this._scroller.getBoundingClientRect().top),null===this.offset&&(this.offset=0),r=!!t.passiveEventsCheck()&&{passive:!0},r=!1,this._zone.runOutsideAngular(function(){e._scroller.addEventListener("scroll",e._scrollWatch,r),window.addEventListener("resize",e._scrollWatch,r),e.auto_start&&t.reqAnimationFrame(function(){e._el.nativeElement.style.position=e._nativesupport,e._el.nativeElement.top="0px",e._scrollWatch()})})}},e.prototype.ngOnDestroy=function(){this._scroller&&"fixed"==this._nativesupport&&(this._scroller.removeEventListener("scroll",this._scrollWatch),window.removeEventListener("resize",this._scrollWatch))},e.ɵfac=function(n){return new(n||e)(t.ɵɵdirectiveInject(t.ElementRef),t.ɵɵdirectiveInject(t.NgZone),t.ɵɵdirectiveInject(t.ScrollerService))},e.ɵdir=t.ɵɵdefineDirective({type:e,selectors:[["","ng-sticky",""]],inputs:{scroller:["sticky-scroller","scroller"],offset:["stickyoffset","offset"],fixedcenter:["stickyfull","fixedcenter"],userscrolleroffset:["sticky-scroller-offset","userscrolleroffset"],refresh:["sticky-refresh-toggle","refresh"],enabled:["stickyenabled","enabled"],auto_start:["sticky-auto-start","auto_start"],trynative:["sticky-native","trynative"],sticky_parent:["sticky-parent","sticky_parent"]}})})(),function(){function e(e,n,r,i){this._el=e,this._zone=n,this._dscroll=r,this._renderer=i,this.allow_native=!0,this.onPosition=new t.EventEmitter,this._curr_pos="static",this._enabled=!0,this.sticky_parent=!1,this.offset=0,this._subscriptions=[],this._observables=[],this._native=!1,this._ScrollWatch=this._ScrollWatch.bind(this)}Object.defineProperty(e.prototype,"enabled",{get:function(){return this._enabled},set:function(e){var n=this;if(e!==this._enabled){var r=this._el.nativeElement;e?(this._native&&r&&this._renderer.setStyle(r,"position","sticky"),t.reqAnimationFrame(function(){n._ScrollWatch()})):r&&this._renderer.setStyle(r,"position","")}this._enabled=e},enumerable:!1,configurable:!0}),e.prototype._getSupport=function(){if(!window.getComputedStyle)return!1;for(var e=document.createElement("div"),t=["","-webkit-","-moz-","-ms-"],n=null,r=0,i=t.length;r<i;r++){var o=t[r]+"sticky";try{e.style.position=o}catch(e){}if(e.style.position&&e.style.position.indexOf("sticky")>-1){n=o;break}}return n},e.prototype._ScrollWatch=function(e){var n=this;this.enabled&&this._zone.runOutsideAngular(function(){var r=n._el.nativeElement;if(r)if(n._native){var i=0,o=r.style.top?t.toNumber(r.style.top):0,a=r.offsetTop;if(t.Events.subscribe("header:position-change",function(e){i=e},function(){},function(){},[t.take(1)]),i!==o&&0!=a?n._renderer.setStyle(r,"top",i+n.offset+"px"):0==a&&(i=0,n._renderer.setStyle(r,"top",i+"px")),n._stickyWayPoint){var s=n._stickyWayPoint.offsetTop,l=n._stickyWayPoint.offsetParent;if(a=r.offsetTop,n._dscroll.overwrite_to_body)for(;l&&l!=n._dscroll.element;)s+=l.offsetTop,l=l.offsetParent;0!==a?a>s?(n.onPosition.emit("sticky"),n._curr_pos="sticky"):(n.onPosition.emit("static"),n._curr_pos="static"):"sticky"==n._curr_pos&&n.onPosition.emit("static")}}else if(n._stickyContainer)if(e){var c=n._stickyContainer.offsetTop;for(l=n._stickyContainer.offsetParent;l&&l!=n._dscroll.element;)c+=l.offsetTop,l=l.offsetParent;if(e>=c){var d=0;t.Events.subscribe("header:position-change",function(e){d=e},function(){},function(){},[t.take(1)]),n._renderer.setStyle(r,"top",d+"px"),n._renderer.setStyle(r,"position","fixed"),"static"==n._curr_pos&&(n.onPosition.emit("sticky"),n._curr_pos="sticky")}else n._renderer.setStyle(r,"top",""),n._renderer.setStyle(r,"position",""),"sticky"==n._curr_pos&&(n.onPosition.emit("static"),n._curr_pos="static")}else n._renderer.setStyle(r,"top",""),n._renderer.setStyle(r,"position",""),"sticky"==n._curr_pos&&(n.onPosition.emit("static"),n._curr_pos="static")})},e.prototype.ngAfterViewInit=function(){var e=this;if(!t.isNode()&&!t.isJasmineTest()){if(this.sticky_parent&&(this._el={nativeElement:this._el.nativeElement.parentNode}),this._native=!!this.allow_native&&this._getSupport(),this.enabled&&this._el.nativeElement&&this._renderer.setStyle(this._el.nativeElement,"position",this._native?"sticky":""),this._native){if(this._stickyWayPoint=document.createElement("div"),this._stickyWayPoint.classList.add("sticky-waypoint"),this._el.nativeElement)(n=this._el.nativeElement).parentNode.insertBefore(this._stickyWayPoint,n)}else{this._stickyContainer=document.createElement("div"),this._stickyContainer.classList.add("sticky-container");var n,r=this._el.nativeElement.getBoundingClientRect();this._stickyContainer.style.height=r.height+"px",(n=this._el.nativeElement).parentNode.insertBefore(this._stickyContainer,n),this._stickyContainer.appendChild(this._el.nativeElement)}this._observables.push(u(window,"resize")),this._observables.forEach(function(t){e._subscriptions.push(t.subscribe(function(){if(e._stickyContainer){var t=e._el.nativeElement.getBoundingClientRect();e._stickyContainer.style.height=t.height+"px"}e._ScrollWatch()}))}),this._subscriptions.push(this._dscroll.onScroll.subscribe(function(t){e._ScrollWatch(t)})),this._ScrollWatch()}},e.prototype.ngOnDestroy=function(){if(this._subscriptions.forEach(function(e){e.unsubscribe()}),this._observables=[],this._stickyContainer){this._stickyContainer.after(this._el.nativeElement);try{this._stickyContainer.parentNode.removeChild(this._stickyContainer)}catch(e){}this._stickyContainer=null}if(this._stickyWayPoint){try{this._stickyWayPoint.parentNode.removeChild(this._stickyWayPoint)}catch(e){}this._stickyWayPoint=null}},e.ɵfac=function(n){return new(n||e)(t.ɵɵdirectiveInject(t.ElementRef),t.ɵɵdirectiveInject(t.NgZone),t.ɵɵdirectiveInject(t.ScrollerService),t.ɵɵdirectiveInject(t.Renderer2))},e.ɵdir=t.ɵɵdefineDirective({type:e,selectors:[["","ng-position-sticky",""]],inputs:{allow_native:["native","allow_native"],enabled:"enabled",sticky_parent:["sticky-parent","sticky_parent"],offset:["stickyoffset","offset"]},outputs:{onPosition:"onPosition"}})}();var h,m,f=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=t.ɵɵdefineNgModule({type:e}),e.ɵinj=t.ɵɵdefineInjector({imports:[[t.CommonModule]]}),e}(),g="function"==typeof Map?new Map:(h=[],m=[],{has:function(e){return h.indexOf(e)>-1},get:function(e){return m[h.indexOf(e)]},set:function(e,t){-1===h.indexOf(e)&&(h.push(e),m.push(t))},delete:function(e){var t=h.indexOf(e);t>-1&&(h.splice(t,1),m.splice(t,1))}}),v=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){v=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function _(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!g.has(e)){var t,n=null,r=null,i=null,o=function(){e.clientWidth!==r&&c()},a=function(t){window.removeEventListener("resize",o,!1),e.removeEventListener("input",c,!1),e.removeEventListener("keyup",c,!1),e.removeEventListener("autosize:destroy",a,!1),e.removeEventListener("autosize:update",c,!1),Object.keys(t).forEach(function(n){e.style[n]=t[n]}),g.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",a,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",c,!1),window.addEventListener("resize",o,!1),e.addEventListener("input",c,!1),e.addEventListener("autosize:update",c,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",g.set(e,{destroy:a,update:c}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),n="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(n)&&(n=0),c()}function s(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function l(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),i=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",r=e.clientWidth,t.forEach(function(e){e.node.scrollTop=e.scrollTop}),i&&(document.documentElement.scrollTop=i)}}function c(){l();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r<t?"hidden"===n.overflowY&&(s("scroll"),l(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(s("hidden"),l(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),i!==r){i=r;var o=v("autosize:resized");try{e.dispatchEvent(o)}catch(e){}}}}function y(e){var t=g.get(e);t&&t.destroy()}function b(e){var t=g.get(e);t&&t.update()}var x=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((x=function(e){return e}).destroy=function(e){return e},x.update=function(e){return e}):((x=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return _(e)}),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],y),e},x.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],b),e});var w=x,E=Object.freeze({__proto__:null,default:w}),S=function(){function e(e,n){this._el=e,this._zone=n,this._resize=!1,this.onResized=new t.EventEmitter}return Object.defineProperty(e.prototype,"updateAutoSize",{get:function(){return!1},set:function(e){var n=this;t.isNode()||this._zone.runOutsideAngular(function(){1==e&&t.reqAnimationFrame(function(){n._autosize.then(function(e){e.update(n._el.nativeElement)})})})},enumerable:!1,configurable:!0}),e.prototype.fireResize=function(){this.onResized.emit()},e.prototype._windowResize=function(){var e=this;this._resize&&this._zone.runOutsideAngular(function(){t.reqAnimationFrame(function(){e._autosize&&e._autosize.update(e._el.nativeElement)})})},e.prototype.ngOnInit=function(){this.fireResize=this.fireResize.bind(this),this._windowResize=this._windowResize.bind(this),t.isNode()||window.addEventListener("resize",this._windowResize)},e.prototype.ngAfterViewInit=function(){var e=this;!t.isNode()&&this._el.nativeElement&&this._zone.runOutsideAngular(function(){var t=w||E;t(e._el.nativeElement),e._el.nativeElement.addEventListener("autosize:resized",e.fireResize),e._autosize=t})},e.prototype.ngOnDestroy=function(){t.isNode()||(this._autosize&&(this._autosize.destroy(this._el.nativeElement),this._el.nativeElement.removeEventListener("autosize:resized",this.fireResize),this._autosize=null),window.removeEventListener("resize",this._windowResize))},e.ɵfac=function(n){return new(n||e)(t.ɵɵdirectiveInject(t.ElementRef),t.ɵɵdirectiveInject(t.NgZone))},e.ɵdir=t.ɵɵdefineDirective({type:e,selectors:[["","ng-autosize",""]],inputs:{updateAutoSize:["sizeupdate","updateAutoSize"],_resize:["watchresize","_resize"]},outputs:{onResized:"onResized"}}),e}(),C=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=t.ɵɵdefineNgModule({type:e}),e.ɵinj=t.ɵɵdefineInjector({imports:[[t.CommonModule]]}),e}(),q=["textarea"];function T(e,n){1&e&&(t.ɵɵelementStart(0,"div",4),t.ɵɵelement(1,"i"),t.ɵɵelementEnd())}var I=require("systemjs"),k=!1,A=t.isWeb()&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,O=function(){function e(e,n,r){this._el=e,this._cd=n,this._service=r,this._destroyed=!0,this.ckeditorLoaded=!0,this.ckelementid=t.uniqid(),this._value=new t.BehaviorSubject(null),this.valueChange=new t.EventEmitter,this._active=new t.BehaviorSubject(!1),this._autofocus=!1,this._enabled=!1,this.options={toolbar:["heading","|","bold","italic","underline","link","|","insertTable","bulletedList","numberedList","|","undo","redo"],heading:{options:[{model:"paragraph",title:"Normal",class:""},{model:"heading2",view:"h2",title:"Heading",class:"ckeditor-heading bold-font"}]},table:{toolbar:["tableColumn","tableRow","mergeTableCells"]}},this.editorInitiated=new t.EventEmitter,this.editor_init=k}return Object.defineProperty(e.prototype,"value",{get:function(){return this._value.getValue()},set:function(e){this._value.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){return this._active.getValue()},set:function(e){this._active.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"readonly",{get:function(){return this._readonly},set:function(e){this._readonly=e,this._editor&&(this._editor.isReadOnly=e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"autofocus",{get:function(){return this._autofocus},set:function(e){this._autofocus=e,e&&this._container&&this._container.nativeElement.focus()},enumerable:!1,configurable:!0}),e.prototype.StartCkeditor=function(){var e=this;I.import("ckeditor5/build/ckeditor.js").then(function(t){t.create(e._container.nativeElement,e.options).then(function(t){var n;e._enabled=!0,e._editor=t,e._cd.detectChanges(),t.model.document.on("change:data",function(r){n=t.getData(),e.valueChange.emit(n)}),e._editorsubs=e._value.subscribe(function(e){n!==e&&t.setData(e)}),e.autofocus&&(t.editing.view.focus(),A||setTimeout(function(){var t=e._el.nativeElement;e._service.scrollTo({target:t,inview:!0})},100)),e.editorInitiated.emit(!0),k=!0},function(){throw e.editorInitiated.emit(!1),Error("Cannot instance the ckeditor")})},function(){throw e.editorInitiated.emit(!1),Error("Cannot load the ckeditor")})},e.prototype.EndCkeditor=function(){this._enabled=!1,this._editor&&(this._editor.destroy(),this._editor=null,this._editorsubs.unsubscribe())},e.prototype.ngOnInit=function(){var e=this,n=this._active.subscribe({next:function(n){n&&!e._enabled?setTimeout(function(){t.reqAnimationFrame(function(){e.StartCkeditor()})}):e._enabled&&e.EndCkeditor()},error:function(){},complete:function(){n&&n.unsubscribe()}});this.editorInitiated.subscribe(function(){e.editor_init=!0})},e.prototype.ngOnDestroy=function(){this._active.complete(),this._value.complete(),this.EndCkeditor()},e.ɵfac=function(n){return new(n||e)(t.ɵɵdirectiveInject(t.ElementRef),t.ɵɵdirectiveInject(t.ChangeDetectorRef),t.ɵɵdirectiveInject(t.ScrollerService))},e.ɵcmp=t.ɵɵdefineComponent({type:e,selectors:[["ck-editor"]],viewQuery:function(e,n){if(1&e&&t.ɵɵviewQuery(q,7),2&e){var r;t.ɵɵqueryRefresh(r=t.ɵɵloadQuery())&&(n._container=r.first)}},hostAttrs:[1,"progress-indicator-container"],inputs:{value:"value",active:"active",readonly:"readonly",autofocus:["cursor-focus","autofocus"],options:"options"},outputs:{valueChange:"valueChange",editorInitiated:"editorInitiated"},decls:4,vars:2,consts:[[1,"ck-tools"],[1,"ck-textarea",3,"value"],["textarea",""],["class","progress-indicator visible",4,"ngIf"],[1,"progress-indicator","visible"]],template:function(e,n){1&e&&(t.ɵɵelement(0,"div",0),t.ɵɵelement(1,"textarea",1,2),t.ɵɵtemplate(3,T,2,0,"div",3)),2&e&&(t.ɵɵadvance(1),t.ɵɵproperty("value",n.value),t.ɵɵadvance(2),t.ɵɵproperty("ngIf",!n.editor_init))},directives:[t.NgIf],styles:['.ck-toolbar .ckeditor-heading { font-size:18px; font-family: "ProximaNova-Bold", Helvetica, Arial, sans-serif }',".ck-editor__editable a:focus,.ck-editor__editable a:hover{text-decoration:underline}",".ck-editor__editable a{color:#136AE8;text-decoration:none;cursor:pointer}","ck-editor { display: block }"],encapsulation:2}),e}(),L=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=t.ɵɵdefineNgModule({type:e}),e.ɵinj=t.ɵɵdefineInjector({imports:[[t.CommonModule,t.DirectivesModule]]}),e}(),z=function(){function e(e,n){this._el=e,this._renderer=n,this.onImageFailed=new t.EventEmitter}return Object.defineProperty(e.prototype,"src",{get:function(){return this._src},set:function(e){this._src=e,!this._src&&this.fallback&&(this._src=this.fallback),this._src&&this._renderer.setAttribute(this._el.nativeElement,"src",this._src)},enumerable:!1,configurable:!0}),e.prototype.onError=function(e){if(!t.isNode()&&e){var n=this._el.nativeElement;this.fallback&&n.src!=this.fallback?(n.src=this.fallback,n.style.display=""):n.style.display="none",this.onImageFailed.emit(!0)}},e.prototype.ngOnInit=function(){t.isNode()||(this.onError=this.onError.bind(this),this._el.nativeElement.addEventListener("error",this.onError))},e.prototype.ngOnDestroy=function(){t.isNode()||this._el.nativeElement.removeEventListener("error",this.onError)},e.ɵfac=function(n){return new(n||e)(t.ɵɵdirectiveInject(t.ElementRef),t.ɵɵdirectiveInject(t.Renderer2))},e.ɵdir=t.ɵɵdefineDirective({type:e,selectors:[["","on-img-error",""]],inputs:{fallback:["on-img-error","fallback"],src:"src"},outputs:{onImageFailed:"image-failed"}}),e}(),M=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=t.ɵɵdefineNgModule({type:e}),e.ɵinj=t.ɵɵdefineInjector({imports:[[t.CommonModule]]}),e}(),N=["deferImg"],R=function(){function e(e,n){this._el=e,this._renderer=n,this._viewed=!1,this._has_intersect=!(t.isNode()||!window.IntersectionObserver)}return Object.defineProperty(e.prototype,"src",{get:function(){return this._src},set:function(e){e?this._src=e:this.fallback&&(this._src=this.fallback),this._src&&(this._viewed?this._renderer.setAttribute(this.deferImg.nativeElement,"src",this._src):(!this._has_intersect||t.isNode())&&this._src&&this.deferImg&&this._renderer.setAttribute(this.deferImg.nativeElement,"src",this._src))},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){this.onError=this.onError.bind(this),this.onLoad=this.onLoad.bind(this),t.AppData.getKey("server-render")&&(this._prepare_ui=!1)},e.prototype.ngAfterViewInit=function(){var e=this;if(this._has_intersect){this._intersectionObserver=new IntersectionObserver(function(n){for(var r=!1,i=0,o=n.length;i<o;i++){var a=n[i];if(t.isNullorUndefined(a.isIntersecting)&&e._isInViewport(a,!0)){r=!0;break}if(a.isIntersecting){r=!0;break}}r&&e._InitiateImageLoad()},{threshold:.7}),this._renderer.setStyle(this.deferImg.nativeElement,"opacity",0);var n=this.deferImg.nativeElement.width,r=this.deferImg.nativeElement.height;if(window.getComputedStyle){var i=t.toNumber(window.getComputedStyle(this.deferImg.nativeElement).width),o=t.toNumber(window.getComputedStyle(this.deferImg.nativeElement).height);t.isNumber(i)&&t.isNumber(o)&&(n=i,r=o)}n&&this._renderer.setStyle(this.deferImg.nativeElement,"width",n+"px"),r&&this._renderer.setStyle(this.deferImg.nativeElement,"height",r+"px"),this._intersectionObserver.observe(this._el.nativeElement),this._isInViewport(this._el)&&this._InitiateImageLoad()}else if(this.src){var a=this.deferImg.nativeElement;t.isNode()?this._prepare_ui?this._renderer.setStyle(a,"display","none"):this._renderer.setAttribute(a,"src",this.src):(this._renderer.listen(a,"error",this.onError),this._renderer.setAttribute(a,"src",this.src))}},e.prototype.ngOnDestroy=function(){this._intersectionObserver&&this._intersectionObserver.disconnect(),this._intersectionObserver=null},e.prototype.onError=function(e){if(!t.isNode()&&e){var n=this.deferImg.nativeElement;this.fallback&&n.src!=this.fallback?(n.src=this.fallback,n.style.display=""):n.style.display="none"}},e.prototype.onLoad=function(e){this._renderer.setStyle(this.deferImg.nativeElement,"display",""),this._renderer.addClass(this.deferImg.nativeElement,"defer-img-ok"),this._renderer.setStyle(this.deferImg.nativeElement,"opacity",""),this._renderer.addClass(this.deferImg.nativeElement,"ng-enter-element"),this._renderer.setStyle(this.deferImg.nativeElement,"width",""),this._renderer.setStyle(this.deferImg.nativeElement,"height","")},e.prototype._isInViewport=function(e,t){var n=t?e.boundingClientRect:e.nativeElement.getBoundingClientRect(),r=n.height||n.bottom-n.top,i=n.width||n.right-n.left;return!(!r||!i)&&!(n.top+.4*n.height>window.innerHeight||n.bottom<0)},e.prototype._InitiateImageLoad=function(){if(this.src&&!this._viewed){var e=this.deferImg.nativeElement;this._renderer.listen(e,"error",this.onError),this._renderer.listen(e,"load",this.onLoad),this._viewed=!0,this._intersectionObserver&&(this._intersectionObserver.disconnect(),this._intersectionObserver=null),this._renderer.setAttribute(this.deferImg.nativeElement,"src",this.src)}},e.ɵfac=function(n){return new(n||e)(t.ɵɵdirectiveInject(t.ElementRef),t.ɵɵdirectiveInject(t.Renderer2))},e.ɵdir=t.ɵɵdefineDirective({type:e,selectors:[["","defer-src",""]],contentQueries:function(e,n,r){if(1&e&&t.ɵɵcontentQuery(r,N,5,t.ElementRef),2&e){var i;t.ɵɵqueryRefresh(i=t.ɵɵloadQuery())&&(n.deferImg=i.first)}},inputs:{src:["defer-src","src"],fallback:["src-fallback","fallback"],_prepare_ui:["ui-hydrate","_prepare_ui"]}}),e}(),j=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=t.ɵɵdefineNgModule({type:e}),e.ɵinj=t.ɵɵdefineInjector({imports:[[t.CommonModule]]}),e}(),P=["img-placeholder",""],H=(function(){function e(){this.itemprop="",this.classes=[]}e.ɵfac=function(t){return new(t||e)},e.ɵcmp=t.ɵɵdefineComponent({type:e,selectors:[["","img-placeholder",""]],inputs:{src:"src",itemprop:"itemprop",alt:"alt",classes:"classes"},attrs:P,decls:3,vars:5,consts:[[3,"defer-src","ui-hydrate"],[3,"ngClass","alt"],["deferImg",""]],template:function(e,n){1&e&&(t.ɵɵelementStart(0,"div",0),t.ɵɵelement(1,"img",1,2),t.ɵɵelementEnd()),2&e&&(t.ɵɵproperty("defer-src",n.src)("ui-hydrate",!0),t.ɵɵadvance(1),t.ɵɵproperty("ngClass",n.classes)("alt",n.alt),t.ɵɵattribute("itemprop",n.itemprop))},directives:[R,t.NgClass],encapsulation:2})}(),function(){function e(){}e.ɵfac=function(t){return new(t||e)},e.ɵmod=t.ɵɵdefineNgModule({type:e}),e.ɵinj=t.ɵɵdefineInjector({imports:[[t.CommonModule,j]]})}(),function(){function e(e,n){this._el=e,this._renderer=n,this.onImageFailed=new t.EventEmitter}Object.defineProperty(e.prototype,"src",{get:function(){return this._src},set:function(e){e?this._src=e:this.fallback&&(this._src=this.fallback)},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){t.isNode()?this._src&&(this._renderer.setAttribute(this._el.nativeElement,this.prepare_ui?"data-src":"src",this._src),this.prepare_ui&&!this.keep_space&&this._renderer.setStyle(this._el.nativeElement,"display","none")):this._Preload()},e.prototype._Preload=function(){var e=this;if(this._el.nativeElement&&(this._src||this.fallback)){var t=this._src||this.fallback,n=this._renderer.createElement("img"),r=this._renderer.listen(n,"load",function(){r(),i(),e._renderer.setAttribute(e._el.nativeElement,"src",t),e._renderer.setStyle(e._el.nativeElement,"display",""),n=null}),i=this._renderer.listen(n,"error",function(){i(),r(),e.onImageFailed.emit(),n=null});this._renderer.setAttribute(n,"src",t),this._renderer.setStyle(this._el.nativeElement,"display","none")}},e.ɵfac=function(n){return new(n||e)(t.ɵɵdirectiveInject(t.ElementRef),t.ɵɵdirectiveInject(t.Renderer2))},e.ɵdir=t.ɵɵdefineDirective({type:e,selectors:[["","preload-src",""]],inputs:{src:["preload-src","src"],fallback:["src-fallback","fallback"],prepare_ui:["ui-hydrate","prepare_ui"],keep_space:["keep-space","keep_space"]},outputs:{onImageFailed:"imageFailed"}})}(),function(){function e(){}e.ɵfac=function(t){return new(t||e)},e.ɵmod=t.ɵɵdefineNgModule({type:e}),e.ɵinj=t.ɵɵdefineInjector({imports:[[t.CommonModule]]})}(),["dropdownList"]),F=["button"];function V(e,n){if(1&e&&t.ɵɵelement(0,"span",8),2&e){var r=t.ɵɵnextContext();t.ɵɵproperty("cleanHTML",r.placeholder),t.ɵɵattribute("tabindex",r.tabindex)("aria-expanded",r.opened)}}function D(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"li",9),t.ɵɵlistener("onClick",function(){var e=t.ɵɵrestoreView(r).index;return t.ɵɵnextContext().selectItem(e)})("onTap",function(e){return t.ɵɵrestoreView(r),t.ɵɵnextContext().PreventClose(e)}),t.ɵɵelementEnd()}if(2&e){var i=n.$implicit,o=n.index,a=t.ɵɵnextContext();t.ɵɵclassProp("active",a.activeidx==o),t.ɵɵproperty("cleanHTML",i),t.ɵɵattribute("aria-selected",a.activeidx==o)("id",a.optionid+"-"+o)}}function W(e,n){1&e&&t.ɵɵelement(0,"span",10)}var U=function(e,t,n,r,i,o){return{"ng-wh-error":e,"drp-b-darker":t,second:n,selected:r,opened:i,disabled:o}};function Q(e,n){if(1&e&&(t.ɵɵelementStart(0,"span",12),t.ɵɵlistener("onTap",function(){return!0}),t.ɵɵelementEnd()),2&e){var r=t.ɵɵnextContext();t.ɵɵproperty("cleanHTML",r.placeholder)}}function $(e,n){if(1&e&&(t.ɵɵelementStart(0,"span",13),t.ɵɵlistener("onTap",function(){return!0}),t.ɵɵelementEnd()),2&e){var r=t.ɵɵnextContext();t.ɵɵproperty("cleanHTML",r.value)}}var B=function(e,t,n,r,i){return{"ng-wh-error":e,"drp-b-darker":t,second:n,selected:r,opened:i}},G=function(){function e(e){this._cd=e,this.tabindex=0,this.placeholder="Select...",this.items=[],this.darker=!1,this.invalid=!1,this.disabled=!1,this.bounds_check=!1,this.labelledby="",this.valueChange=new t.EventEmitter,this.selected=new t.EventEmitter,this.onTapped=new t.EventEmitter,this.noselection=!0,this.opened=!1,this.activeidx=null}return Object.defineProperty(e.prototype,"value",{get:function(){return(this._value||"").toString()},set:function(e){this.noselection=!e,this._value=e},enumerable:!1,configurable:!0}),e.prototype.controlList=function(e,t){this.disabled||(this.opened=void 0!==t?t:!this.opened,this.onTapped.emit(this),this.fixOverflow())},e.prototype.close=function(){this.opened=!1},e.prototype.open=function(){this.opened=!0},e.prototype.PreventClose=function(e){e&&e.srcEvent&&(e.srcEvent.cancelBubble=!0,e.srcEvent.stopPropagation&&e.srcEvent.stopPropagation()),e&&e.stopPropagation&&e.stopPropagation()},e.prototype.selectItem=function(e){void 0===e&&(e=0),this._value=this.items[e],this.activeidx=e,this.valueChange.emit(this.value),this.noselection=!1,this.selected.emit({eventName:"select",value:this.value,index:e}),this.activedescendant=this.optionid+"-"+this.activeidx,this.close(),this._cd.detectChanges(),this.listbutton&&this.listbutton.nativeElement.focus()},e.prototype.trackByFn=function(e){return e},e.prototype.ngOnInit=function(){this.optionid=t.uniqid("opt-"),this.value&&this.items.indexOf(this.value)>-1&&(this.activeidx=this.items.indexOf(this.value),this.activedescendant=this.optionid+"-"+this.activeidx)},e.prototype.fixOverflow=function(){var e=this,t=this.dropdownList&&this.dropdownList.nativeElement,n=t&&t.parentElement;requestAnimationFrame(function(){try{var r=t.getBoundingClientRect();n.getBoundingClientRect().x+r.width>=window.innerWidth?t.classList.add("sticky-right"):t.classList.remove("sticky-right"),e.bounds_check&&r.y+r.height>window.innerHeight?t.classList.add("upwards"):t.classList.remove("upwards")}catch(e){throw e}})},e.ɵfac=function(n){return new(n||e)(t.ɵɵdirectiveInject(t.ChangeDetectorRef))},e.ɵcmp=t.ɵɵdefineComponent({type:e,selectors:[["ng-dropdown"]],viewQuery:function(e,n){if(1&e&&(t.ɵɵviewQuery(H,5,t.ElementRef),t.ɵɵviewQuery(F,5,t.ElementRef)),2&e){var r=void 0;t.ɵɵqueryRefresh(r=t.ɵɵloadQuery())&&(n.dropdownList=r.first),t.ɵɵqueryRefresh(r=t.ɵɵloadQuery())&&(n.listbutton=r.first)}},inputs:{tabindex:"tabindex",placeholder:"placeholder",items:"items",second:"second",darker:["dark-borders","darker"],invalid:"invalid",disabled:"disabled",bounds_check:["bounds-check","bounds_check"],labelledby:"labelledby",value:"value"},outputs:{valueChange:"valueChange",selected:"selected",onTapped:"onTapped"},decls:8,vars:20,consts:[["zing-touch","",1,"dropdown",3,"ngClass","onTap","onTapOutside"],["role","button","aria-haspopup","listbox","class","dropdown-placeholder",3,"cleanHTML",4,"ngIf"],["role","button","aria-haspopup","listbox",1,"dropdown-selected",3,"ng-hidden","cleanHTML"],["button",""],["role","listbox","tabindex","0",1,"dropdown-list","ng-enter-element",3,"ng-hidden"],["dropdownList",""],["class","dropdown-item","role","option","zing-touch","",3,"active","cleanHTML","onClick","onTap",4,"ngFor","ngForOf","ngForTrackBy"],["class","dropdown-arrow bf-icon-down-open",4,"ngIf"],["role","button","aria-haspopup","listbox",1,"dropdown-placeholder",3,"cleanHTML"],["role","option","zing-touch","",1,"dropdown-item",3,"cleanHTML","onClick","onTap"],[1,"dropdown-arrow","bf-icon-down-open"]],template:function(e,n){1&e&&(t.ɵɵelementStart(0,"div",0),t.ɵɵlistener("onTap",function(e){return n.controlList(e)})("onTapOutside",function(e){return n.controlList(e,!1)}),t.ɵɵtemplate(1,V,1,3,"span",1),t.ɵɵelement(2,"span",2,3),t.ɵɵelementStart(4,"ul",4,5),t.ɵɵtemplate(6,D,1,5,"li",6),t.ɵɵelementEnd(),t.ɵɵtemplate(7,W,1,0,"span",7),t.ɵɵelementEnd()),2&e&&(t.ɵɵproperty("ngClass",t.ɵɵpureFunction6(13,U,n.invalid,n.darker,n.second,!n.noselection,n.opened,n.disabled)),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.placeholder&&n.noselection),t.ɵɵadvance(1),t.ɵɵproperty("ng-hidden",n.noselection)("cleanHTML",n.value),t.ɵɵattribute("tabindex",n.noselection?n.tabindex:-1)("aria-hidden",n.noselection)("aria-expanded",n.opened),t.ɵɵadvance(2),t.ɵɵproperty("ng-hidden",!n.opened),t.ɵɵattribute("aria-labelledby",n.labelledby)("aria-activedescendant",n.activedescendant),t.ɵɵadvance(2),t.ɵɵproperty("ngForOf",n.items)("ngForTrackBy",n.trackByFn),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",!n.disabled))},directives:[t.TouchGestures,t.NgClass,t.NgIf,t.ngHidden,t.ngCleanHTML,t.NgForOf],encapsulation:2}),e}(),Y=(function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.text="Some text to display",t.name="",t.label="",t.booleanValue=null,t}var r;__extends(n,e),n.prototype.Check=function(e){void 0!==e&&(this.booleanValue===e?(this.booleanValue=null,this.value=null):(this.booleanValue=e,this.value=e?"Yes":"No"),this.valueChange.emit(this.value))},n.ɵfac=function(e){return(r||(r=t.ɵɵgetInheritedFactory(n)))(e||n)},n.ɵcmp=t.ɵɵdefineComponent({type:n,selectors:[["ng-dropdown-bool"]],inputs:{text:"text",name:"name",label:"label"},features:[t.ɵɵInheritDefinitionFeature],decls:19,vars:19,consts:[["zing-touch","",1,"dropdown",3,"ngClass","onTap","onTapOutside"],["zing-touch","","class","dropdown-placeholder",3,"cleanHTML","onTap",4,"ngIf"],["zing-touch","","class","dropdown-selected",3,"cleanHTML","onTap",4,"ngIf"],[1,"dropdown-list","ng-enter-element",3,"ng-hidden"],["dropdownList",""],[1,"text"],[1,"boolean-items"],["zing-touch","",1,"checkbox",3,"zingToggle"],["type","checkbox","value","",3,"checked","name","change"],[1,"track","bf-icon-ok"],[1,"name"],[1,"dropdown-arrow","bf-icon-down-open"],["zing-touch","",1,"dropdown-placeholder",3,"cleanHTML","onTap"],["zing-touch","",1,"dropdown-selected",3,"cleanHTML","onTap"]],template:function(e,n){1&e&&(t.ɵɵelementStart(0,"div",0),t.ɵɵlistener("onTap",function(e){return n.controlList(e)})("onTapOutside",function(e){return n.controlList(e,!1)}),t.ɵɵtemplate(1,Q,1,1,"span",1),t.ɵɵtemplate(2,$,1,1,"span",2),t.ɵɵelementStart(3,"div",3,4),t.ɵɵelementStart(5,"p",5),t.ɵɵtext(6),t.ɵɵelementEnd(),t.ɵɵelementStart(7,"div",6),t.ɵɵelementStart(8,"label",7),t.ɵɵelementStart(9,"input",8),t.ɵɵlistener("change",function(){return n.Check(!0)}),t.ɵɵelementEnd(),t.ɵɵelement(10,"i",9),t.ɵɵelementStart(11,"span",10),t.ɵɵtext(12,"Yes"),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(13,"label",7),t.ɵɵelementStart(14,"input",8),t.ɵɵlistener("change",function(){return n.Check(!1)}),t.ɵɵelementEnd(),t.ɵɵelement(15,"i",9),t.ɵɵelementStart(16,"span",10),t.ɵɵtext(17,"No"),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelement(18,"i",11),t.ɵɵelementEnd()),2&e&&(t.ɵɵproperty("ngClass",t.ɵɵpureFunction5(13,B,n.invalid,n.darker,n.second,!n.noselection,n.opened)),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.placeholder&&n.noselection),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",!n.noselection),t.ɵɵadvance(1),t.ɵɵproperty("ng-hidden",!n.opened),t.ɵɵadvance(3),t.ɵɵtextInterpolate1(" ",n.text," "),t.ɵɵadvance(2),t.ɵɵproperty("zingToggle",!0),t.ɵɵattribute("aria-label",n.label),t.ɵɵadvance(1),t.ɵɵproperty("checked",!0===n.booleanValue)("name",n.name),t.ɵɵadvance(4),t.ɵɵproperty("zingToggle",!0),t.ɵɵattribute("aria-label",n.label),t.ɵɵadvance(1),t.ɵɵproperty("checked",!1===n.booleanValue)("name",n.name))},directives:[t.TouchGestures,t.NgClass,t.NgIf,t.ngHidden,t.ngCleanHTML],encapsulation:2})}(G),function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=t.ɵɵdefineNgModule({type:e}),e.ɵinj=t.ɵɵdefineInjector({imports:[[t.CommonModule,t.DirectivesModule]]}),e}());function X(e,n){1&e&&(t.ɵɵelementStart(0,"h2",11),t.ɵɵtext(1,"Thank you"),t.ɵɵelementEnd()),2&e&&t.ɵɵproperty("focus-when",!0)}function Z(e,n){1&e&&(t.ɵɵelementStart(0,"h2",11),t.ɵɵtext(1,"Please provide your email in order to receive answers"),t.ɵɵelementEnd()),2&e&&t.ɵɵproperty("focus-when",!0)}function J(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"div",12),t.ɵɵelementStart(1,"span",13),t.ɵɵtext(2),t.ɵɵelementEnd(),t.ɵɵelementStart(3,"textarea",14),t.ɵɵlistener("input",function(e){return t.ɵɵrestoreView(r),t.ɵɵnextContext().SetInput(e)}),t.ɵɵelementEnd(),t.ɵɵelementEnd()}if(2&e){var i=t.ɵɵnextContext();t.ɵɵadvance(1),t.ɵɵclassProp("ques-ov-cred",i.input_chars_left<0),t.ɵɵadvance(1),t.ɵɵtextInterpolate(i.input_chars_left),t.ɵɵadvance(1),t.ɵɵproperty("value",i.input_value)("readonly",i.submiting)}}function K(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"div",12),t.ɵɵelementStart(1,"textarea",15),t.ɵɵlistener("input",function(e){return t.ɵɵrestoreView(r),t.ɵɵnextContext().input_value_extra=e.target.value}),t.ɵɵelementEnd(),t.ɵɵelementEnd()}if(2&e){var i=t.ɵɵnextContext();t.ɵɵadvance(1),t.ɵɵproperty("value",i.input_value_extra)("readonly",i.submiting)}}function ee(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"div",12),t.ɵɵelementStart(1,"ng-dropdown",16),t.ɵɵlistener("selected",function(e){return t.ɵɵrestoreView(r),t.ɵɵnextContext().SetCategory(e)}),t.ɵɵelementEnd(),t.ɵɵelementEnd()}if(2&e){var i=t.ɵɵnextContext();t.ɵɵadvance(1),t.ɵɵproperty("invalid",i.categoryerror)("items",i.categories)("second",!0)("value",i.category)}}function te(e,n){if(1&e&&t.ɵɵelement(0,"div",17),2&e){var r=t.ɵɵnextContext();t.ɵɵproperty("innerHTML",r.ajax_message,t.ɵɵsanitizeHtml)("zing-url-container",!0)}}function ne(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"button",18),t.ɵɵlistener("onTap",function(){return t.ɵɵrestoreView(r),t.ɵɵnextContext().Submit()}),t.ɵɵtext(1," Next "),t.ɵɵelement(2,"i",19),t.ɵɵelementEnd()}if(2&e){var i=t.ɵɵnextContext();t.ɵɵclassProp("loadactive",i.submiting),t.ɵɵproperty("disabled",i.submiting)}}function re(e,n){1&e&&(t.ɵɵelementStart(0,"div",20),t.ɵɵtext(1,"Your question has been submitted to our moderators for review. We will send you an email once your question has been approved."),t.ɵɵelementEnd())}function ie(e,n){1&e&&t.ɵɵelement(0,"br")}function oe(e,n){if(1&e&&t.ɵɵelement(0,"div",17),2&e){var r=t.ɵɵnextContext(2);t.ɵɵproperty("innerHTML",r.ajax_message,t.ɵɵsanitizeHtml)("zing-url-container",!0)}}function ae(e,n){1&e&&t.ɵɵelement(0,"br")}function se(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"div",21),t.ɵɵelementStart(1,"button",22),t.ɵɵlistener("onTap",function(){return t.ɵɵrestoreView(r),t.ɵɵnextContext().Back()}),t.ɵɵtext(2,"Back"),t.ɵɵelementEnd(),t.ɵɵelementStart(3,"button",23),t.ɵɵlistener("onTap",function(){return t.ɵɵrestoreView(r),t.ɵɵnextContext().GuestSubmit()}),t.ɵɵelement(4,"i",24),t.ɵɵelementStart(5,"span",25),t.ɵɵtext(6,"Login to Wallethub"),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(7,"div",26),t.ɵɵtext(8,"or"),t.ɵɵelementEnd(),t.ɵɵelementStart(9,"input",27),t.ɵɵlistener("input",function(e){t.ɵɵrestoreView(r);var n=t.ɵɵnextContext();return n.user_email=e.target.value,n.show_ajax_error=!1}),t.ɵɵelementEnd(),t.ɵɵtemplate(10,ie,1,0,"br",28),t.ɵɵtemplate(11,oe,1,2,"div",7),t.ɵɵtemplate(12,ae,1,0,"br",28),t.ɵɵelementStart(13,"button",29),t.ɵɵlistener("onTap",function(){return t.ɵɵrestoreView(r),t.ɵɵnextContext().GuestSubmit()}),t.ɵɵtext(14," Submit "),t.ɵɵelement(15,"i",30),t.ɵɵelementEnd(),t.ɵɵelementEnd()}if(2&e){var i=t.ɵɵnextContext();t.ɵɵadvance(9),t.ɵɵproperty("value",i.user_email),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",!i.show_ajax_error),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",i.show_ajax_error),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",!i.show_ajax_error),t.ɵɵadvance(1),t.ɵɵclassProp("loadactive",i.submiting),t.ɵɵproperty("disabled",i.submiting)}}var le=require("systemjs"),ce=function(){function e(e){this._location=e,this.data={},this.input_value="",this.input_value_extra="",this.input_chars_left=0,this._max_input=140,this.submiting=!1,this.submited=!1,this._limit=140,this._is_lodgged=!1,this.needs_login=!1,this.user_email="",this._referer="",this._email_reg=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,this.has_categories=!1,this.categoryerror=!1,this.toastinterval=3500,this.live_status="",this.question_count_status="",this.is_android=!1}return e.prototype._CountWords=function(e){if(!e)return"";var t=e.replace(/(^\s*)|(\s*$)/gi,"");return(t=(t=t.replace(/[ ]{2,}/gi," ")).replace(/\n /,"")).split(" ").filter(function(e){return""!=e}).length},e.prototype._CountChars=function(){var e=(this.input_value||"").trim().length;this.input_chars_left=this._max_input-e,this.question_count_status=e+" character"+(1!=e?"s":"")+" entered"},e.prototype._SendQues=function(){var e=this;this.show_ajax_error=!1,this.submiting=!0;var n=t.cleanInput(this.input_value);this.live_status="Posting question.",le.import("Encryption").then(function(r){var i={url:t.baseUrl()+"/ajax.php",data:Object.assign({action:"Answers.PostQuestion",question:n,url:e._referer},e.data.addparams||{}),encryptprops:["email"],before:function(){e.submiting=!0},after:function(){e.submiting=!1},headers:{"Content-Type":"application/x-www-form-urlencoded"}};e.has_categories&&(i.data.category=e._catid),e.user_email&&(i.data.email=e.user_email),e._is_lodgged||e.user_email||(i.data.light=!0),e.input_value_extra&&(i.data.details=e.input_value_extra),r.send(i).then(function(t){if(e.live_status="",!t||t.error){if(t&&"message"in t){var n=t.message.match(/^Bad word `([^`]+)` detected.$/);n&&n.length&&(t.message='Profanity is not allowed, including words such as "'+n[1]+'". Please adjust.'),e.ajax_message=t.message}else e.ajax_message='Unexpected error. Please contact <a class="link" href="mailto:help@wallethub.com" target="system">help@evolutionfinance.com</a>';e.show_ajax_error=!0}else{if("redirect"in t)return e.submiting=!0,void(top.location.href=t.redirect);e.submited=!0}},function(n){e.live_status="",e.ajax_message='Unexpected error. Please contact <a class="link" href="mailto:help@wallethub.com" target="system">help@evolutionfinance.com</a>',e.show_ajax_error=!0,t.RavenRequestFail(n,"Failed to submit a question from ng2 QnA component")})},function(n){e.live_status="",e.ajax_message='Unexpected error. Please contact <a class="link" href="mailto:help@wallethub.com" target="system">help@evolutionfinance.com</a>',e.show_ajax_error=!0,t.RavenJs().then(function(e){e.captureException(n)},function(){})})},e.prototype.SetCategory=function(e){this.category=e.value,this._catid=this._catindex[e.index],this.categoryerror=!1},e.prototype.Submit=function(){this.show_error||this.submiting||(this.show_ajax_error=!1,this._CountWords(this.input_value)<3?(this.show_error=!0,this.error_message="Question must have at least 3 words."):this.input_chars_left<0?(this.error_message="Question cannot have more then "+this._max_input+" chars.",this.show_error=!0):this.has_categories&&!this.category?(this.show_error=!0,this.error_message="Please select a category."):this._is_lodgged?this._SendQues():this.needs_login=!0)},e.prototype.OnErrorToastHidden=function(){this.show_error&&(this.show_error=!1)},e.prototype.GuestSubmit=function(){this.user_email&&!this._email_reg.test(this.user_email)?(this.show_ajax_error=!0,this.ajax_message="Please enter a correct Email Address."):this._SendQues()},e.prototype.SetInput=function(e){this.show_error=!1,this.show_ajax_error=!1,this.input_value=e.target.value,this._CountChars()},e.prototype.Back=function(){this.needs_login=!1,this.show_ajax_error=!1,this.ajax_message=""},e.prototype.ngOnInit=function(){var e=this;this.input_value=this.data.input||"",this.data.referer?this._referer=this.data.referer:(this._referer=t.baseUrl()+this._location.path(),this._referer.lastIndexOf("/")!==this._referer.length-1&&(this._referer+="/")),this.data.categories&&this.data.categories.length>0&&(this.has_categories=!0,this.categories=[],this._catindex=[],this.data.categories.forEach(function(t){e.categories.push(t.name),e._catindex.push(t.id)}),1==this.categories.length&&(this._catid=this._catindex[0],this.category=this.categories[0])),this._CountChars(),t.isNode()||(t.Cookies.get("mw_signon")&&(this._is_lodgged=!0),this.is_android=null!=navigator.userAgent.match(/Android/i)||navigator.platform&&null!=navigator.platform.match(/Android/i))},e.ɵfac=function(n){return new(n||e)(t.ɵɵdirectiveInject(t.Location))},e.ɵcmp=t.ɵɵdefineComponent({type:e,selectors:[["question-overlay"]],decls:16,vars:18,consts:[["tabindex","0","ng-focus","",1,"ques-ov","regular-font",3,"ng-hidden","focus-when"],["class","ques-ov regular-font ng-enter-element","tabindex","0","ng-focus","",3,"focus-when",4,"ngIf"],[3,"ng-aria-live"],["class","ques-ov-txt-box ng-enter-element",4,"ngIf"],["hidden","true","id","ques-ov-count-status"],[3,"ng-hidden"],[3,"message","show","close-on-change","timer","onhidden"],["class","ques-ov-error-notice ng-enter-element slide","role","alert","tabindex","-1","zing-touch","",3,"innerHTML","zing-url-container",4,"ngIf"],["class","btn fixed-w-i with-loader no-disabled ng-enter-element","zing-touch","","aria-label","Next",3,"disabled","loadactive","onTap",4,"ngIf"],["class","ng-enter-element ques-ov-end-msg",4,"ngIf"],["class","ng-enter-element ques-ov-login",4,"ngIf"],["tabindex","0","ng-focus","",1,"ques-ov","regular-font","ng-enter-element",3,"focus-when"],[1,"ques-ov-txt-box","ng-enter-element"],["aria-hidden","true","tabindex","-1",1,"ques-ov-count"],["placeholder","Ask a question (140 character limit)","ng-autosize","","aria-describedby","ques-ov-count-status",1,"ques-ov-txt","textarea",3,"value","readonly","input"],["placeholder","Additional details (optional)","ng-autosize","",1,"ques-ov-txt","ques-ov-txt-liner","textarea",3,"value","readonly","input"],["placeholder","Select Category...",1,"ques-ov-drp",3,"invalid","items","second","value","selected"],["role","alert","tabindex","-1","zing-touch","",1,"ques-ov-error-notice","ng-enter-element","slide",3,"innerHTML","zing-url-container"],["zing-touch","","aria-label","Next",1,"btn","fixed-w-i","with-loader","no-disabled","ng-enter-element",3,"disabled","onTap"],["aria-hidden","true","tabindex","-1",1,"btn-loader"],[1,"ng-enter-element","ques-ov-end-msg"],[1,"ng-enter-element","ques-ov-login"],["zing-touch","",1,"btn","white-blue","ques-ov-bk-bt",3,"onTap"],["aria-label","Login","zing-touch","",1,"btn","aqua","full","ques-ov-lg-bt","semi-bold-font",3,"onTap"],[1,"bf-icon-wlogo"],[1,"ques-ov-lg-txt"],[1,"ques-ov-or","center"],["aria-label","Email","type","email","placeholder","Email Address",1,"textfield","full",3,"value","input"],[4,"ngIf"],["zing-touch","",1,"btn","fixed-w-i","with-loader","no-disabled",3,"disabled","onTap"],[1,"btn-loader"]],template:function(e,n){1&e&&(t.ɵɵelementStart(0,"h2",0),t.ɵɵtext(1,"Ask a Question"),t.ɵɵelementEnd(),t.ɵɵtemplate(2,X,2,1,"h2",1),t.ɵɵtemplate(3,Z,2,1,"h2",1),t.ɵɵelement(4,"div",2),t.ɵɵtemplate(5,J,4,5,"div",3),t.ɵɵelementStart(6,"div",4),t.ɵɵtext(7),t.ɵɵelementEnd(),t.ɵɵtemplate(8,K,2,2,"div",3),t.ɵɵtemplate(9,ee,2,4,"div",3),t.ɵɵelementStart(10,"div",5),t.ɵɵelementStart(11,"error-toast",6),t.ɵɵlistener("onhidden",function(){return n.OnErrorToastHidden()}),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵtemplate(12,te,1,2,"div",7),t.ɵɵtemplate(13,ne,3,3,"button",8),t.ɵɵtemplate(14,re,2,0,"div",9),t.ɵɵtemplate(15,se,16,7,"div",10)),2&e&&(t.ɵɵproperty("ng-hidden",n.submited||n.needs_login)("focus-when",!(n.submited||n.needs_login)),t.ɵɵadvance(2),t.ɵɵproperty("ngIf",n.submited),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.needs_login&&!n.submited),t.ɵɵadvance(1),t.ɵɵproperty("ng-aria-live",n.live_status),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",!n.submited&&!n.needs_login),t.ɵɵadvance(2),t.ɵɵtextInterpolate(n.question_count_status),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",!n.submited&&!n.needs_login),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",!n.submited&&!n.needs_login&&n.has_categories&&n.categories.length>1),t.ɵɵadvance(1),t.ɵɵproperty("ng-hidden",n.submited||n.needs_login),t.ɵɵadvance(1),t.ɵɵproperty("message",n.error_message)("show",n.show_error)("close-on-change",!0)("timer",n.toastinterval),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",!n.needs_login&&n.show_ajax_error),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",!n.submited&&!n.needs_login),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.submited),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.needs_login&&!n.submited))},directives:[t.ngFocus,t.ngHidden,t.NgIf,t.ngAriaLive,t.ErrorToastComponent,S,G,t.TouchGestures],encapsulation:2}),e}(),de=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=t.ɵɵdefineNgModule({type:e}),e.ɵinj=t.ɵɵdefineInjector({imports:[[t.CommonModule,t.DirectivesModule,C,t.ErrorsModule,Y,t.ngFocusModule]]}),e}(),ue=["content"];function pe(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"span",4),t.ɵɵlistener("onClick",function(){return t.ɵɵrestoreView(r),t.ɵɵnextContext().Collapse()}),t.ɵɵtext(1,"show less"),t.ɵɵelementEnd()}}function he(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"div",5),t.ɵɵlistener("onExpand",function(e){return t.ɵɵrestoreView(r),t.ɵɵnextContext().Expanded(e)}),t.ɵɵelementEnd()}if(2&e){var i=t.ɵɵnextContext();t.ɵɵproperty("ng-truncate",i.htmlcontent)("breakpoint",i.breakpoint)("breakwords",i.breakwords)}}var me,fe=["*"];function ge(){if(t.isNode()){if(me)return me;var e=new(0,require("jsdom").JSDOM)("<!DOCTYPE html><head><title></title></head><body></body></html>");return me=e.window.document}return document}var ve=function(){function e(e,n){this._el=e,this._render=n,this._cleanups=[],this.breakpoint=768,this.breakwords={416:35,541:50,769:70,1282:90,1901:100,2048:150},this.staticbreak=null,this._content="",this.sanitize=!0,this.sanitizeCFG={RETURN_DOM_FRAGMENT:!1,RETURN_DOM:!1,USE_PROFILES:{html:!0,svg:!0,svgFilters:!0},ALLOW_UNKNOWN_PROTOCOLS:!0,KEEP_CONTENT:!0,ADD_TAGS:["meta","noscript"],ADD_ATTR:["content","itemprop","itemtype","itemscope","id","name","target"]},this.use_shave_break=!1,this.expand_bt="show more",this.collapse_bt="show less",this.auto_truncate=!0,this._expanded=!1,this._initiated=!1,this.istruncated=new t.BehaviorSubject(null),this._expandContent=new t.Subject,this._expandct=!1,this.onExpand=new t.EventEmitter,this.onContent=new t.EventEmitter}return Object.defineProperty(e.prototype,"content",{set:function(e){this._content=e||"",this._initiated&&(this._expandct?this._ShowFullCT():this._Truncate())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"expandContent",{set:function(e){this._expandContent.next(e),this._expandct=e},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){!this._expandct&&this._content||t.isNode()?this._Truncate():this._ShowFullCT(),this._initiated=!0},e.prototype._WordCount=function(e){var n=t.trim((1==e.nodeType?e.textContent:e.wholeText)+"");return""==n?0:n.split(/\s+/g).length},e.prototype._CutHTML=function(e,t){var n=e.parentNode,r=null;if(n){for(var i=[],o=0,a=n.childNodes.length;o<a;o++){var s=n.childNodes[o];s==e?r=o:null!==r&&o>r&&(!s.tagName||"td"!==s.tagName.toLowerCase())&&i.push(s)}i.forEach(function(e){e.parentNode.removeChild(e)}),n!=t&&n&&this._CutHTML(n,t)}},e.prototype._AddExpandBT=function(e){var n=e.parentNode;n.removeChild(e),n.innerHTML=t.trim(n.innerHTML);var r=n.tagName.toLowerCase();if(t.isAny(r,["tr","tbody","thead","tfoot"])){if("table"!=r){var i=n.parentNode;for(r=i.tagName.toLowerCase();"table"!=r&&r;)r=(i=i.parentNode)&&i.tagName?i.tagName.toLowerCase():null;"table"==r&&(n=i)}n.insertAdjacentHTML("afterend",' <span class="js-shave-char cursor-pointer" role="button" tabindex="0">'+this.expand_bt+"</span>"),n.insertAdjacentText?n.insertAdjacentText("afterend","..."):n.insertAdjacentHTML("afterend","...")}else n.insertAdjacentText?n.insertAdjacentText("beforeend","..."):n.insertAdjacentHTML("beforeend","..."),"a"==r?n.insertAdjacentHTML("afterend",' <span class="js-shave-char cursor-pointer" role="button" tabindex="0">'+this.expand_bt+"</span>"):n.insertAdjacentHTML("beforeend",' <span class="js-shave-char cursor-pointer" role="button" tabindex="0">'+this.expand_bt+"</span>");this.istruncated.next(!0)},e.prototype._Shave=function(e,t){if(!(this._WordCount(e)<=t)){var n=void 0===e.textContent?"innerText":"textContent",r=e[n].split(" ");if(!(r.length<2))for(var i=r.length-1,o=0,a=void 0,s=!1;o<i;){a=o+i+1>>1;var l=r.slice(0,a).join(" ");s=l.lastIndexOf(".")>-1,e[n]=l,e.insertAdjacentHTML("beforeend",'<span class="js-shave-char cursor-pointer" role="button" tabindex="0" aria-label="'+this.expand_bt+'">'+(s?"":".")+".."+this.expand_bt+"</span>"),this._WordCount(e)>t?i=a-1:o=a}}},e.prototype._TruncateWithLimit=function(e,n){var r=ge().createElement("div");r.innerHTML=e;var i=0,o=!1,a=function(e){for(var r=0,s=e.childNodes.length;r<s;r++){var l=e.childNodes[r];if(1==l.nodeType){if(l.classList.contains("cc-list-buttons"))return!0;if(a(l))return!0}else if(3==l.nodeType){var c=l[void 0===l.textContent?"innerText":"textContent"],d=t.trim(c).split(/\s+/g);if(i+=d.length,0==c.indexOf(" ")&&(d[0]=" "+d[0]),c.lastIndexOf(" ")==c.length-1&&(d[d.length-1]+=" "),i>n){var u=i-n;if(l.nodeValue=d.slice(0,d.length-u).join(" "),l.parentNode){var p=ge().createElement("div"),h=ge().createElement("span");h.setAttribute("data-chop","auto"),p.appendChild(h);var m=ge().createElement("div");m.innerHTML=d.slice(d.length-u).join(" "),l!==l.parentNode.lastChild?l.parentNode.insertBefore(h,l.nextElementSibling):(l.parentNode.appendChild(h),l.parentNode.insertAdjacentHTML("beforeend",m.innerHTML))}return o=!0,!0}}}};if(a(r),o){var s=r.querySelector('span[data-chop="auto"]');s&&r.lastChild!==s&&(this._CutHTML(s,r),s.parentNode==r&&(r.innerHTML=r.innerHTML.split(s.outerHTML)[0]+s.outerHTML,s=r.querySelector('span[data-chop="auto"]')),this._AddExpandBT(s))}return r.innerHTML},e.prototype._Truncate=function(){var e=this;this.istruncated.next(!1);var n=this._content;if(this.staticbreak){n=n.replace(/(?:\\r\\n|\\r|\\n)/g,""),n=(n=t.trim(n)).replace("[chop]",'<span data-chop="desktop"></span>').replace("[mobilechop]","");var r=ge().createElement("div");r.innerHTML=n;var i=r.querySelector('span[data-chop="desktop"]');return i?(console.log(i),r.lastChild==i?i.parentNode.removeChild(i):(this._CutHTML(i,r),i.parentNode==r&&(r.innerHTML=r.innerHTML.split(i.outerHTML)[0]+i.outerHTML,i=r.querySelector('span[data-chop="desktop"]')),this._AddExpandBT(i),n=r.innerHTML)):this._WordCount(r)>this.staticbreak&&(n=this._TruncateWithLimit(n,this.staticbreak)),this.sanitize&&(n=t.Sanitize(n,this.sanitizeCFG)),void this._render.setProperty(this._el.nativeElement,"innerHTML",n)}if(n=(n=(n=n.replace("[chop]","\x3c!--chop--\x3e").replace("[mobilechop]","\x3c!--mobilechop--\x3e")).replace('<span data-chop="desktop"></span>',"\x3c!--chop--\x3e").replace('<span data-chop="mobile"></span>',"\x3c!--mobilechop--\x3e")).replace(/(?:\\r\\n|\\r|\\n)/g,""),n=t.trim(n),t.isNode())return this.sanitize&&(n=t.Sanitize(n,this.sanitizeCFG)),void this._render.setProperty(this._el.nativeElement,"innerHTML",n);var o=window.innerWidth||document.body.clientWidth;o<this.breakpoint&&n.indexOf("\x3c!--mobilechop--\x3e")<0&&(n=n.replace(/<!--(auto)?(mobile)?chop-->/g,""));var a=!1,s=!1;o>=this.breakpoint?n.indexOf("\x3c!--chop--\x3e")>0&&(a=!0):n.indexOf("\x3c!--chop--\x3e")>0&&n.indexOf("\x3c!--mobilechop--\x3e")<0?a=!0:n.indexOf("\x3c!--mobilechop--\x3e")>0&&(a=s=!0),a||(n=n.replace("\x3c!--chop--\x3e","").replace("\x3c!--mobilechop--\x3e","")),n=(n=(n=o>this.breakpoint?n.replace(/(<!--chop-->)\s*(<!--mobilechop-->)/,"$2$1"):n.replace(/(<!--mobilechop-->)\s*(<!--chop-->)/,"$2$1")).replace("\x3c!--chop--\x3e",'<span data-chop="desktop"></span>')).replace("\x3c!--mobilechop--\x3e",'<span data-chop="mobile"></span>');var l=document.createElement("div");l.innerHTML=n;var c=l.querySelector('span[data-chop="desktop"]'),d=l.querySelector('span[data-chop="mobile"]');if(!c&&!d&&!this.auto_truncate)return n=t.Sanitize(n,this.sanitizeCFG),void this._render.setProperty(this._el.nativeElement,"innerHTML",n);var u=!1,p=!!this.breakwords;if(l.lastChild==c||l.lastChild==d)p=!1,c&&l.lastChild==c&&(c.parentNode.removeChild(c),c=null,d&&l.lastChild==d&&(d.parentNode.removeChild(d),d=null)),d&&l.lastChild==d&&(d.parentNode.removeChild(d),d=null,c&&l.lastChild==c&&(c.parentNode.removeChild(c),c=null));else{if(c&&c.parentNode.lastChild==c){for(var h=c.parentNode,m=!0;h&&h!==l;){if(h.parentNode.lastChild!=h){m=!1;break}h=h.parentNode}m&&(p=!1,c.parentNode.removeChild(c),c=null)}if(d&&d.parentNode.lastChild==d){for(h=d.parentNode,m=!0;h&&h!==l;){if(h.parentNode.lastChild!=h){m=!1;break}h=h.parentNode}m&&(p=!1,d.parentNode.removeChild(d),d=null)}}if(c&&(o>this.breakpoint||!s))this._CutHTML(c,l),c.parentNode==l&&(l.innerHTML=l.innerHTML.split(c.outerHTML)[0]+c.outerHTML,c=l.querySelector('span[data-chop="desktop"]')),this._AddExpandBT(c);else if(s&&d&&o<this.breakpoint)this._CutHTML(d,l),d.parentNode==l&&(l.innerHTML=l.innerHTML.split(d.outerHTML)[0]+d.outerHTML,d=l.querySelector('span[data-chop="mobile"]')),this._AddExpandBT(d);else if(p){var f;if(t.objectForEach(this.breakwords,function(e,n){if(o<t.toNumber(n))return f=e,!1}),f)if(this.use_shave_break)this._Shave(l,f),u=!0;else if(this._WordCount(l)>f)return void this._render.setProperty(this._el.nativeElement,"innerHTML",this._TruncateWithLimit(n,f))}var g=l.innerHTML;!u&&this.sanitize&&(g=t.Sanitize(l.innerHTML,this.sanitizeCFG)),this._render.setProperty(this._el.nativeElement,"innerHTML",g),this.istruncated.pipe(t.take(1)).subscribe(function(n){t.reqAnimationFrame(function(){e.onContent.emit(n?"collapsed":"expanded")})})},e.prototype._ShowFullCT=function(){var e=this,n=this._content||"";this.sanitize&&(n=t.Sanitize(n,this.sanitizeCFG)),this.collapse_bt&&(n+='<br class="js-shave-br" /><span class="js-shave-char cursor-pointer js-shave-char-less" role="button" tabindex="0">'+this.collapse_bt+"</span>"),n=n.replace("[chop]","").replace("[mobilechop]",""),this._render.setProperty(this._el.nativeElement,"innerHTML",n),t.reqAnimationFrame(function(){e.onContent.emit("expanded")})},e.prototype.Expand=function(e){if(!t.isNode()){var n=e.target;n&&n.classList&&n.classList.contains("js-shave-char")&&(this._expanded=!this._expanded,this._expanded?this._ShowFullCT():(this._expandct=!1,this._Truncate()),this.onExpand.emit(this._expanded),t.Events.emit("$shortcodes:set"))}},e.prototype.ngAfterViewInit=function(){var e=this;t.isNode()||(this._windowobs=u(window,"resize"),this._windowobs.subscribe(function(){!e._content||e._expanded||e._expandct||e._Truncate()}),this._expandContent.subscribe(function(t){e._content&&(e._expanded=!t,e.Expand({target:{classList:{contains:function(){return!0}}}}))}),this._cleanups.push(this._render.listen(this._el.nativeElement,"click",function(t){e.Expand(t)})))},e.prototype.ngOnDestroy=function(){this._windowobs&&(this._windowobs=null),this._windowsubs&&this._windowsubs.unsubscribe(),this.istruncated.complete(),this._cleanups.forEach(function(e){e()})},e.ɵfac=function(n){return new(n||e)(t.ɵɵdirectiveInject(t.ElementRef),t.ɵɵdirectiveInject(t.Renderer2))},e.ɵdir=t.ɵɵdefineDirective({type:e,selectors:[["","ng-truncate",""]],inputs:{breakpoint:"breakpoint",breakwords:"breakwords",staticbreak:["breakwords-static","staticbreak"],content:["ng-truncate","content"],sanitize:"sanitize",sanitizeCFG:["sanitize-cfg","sanitizeCFG"],use_shave_break:["use-shave","use_shave_break"],expand_bt:["expand-button","expand_bt"],collapse_bt:["collapse-button","collapse_bt"],auto_truncate:["auto-trim","auto_truncate"],expandContent:["expand-content","expandContent"]},outputs:{onExpand:"onExpand",onContent:"onContent"}}),e}(),_e=(function(){function e(e,n){this._cd=e,this._render=n,this.breakpoint=768,this.breakwords={416:35,541:50,769:70,1282:90,1901:100,2048:150},this.expand_mode="dynamic",this.hide_org_content=!0,this.perma_expand=!1,this.htmlcontent="",this.onExpand=new t.EventEmitter}e.prototype.Expanded=function(e){if(e&&(this.hide_org_content=!1,"permanent"==this.expand_mode&&(this.perma_expand=!0)),this.onExpand.emit(e),this._cd.detectChanges(),this.contentBox&&this.contentBox.nativeElement)for(var t=this.contentBox.nativeElement,n=function(e,n){var r=t.childNodes[e];return r.focus&&(r.setAttribute("tabindex","0"),r.focus(),setTimeout(function(){r.focus()})),"break"},r=0,i=t.childNodes.length;r<i;r++){if("break"===n(r))break}},e.prototype.Collapse=function(){this.hide_org_content=!0,this._cd.detectChanges()},e.prototype.ngOnInit=function(){var e=this;this.hide_org_content=!t.isNode(),t.isNode()?(this.hide_org_content=!1,this.perma_expand=!0):this._observer=new MutationObserver(function(n){e.htmlcontent=e.contentBox.nativeElement.innerHTML,t.reqAnimationFrame(function(){e._cd.detectChanges()})})},e.prototype.ngAfterViewInit=function(){var e=this;t.isNode()||(this.htmlcontent=this.contentBox.nativeElement.innerHTML,t.reqAnimationFrame(function(){e._cd.detectChanges()}),this._observer.observe(this.contentBox.nativeElement,{attributes:!1,childList:!0,characterData:!0}))},e.prototype.ngOnDestroy=function(){this._observer.disconnect()},e.ɵfac=function(n){return new(n||e)(t.ɵɵdirectiveInject(t.ChangeDetectorRef),t.ɵɵdirectiveInject(t.Renderer2))},e.ɵcmp=t.ɵɵdefineComponent({type:e,selectors:[["ng-truncate"]],viewQuery:function(e,n){if(1&e&&t.ɵɵviewQuery(ue,5),2&e){var r;t.ɵɵqueryRefresh(r=t.ɵɵloadQuery())&&(n.contentBox=r.first)}},inputs:{breakpoint:"breakpoint",breakwords:"breakwords",expand_mode:["expand","expand_mode"]},outputs:{onExpand:"onExpand"},ngContentSelectors:fe,decls:5,vars:3,consts:[[3,"ng-hidden"],["content",""],["class","js-shave-char cursor-pointer js-shave-char-expanded","zing-touch","","role","button","tabindex","0",3,"onClick",4,"ngIf"],[3,"ng-truncate","breakpoint","breakwords","onExpand",4,"ngIf"],["zing-touch","","role","button","tabindex","0",1,"js-shave-char","cursor-pointer","js-shave-char-expanded",3,"onClick"],[3,"ng-truncate","breakpoint","breakwords","onExpand"]],template:function(e,n){1&e&&(t.ɵɵprojectionDef(),t.ɵɵelementStart(0,"div",0,1),t.ɵɵprojection(2),t.ɵɵelementEnd(),t.ɵɵtemplate(3,pe,2,0,"span",2),t.ɵɵtemplate(4,he,1,3,"div",3)),2&e&&(t.ɵɵproperty("ng-hidden",n.hide_org_content),t.ɵɵadvance(3),t.ɵɵproperty("ngIf",!n.hide_org_content&&!n.perma_expand),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.hide_org_content))},directives:[t.ngHidden,t.NgIf,t.TouchGestures,ve],encapsulation:2,changeDetection:0})}(),function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=t.ɵɵdefineNgModule({type:e}),e.ɵinj=t.ɵɵdefineInjector({imports:[[t.CommonModule,t.DirectivesModule]]}),e}()),ye=["txtElement"],be=["quesOverlay"],xe=["ques_answer"],we=["id","qna-box"];function Ee(e,n){if(1&e&&(t.ɵɵelementStart(0,"span",21),t.ɵɵtext(1),t.ɵɵelementEnd()),2&e){var r=t.ɵɵnextContext(2);t.ɵɵadvance(1),t.ɵɵtextInterpolate1("(",r.schq_count,")")}}var Se=function(e,t,n){return{"light-font qnah-1":e,"qnah-2 bold-font":t,"qnah-1 qnah-3 extra-bold-font":n}};function Ce(e,n){if(1&e&&(t.ɵɵelementStart(0,"h2",19),t.ɵɵtext(1),t.ɵɵtemplate(2,Ee,2,1,"span",20),t.ɵɵelementEnd()),2&e){var r=t.ɵɵnextContext();t.ɵɵproperty("ngClass",t.ɵɵpureFunction3(3,Se,0==r.layout_type,1==r.layout_type,2==r.layout_type)),t.ɵɵadvance(1),t.ɵɵtextInterpolate1("",r.section_title," "),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",1==r.layout_type&&r.schq_count)}}function qe(e,n){if(1&e&&(t.ɵɵelementStart(0,"p",22),t.ɵɵelementStart(1,"span"),t.ɵɵtext(2),t.ɵɵelementEnd(),t.ɵɵtext(3,"For more general questions, visit our "),t.ɵɵelementStart(4,"a",23),t.ɵɵtext(5,"Answers section."),t.ɵɵelementEnd(),t.ɵɵelementEnd()),2&e){var r=t.ɵɵnextContext();t.ɵɵadvance(2),t.ɵɵtextInterpolate1("Get answers to your questions about ",r.product_name," below. "),t.ɵɵadvance(2),t.ɵɵproperty("zing-url",!0)}}function Te(e,n){if(1&e&&t.ɵɵelement(0,"p",24),2&e){var r=t.ɵɵnextContext();t.ɵɵproperty("zing-url-container",!0)("ng-truncate",r.intro_content)("breakwords",r.truncateBreakwords)("breakpoint",480)}}function Ie(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"span",35),t.ɵɵlistener("onTap",function(){return t.ɵɵrestoreView(r),t.ɵɵnextContext(2).QClear()}),t.ɵɵelementEnd()}}function ke(e,n){1&e&&(t.ɵɵelementStart(0,"span"),t.ɵɵtext(1,"Don't see what you're looking for?"),t.ɵɵelementEnd())}function Ae(e,n){1&e&&(t.ɵɵelementStart(0,"div",36),t.ɵɵtext(1,"MATCHING RESULTS"),t.ɵɵelementEnd())}function Oe(e,n){1&e&&(t.ɵɵelementStart(0,"div",36),t.ɵɵtext(1,"NO MATCHING RESULTS"),t.ɵɵelementEnd())}function Le(e,n){1&e&&(t.ɵɵelementStart(0,"div",36),t.ɵɵtext(1,"Searching for answers..."),t.ɵɵelementEnd())}function ze(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"div",25),t.ɵɵelementStart(1,"div",26),t.ɵɵelementStart(2,"textarea",27),t.ɵɵlistener("input",function(e){return t.ɵɵrestoreView(r),t.ɵɵnextContext().SearchInput(e)}),t.ɵɵelementEnd(),t.ɵɵtemplate(3,Ie,1,0,"span",28),t.ɵɵelementStart(4,"button",29),t.ɵɵlistener("onTap",function(){return t.ɵɵrestoreView(r),t.ɵɵnextContext().QSearch()}),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(5,"div",30),t.ɵɵtemplate(6,ke,2,0,"span",31),t.ɵɵelementStart(7,"button",32),t.ɵɵlistener("click",function(e){return t.ɵɵrestoreView(r),t.ɵɵnextContext().AskQuestion(e)}),t.ɵɵtext(8,"Ask Your Question"),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(9,"div",33),t.ɵɵtemplate(10,Ae,2,0,"div",34),t.ɵɵtemplate(11,Oe,2,0,"div",34),t.ɵɵtemplate(12,Le,2,0,"div",34),t.ɵɵelementEnd(),t.ɵɵelementEnd()}if(2&e){var i=t.ɵɵnextContext();t.ɵɵadvance(1),t.ɵɵproperty("scroll-to",i.focus_on_input),t.ɵɵadvance(1),t.ɵɵproperty("value",i.search_value),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",i.search_value),t.ɵɵadvance(1),t.ɵɵproperty("ng-hidden",!!i.search_value),t.ɵɵadvance(1),t.ɵɵclassProp("qna-aq-ss",i.noresults),t.ɵɵproperty("ng-hidden",!(i.show_search_state||i.show_search_state_empty)),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",i.show_search_state&&!i.noresults),t.ɵɵadvance(4),t.ɵɵproperty("ngIf",i.show_search_state&&!i.search_loading),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",i.show_search_state_empty&&!i.search_loading),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",i.search_loading)}}function Me(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"span",37),t.ɵɵlistener("onTap",function(){var e=t.ɵɵrestoreView(r).index;return t.ɵɵnextContext().ChangeSort(e)}),t.ɵɵtext(1),t.ɵɵelementEnd()}if(2&e){var i=n.$implicit,o=n.index,a=t.ɵɵnextContext();t.ɵɵclassProp("qnaml-first",0==o),t.ɵɵproperty("focus-when",a.sort_list_opened&&0==o)("no-click",!0),t.ɵɵadvance(1),t.ɵɵtextInterpolate(i)}}function Ne(e,n){1&e&&t.ɵɵelement(0,"div",46)}function Re(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"div",38),t.ɵɵtemplate(1,Ne,1,0,"div",39),t.ɵɵelementStart(2,"div",40),t.ɵɵelementStart(3,"div",41),t.ɵɵelement(4,"img",42),t.ɵɵelementEnd(),t.ɵɵelementStart(5,"div",43),t.ɵɵelementStart(6,"textarea",44),t.ɵɵlistener("input",function(e){return t.ɵɵrestoreView(r),t.ɵɵnextContext().ques_ask=e.target.value}),t.ɵɵelementEnd(),t.ɵɵelementStart(7,"button",45),t.ɵɵlistener("click",function(e){return t.ɵɵrestoreView(r),t.ɵɵnextContext().AskQuestion(e)}),t.ɵɵtext(8,"Ask your Question"),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd()}if(2&e){var i=t.ɵɵnextContext();t.ɵɵadvance(1),t.ɵɵproperty("ngIf",0==i.schquestions.length),t.ɵɵadvance(3),t.ɵɵproperty("src",i.user_avatar,t.ɵɵsanitizeUrl)("on-img-error",i.user_avatar_fallback),t.ɵɵadvance(1),t.ɵɵproperty("scroll-to",i.focus_on_input),t.ɵɵadvance(1),t.ɵɵproperty("value",i.ques_ask)}}function je(e,n){1&e&&(t.ɵɵelementStart(0,"div",50),t.ɵɵelementStart(1,"div",51),t.ɵɵelement(2,"i"),t.ɵɵelementEnd(),t.ɵɵelementEnd())}function Pe(e,n){if(1&e&&t.ɵɵelement(0,"a",75),2&e){var r=t.ɵɵnextContext().$implicit;t.ɵɵclassProp("qt-as-link",r.from_search),t.ɵɵproperty("href",r.ques_href||"/answers/"+r.ques_fullslug,t.ɵɵsanitizeUrl)("zing-url",!0)("cleanHTML",r.ques_title)("focus-when",r.focuson)("no-click",!0)}}function He(e,n){if(1&e&&t.ɵɵelement(0,"span",76),2&e){var r=t.ɵɵnextContext().$implicit;t.ɵɵclassProp("qt-as-link",r.from_search),t.ɵɵproperty("cleanHTML",r.ques_title)}}function Fe(e,n){if(1&e&&t.ɵɵelement(0,"p",77),2&e){var r=t.ɵɵnextContext().$implicit;t.ɵɵproperty("cleanHTML",r.ques_content_cut_mob)}}function Ve(e,n){if(1&e&&t.ɵɵelement(0,"p",78),2&e){var r=t.ɵɵnextContext().$implicit;t.ɵɵproperty("cleanHTML",r.ques_content_cut_desk)}}function De(e,n){1&e&&(t.ɵɵelementStart(0,"span",79),t.ɵɵtext(1,"..."),t.ɵɵelementEnd())}function We(e,n){if(1&e&&t.ɵɵelement(0,"p",77),2&e){var r=t.ɵɵnextContext().$implicit;t.ɵɵproperty("cleanHTML",r.ques_content_more)}}function Ue(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"span",80),t.ɵɵlistener("onTap",function(){t.ɵɵrestoreView(r);var e=t.ɵɵnextContext().$implicit;return t.ɵɵnextContext(2).ExpandContent(e.id,"question")}),t.ɵɵtext(1,"show more"),t.ɵɵelementEnd()}if(2&e){var i=t.ɵɵnextContext().$implicit,o=t.ɵɵnextContext(2);t.ɵɵproperty("ng-hidden",o.questionexpand[i.id])}}function Qe(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"span",81),t.ɵɵlistener("onTap",function(){t.ɵɵrestoreView(r);var e=t.ɵɵnextContext().$implicit;return t.ɵɵnextContext(2).ExpandContent(e.id,"question")}),t.ɵɵtext(1,"show less"),t.ɵɵelementEnd()}if(2&e){var i=t.ɵɵnextContext().$implicit,o=t.ɵɵnextContext(2);t.ɵɵproperty("ng-hidden",!o.questionexpand[i.id])}}function $e(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"div",82),t.ɵɵlistener("click",function(){t.ɵɵrestoreView(r);var e=t.ɵɵnextContext().$implicit;return t.ɵɵnextContext(2).ShowReplybox(e.id)}),t.ɵɵtext(1,"Reply"),t.ɵɵelementEnd()}if(2&e){var i=t.ɵɵnextContext().$implicit;t.ɵɵproperty("focus-when",i.reply_bt_focus)("no-click",!0)}}function Be(e,n){1&e&&t.ɵɵelement(0,"span",83)}function Ge(e,n){1&e&&t.ɵɵelement(0,"span",83)}function Ye(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"form",84),t.ɵɵlistener("onSubmit",function(){t.ɵɵrestoreView(r);var e=t.ɵɵnextContext().$implicit;return t.ɵɵnextContext(2).SubmitReply(e)}),t.ɵɵelementStart(1,"div",85),t.ɵɵelement(2,"img",86),t.ɵɵelementEnd(),t.ɵɵelementStart(3,"div",87),t.ɵɵelementStart(4,"ck-editor",88),t.ɵɵlistener("valueChange",function(e){t.ɵɵrestoreView(r);var n=t.ɵɵnextContext().$implicit;return t.ɵɵnextContext(2).ReplyInput(e,n.id)}),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(5,"div",89),t.ɵɵelement(6,"error-toast",90),t.ɵɵelementStart(7,"button",91),t.ɵɵlistener("click",function(){t.ɵɵrestoreView(r);var e=t.ɵɵnextContext().$implicit;return t.ɵɵnextContext(2).ShowReplybox(e.id)}),t.ɵɵtext(8,"Cancel"),t.ɵɵelementEnd(),t.ɵɵelementStart(9,"button",92),t.ɵɵelementStart(10,"span"),t.ɵɵtext(11,"Reply"),t.ɵɵelementEnd(),t.ɵɵelement(12,"i",93),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd()}if(2&e){var i=t.ɵɵnextContext().$implicit,o=t.ɵɵnextContext(2);t.ɵɵadvance(2),t.ɵɵproperty("src",o.user_avatar,t.ɵɵsanitizeUrl)("on-img-error",o.user_avatar_fallback),t.ɵɵadvance(2),t.ɵɵproperty("value",o.replyboxinput[i.id])("active",!0)("cursor-focus",o.replyboxshow[i.id])("readonly",o.replyinprogress[i.id]),t.ɵɵadvance(2),t.ɵɵproperty("message",null==o.replyerror[i.id]?null:o.replyerror[i.id].message)("show",null==o.replyerror[i.id]?null:o.replyerror[i.id].show)("close-on-change",!0)("timer",3e3),t.ɵɵadvance(1),t.ɵɵproperty("disabled",o.replyinprogress[i.id]),t.ɵɵadvance(2),t.ɵɵclassProp("loadactive",o.replyinprogress[i.id]),t.ɵɵproperty("disabled",o.replyinprogress[i.id])}}function Xe(e,n){if(1&e&&(t.ɵɵelementStart(0,"span",109),t.ɵɵtext(1),t.ɵɵelementEnd()),2&e){var r=t.ɵɵnextContext(2).$implicit;t.ɵɵadvance(1),t.ɵɵtextInterpolate1(", ",r.user_title,"")}}function Ze(e,n){if(1&e&&(t.ɵɵelementStart(0,"div",106),t.ɵɵelement(1,"span",107),t.ɵɵtemplate(2,Xe,2,1,"span",108),t.ɵɵelementEnd()),2&e){var r=t.ɵɵnextContext().$implicit;t.ɵɵadvance(1),t.ɵɵproperty("ng-context",r.user_fullname||r.user_login),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",r.user_title)}}function Je(e,n){if(1&e&&(t.ɵɵelementContainerStart(0),t.ɵɵtext(1),t.ɵɵelementContainerEnd()),2&e){var r=t.ɵɵnextContext().$implicit;t.ɵɵadvance(1),t.ɵɵtextInterpolate(r.user_login)}}function Ke(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"span",114),t.ɵɵlistener("onTap",function(){var e=t.ɵɵrestoreView(r).index,n=t.ɵɵnextContext(2).$implicit;return t.ɵɵnextContext(3).AnsOpt(e,n)}),t.ɵɵtext(1),t.ɵɵelementEnd()}if(2&e){var i=n.$implicit,o=n.index;t.ɵɵclassProp("qnaml-first",0==o),t.ɵɵadvance(1),t.ɵɵtextInterpolate(i)}}function et(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"div",110),t.ɵɵelementStart(1,"span",111),t.ɵɵlistener("onTap",function(){t.ɵɵrestoreView(r);var e=t.ɵɵnextContext().$implicit;return t.ɵɵnextContext(3).ControlAnsOpt(e)})("onTapOutside",function(){return t.ɵɵrestoreView(r),t.ɵɵnextContext().$implicit.options_list_opened=!1}),t.ɵɵelementEnd(),t.ɵɵelementStart(2,"div",112),t.ɵɵlistener("onTap",function(e){return e.stopPropagation()}),t.ɵɵtemplate(3,Ke,2,3,"span",113),t.ɵɵelementEnd(),t.ɵɵelementEnd()}if(2&e){var i=t.ɵɵnextContext().$implicit,o=t.ɵɵnextContext(3);t.ɵɵadvance(2),t.ɵɵproperty("ng-hidden",!i.options_list_opened),t.ɵɵadvance(1),t.ɵɵproperty("ngForOf",o.ansOptions)("ngForTrackBy",o.trackByFn)}}function tt(e,n){1&e&&t.ɵɵelement(0,"span",83)}function nt(e,n){1&e&&t.ɵɵelement(0,"span",83)}var rt=function(){return{attribute:"itemprop",value:"upvoteCount"}},it=function(e){return[e]},ot=function(){return{attribute:"itemprop",value:"downvoteCount"}};function at(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"div",66),t.ɵɵelementStart(1,"div",115),t.ɵɵlistener("onTap",function(){t.ɵɵrestoreView(r);var e=t.ɵɵnextContext().$implicit;return t.ɵɵnextContext(3).RateContent(e,"up")}),t.ɵɵtemplate(2,tt,1,0,"span",116),t.ɵɵelementStart(3,"span",117),t.ɵɵtext(4),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(5,"div",70),t.ɵɵlistener("onTap",function(){t.ɵɵrestoreView(r);var e=t.ɵɵnextContext().$implicit;return t.ɵɵnextContext(3).RateContent(e,"down")}),t.ɵɵtemplate(6,nt,1,0,"span",116),t.ɵɵelementStart(7,"span",117),t.ɵɵtext(8),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd()}if(2&e){var i=t.ɵɵnextContext(),o=i.$implicit,a=i.index,s=t.ɵɵnextContext(3);t.ɵɵadvance(1),t.ɵɵclassProp("visible",o.voteinprogress),t.ɵɵproperty("zing-no-touch",!0),t.ɵɵattribute("aria-label",o.upvotelabel),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",o.voteinprogress),t.ɵɵadvance(1),t.ɵɵproperty("ng-attribute",t.ɵɵpureFunction1(17,it,t.ɵɵpureFunction0(16,rt)))("ng-attribute-when",s.toggleSchema&&0==a),t.ɵɵadvance(1),t.ɵɵtextInterpolate(o.upvote),t.ɵɵadvance(1),t.ɵɵclassProp("visible",o.downvoteinprogress),t.ɵɵproperty("zing-no-touch",!0),t.ɵɵattribute("aria-label",o.dnvotelabel),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",o.downvoteinprogress),t.ɵɵadvance(1),t.ɵɵproperty("ng-attribute",t.ɵɵpureFunction1(20,it,t.ɵɵpureFunction0(19,ot)))("ng-attribute-when",s.toggleSchema&&0==a),t.ɵɵadvance(1),t.ɵɵtextInterpolate(o.downvote)}}var st=function(){return{416:35,541:50,769:70,2800:90}},lt=function(){return{attribute:"itemprop",value:"text"}};function ct(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"div",94),t.ɵɵelementStart(1,"div",95),t.ɵɵelementStart(2,"div",96),t.ɵɵelement(3,"img",97,98),t.ɵɵelementEnd(),t.ɵɵelementStart(5,"div",99),t.ɵɵtemplate(6,Ze,3,2,"div",100),t.ɵɵelementStart(7,"div",101),t.ɵɵtemplate(8,Je,2,1,"ng-container",31),t.ɵɵelementEnd(),t.ɵɵtemplate(9,et,4,3,"div",102),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(10,"span",103),t.ɵɵtext(11),t.ɵɵelementEnd(),t.ɵɵelementStart(12,"div",104),t.ɵɵlistener("onExpand",function(){var e=t.ɵɵrestoreView(r).$implicit;return t.ɵɵnextContext(3).AnswerExpanded(e)}),t.ɵɵelementEnd(),t.ɵɵtemplate(13,at,9,22,"div",105),t.ɵɵelementEnd()}if(2&e){var i=n.$implicit,o=n.index,a=t.ɵɵnextContext(),s=a.$implicit,l=a.index,c=t.ɵɵnextContext(2);t.ɵɵproperty("ng-hidden",!(0==o||c.question_more_answers[s.id]||1==o&&s.answers[0].my_ans))("ng-attribute",c.aschemascope)("ng-attribute-when",c.toggleSchema&&0==o),t.ɵɵadvance(2),t.ɵɵproperty("defer-src",i.user_avatar)("src-fallback",c.user_avatar_fallback),t.ɵɵadvance(4),t.ɵɵproperty("ngIf",i.user_fullname||i.user_login),t.ɵɵadvance(2),t.ɵɵproperty("ngIf",i.user_login),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",null==i?null:i.is_reportable),t.ɵɵadvance(1),t.ɵɵattribute("id","ans-desc-"+i.id),t.ɵɵadvance(1),t.ɵɵtextInterpolate1("Answer provided by user: ",i.user_fullname||i.user_login,""),t.ɵɵadvance(1),t.ɵɵproperty("zing-url-container",!0)("expand-content",0==o&&0==l&&!c.search_loading&&!(c.show_search_state||c.show_search_state_empty))("breakwords",t.ɵɵpureFunction0(21,st))("collapse-button",0!=o||0!=l||c.show_search_state||c.show_search_state_empty?"show less":"")("ng-truncate",i.content_long)("sanitize-cfg",i.sanitizecfg)("ng-attribute",t.ɵɵpureFunction1(23,it,t.ɵɵpureFunction0(22,lt)))("ng-attribute-when",c.toggleSchema&&0==o),t.ɵɵattribute("data-pos",i.stackid)("aria-describedby","ans-desc-"+i.id),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",!c.IsSpecial(i.id))}}function dt(e,n){1&e&&(t.ɵɵelementStart(0,"div",122),t.ɵɵelement(1,"i"),t.ɵɵelementEnd())}function ut(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"div",118),t.ɵɵtemplate(1,dt,2,0,"div",119),t.ɵɵelementStart(2,"span",120),t.ɵɵlistener("onTap",function(){t.ɵɵrestoreView(r);var e=t.ɵɵnextContext(),n=e.$implicit,i=e.index;return t.ɵɵnextContext(2).ViewMoreAns(n,i)}),t.ɵɵtext(3," View more answers "),t.ɵɵelement(4,"i",121),t.ɵɵelementEnd(),t.ɵɵelementEnd()}if(2&e){var i=t.ɵɵnextContext().$implicit,o=t.ɵɵnextContext(2);t.ɵɵadvance(1),t.ɵɵproperty("ngIf",o.answersmore[i.id])}}var pt=function(){return{attribute:"itemprop",value:"name"}};function ht(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"article",52),t.ɵɵelementStart(1,"h3",53),t.ɵɵtemplate(2,Pe,1,7,"a",54),t.ɵɵtemplate(3,He,1,3,"span",55),t.ɵɵelementEnd(),t.ɵɵelementStart(4,"div",56),t.ɵɵelementStart(5,"div",57),t.ɵɵtext(6),t.ɵɵelementEnd(),t.ɵɵelementStart(7,"span",58),t.ɵɵtext(8),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵtemplate(9,Fe,1,1,"p",59),t.ɵɵtemplate(10,Ve,1,1,"p",60),t.ɵɵtemplate(11,De,2,0,"span",61),t.ɵɵtemplate(12,We,1,1,"p",59),t.ɵɵtemplate(13,Ue,2,1,"span",62),t.ɵɵtemplate(14,Qe,2,1,"span",63),t.ɵɵelementStart(15,"div",64),t.ɵɵtemplate(16,$e,2,2,"div",65),t.ɵɵelementStart(17,"div",66),t.ɵɵelementStart(18,"div",67),t.ɵɵlistener("onTap",function(){var e=t.ɵɵrestoreView(r).$implicit;return t.ɵɵnextContext(2).RateContent(e,"up")}),t.ɵɵtemplate(19,Be,1,0,"span",68),t.ɵɵelementStart(20,"span",69),t.ɵɵtext(21),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(22,"div",70),t.ɵɵlistener("onTap",function(){var e=t.ɵɵrestoreView(r).$implicit;return t.ɵɵnextContext(2).RateContent(e,"down")}),t.ɵɵtemplate(23,Ge,1,0,"span",68),t.ɵɵelementStart(24,"span",69),t.ɵɵtext(25),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵtemplate(26,Ye,13,14,"form",71),t.ɵɵelementStart(27,"div",72),t.ɵɵtemplate(28,ct,14,25,"div",73),t.ɵɵtemplate(29,ut,5,1,"div",74),t.ɵɵelementEnd(),t.ɵɵelementEnd()}if(2&e){var i=n.$implicit,o=t.ɵɵnextContext(2);t.ɵɵclassProp("qna-q-search",i.from_search),t.ɵɵproperty("ng-attribute",o.qschemascope)("ng-attribute-when",o.questionToggleSchema(i)),t.ɵɵadvance(1),t.ɵɵproperty("ng-attribute",t.ɵɵpureFunction1(37,it,t.ɵɵpureFunction0(36,pt)))("ng-attribute-when",o.questionToggleSchema(i)),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",i.ques_href||i.ques_fullslug),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",!i.ques_href&&!i.ques_fullslug),t.ɵɵadvance(2),t.ɵɵproperty("ng-attribute",t.ɵɵpureFunction1(40,it,t.ɵɵpureFunction0(39,rt)))("ng-attribute-when",o.questionToggleSchema(i)),t.ɵɵadvance(1),t.ɵɵtextInterpolate(i.upvote),t.ɵɵadvance(2),t.ɵɵtextInterpolate1("Upvote",1!=i.upvote?"s":"",""),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",!o.questionexpand[i.id]&&i.ques_content_cut_mob),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",!o.questionexpand[i.id]&&i.ques_content_cut_desk),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",!o.questionexpand[i.id]&&i.ques_content_has_more),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",(o.questionexpand[i.id]||!i.ques_content_cut_mob)&&i.ques_content_more),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",i.ques_content_has_more),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",i.ques_content_has_more),t.ɵɵadvance(2),t.ɵɵproperty("ngIf",!o.IsSpecial(i.id)),t.ɵɵadvance(2),t.ɵɵclassProp("visible",i.voteinprogress),t.ɵɵproperty("zing-no-touch",!0),t.ɵɵattribute("aria-label",i.upvotelabel),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",i.voteinprogress),t.ɵɵadvance(2),t.ɵɵtextInterpolate(i.upvote),t.ɵɵadvance(1),t.ɵɵclassProp("visible",i.downvoteinprogress),t.ɵɵproperty("zing-no-touch",!0),t.ɵɵattribute("aria-label",i.dnvotelabel),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",i.downvoteinprogress),t.ɵɵadvance(2),t.ɵɵtextInterpolate(i.downvote),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",o.replyboxshow[i.id]),t.ɵɵadvance(1),t.ɵɵproperty("ng-hidden",!i.answers||i.answers.length<1),t.ɵɵadvance(1),t.ɵɵproperty("ngForOf",i.answers)("ngForTrackBy",o.trackByFn),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",i.has_more_answers)}}function mt(e,n){if(1&e&&(t.ɵɵelementStart(0,"div",47),t.ɵɵtemplate(1,je,3,0,"div",48),t.ɵɵtemplate(2,ht,30,42,"article",49),t.ɵɵelementEnd()),2&e){var r=t.ɵɵnextContext();t.ɵɵclassProp("qna-qb-loading",r.search_loading||r.questions_more),t.ɵɵproperty("ng-hidden",r.resultserror||r.load_startup||r.load_startup_fail)("ng-attribute",r.qschemapage)("ng-attribute-when",r.sectionToggleSchema()),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",r.search_loading||r.questions_more),t.ɵɵadvance(1),t.ɵɵproperty("ngForOf",r.schquestions)("ngForTrackBy",r.trackByFn)}}function ft(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"button",127),t.ɵɵlistener("onTap",function(){return t.ɵɵrestoreView(r),t.ɵɵnextContext(2).ViewMoreQuestions()}),t.ɵɵelementStart(1,"span",128),t.ɵɵelementStart(2,"span",126),t.ɵɵtext(3,"View "),t.ɵɵelementEnd(),t.ɵɵtext(4,"More Questions"),t.ɵɵelementEnd(),t.ɵɵelement(5,"i",93),t.ɵɵelementEnd()}if(2&e){var i=t.ɵɵnextContext(2);t.ɵɵclassProp("loadactive",i.questions_more)}}function gt(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"div",123),t.ɵɵtemplate(1,ft,6,2,"button",124),t.ɵɵelementStart(2,"button",125),t.ɵɵlistener("click",function(e){return t.ɵɵrestoreView(r),t.ɵɵnextContext().AskQuestion(e)}),t.ɵɵtext(3,"Ask "),t.ɵɵelementStart(4,"span",126),t.ɵɵtext(5,"Your"),t.ɵɵelementEnd(),t.ɵɵtext(6," Question"),t.ɵɵelementEnd(),t.ɵɵelementEnd()}if(2&e){var i=t.ɵɵnextContext();t.ɵɵadvance(1),t.ɵɵproperty("ngIf",i.has_more_ques)}}function vt(e,n){1&e&&(t.ɵɵelementStart(0,"div",129),t.ɵɵelementStart(1,"div",51),t.ɵɵelement(2,"i"),t.ɵɵelementEnd(),t.ɵɵelementEnd())}function _t(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"div",130),t.ɵɵelementStart(1,"p",131),t.ɵɵtext(2,"Oops there was a problem retrieving data"),t.ɵɵelementEnd(),t.ɵɵelement(3,"br"),t.ɵɵelementStart(4,"div",132),t.ɵɵelementStart(5,"button",133),t.ɵɵlistener("onTap",function(){return t.ɵɵrestoreView(r),t.ɵɵnextContext().RetryLoadData()}),t.ɵɵtext(6,"Retry"),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd()}}var yt=function(e){return{"ng-enter-element":e}};require("systemjs").import("css:/components/qna-comp.css").then(function(){}).catch(function(){});var bt=function(){function e(e,n,r,i,o){this._zone=e,this._location=n,this._sanitize=r,this._route=i,this._dservice=o,this.layout_type=0,this.product_name="",this.ques_data=null,this.ques_referer=null,this.quest_category=null,this.start_delay=1e3,this.section_title="Questions & Answers",this.show_header=!0,this.ask_quest_categories=null,this._qType=new t.BehaviorSubject(""),this._has_answer=!1,this.truncateBreakwords={480:16,2048:300},this.toggleSchema=!1,this.qschemapage=[{attribute:"itemscope",value:""},{attribute:"itemtype",value:"http://schema.org/FAQPage"}],this.qschemascope=[{attribute:"itemscope",value:""},{attribute:"itemprop",value:"mainEntity"},{attribute:"itemtype",value:"http://schema.org/Question"}],this.aschemascope=[{attribute:"itemprop",value:"acceptedAnswer"},{attribute:"itemscope",value:""},{attribute:"itemtype",value:"http://schema.org/Answer"}],this.aschematime=[{attribute:"itemprop",value:"dateCreated"}],this.userschema=[{attribute:"itemprop",value:"author"},{attribute:"itemscope",value:""},{attribute:"itemtype",value:"http://schema.org/Person"}],this.noresults=!1,this.resultserror=!1,this.search_loading=!1,this.answerexpand={},this.questionexpand={},this.question_more_answers={},this.answersmore={},this.questions_more=!1,this.has_enough_ques=!1,this.has_more_ques=!1,this.load_startup=!1,this.load_startup_fail=!1,this.is_android=!1,this.current_page=1,this.schquestions=[],this.total_ques=new t.EventEmitter,this.replyboxinput={},this.replyboxinputsubmited={},this.replyinprogress={},this.replyerror={},this.replyboxshow={},this.sortList=["Most Popular","Most Upvotes"],this.sortv="",this.sort_list_opened=!1,this.user_avatar_fallback="https://d2e70e9yced57e.cloudfront.net/wallethub/images/profile/avatars/silhouette-50_V1d9a2cc_.png",this.ques_ask="",this.ansOptions=["Report"],this._open_popup=!1,this.page_query=null,this.allow_animation=!1,this.live_status="",this.answers_link=t.baseUrl()+"/answers/",t.isNode()||(this.is_android=null!=navigator.userAgent.match(/Android/i)||navigator.platform&&null!=navigator.platform.match(/Android/i))}return Object.defineProperty(e.prototype,"search_value",{get:function(){return this._qType.getValue()},enumerable:!1,configurable:!0}),e.prototype.questionToggleSchema=function(e){return this.toggleSchema&&!(!e.answers||e.answers.length<1)},e.prototype.sectionToggleSchema=function(){return!!(this.toggleSchema&&this._has_answer&&this.schquestions.length>0)},Object.defineProperty(e.prototype,"show_search_state",{get:function(){return this.search_value&&this.search_value.length>1&&!this.noresults&&!this.resultserror},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"show_search_state_empty",{get:function(){return this.search_value&&this.search_value.length>1&&this.noresults&&!this.resultserror},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"has_clipped_answer_content",{get:function(){return this.answers_content_clipped&&!(this.show_search_state||this.show_search_state_empty)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"open_popup",{get:function(){return this._open_popup},set:function(e){this._open_popup=e,e&&this.AskQuestion()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"has_view_more",{get:function(){return!this.search_value&&!this.search_loading&&!this.load_startup&&!this.load_startup_fail&&!this.resultserror&&this.has_enough_ques},enumerable:!1,configurable:!0}),e.prototype.trackByFn=function(e){return e},e.prototype._ParseQuestions=function(e,n,r){var i=this,o=[];return t.arrayForEach(e,function(e,a){if(null==e)return!0;var s=e;if(s.ques_title=e.ques_content,delete s.ques_content,s.ques_content_more=s.ques_more_info||s.ques_content_more||"",s.ques_more_info&&delete s.ques_more_info,s.ques_content_more.length>138&&(s.ques_content_cut_mob=s.ques_content_more.substring(0,138),s.ques_content_has_more=!0),s.ques_content_more.length>330?s.ques_content_cut_desk=s.ques_content_more.substring(138,330):s.ques_content_more.length>138&&(s.ques_content_cut_mob=s.ques_content_more,s.ques_content_has_more=!1),!s.ques_fullslug&&s.ques_slug&&(s.ques_fullslug=s.ques_slug+"-"+s.id.toString()),s.upvotelabel=s.upvote+" up vote"+(1!=s.upvote?"s":""),s.dnvotelabel=s.downvote+" down vote"+(1!=s.upvote?"s":""),n){var l=n(s,a);if("boolean"==typeof l&&!l)return!0}var c=a;t.isArray(i.schquestions)&&(c+=i.schquestions.length),i._ParseAnswers(s,c,null,0,r),o.push(s)}),o},e.prototype._ParseAnswers=function(e,n,r,i,o){var a=this,s=r||e.answers||[];t.isArray(s)&&(e.answers=r?e.answers:[],s.length>0&&!this._has_answer&&(this._has_answer=!0),s.forEach(function(r,i){var s=r;s.user_login&&(s.user_login="@"+s.user_login),s.user_fullname=t.trim(s.user_fullname||""),t.isArray(s.content)?(s.content_cut=s.content[0]||s.content[1],a.answers_content_clipped&&!e.from_search?(s.content_long=s.content[0],delete s.content_cut):s.content[0]?s.content_long=s.content[1]:(s.content_long=s.content_cut,delete s.content_cut)):(s.content_long=s.content,a.answers_content_clipped=!0),delete s.content,s.content_cut&&"string"==typeof s.content_cut&&(s.content_cut=s.content_cut.replace("[[:hellip:]]","...")),0!=n||e.from_search||e.answers.length||(s.content_long||(s.content_long=s.content_cut),delete s.content_cut,a.answerexpand[s.id]=!0),a.signon&&a.signon.id==s.uid&&(a.replyboxinputsubmited[e.id]=s.content_long||s.content_cut),s.content_cut&&(s.content_cut=a._FormatAnswer(s.content_cut)),s.content_long&&(s.content_long=a._FormatAnswer(s.content_long));var l=o?o(s,e,i):null;("boolean"!=typeof l||l)&&(e.answers.push(s),s.stackid=n.toString()+"-"+e.answers.indexOf(s).toString()),s.is_reportable=!1,s.sanitizecfg={RETURN_DOM_FRAGMENT:!1,RETURN_DOM:!1,USE_PROFILES:{html:!0,svg:!0,svgFilters:!0},ALLOW_UNKNOWN_PROTOCOLS:!0,KEEP_CONTENT:!0,ADD_TAGS:["meta","noscript"],ADD_ATTR:["content","itemprop","itemtype","itemscope","id","name","target","allow","allowfullscreen","frameborder"]},s.upvotelabel=s.upvote+" up vote"+(1!=s.upvote?"s":""),s.dnvotelabel=s.downvote+" down vote"+(1!=s.upvote?"s":""),(a.IsSpecial(s.id)||t.isAny(s.uid,[13302181,15780064,13301077,15679068,15598394,16156697]))&&s.sanitizecfg.ADD_TAGS.push("iframe")}),e.has_more_answers=(e.total_answers||0)>e.answers.length||e.answers.length>1&&!this.question_more_answers[e.id],void 0!==i&&!isNaN(parseInt(i.toString()))&&i>0&&(e.has_more_answers=!0)),t.reqAnimationFrame(function(){t.Events.emit("$shortcodes:set")})},e.prototype._FormatAnswer=function(e){try{e=(e=(e=e.replace(/<p><\/p>/g,"")).replace(/<p>(\s|&nbsp;)+<\/p>/g,"")).replace(/((?:[^\S\n]*(<p>)\s*<br(?:\s*\/\s*)?>\s*(<\/p>)|\s*<br>){2,})/g,"")}catch(t){e=""}return e},e.prototype.SearchInput=function(e){var t=e.target.value;this._qType.next(t)},e.prototype.ControlSortList=function(e){this.sort_list_opened="boolean"==typeof e?e:!this.sort_list_opened},e.prototype.ExpandContent=function(e,t){this[t+"expand"][e]=!this[t+"expand"][e]},e.prototype.RateContent=function(e,n){var r=this;if(void 0===n&&(n="up"),t.isObject(this.signon)&&"id"in this.signon||!t.isWeb()){if(!e.voteinprogress&&!e.downvoteinprogress){e.voteinprogress="up"==n,e.downvoteinprogress="down"==n;var i=e.id,o=e.answers||e.ques_title?"question":"answer",a=o,s=(e.id+"").match(/^([abceq])(\d+)$/);s&&(i=parseInt(s.pop()),a=s.pop(),~["q","a"].indexOf(a)||(a="q"+a)),t.$httpAbort("content-vote-"+e.id),clearTimeout(this.live_status_timer),t.$http({url:t.ajaxUrl(),data:{action:"Answers.Vote",id:i,kind:a,dir:"down"==n?"dn":"up"},id:"content-vote-"+e.id,before:function(){e.voteinprogress="up"==n,e.downvoteinprogress="down"==n,r.live_status="Voting "+o},after:function(){e.voteinprogress=!1,e.downvoteinprogress=!1},headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(function(t){if(r.live_status="",t.error)throw Error("response error");e.upvote=t.votes_up,e.downvote=t.votes_dn,e.upvotelabel=e.upvote+" "+n+" vote"+(1!=e.upvote?"s":""),e.dnvotelabel=e.downvote+" "+n+" vote"+(1!=e.downvote?"s":""),r.live_status="up"==n?e.upvotelabel:e.dnvotelabel,t.upClass&&(e.upvotelabel+=". Pressed"),t.dnClass&&(e.dnvotelabel+=". Pressed"),r.live_status_timer=setTimeout(function(){r.live_status=""},1e3)}).catch(function(e){e instanceof Error?(t.Events.emit("$server:error",{data:e.message}),r.live_status="Error saving your vote"):401==e.status&&(r.live_status="You must be logged in to vote",t.isWeb()&&(top.location.href="/join/light?redirect_to="+encodeURIComponent(document.location.href))),r.live_status_timer=setTimeout(function(){r.live_status=""},1e3)})}}else top.location.href="/join/light?redirect_to="+encodeURIComponent(document.location.href)},e.prototype.IsSpecial=function(e){return~["c","b","e"].indexOf((e+"").charAt(0))},e.prototype.ControlAnsOpt=function(e){e.options_list_opened=!e.options_list_opened},e.prototype.AnsOpt=function(e,n){var r=t.stringGetDigits(n.id);0==e&&window.open("/report-abuse/?ru="+location.href.split("?")[0].split("#")[0]+"&t=a&id="+r,"_self")},e.prototype._throwReplyError=function(e,t){var n=this;void 0===t&&(t="We encountered an error. Please retry"),this.replyerror[e]=this.replyerror[e]||{},this.replyerror[e].message=t,this.replyerror[e].show?(this.replyerror[e].show=!1,setTimeout(function(){n.replyerror[e].show=!0})):this.replyerror[e].show=!0},e.prototype.ShowReplybox=function(e){this.replyinprogress[e]||(this.replyboxshow[e]=!this.replyboxshow[e],this.replyboxshow[e]?this.replyboxinput[e]=this.replyboxinputsubmited[e]||"":(t.arrayForEach(this.schquestions,function(t){if(t.id==e)return t.reply_bt_focus=!0,setTimeout(function(){t.reply_bt_focus=!1},100),!1}),this.replyboxinput[e]=""))},e.prototype.ReplyInput=function(e,t){this.replyboxinput[t]=e,this.replyerror[t]&&(this.replyerror[t].show=!1)},e.prototype.SubmitReply=function(e){var n=this,r=this.replyboxinput[e.id];!(r=t.trim(r))||r.length<30?this._throwReplyError(e.id,"Content must have 30 characters."):(clearTimeout(this.live_status_timer),this.live_status="Posting answer",t.$http({url:t.ajaxUrl(),data:{action:"Answers.AnswerQuestion",do:"user-answer",question_id:e.id,answer:r},headers:{"X-Requested-With":"XMLHttpRequest","Content-Type":"application/x-www-form-urlencoded"},before:function(){n.replyinprogress[e.id]=!0},after:function(){delete n.replyinprogress[e.id]}}).then(function(r){if(n.live_status="",r&&"redirect"in r)return top.location.href=r.redirect,void setTimeout(function(){n.replyinprogress[e.id]=!0});if(r.error&&"message"in r){var i=[e.id],o=r.message.match(/^Bad word `([^`]+)` detected.$/);return o&&o.length&&i.push('Profanity is not allowed, including words such as "'+o[1]+'". Please adjust.'),void n._throwReplyError.apply(n,i)}if(r.error)n._throwReplyError(e.id);else{var a=(e.answers||[]).findIndex(function(e){return e.id==r.id}),s={date:r.date,id:r.id,content:[r.answer],user_login:r.user_login||r.username,user_fullname:t.trim(r.user_fullname||r.fullname||""),user_avatar:r.user_avatar||r.avatar,user_title:r.user_title||"",edited:r.edited},l={id:e.id,has_more_answers:e.has_more_answers,answers:[s]};n._ParseAnswers(l,l.id);var c=l.answers[0];c.my_ans=!0,n.answerexpand[c.id]=!0;var d=c;a>-1?(c.edited=!0,Object.assign(e.answers[a],c),d=e.answers[a]):e.answers.unshift(c),n.replyboxinputsubmited[e.id]=r.answer,delete n.replyboxshow[e.id],n.live_status="Answer posted",d.focuson=!0,setTimeout(function(){d.focuson=!1},100),n.live_status_timer=setTimeout(function(){n.live_status=""},1e3)}}).catch(function(t){console.error(t),n._throwReplyError(e.id)}))},e.prototype.QSearch=function(e,n){var r=this;this.resultserror=!1;var i=n?null:t.trim(null!=e?e:this._qType.getValue())||"";if(this.current_page=1,t.$httpAbort("qna-search-query"),t.$httpAbort("qna-load-initial"),i){clearTimeout(this.live_status_timer);var o={id:"qna-search-query",url:t.ajaxUrl(),data:{action:"Answers.CommunitySearch",query:i},before:function(){r.search_loading=!0,r.live_status="Searching for answers"},after:function(){r.search_loading=!1},method:"GET"};this.quest_category?o.data.category=this._stripSlashes(this.quest_category):o.data.uri=this.ques_referer,t.$http(o).then(function(e){if(!e||!t.isArray(e))throw r.live_status="no matching results",r.live_status_timer=setTimeout(function(){r.live_status=""},1e3),Error("Data provide is invalid");r.answerexpand={},r.questionexpand={},r.schquestions=r._ParseQuestions(e,function(e){e.from_search=!0}),r.noresults=0==r.schquestions.length,r.live_status=(r.noresults?"no ":"")+"matching results",r.live_status_timer=setTimeout(function(){r.live_status=""},1e3)}).catch(function(e){e instanceof Error&&console.error(e),r.resultserror=!0,r.live_status="no matching results",setTimeout(function(){r.live_status=""},1e3)})}else this._StartupLoad(!0)},e.prototype.QReset=function(){this.QSearch(null,!0)},e.prototype.QClear=function(){this._qType.next("")},e.prototype._stripSlashes=function(e){return 0==e.indexOf("/")&&(e=e.substring(1)),e.lastIndexOf("/")==e.length-1&&(e=e.substring(0,e.length)),e},e.prototype.ViewMoreAns=function(e,n){var r=this;if(e.answers.length>1&&!this.question_more_answers[e.id])return this.question_more_answers[e.id]=!0,void(e.has_more_answers=(e.total_answers||0)>e.answers.length);this.live_status="Loading more answers",t.$http({url:t.ajaxUrl(),method:"GET",data:{action:"Answers.GetMoreAnswers",answers:e.answers.length,qid:e.id,v:2},before:function(){r.answersmore[e.id]=!0},after:function(){r.answersmore[e.id]=!1}}).then(function(i){if(r.live_status="",!i||!t.isArray(i.answers))throw Error("Required `answers` Array is not part of response");r.question_more_answers[e.id]=!0,r._ParseAnswers(e,n,i.answers,i.left,function(e,t,n){0==n&&(e.focuson=!0,setTimeout(function(){e.focuson=!1},100))}),r.live_status="Loaded "+i.answers.length+" more answer"+(1!=i.answers.length?"s":""),setTimeout(function(){r.live_status=""},1e3)}).catch(function(e){r.live_status="",console.error(e)})},e.prototype.AnswerExpanded=function(e){e.focuson=!0,setTimeout(function(){e.focuson=!1},100)},e.prototype._LoadQues=function(e){var n=this;e&&(this.live_status="Questions are now sorted by "+this.sortv,this.current_page=1),t.$httpAbort("qna-more-questions");var r,i={uri:this.ques_referer,action:"Answers.GetForPage"};this.current_page>1&&(i.p=this.current_page),this.sortingparam&&(i.sort_by=this.sortingparam),t.$http({url:t.ajaxUrl(),method:"GET",data:i,before:function(){n.questions_more=!0,r=n._dservice&&n._dservice.element&&n._dservice.element.scrollTop,n.live_status=e?"Sorting questions by "+("mv"!=n.sortingparam?"most popular":"most upvotes"):"Loading more questions"},after:function(){n.questions_more=!1},id:"qna-more-questions"}).then(function(i){if(n.live_status="",!i||!t.isArray(i.questions))throw Error("Required `question` Array is not part of response");n.has_enough_ques=i.pages&&i.pages>1,n.has_more_ques=i.current_page&&i.pages&&i.current_page<i.pages,e?(n.schquestions=[],n.has_enough_ques=!0):(n.live_status="Loaded "+i.questions.length+"more question"+(1!=i.questions.length?"s":""),setTimeout(function(){n.live_status=""},1e3)),n.schquestions=n.schquestions.concat(n._ParseQuestions(i.questions,function(t,n){0!=n||e||(t.focuson=!0,setTimeout(function(){t.focuson=!1},100))})),n.noresults=0==n.schquestions.length,setTimeout(function(){n._dservice&&n._dservice.element&&n._dservice.scrollTo({position:r,timing:0})})}).catch(function(e){n.live_status="",console.error(e)})},e.prototype.ViewMoreQuestions=function(){this.current_page++,this._LoadQues()},e.prototype.ChangeSort=function(e){switch(this.sortv=this.sortList[e],this.sort_list_opened=!1,e){case 1:this.sortingparam="mv";break;default:this.sortingparam="mp"}this._LoadQues(!0)},e.prototype.AskQuestion=function(e){var n=e&&e.currentTarget;this._quesOverlay.Open(ce,{input:this.ques_ask||this._qType.getValue()||"",referer:t.baseUrl()+this.ques_referer,addparams:this.addAskParams,categories:this.ask_quest_categories},{return_focus_to:n||null})},e.prototype._parseInitialData=function(e){this.schquestions=this._ParseQuestions(e.questions||[]),this.noresults=0==this.schquestions.length,this.has_enough_ques=e.pages&&e.pages>1,this.has_more_ques=e.current_page&&e.pages&&e.current_page<e.pages,this.load_startup_fail=!1,this.noresults?this.schq_count=null:this.schq_count=e.total_questions+" question"+(1!=e.total_questions?"s":""),this.total_ques.emit(e.total_questions||0),e.categories&&!this.ask_quest_categories&&(this.ask_quest_categories=e.categories),e.current_page&&e.current_page>1&&(this.current_page=e.current_page)},e.prototype._StartupLoad=function(e){var n=this;this.load_startup_fail=!1;var r={uri:this.ques_referer,action:"Answers.GetForPage"};this.current_page>1&&(r.p=this.current_page),this.sortingparam&&(r.sort_by=this.sortingparam),t.$httpAbort("qna-load-initial"),t.$http({url:t.ajaxUrl(),method:"GET",data:r,before:function(){e?n.search_loading=!0:n.load_startup=!0},after:function(){e?n.search_loading=!1:n.load_startup=!1},id:"qna-load-initial"}).then(function(r){if(!r||r.error||r.questions&&!t.isArray(r.questions))throw Error("Required `question` Array is not part of response");n._parseInitialData(r),e&&(n.has_enough_ques=!0)}).catch(function(e){console.error(e),n.load_startup_fail=!0})},e.prototype.RetryLoadData=function(){this._StartupLoad()},e.prototype.ngOnInit=function(){var e=this;this.sortv=this.sortList[0],this.sortingparam="mp",t.isNode()||!t.Cookies.get("mw_signon")&&!t.AppData.group("mw_cookies")?this.user_avatar=null:(this.signon=t.Cookies.get("mw_signon")?JSON.parse(t.Cookies.get("mw_signon")):null,this.user_avatar=this.signon&&this.signon.pp||this.user_avatar_fallback);var n,r,i=this._location.path().split("?")[0];this.ques_referer=this.ques_referer||i.replace("/ng-home",""),0!=this.ques_referer.indexOf("/")&&(this.ques_referer="/"+this.ques_referer),this.ques_referer.startsWith("/personal-loans")||this.ques_referer.lastIndexOf("/")!==this.ques_referer.length-1&&(this.ques_referer+="/"),this.page_query&&!t.isNode()&&this._route.queryParams.pipe(t.take(1)).subscribe(function(n){var r=n[e.page_query],i=r?t.toNumber(r):0;i&&(e.ques_data&&e.ques_data.pages?i<=e.ques_data.pages&&i!=e.ques_data.current_page?(e.current_page=i,e.ques_data=null):e.ques_data.questions.length<1&&(e.ques_data.pages=1):(e.current_page=i,e.ques_data=null))}),this.ques_data&&this.ques_data.questions&&t.isArray(this.ques_data.questions)?this._parseInitialData(this.ques_data):t.isNode()||(this.load_startup=!0,setTimeout(function(){e._StartupLoad()},this.start_delay||1));var o=this._qType.pipe(t.debounceTime(200)).subscribe(function(i){var o=t.trim((i||"").replace(/(\r\n\t|\n|\r\t)/gm," "));null!==i&&o!=n&&o.length>1?(n=o,r=!0,e.QSearch(o)):r&&(!o||o.length<2)&&(n=o,r=!1,e.QReset())},function(){},function(){o.unsubscribe()})},e.prototype.ngAfterViewInit=function(){var e=this;t.reqAnimationFrame(function(){t.isNode()||(e.allow_animation=!0)})},e.prototype.ngOnDestroy=function(){this._qType.complete()},e.ɵfac=function(n){return new(n||e)(t.ɵɵdirectiveInject(t.NgZone),t.ɵɵdirectiveInject(t.Location),t.ɵɵdirectiveInject(t.DomSanitizer),t.ɵɵdirectiveInject(t.ActivatedRoute),t.ɵɵdirectiveInject(t.ScrollerService))},e.ɵcmp=t.ɵɵdefineComponent({type:e,selectors:[["section","id","qna-box"]],viewQuery:function(e,n){if(1&e&&(t.ɵɵviewQuery(ye,5),t.ɵɵviewQuery(be,5),t.ɵɵviewQuery(xe,5)),2&e){var r=void 0;t.ɵɵqueryRefresh(r=t.ɵɵloadQuery())&&(n.txtElement=r.first),t.ɵɵqueryRefresh(r=t.ɵɵloadQuery())&&(n._quesOverlay=r.first),t.ɵɵqueryRefresh(r=t.ɵɵloadQuery())&&(n._answersList=r)}},hostVars:4,hostBindings:function(e,n){2&e&&t.ɵɵclassProp("qna-type1",0==n.layout_type)("qna-no-more",!n.has_view_more)},inputs:{layout_type:["type","layout_type"],product_name:["product-name","product_name"],ques_data:["product-questions","ques_data"],ques_referer:["product-referer","ques_referer"],intro_content:["use-intro","intro_content"],quest_category:["product-category","quest_category"],start_delay:["startup-delay","start_delay"],section_title:["section-title","section_title"],show_header:["show-header","show_header"],ask_quest_categories:["question-categories","ask_quest_categories"],toggleSchema:["toggle-schema","toggleSchema"],open_popup:["show-ask-popup","open_popup"],focus_on_input:["scroll-to-ask","focus_on_input"],addAskParams:["question-ask-add-params","addAskParams"],page_query:["pagination-query","page_query"]},outputs:{total_ques:"total-questions"},attrs:we,decls:21,vars:20,consts:[[3,"ng-aria-live"],["class","qna-heading",3,"ngClass",4,"ngIf"],["class","qna-prg",4,"ngIf"],["class","qna-prg","zing-touch","",3,"zing-url-container","ng-truncate","breakwords","breakpoint",4,"ngIf"],["class","qna-search-box",4,"ngIf"],[1,"qna-sort",3,"ngClass","ng-hidden"],["role","button","tabindex","0","aria-haspopup","listbox","aria-controls","a11y-qna-list","zing-touch","",1,"qna-most-list-active","inline-block",3,"onTap","onTapOutside"],["aria-hidden","false","tabindex","-1"],["aria-hidden","false","tabindex","-1",1,"af-icon-down-open"],["id","a11y-qna-list","role","listbox","tabindex","0","aria-labelledby","label-id-qna-sort","zing-touch","",1,"qna-most-list","basic-trans",3,"ng-hidden","onTap"],["role","option","tabindex","0","class","qna-most-list-it bold-font","ng-focus","","zing-touch","",3,"focus-when","qnaml-first","no-click","onTap",4,"ngFor","ngForOf","ngForTrackBy"],["id","label-id-qna-sort","hidden","true"],["class","qna-form-box",4,"ngIf"],["class","qna-questions-box",3,"qna-qb-loading","ng-hidden","ng-attribute","ng-attribute-when",4,"ngIf"],["class","qna-q-get-more",4,"ngIf"],["title","Ask Your Question"],["quesOverlay",""],["class","qna-startup-load progress-indicator-container ng-enter-element",4,"ngIf"],["class","qna-startup-fail ng-enter-element",4,"ngIf"],[1,"qna-heading",3,"ngClass"],["class","qa-count semi-bold-font",4,"ngIf"],[1,"qa-count","semi-bold-font"],[1,"qna-prg"],["href","/answers/","zing-touch","","target","_blank","rel","noopener",1,"link",3,"zing-url"],["zing-touch","",1,"qna-prg",3,"zing-url-container","ng-truncate","breakwords","breakpoint"],[1,"qna-search-box"],["aria-label","Search for answers",1,"label-input","full",3,"scroll-to"],["placeholder","Have a question? Search for answers","ng-autosize","","aria-label","keyword",1,"qna-search-input","textarea",3,"value","input"],["class","qba-sc-cross lbl-b ng-enter-element","zing-touch","","role","button","aria-label","Clear field",3,"onTap",4,"ngIf"],["aria-label","Search","type","button","zing-touch","",1,"lbl-b","action","af-icon-search",3,"ng-hidden","onTap"],[1,"qna-ask-q-suggest","semi-bold-font","ng-enter-element",3,"ng-hidden"],[4,"ngIf"],["aria-haspopup","dialog",1,"btn","fixed-w-h",3,"click"],["aria-hidden","true","tabindex","-1"],["class","qna-search-state bold-font",4,"ngIf"],["zing-touch","","role","button","aria-label","Clear field",1,"qba-sc-cross","lbl-b","ng-enter-element",3,"onTap"],[1,"qna-search-state","bold-font"],["role","option","tabindex","0","ng-focus","","zing-touch","",1,"qna-most-list-it","bold-font",3,"focus-when","no-click","onTap"],[1,"qna-form-box"],["class","qna-fb-hero",4,"ngIf"],[1,"qna-ques-form"],[1,"qna-qf-av"],["width","40","height","40","alt","",3,"src","on-img-error"],[1,"qna-qf-input",3,"scroll-to"],["placeholder","Have a question? Ask the WalletHub community.","aria-label","Ask a question","ng-autosize","",1,"qna-qf-txt","textarea","semi-bold-font",3,"value","input"],["aria-haspopup","dialog",1,"btn","fixed-w-f",3,"click"],[1,"qna-fb-hero"],[1,"qna-questions-box",3,"ng-hidden","ng-attribute","ng-attribute-when"],["class","qna-loading-box ng-enter-element",4,"ngIf"],["class","qna-question-item",3,"qna-q-search","ng-attribute","ng-attribute-when",4,"ngFor","ngForOf","ngForTrackBy"],[1,"qna-loading-box","ng-enter-element"],[1,"progress-indicator","always-v","visible"],[1,"qna-question-item",3,"ng-attribute","ng-attribute-when"],[1,"qna-q-title-box","bold-font",3,"ng-attribute","ng-attribute-when"],["class","qna-q-title link","zing-touch","","rel","noopener","ng-focus","",3,"href","zing-url","cleanHTML","qt-as-link","focus-when","no-click",4,"ngIf"],["class","qna-q-title link",3,"cleanHTML","qt-as-link",4,"ngIf"],[1,"qna-q-upvotes"],[1,"qna-q-upvotes-count",3,"ng-attribute","ng-attribute-when"],[1,"bold-font"],["class","qna-q-content ng-enter-element text-select",3,"cleanHTML",4,"ngIf"],["class","qna-q-content ng-enter-element qna-q-desk text-select",3,"cleanHTML",4,"ngIf"],["class","qna-q-content qna-q-desk",4,"ngIf"],["class","qna-q-content-more semi-bold-font","zing-touch","","role","button","aria-expanded","false",3,"ng-hidden","onTap",4,"ngIf"],["class","qna-q-content-more semi-bold-font","zing-touch","","role","button","aria-expanded","true",3,"ng-hidden","onTap",4,"ngIf"],[1,"qna-q-actions"],["class","qna-q-reply link semi-bold-font","role","button","tabindex","0","ng-focus","",3,"focus-when","no-click","click",4,"ngIf"],[1,"qna-q-thumbs"],["zing-touch","","role","button","tabindex","0",1,"up","vote","bf-icon-upvote","progress-indicator","qna-qvt",3,"zing-no-touch","onTap"],["class","progress-spin","aria-hidden","true","tabindex","-1",4,"ngIf"],[1,"vote-text"],["zing-touch","","role","button","tabindex","0",1,"dn","vote","bf-icon-downvote","progress-indicator",3,"zing-no-touch","onTap"],["class","qna-q-replyform ng-enter-element","form-submit","",3,"onSubmit",4,"ngIf"],[1,"qna-q-answers",3,"ng-hidden"],["class","qna-q-ans basic-trans",3,"ng-hidden","ng-attribute","ng-attribute-when",4,"ngFor","ngForOf","ngForTrackBy"],["class","qna-qa-show-more progress-indicator-container",4,"ngIf"],["zing-touch","","rel","noopener","ng-focus","",1,"qna-q-title","link",3,"href","zing-url","cleanHTML","focus-when","no-click"],[1,"qna-q-title","link",3,"cleanHTML"],[1,"qna-q-content","ng-enter-element","text-select",3,"cleanHTML"],[1,"qna-q-content","ng-enter-element","qna-q-desk","text-select",3,"cleanHTML"],[1,"qna-q-content","qna-q-desk"],["zing-touch","","role","button","aria-expanded","false",1,"qna-q-content-more","semi-bold-font",3,"ng-hidden","onTap"],["zing-touch","","role","button","aria-expanded","true",1,"qna-q-content-more","semi-bold-font",3,"ng-hidden","onTap"],["role","button","tabindex","0","ng-focus","",1,"qna-q-reply","link","semi-bold-font",3,"focus-when","no-click","click"],["aria-hidden","true","tabindex","-1",1,"progress-spin"],["form-submit","",1,"qna-q-replyform","ng-enter-element",3,"onSubmit"],[1,"avatar"],["width","","height","","alt","",3,"src","on-img-error"],[1,"reply-box","ck-answer-editor"],[3,"value","active","cursor-focus","readonly","valueChange"],[1,"reply-act"],[3,"message","show","close-on-change","timer"],["type","button","aria-label","Cancel",1,"btn","grey","fixed-w",3,"disabled","click"],["type","submit","aria-label","Submit",1,"btn","blue","fixed-w","with-loader","no-disabled",3,"disabled"],["aria-hidden","true","tabindex","-1",1,"btn-loader"],[1,"qna-q-ans","basic-trans",3,"ng-hidden","ng-attribute","ng-attribute-when"],[1,"qna-qa-top"],[1,"avatar",3,"defer-src","src-fallback"],["alt","user avatar","width","40","height","40",1,"avatar-img"],["deferImg",""],[1,"qna-qa-names","text-select"],["class","full-name semi-bold-font",4,"ngIf"],["aria-hidden","true","tabindex","-1",1,"second-name"],["class","qna-qa-sort","role","listbox",4,"ngIf"],["hidden","true","role","tooltip"],["zing-touch","","role","group","tabindex","0",1,"qna-q-ans-content","with-links","text-select",3,"zing-url-container","expand-content","breakwords","collapse-button","ng-truncate","sanitize-cfg","ng-attribute","ng-attribute-when","onExpand"],["class","qna-q-thumbs",4,"ngIf"],[1,"full-name","semi-bold-font"],[3,"ng-context"],["class","author-cap","aria-hidden","true","tabindex","-1",4,"ngIf"],["aria-hidden","true","tabindex","-1",1,"author-cap"],["role","listbox",1,"qna-qa-sort"],["zing-touch","",1,"af-icon-down-open","cursor-pointer",3,"onTap","onTapOutside"],["zing-touch","",1,"qna-most-list","basic-trans",3,"ng-hidden","onTap"],["role","option","zing-touch","","class","qna-most-list-it bold-font",3,"qnaml-first","onTap",4,"ngFor","ngForOf","ngForTrackBy"],["role","option","zing-touch","",1,"qna-most-list-it","bold-font",3,"onTap"],["zing-touch","","role","button","tabindex","0",1,"up","vote","bf-icon-upvote","progress-indicator",3,"zing-no-touch","onTap"],["aria-hidden","true","tabindex","-1","class","progress-spin",4,"ngIf"],[1,"vote-text",3,"ng-attribute","ng-attribute-when"],[1,"qna-qa-show-more","progress-indicator-container"],["class","progress-indicator visible",4,"ngIf"],["zing-touch","","role","button",1,"qna-qa-sm-bt","link","inherit",3,"onTap"],["aria-hidden","true","tabindex","-1",1,"af-icon-down-open"],[1,"progress-indicator","visible"],[1,"qna-q-get-more"],["class","btn blue-brds tall with-loader no-disabled bold-font","aria-label","More Questions","zing-touch","",3,"loadactive","onTap",4,"ngIf"],["aria-label","Ask Your Question",1,"btn","tall","qna-qgm-btn-last","blue-brds","bold-font",3,"click"],[1,"qna-qgm-mhide"],["aria-label","More Questions","zing-touch","",1,"btn","blue-brds","tall","with-loader","no-disabled","bold-font",3,"onTap"],[1,"bt-text"],[1,"qna-startup-load","progress-indicator-container","ng-enter-element"],[1,"qna-startup-fail","ng-enter-element"],[1,"qna-prg","center","semi-bold-font","qna-prg-smaller"],[1,"center"],["zing-touch","",1,"btn","blue-brds","fixed-w-f","with-loader",3,"onTap"]],template:function(e,n){1&e&&(t.ɵɵelement(0,"div",0),t.ɵɵtemplate(1,Ce,3,7,"h2",1),t.ɵɵtemplate(2,qe,6,2,"p",2),t.ɵɵtemplate(3,Te,1,4,"p",3),t.ɵɵtemplate(4,ze,13,11,"div",4),t.ɵɵelementStart(5,"div",5),t.ɵɵelementStart(6,"span",6),t.ɵɵlistener("onTap",function(){return n.ControlSortList()})("onTapOutside",function(){return n.ControlSortList(!1)}),t.ɵɵelementStart(7,"span",7),t.ɵɵtext(8),t.ɵɵelementEnd(),t.ɵɵelement(9,"i",8),t.ɵɵelementEnd(),t.ɵɵelementStart(10,"div",9),t.ɵɵlistener("onTap",function(e){return e.stopPropagation()}),t.ɵɵtemplate(11,Me,2,5,"span",10),t.ɵɵelementEnd(),t.ɵɵelementStart(12,"div",11),t.ɵɵtext(13,"Questions sort"),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵtemplate(14,Re,9,5,"div",12),t.ɵɵtemplate(15,mt,3,8,"div",13),t.ɵɵtemplate(16,gt,7,1,"div",14),t.ɵɵelement(17,"modal-dialog",15,16),t.ɵɵtemplate(19,vt,3,0,"div",17),t.ɵɵtemplate(20,_t,7,0,"div",18)),2&e&&(t.ɵɵproperty("ng-aria-live",n.live_status),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.show_header),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.product_name),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.intro_content),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.has_enough_ques&&!n.load_startup&&!n.load_startup_fail),t.ɵɵadvance(1),t.ɵɵproperty("ngClass",t.ɵɵpureFunction1(18,yt,n.allow_animation))("ng-hidden",!n.has_enough_ques||0==n.schquestions.length||n.show_search_state||n.show_search_state_empty||n.resultserror),t.ɵɵadvance(1),t.ɵɵattribute("aria-expanded",n.sort_list_opened)("aria-label",n.sortv),t.ɵɵadvance(2),t.ɵɵtextInterpolate(n.sortv),t.ɵɵadvance(2),t.ɵɵproperty("ng-hidden",!n.sort_list_opened),t.ɵɵadvance(1),t.ɵɵproperty("ngForOf",n.sortList)("ngForTrackBy",n.trackByFn),t.ɵɵadvance(3),t.ɵɵproperty("ngIf",!n.has_enough_ques&&!n.load_startup&&!n.load_startup_fail),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.search_loading||n.questions_more||n.schquestions.length),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.has_view_more),t.ɵɵadvance(3),t.ɵɵproperty("ngIf",n.load_startup&&!n.load_startup_fail),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.load_startup_fail))},directives:[t.ngAriaLive,t.NgIf,t.NgClass,t.ngHidden,t.TouchGestures,t.NgForOf,t.ngModalDialog,ve,t.ngZenScroll,S,t.ngFocus,z,t.ngAttribute,t.ngCleanHTML,t.FormSubmit,O,t.ErrorToastComponent,R,t.ngCleanBind],encapsulation:2}),e}(),xt=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=t.ɵɵdefineNgModule({type:e}),e.ɵinj=t.ɵɵdefineInjector({imports:[[t.CommonModule,t.DirectivesModule,t.ErrorsModule,M,j,t.RouterModule,t.ngModalsModule,f,C,L,t.FormSubmitModule,de,_e,t.ngFocusModule]]}),e}(),wt=["id","testimonials-box"];function Et(e,n){if(1&e&&(t.ɵɵelementStart(0,"blockquote",4),t.ɵɵelement(1,"span",5),t.ɵɵelementEnd()),2&e){var r=t.ɵɵnextContext();t.ɵɵadvance(1),t.ɵɵproperty("innerHTML",r.activeTestimonial.content,t.ɵɵsanitizeHtml)}}var St=function(e){return{active:e}};function Ct(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"div",6),t.ɵɵlistener("click",function(){var e=t.ɵɵrestoreView(r).$implicit;return t.ɵɵnextContext().selectTestimonial(e)}),t.ɵɵelementStart(1,"div",7),t.ɵɵelement(2,"img",8),t.ɵɵelementEnd(),t.ɵɵelementStart(3,"span",9),t.ɵɵtext(4),t.ɵɵelementEnd(),t.ɵɵelementEnd()}if(2&e){var i=n.$implicit,o=t.ɵɵnextContext();t.ɵɵadvance(2),t.ɵɵproperty("src",i.img,t.ɵɵsanitizeUrl)("alt",i.name),t.ɵɵadvance(1),t.ɵɵproperty("ngClass",t.ɵɵpureFunction1(4,St,o.activeTestimonial&&o.activeTestimonial.name===i.name)),t.ɵɵadvance(1),t.ɵɵtextInterpolate(i.name)}}var qt=function(){function e(e){this.cd=e,this.testimonials=[]}return e.prototype.ngOnInit=function(){this.testimonials&&this.testimonials.length&&(this.activeTestimonial=this.testimonials[0])},e.prototype.selectTestimonial=function(e){this.activeTestimonial=e},e.ɵfac=function(n){return new(n||e)(t.ɵɵdirectiveInject(t.ChangeDetectorRef))},e.ɵcmp=t.ɵɵdefineComponent({type:e,selectors:[["section","id","testimonials-box"]],hostAttrs:[1,"testimonials"],inputs:{testimonials:["data","testimonials"]},attrs:wt,decls:5,vars:2,consts:[[1,"heading"],["class","content",4,"ngIf"],[1,"testimonials"],["class","list",3,"click",4,"ngFor","ngForOf"],[1,"content"],[3,"innerHTML"],[1,"list",3,"click"],[1,"img-wrapper"],["layout","responsive","width","100","height","100",3,"src","alt"],[1,"link","name",3,"ngClass"]],template:function(e,n){1&e&&(t.ɵɵelementStart(0,"h2",0),t.ɵɵtext(1,"Testimonials"),t.ɵɵelementEnd(),t.ɵɵtemplate(2,Et,2,1,"blockquote",1),t.ɵɵelementStart(3,"div",2),t.ɵɵtemplate(4,Ct,5,6,"div",3),t.ɵɵelementEnd()),2&e&&(t.ɵɵadvance(2),t.ɵɵproperty("ngIf",n.activeTestimonial),t.ɵɵadvance(2),t.ɵɵproperty("ngForOf",n.testimonials))},directives:[t.NgIf,t.NgForOf,t.NgClass],encapsulation:2,changeDetection:0}),e}(),Tt=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=t.ɵɵdefineNgModule({type:e}),e.ɵinj=t.ɵɵdefineInjector({imports:[[t.CommonModule,t.DirectivesModule,t.ErrorsModule,M,t.RouterModule]]}),e}();function It(e){this.options=e||{},this.container=e.container,this.chargeContainer=e.container.querySelector(".charges"),this.charges=e.charges,this.currentChargeIndex=0,this.addNewCharge=this.addNewCharge.bind(this),this.setChargeOutcome=this.setChargeOutcome.bind(this);for(var t=0;t<6;t++)this.addNewCharge()}It.prototype={tickId:null,start:function(e){void 0===e&&(e=2e3);var t=this;t.setInterval(function(){t.setChargeOutcome(!0,t.addNewCharge)},e)},stop:function(){this.tickId&&(cancelAnimationFrame(this.tickId),this.tickId=null)},chargeElement:function(e){var t=document.createElement("div");return t.classList.add("charge"),t.innerHTML=['<div class="content">','<div class="'+e.class+'"></div><div class="opt"></div>','<div class="detail customer">',"<h3>"+e.customerName+"</h3><br>","<p>"+e.reason+"</p>","</div>",'<div class="spacer"></div>','<div class="button accept bf-icon-ok"></div>','<div class="button refund bf-icon-cross"></div>',"</div>"].join(""),t},setChargeOutcome:function(e,t){var n=this;"fraud"==n.charges[n.currentChargeIndex].class&&(e=!1);var r=n.chargeContainer.childNodes[2],i=r.querySelector(".button."+(e?"accept":"refund")),o=function(){i.removeEventListener("transitionend",o),t&&t()},a=function(){i.removeEventListener("animationend",a),i.addEventListener("transitionend",o),r.classList.add(e?"accepted":"refunded")};i.addEventListener("animationend",a),i.classList.add("click")},addNewCharge:function(){this.chargeContainer.childNodes.length>=6&&this.chargeContainer.removeChild(this.chargeContainer.firstChild);var e=this.chargeElement(this.charges[this.currentChargeIndex]);this.chargeContainer.appendChild(e),this.currentChargeIndex<this.charges.length-1?this.currentChargeIndex++:this.currentChargeIndex=0},setInterval:function(e,t){var n=this,r=performance.now(),i=function(o){o-r>=t&&(r=o,e()),n.tickId=requestAnimationFrame(i)};n.tickId=requestAnimationFrame(i)}};var kt=["reviewQueue"],At=["id","reviews-queue"],Ot=function(){function e(e){this.cd=e,this.reviews=[]}return e.prototype.ngOnInit=function(){},e.prototype.ngAfterViewInit=function(){!t.isNode()&&this.reviews&&this.reviews.length&&(this.reviewQueue||(this.reviewContainer.nativeElement,this.reviewQueue=new It({container:this.reviewContainer.nativeElement,charges:this.reviews})),this.reviewQueue.start())},e.prototype.ngOnDestroy=function(){this.reviewQueue&&this.reviewQueue.stop()},e.ɵfac=function(n){return new(n||e)(t.ɵɵdirectiveInject(t.ChangeDetectorRef))},e.ɵcmp=t.ɵɵdefineComponent({type:e,selectors:[["div","id","reviews-queue"]],viewQuery:function(e,n){if(1&e&&t.ɵɵviewQuery(kt,5),2&e){var r;t.ɵɵqueryRefresh(r=t.ɵɵloadQuery())&&(n.reviewContainer=r.first)}},inputs:{reviews:["data","reviews"]},attrs:At,decls:5,vars:0,consts:[[1,"review-queue"],["reviewQueue",""],[1,"charges"],[1,"mask","top"],[1,"mask","bottom"]],template:function(e,n){1&e&&(t.ɵɵelementStart(0,"div",0,1),t.ɵɵelement(2,"div",2),t.ɵɵelement(3,"div",3),t.ɵɵelement(4,"div",4),t.ɵɵelementEnd())},encapsulation:2,changeDetection:0}),e}(),Lt=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=t.ɵɵdefineNgModule({type:e}),e.ɵinj=t.ɵɵdefineInjector({imports:[[t.CommonModule,t.DirectivesModule,t.ErrorsModule,t.RouterModule]]}),e}(),zt=["id","experts-gallery"];function Mt(e,n){1&e&&(t.ɵɵelementStart(0,"div",10),t.ɵɵelement(1,"i"),t.ɵɵelementEnd())}function Nt(e,n){if(1&e&&(t.ɵɵelementStart(0,"div",11),t.ɵɵelement(1,"h2",12),t.ɵɵelementEnd()),2&e){var r=t.ɵɵnextContext(2);t.ɵɵadvance(1),t.ɵɵproperty("innerHTML",r.header_text||"Ask the Experts",t.ɵɵsanitizeHtml)}}function Rt(e,n){if(1&e&&(t.ɵɵelement(0,"div",13),t.ɵɵpipe(1,"safeHtml")),2&e){var r=t.ɵɵnextContext(2);t.ɵɵproperty("innerHTML",t.ɵɵpipeBind1(1,1,r.intro),t.ɵɵsanitizeHtml)}}function jt(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementContainerStart(0),t.ɵɵelementStart(1,"span",21),t.ɵɵtext(2),t.ɵɵelementEnd(),t.ɵɵelement(3,"br"),t.ɵɵelementStart(4,"i",21),t.ɵɵtext(5),t.ɵɵelementEnd(),t.ɵɵelement(6,"br"),t.ɵɵelementStart(7,"span",22),t.ɵɵlistener("onTap",function(){t.ɵɵrestoreView(r);var e=t.ɵɵnextContext().$implicit;return t.ɵɵnextContext(2).gotToOne(e.HASHTAG)}),t.ɵɵtext(8,"Read More"),t.ɵɵelementEnd(),t.ɵɵelementContainerEnd()}if(2&e){var i=t.ɵɵnextContext().$implicit;t.ɵɵadvance(2),t.ɵɵtextInterpolate(i.AUTHOR),t.ɵɵadvance(3),t.ɵɵtextInterpolate(i.CAPTION)}}function Pt(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementContainerStart(0),t.ɵɵelementStart(1,"span",23),t.ɵɵlistener("onTap",function(){t.ɵɵrestoreView(r);var e=t.ɵɵnextContext().$implicit;return t.ɵɵnextContext(2).gotToOne(e.HASHTAG)}),t.ɵɵelementEnd(),t.ɵɵelementContainerEnd()}if(2&e){var i=t.ɵɵnextContext().$implicit;t.ɵɵadvance(1),t.ɵɵproperty("ng-context",i.AUTHOR)}}function Ht(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"dl",14),t.ɵɵelementStart(1,"dt",15),t.ɵɵelementStart(2,"span",16),t.ɵɵlistener("onTap",function(){var e=t.ɵɵrestoreView(r).$implicit;return t.ɵɵnextContext(2).gotToOne(e.HASHTAG)}),t.ɵɵelement(3,"img",17,18),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(5,"dd",19),t.ɵɵtemplate(6,jt,9,2,"ng-container",20),t.ɵɵtemplate(7,Pt,2,1,"ng-container",20),t.ɵɵelementEnd(),t.ɵɵelementEnd()}if(2&e){var i=n.$implicit,o=n.index,a=t.ɵɵnextContext(2);t.ɵɵclassProp("gallery-item-logo",a.as_logos),t.ɵɵadvance(1),t.ɵɵproperty("focus-when",a.center_experts&&0===o),t.ɵɵadvance(1),t.ɵɵproperty("defer-src",i.AVATAR)("zing-no-touch",!0)("ui-hydrate",a.srv_no_avatars),t.ɵɵadvance(1),t.ɵɵclassProp("exp-img-logo",a.as_logos),t.ɵɵproperty("src",i.AVATAR,t.ɵɵsanitizeUrl)("alt",i.AUTHOR),t.ɵɵadvance(3),t.ɵɵproperty("ngIf",!a.as_logos),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",a.as_logos)}}function Ft(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"div",24),t.ɵɵelementStart(1,"span",25),t.ɵɵlistener("onTap",function(){return t.ɵɵrestoreView(r),t.ɵɵnextContext(2).showMoreExperts()}),t.ɵɵelementEnd(),t.ɵɵelementEnd()}if(2&e){var i=t.ɵɵnextContext(2);t.ɵɵadvance(1),t.ɵɵproperty("ng-context",i.more_btn_txt)}}function Vt(e,n){if(1&e&&(t.ɵɵelementStart(0,"i"),t.ɵɵtext(1),t.ɵɵelementEnd()),2&e){var r=t.ɵɵnextContext(3);t.ɵɵadvance(1),t.ɵɵtextInterpolate(null==r.expert_full?null:r.expert_full.CAPTION)}}function Dt(e,n){if(1&e&&t.ɵɵelement(0,"div",31),2&e){var r=t.ɵɵnextContext(3);t.ɵɵproperty("innerHtml",r.expert_full.CONTENT,t.ɵɵsanitizeHtml)}}function Wt(e,n){if(1&e&&t.ɵɵelement(0,"div",32),2&e){var r=t.ɵɵnextContext(3);t.ɵɵproperty("cleanHTML",r.expert_full.CONTENT)("cleanHTML-sett",r.doompurifySett)}}function Ut(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"article",26),t.ɵɵelementStart(1,"button",27),t.ɵɵlistener("onTap",function(){return t.ɵɵrestoreView(r),t.ɵɵnextContext(2).goToAll()}),t.ɵɵtext(2),t.ɵɵelementEnd(),t.ɵɵelement(3,"img",28),t.ɵɵelementStart(4,"h3"),t.ɵɵtext(5),t.ɵɵelementEnd(),t.ɵɵtemplate(6,Vt,2,1,"i",20),t.ɵɵtemplate(7,Dt,1,1,"div",29),t.ɵɵtemplate(8,Wt,1,2,"div",30),t.ɵɵelementEnd()}if(2&e){var i=t.ɵɵnextContext(2);t.ɵɵclassProp("exp-logo-profile",i.as_logos),t.ɵɵadvance(1),t.ɵɵproperty("ngClass",i.back_bt_class),t.ɵɵadvance(1),t.ɵɵtextInterpolate(i.back_bt_text),t.ɵɵadvance(1),t.ɵɵproperty("src",null==i.expert_full?null:i.expert_full.AVATAR,t.ɵɵsanitizeUrl),t.ɵɵadvance(2),t.ɵɵtextInterpolate(null==i.expert_full?null:i.expert_full.AUTHOR),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",!i.as_logos),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",!i.as_logos),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",i.as_logos)}}var Qt=function(e,t,n,r,i,o){return{"exp-gal-one-it":e,"exp-gal-two-it":t,"expert-single":n,"blink-end":r,empty:i,"experts-format-a":o}};function $t(e,n){if(1&e&&(t.ɵɵelementStart(0,"section",1),t.ɵɵtemplate(1,Mt,2,0,"div",2),t.ɵɵtemplate(2,Nt,2,1,"div",3),t.ɵɵtemplate(3,Rt,2,3,"div",4),t.ɵɵelementStart(4,"div",5),t.ɵɵelementStart(5,"div",6),t.ɵɵtemplate(6,Ht,8,12,"dl",7),t.ɵɵtemplate(7,Ft,2,1,"div",8),t.ɵɵtemplate(8,Ut,9,9,"article",9),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd()),2&e){var r=t.ɵɵnextContext();t.ɵɵproperty("ngClass",t.ɵɵpureFunction6(13,Qt,r.experts.length<2,r.experts.length<3,r.expert_single,!r.expert_single&&!r.loading&&!r.is_initial,r.emptydata,1==r.layout_format))("scroll-to",r.scrollall),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",r.loading),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",!r.layout_format),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",r.intro&&!r.expert_single),t.ɵɵadvance(1),t.ɵɵclassProp("all",!r.expert_single),t.ɵɵproperty("scroll-to",r.center_experts),t.ɵɵadvance(1),t.ɵɵproperty("scroll-to",r.scrollsingle)("scrolloffset",r.expert_offset),t.ɵɵadvance(1),t.ɵɵproperty("ngForOf",r.experts),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",r.hasmoreexperts&&!r.expert_single),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",r.expert_single)}}require("systemjs").import("css:/components/experts-gallery.css").then(function(){},function(){});var Bt=function(){function e(e){this.sanitized=e}return e.prototype.transform=function(e){return this.sanitized.bypassSecurityTrustHtml(e)},e.ɵfac=function(n){return new(n||e)(t.ɵɵdirectiveInject(t.DomSanitizer,16))},e.ɵpipe=t.ɵɵdefinePipe({name:"safeHtml",type:e,pure:!0}),e}(),Gt=function(){function e(e){this._zone=e,this.experts=[],this.expert_single=!1,this.expert_offset=0,this.max_experts=Number.MAX_SAFE_INTEGER,this.header_text="",this.srv_no_avatars=!1,this.current_page=0,this.questions=[],this.scrollall=!1,this.center_experts=!1,this.scrollsingle=!1,this.loading=!1,this.emptydata=!1,this.norender=!1,this.dataerror=!1,this.hasmoreexperts=!1,this.isnode=!1,this.doompurifySett={USE_PROFILES:{html:!0,svg:!0,svgFilters:!0},ALLOW_UNKNOWN_PROTOCOLS:!0,KEEP_CONTENT:!0,ADD_TAGS:["meta","noscript","iframe"],ADD_ATTR:["content","itemprop","itemtype","itemscope","id","name","src"]},this.as_logos=!1,this.is_initial=!0,this._rendered=!1,this._hashtaglist={},this._refreshonurl=!1,this.refreshdelay=1,this.asyncdata=!1,this.server_render=!1,this.layout_format=0,this.back_bt_text="Back to All Experts",this.back_bt_class="btn blue",this.more_btn_txt="More Experts",this.changedExpert=new t.EventEmitter,this.tagMatch=new t.EventEmitter,this._servertransitwait=!0}return Object.defineProperty(e.prototype,"hashname",{get:function(){return this._hashname},set:function(e){this._hashname=e,e&&this._rendered?this._goToExpert(e):this.expert_single=!1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"data",{get:function(){return this._data},set:function(e){this._data=e,e&&t.isArray(e.expertsContent)?(t.$httpAbort("experts-gallery"),this.expert_single=!1,this._parseExperts(this._data),this.asyncdata&&this._setExpertsPagination(),!this.emptydata&&this._hashname&&this._goToExpert(this._hashname),e.aslogos&&(this.as_logos=!0)):e&&!e.expertsContent&&(this.emptydata=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"urlpath",{get:function(){return this._urlpath},set:function(e){var t=e&&e!==this._urlpath;this._urlpath=e,t&&(this.urlrefresh=this.urlrefresh)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"urlrefresh",{get:function(){return this._refreshonurl},set:function(e){this._refreshonurl=e,e&&this._urlpath&&!this._data&&!this.asyncdata?this._refreshonurl=!0:this._refreshonurl=!1},enumerable:!1,configurable:!0}),e.prototype._goToExpert=function(e,n){var r=this;this.is_initial=!1;var i,o=function(){r.scrollsingle=!0,setTimeout(function(){r.scrollsingle=!1},100)};e=e.toString().toLowerCase(),this._hashtaglist.hasOwnProperty(e)&&this._data.expertsContent[this._hashtaglist[e]]?(this.expert_single=!0,this.expert_full!==this._data.expertsContent[this._hashtaglist[e]]&&(this.expert_full=this._data.expertsContent[this._hashtaglist[e]],t.reqAnimationFrame(function(){r._zone.run(function(){if(t.isWeb()&&r._servertransitwait){if(!n)var e=t.Events.subscribe("server:transitscroll",function(t){"done"!=t&&"none"!=t||o(),setTimeout(function(){e&&e.unsubscribe()})});r._servertransitwait=!1}else n||o()})})),i=!0):i=!1,this.tagMatch.emit(i)},e.prototype._storeTags=function(){this._hashtaglist={};for(var e=0,t=this.experts.length;e<t;e++){var n=this.experts[e].HASHTAG.substring(1);n=n.toLowerCase(),this._hashtaglist[n]=e+(0===this.current_page?0:this.current_page-1)*this.max_experts}},e.prototype._parseExperts=function(e){e.expertsContent.length>0?(this.experts=e.expertsContent,this.hasmoreexperts=!!this.max_experts&&e.expertsContent.length>this.max_experts,this.intro=e.expertsIntro||null,this._storeTags(),this._hashname&&this._goToExpert(this._hashname),this.emptydata=!1):(this.emptydata=!0,this._hashtaglist=[])},e.prototype._setExpertsPagination=function(){this.hasmoreexperts=!!this.max_experts&&this.experts.length>this.max_experts,this.experts=(this.experts||[]).slice(this.current_page*this.max_experts,++this.current_page*this.max_experts)},e.prototype._throwError=function(e,n){this.dataerror=!0,t.RavenRequestFail(e,"NG Experts Gallery : Data Request Error",{action:n})},e.prototype._getExpertsByUrl=function(){var e=this;this.expert_single=!1,t.$httpAbort("experts-gallery"),this.loading=!0,t.$http({method:"GET",url:t.ajaxUrl(),id:"experts-gallery",before:function(){e.loading=!0},after:function(){e.loading=!1},data:{action:"Posts.GetExpertsGallery",path:this.urlpath},events:!1}).then(function(n){if(n&&!n.error){var r=n.data;t.isObject(r)&&t.isArray(r.expertsContent)?(e._data=r,e._parseExperts(r)):e.emptydata=!0}else e._throwError({data:n,status:200,type:"response"},e.urlpath)},function(t){e._throwError(t,e.urlpath)})},e.prototype.ngOnInit=function(){var e=this;this.isnode=t.isNode(),this.isnode?this.server_render?this.norender=!this._data&&!this.asyncdata:this.norender=!0:(!this._data&&this.urlpath&&this.urlrefresh&&!this.asyncdata?this.loading=!0:this.loading=!1,this.loading||this.asyncdata||this.data||(this.emptydata=!0),this.urlrefresh&&setTimeout(function(){e._getExpertsByUrl()},this.refreshdelay),this.as_logos?(this.more_btn_txt||(this.more_btn_txt="More Retailers"),this.back_bt_text||(this.back_bt_text="Back to All Retailers")):(this.more_btn_txt||(this.more_btn_txt="More Experts"),this.back_bt_text||(this.back_bt_text="Back to All Experts"))),this.asyncdata||this._setExpertsPagination()},e.prototype.ngAfterViewInit=function(){var e=this;this._rendered=!0,this.data&&!this.emptydata&&this._hashname?t.reqAnimationFrame(function(){return e._goToExpert(e._hashname)}):this.asyncdata||(this._servertransitwait=!1)},e.prototype.ngOnDestroy=function(){t.$httpAbort("experts-gallery")},e.prototype.goToAll=function(){var e=this;this.expert_single=!1,this.scrollall=!0,this.scrollsingle=!1,this.expert_full=null,setTimeout(function(){e.scrollall=!1},100),this.changedExpert.emit(null)},e.prototype.gotToOne=function(e){var t=e.substring(1);this.expert_full=null,this._goToExpert(t),this.changedExpert.emit(t)},e.prototype.showMoreExperts=function(){var e=this,n=this._data.expertsContent,r=n.length;this.experts=n.slice(this.current_page*this.max_experts,++this.current_page*this.max_experts),this._storeTags(),this.current_page&&this.current_page*this.max_experts>=r&&(this.current_page=0),this.center_experts=!1,setTimeout(function(){e.center_experts=!0,t.reqAnimationFrame(function(){e.center_experts=!1})})},e.ɵfac=function(n){return new(n||e)(t.ɵɵdirectiveInject(t.NgZone))},e.ɵcmp=t.ɵɵdefineComponent({type:e,selectors:[["div","id","experts-gallery"]],inputs:{expert_offset:["scroll-offset","expert_offset"],max_experts:["max-experts","max_experts"],header_text:["header-text","header_text"],srv_no_avatars:["ui-hydrate-avatars","srv_no_avatars"],hashname:["hashtag","hashname"],data:"data",urlpath:"urlpath",urlrefresh:"urlrefresh",refreshdelay:"refreshdelay",asyncdata:"asyncdata",server_render:["server-render","server_render"],layout_format:["format","layout_format"],back_bt_text:["back-bt-text","back_bt_text"],back_bt_class:["back-bt-class","back_bt_class"],more_btn_txt:["more-bt-text","more_btn_txt"]},outputs:{changedExpert:"changedExpert",tagMatch:"tagMatch"},attrs:zt,decls:1,vars:1,consts:[["class","experts-gallery",3,"ngClass","scroll-to",4,"ngIf"],[1,"experts-gallery",3,"ngClass","scroll-to"],["class","progress-indicator visible",4,"ngIf"],["class","header-part",4,"ngIf"],["class","intro-part with-links",3,"innerHTML",4,"ngIf"],[1,"container",3,"scroll-to"],[1,"gallery",3,"scroll-to","scrolloffset"],["class","gallery-item",3,"gallery-item-logo",4,"ngFor","ngForOf"],["class","more-experts",4,"ngIf"],["class","text-select expert-profile ng-enter-element slide",3,"exp-logo-profile",4,"ngIf"],[1,"progress-indicator","visible"],[1,"header-part"],[3,"innerHTML"],[1,"intro-part","with-links",3,"innerHTML"],[1,"gallery-item"],["ng-focus","",1,"gallery-icon",3,"focus-when"],["zing-touch","",1,"gall-ic-action",3,"defer-src","zing-no-touch","ui-hydrate","onTap"],["height","110","width","110",1,"expert-image",3,"src","alt"],["deferImg",""],[1,"wp-caption-text","gallery-caption"],[4,"ngIf"],[1,"text-select"],["zing-touch","",1,"read-more","touch-element-cl",3,"onTap"],["zing-touch","",1,"read-more","touch-element-cl",3,"ng-context","onTap"],[1,"more-experts"],["zing-touch","",3,"ng-context","onTap"],[1,"text-select","expert-profile","ng-enter-element","slide"],["zing-touch","",1,"back-to-xprts",3,"ngClass","onTap"],["height","200","width","200",1,"profile-img",3,"src"],["class","description-text",3,"innerHtml",4,"ngIf"],["class","description-text",3,"cleanHTML","cleanHTML-sett",4,"ngIf"],[1,"description-text",3,"innerHtml"],[1,"description-text",3,"cleanHTML","cleanHTML-sett"]],template:function(e,n){1&e&&t.ɵɵtemplate(0,$t,9,20,"section",0),2&e&&t.ɵɵproperty("ngIf",!n.norender)},directives:[t.NgIf,t.NgClass,t.ngZenScroll,t.NgForOf,t.ngFocus,t.TouchGestures,R,t.ngCleanBind,t.ngCleanHTML],pipes:[Bt],encapsulation:2}),e}(),Yt=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=t.ɵɵdefineNgModule({type:e}),e.ɵinj=t.ɵɵdefineInjector({imports:[[t.DirectivesModule,t.CommonModule,j,t.ngFocusModule]]}),e}(),Xt=["contentDiv"],Zt=["smsStoreOverlay"],Jt=["free-credit-score",""];function Kt(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementContainerStart(0),t.ɵɵelementStart(1,"div",29),t.ɵɵelementStart(2,"h2",30),t.ɵɵtext(3,"Get your free credit score in 2 minutes"),t.ɵɵelementEnd(),t.ɵɵelementStart(4,"div",31),t.ɵɵelementStart(5,"div",32),t.ɵɵelement(6,"input",33,34),t.ɵɵelementEnd(),t.ɵɵelementStart(8,"div",35),t.ɵɵelementStart(9,"button",36),t.ɵɵlistener("click",function(){t.ɵɵrestoreView(r);var e=t.ɵɵreference(7);return t.ɵɵnextContext().submitEmail(e.value)}),t.ɵɵtext(10,"Continue"),t.ɵɵelementEnd(),t.ɵɵelementStart(11,"div",37),t.ɵɵelementStart(12,"span"),t.ɵɵtext(13,"I agree to "),t.ɵɵelementStart(14,"a",38),t.ɵɵtext(15,"Terms"),t.ɵɵelementEnd(),t.ɵɵtext(16," & "),t.ɵɵelementStart(17,"a",39),t.ɵɵtext(18,"Privacy Policy"),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementContainerEnd()}}function en(e,n){if(1&e&&(t.ɵɵelementContainerStart(0),t.ɵɵelement(1,"a",40),t.ɵɵelementContainerEnd()),2&e){var r=t.ɵɵnextContext();t.ɵɵadvance(1),t.ɵɵproperty("href",r.is_loggedin_fulluser?"/home/dashboard":"/join",t.ɵɵsanitizeUrl)("innerHTML",r.joinPosh,t.ɵɵsanitizeHtml)}}function tn(e,n){1&e&&(t.ɵɵelementStart(0,"div",5),t.ɵɵelement(1,"img",41),t.ɵɵelement(2,"img",42),t.ɵɵelementEnd())}function nn(e,n){1&e&&(t.ɵɵelementStart(0,"div",5),t.ɵɵelement(1,"img",43),t.ɵɵelementEnd())}function rn(e,n){1&e&&(t.ɵɵelementStart(0,"div",5),t.ɵɵelement(1,"img",44),t.ɵɵelementEnd())}function on(e,n){1&e&&t.ɵɵelementContainer(0)}function an(e,n){if(1&e&&(t.ɵɵelementStart(0,"section",45),t.ɵɵelementStart(1,"h2",46),t.ɵɵtext(2,"Benefits of Your Free Credit Score"),t.ɵɵelementEnd(),t.ɵɵtemplate(3,on,1,0,"ng-container",47),t.ɵɵelementEnd()),2&e){t.ɵɵnextContext();var r=t.ɵɵreference(43);t.ɵɵadvance(3),t.ɵɵproperty("ngTemplateOutlet",r)}}function sn(e,n){1&e&&t.ɵɵelementContainer(0)}function ln(e,n){if(1&e&&(t.ɵɵelementStart(0,"section",45),t.ɵɵelementStart(1,"h2",46),t.ɵɵtext(2,"Your Free Credit Monitoring Comes With…"),t.ɵɵelementEnd(),t.ɵɵtemplate(3,sn,1,0,"ng-container",47),t.ɵɵelementEnd()),2&e){t.ɵɵnextContext();var r=t.ɵɵreference(45);t.ɵɵadvance(3),t.ɵɵproperty("ngTemplateOutlet",r)}}function cn(e,n){1&e&&t.ɵɵelementContainer(0)}function dn(e,n){if(1&e&&(t.ɵɵelementStart(0,"section",45),t.ɵɵelementStart(1,"h2",46),t.ɵɵtext(2,"Your Free Credit Report Comes With…"),t.ɵɵelementEnd(),t.ɵɵtemplate(3,cn,1,0,"ng-container",47),t.ɵɵelementEnd()),2&e){t.ɵɵnextContext();var r=t.ɵɵreference(47);t.ɵɵadvance(3),t.ɵɵproperty("ngTemplateOutlet",r)}}function un(e,n){if(1&e&&(t.ɵɵelementStart(0,"section",48),t.ɵɵelementStart(1,"h2",46),t.ɵɵtext(2,"Credit Report Timeline - Make Life Easier"),t.ɵɵelementEnd(),t.ɵɵelementStart(3,"p"),t.ɵɵtext(4,"Only WalletHub gives you both your full credit report and a summary of important changes. That way, you can easily stay on top of your credit report and never be surprised."),t.ɵɵelementEnd(),t.ɵɵelement(5,"div",49),t.ɵɵelementEnd()),2&e){var r=t.ɵɵnextContext();t.ɵɵadvance(5),t.ɵɵproperty("data",r.chargesReviews)}}function pn(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"footer"),t.ɵɵelementStart(1,"a",54),t.ɵɵlistener("onTap",function(){return t.ɵɵrestoreView(r),t.ɵɵnextContext(2).openStoreOvelary(!1)}),t.ɵɵelement(2,"img",55),t.ɵɵelementEnd(),t.ɵɵelementStart(3,"a",56),t.ɵɵlistener("onTap",function(){return t.ɵɵrestoreView(r),t.ɵɵnextContext(2).openStoreOvelary(!0)}),t.ɵɵelement(4,"img",57),t.ɵɵelementEnd(),t.ɵɵelementEnd()}}function hn(e,n){1&e&&(t.ɵɵelementStart(0,"footer"),t.ɵɵelementStart(1,"a",58),t.ɵɵelement(2,"img",55),t.ɵɵelementEnd(),t.ɵɵelementStart(3,"a",59),t.ɵɵelement(4,"img",57),t.ɵɵelementEnd(),t.ɵɵelementEnd())}function mn(e,n){if(1&e&&(t.ɵɵelementStart(0,"div",23),t.ɵɵelementStart(1,"section",50),t.ɵɵelementStart(2,"div",51),t.ɵɵelement(3,"img",52),t.ɵɵelementEnd(),t.ɵɵelementStart(4,"div",53),t.ɵɵelementStart(5,"h2",46),t.ɵɵtext(6,"WalletHub on the Go"),t.ɵɵelementEnd(),t.ɵɵelementStart(7,"p"),t.ɵɵtext(8,"Take WalletHub anywhere you go. Access it through your mobile browser or download the iPhone/Android app. Have the latest credit score and report at your finger tips as well as real-time notifications on important changes."),t.ɵɵelementEnd(),t.ɵɵtemplate(9,pn,5,0,"footer",7),t.ɵɵtemplate(10,hn,5,0,"footer",7),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd()),2&e){var r=t.ɵɵnextContext();t.ɵɵadvance(9),t.ɵɵproperty("ngIf",r.isWeb),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",!r.isWeb)}}function fn(e,n){1&e&&(t.ɵɵelementStart(0,"div",23),t.ɵɵelementStart(1,"section",60),t.ɵɵelementStart(2,"h2",46),t.ɵɵtext(3,"States Most Vulnerable to ID Theft & Fraud"),t.ɵɵelementEnd(),t.ɵɵelementStart(4,"p"),t.ɵɵtext(5,"Unfortunately, most of us have had at least some private info exposed in one of the many major data breaches in recent years. But some of us are more susceptible to financial foul play than others. And believe it or not, where you live matters."),t.ɵɵelementEnd(),t.ɵɵelement(6,"div",61),t.ɵɵelementStart(7,"p"),t.ɵɵtext(8,"WalletHub’s rankings are based on data from the FTC, FBI, Department of Homeland Security and more. "),t.ɵɵelementStart(9,"a",62),t.ɵɵtext(10,"Read the full methodology"),t.ɵɵelementEnd(),t.ɵɵtext(11,"."),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd())}function gn(e,n){if(1&e&&(t.ɵɵelementStart(0,"h2",67),t.ɵɵtext(1),t.ɵɵelementEnd()),2&e){var r=t.ɵɵnextContext(2);t.ɵɵadvance(1),t.ɵɵtextInterpolate1(" ",r.footer_data.title," ")}}function vn(e,n){if(1&e&&(t.ɵɵelement(0,"p",6),t.ɵɵpipe(1,"safeHtml")),2&e){var r=t.ɵɵnextContext(2);t.ɵɵproperty("innerHTML",t.ɵɵpipeBind1(1,1,r.footer_data.content),t.ɵɵsanitizeHtml)}}function _n(e,n){if(1&e&&(t.ɵɵelementStart(0,"div",63),t.ɵɵelementStart(1,"div",64),t.ɵɵtemplate(2,gn,2,1,"h2",65),t.ɵɵtemplate(3,vn,2,3,"p",66),t.ɵɵelementEnd(),t.ɵɵelementEnd()),2&e){var r=t.ɵɵnextContext();t.ɵɵadvance(2),t.ɵɵproperty("ngIf",r.footer_data.title),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",r.footer_data.content)}}function yn(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"div",68),t.ɵɵlistener("tagMatch",function(){return t.ɵɵrestoreView(r),t.ɵɵnextContext().hashTagLoadExpertMatch()})("changedExpert",function(e){return t.ɵɵrestoreView(r),t.ɵɵnextContext().changedExpert(e)}),t.ɵɵelementEnd()}if(2&e){var i=t.ɵɵnextContext();t.ɵɵproperty("header-text",i.expertsheader)("back-bt-text","All Experts")("data",i.experts)("max-experts",6)("scroll-offset",-120)("refreshdelay",2e3)("urlrefresh",!0)("hashtag",i.expertstag)("server-render",!0)}}function bn(e,n){1&e&&(t.ɵɵelementStart(0,"div",69),t.ɵɵelementStart(1,"div",70),t.ɵɵelementStart(2,"div",71),t.ɵɵelementStart(3,"div",72),t.ɵɵelement(4,"img",73),t.ɵɵelementEnd(),t.ɵɵelementStart(5,"div",74),t.ɵɵelementStart(6,"h3",75),t.ɵɵtext(7,"NO CREDIT CARD NEEDED"),t.ɵɵelementEnd(),t.ɵɵelementStart(8,"p",76),t.ɵɵtext(9,"No trial period. No nonsense."),t.ɵɵelement(10,"br"),t.ɵɵtext(11," Your score is yours for free."),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(12,"div",71),t.ɵɵelementStart(13,"div",72),t.ɵɵelement(14,"img",77),t.ɵɵelementEnd(),t.ɵɵelementStart(15,"div",74),t.ɵɵelementStart(16,"h3",75),t.ɵɵtext(17,"24/7 CREDIT MONITORING"),t.ɵɵelementEnd(),t.ɵɵelementStart(18,"p",76),t.ɵɵtext(19,"Find peace of mind knowing we’ll alert you to any important changes in your credit file."),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(20,"div",70),t.ɵɵelementStart(21,"div",78),t.ɵɵelementStart(22,"div",72),t.ɵɵelement(23,"img",79),t.ɵɵelementEnd(),t.ɵɵelementStart(24,"div",74),t.ɵɵelementStart(25,"h3",75),t.ɵɵtext(26,"PERSONALIZED CREDIT ADVICE"),t.ɵɵelementEnd(),t.ɵɵelementStart(27,"p",76),t.ɵɵtext(28,"Benefit from custom insights that will help improve your standing."),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(29,"div",71),t.ɵɵelementStart(30,"div",72),t.ɵɵelement(31,"img",80),t.ɵɵelementEnd(),t.ɵɵelementStart(32,"div",74),t.ɵɵelementStart(33,"h3",75),t.ɵɵtext(34,"CREDIT REPORTS"),t.ɵɵelementEnd(),t.ɵɵelementStart(35,"p",76),t.ɵɵtext(36,"Review the info at the heart of your score for errors and opportunities."),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(37,"div",71),t.ɵɵelementStart(38,"div",72),t.ɵɵelement(39,"img",81),t.ɵɵelementEnd(),t.ɵɵelementStart(40,"div",74),t.ɵɵelementStart(41,"h3",75),t.ɵɵtext(42,"DAILY CREDIT SCORE UPDATES"),t.ɵɵelementEnd(),t.ɵɵelementStart(43,"p",76),t.ɵɵtext(44,"Only WalletHub has access to daily updates. Everyone else is weekly at best."),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(45,"div",70),t.ɵɵelementStart(46,"div",82),t.ɵɵelementStart(47,"div",72),t.ɵɵelement(48,"img",79),t.ɵɵelementEnd(),t.ɵɵelementStart(49,"div",74),t.ɵɵelementStart(50,"h3",75),t.ɵɵtext(51,"PERSONALIZED CREDIT ADVICE"),t.ɵɵelementEnd(),t.ɵɵelementStart(52,"p",76),t.ɵɵtext(53,"Benefit from custom insights that will help improve your standing."),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(54,"div",71),t.ɵɵelementStart(55,"div",72),t.ɵɵelement(56,"img",83),t.ɵɵelementEnd(),t.ɵɵelementStart(57,"div",74),t.ɵɵelementStart(58,"h3",75),t.ɵɵtext(59,"NO CREDIT IMPACT"),t.ɵɵelementEnd(),t.ɵɵelementStart(60,"p",76),t.ɵɵtext(61,"We don’t use hard inquiries, so using WalletHub won’t hurt your score."),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd())}function xn(e,n){1&e&&(t.ɵɵelementStart(0,"div",69),t.ɵɵelementStart(1,"div",70),t.ɵɵelementStart(2,"div",71),t.ɵɵelementStart(3,"div",72),t.ɵɵelement(4,"img",84),t.ɵɵelementEnd(),t.ɵɵelementStart(5,"div",74),t.ɵɵelementStart(6,"h3",75),t.ɵɵtext(7,"FREE CREDIT SCORES"),t.ɵɵelementEnd(),t.ɵɵelementStart(8,"p",76),t.ɵɵtext(9,"Know your score so you’ll never overpay again."),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(10,"div",71),t.ɵɵelementStart(11,"div",72),t.ɵɵelement(12,"img",85),t.ɵɵelementEnd(),t.ɵɵelementStart(13,"div",74),t.ɵɵelementStart(14,"h3",75),t.ɵɵtext(15,"NO CREDIT CARD NEEDED"),t.ɵɵelementEnd(),t.ɵɵelementStart(16,"p",76),t.ɵɵtext(17,"We strive to save, not cost, you money. So we don’t charge for anything."),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(18,"div",70),t.ɵɵelementStart(19,"div",71),t.ɵɵelementStart(20,"div",72),t.ɵɵelement(21,"img",86),t.ɵɵelementEnd(),t.ɵɵelementStart(22,"div",74),t.ɵɵelementStart(23,"h3",75),t.ɵɵtext(24,"FULL CREDIT REPORTS"),t.ɵɵelementEnd(),t.ɵɵelementStart(25,"p",76),t.ɵɵtext(26,"Find errors or signs of fraud that might be holding you back."),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(27,"div",71),t.ɵɵelementStart(28,"div",72),t.ɵɵelement(29,"img",87),t.ɵɵelementEnd(),t.ɵɵelementStart(30,"div",74),t.ɵɵelementStart(31,"h3",75),t.ɵɵtext(32,"Updates Daily"),t.ɵɵelementEnd(),t.ɵɵelementStart(33,"p",76),t.ɵɵtext(34,"WalletHub has the freshest credit data you can get for free."),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(35,"div",70),t.ɵɵelementStart(36,"div",71),t.ɵɵelementStart(37,"div",72),t.ɵɵelement(38,"img",88),t.ɵɵelementEnd(),t.ɵɵelementStart(39,"div",74),t.ɵɵelementStart(40,"h3",75),t.ɵɵtext(41,"Improve Your Credit"),t.ɵɵelementEnd(),t.ɵɵelementStart(42,"p",76),t.ɵɵtext(43,"Get personalized advice that will take your score to the next level."),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(44,"div",71),t.ɵɵelementStart(45,"div",72),t.ɵɵelement(46,"img",89),t.ɵɵelementEnd(),t.ɵɵelementStart(47,"div",74),t.ɵɵelementStart(48,"h3",75),t.ɵɵtext(49,"NO CREDIT IMPACT"),t.ɵɵelementEnd(),t.ɵɵelementStart(50,"p",76),t.ɵɵtext(51,"Checking your own credit through WalletHub will do absolutely no harm."),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd())}function wn(e,n){1&e&&(t.ɵɵelementStart(0,"div",69),t.ɵɵelementStart(1,"div",70),t.ɵɵelementStart(2,"div",71),t.ɵɵelementStart(3,"div",72),t.ɵɵelement(4,"img",87),t.ɵɵelementEnd(),t.ɵɵelementStart(5,"div",74),t.ɵɵelementStart(6,"h3",75),t.ɵɵtext(7,"DAILY UPDATES"),t.ɵɵelementEnd(),t.ɵɵelementStart(8,"p",76),t.ɵɵtext(9,"You won’t get free daily updates to your credit report anywhere else."),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(10,"div",71),t.ɵɵelementStart(11,"div",72),t.ɵɵelement(12,"img",84),t.ɵɵelementEnd(),t.ɵɵelementStart(13,"div",74),t.ɵɵelementStart(14,"h3",75),t.ɵɵtext(15,"DAILY CREDIT SCORES"),t.ɵɵelementEnd(),t.ɵɵelementStart(16,"p",76),t.ɵɵtext(17,"See where you stand and track your progress with daily credit scores."),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(18,"div",70),t.ɵɵelementStart(19,"div",71),t.ɵɵelementStart(20,"div",72),t.ɵɵelement(21,"img",90),t.ɵɵelementEnd(),t.ɵɵelementStart(22,"div",74),t.ɵɵelementStart(23,"h3",75),t.ɵɵtext(24,"24/7 CREDIT MONITORING"),t.ɵɵelementEnd(),t.ɵɵelementStart(25,"p",76),t.ɵɵtext(26,"Rest easy knowing we’ll notify you of important changes."),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(27,"div",71),t.ɵɵelementStart(28,"div",72),t.ɵɵelement(29,"img",85),t.ɵɵelementEnd(),t.ɵɵelementStart(30,"div",74),t.ɵɵelementStart(31,"h3",75),t.ɵɵtext(32,"NO CREDIT CARD NEEDED"),t.ɵɵelementEnd(),t.ɵɵelementStart(33,"p",76),t.ɵɵtext(34,"No trial period. No payment info. Everything is 100% free."),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(35,"div",70),t.ɵɵelementStart(36,"div",71),t.ɵɵelementStart(37,"div",72),t.ɵɵelement(38,"img",88),t.ɵɵelementEnd(),t.ɵɵelementStart(39,"div",74),t.ɵɵelementStart(40,"h3",75),t.ɵɵtext(41,"CREDIT IMPROVEMENT TIPS"),t.ɵɵelementEnd(),t.ɵɵelementStart(42,"p",76),t.ɵɵtext(43,"Reach top WalletFitness® with credit advice tailored to your needs."),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(44,"div",71),t.ɵɵelementStart(45,"div",72),t.ɵɵelement(46,"img",89),t.ɵɵelementEnd(),t.ɵɵelementStart(47,"div",74),t.ɵɵelementStart(48,"h3",75),t.ɵɵtext(49,"WON’T HURT YOUR CREDIT"),t.ɵɵelementEnd(),t.ɵɵelementStart(50,"p",76),t.ɵɵtext(51,"Our tool helps, doesn’t hurt. No hard inquiry means no damage."),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd())}var En=function(){function e(e){this.sanitized=e}return e.prototype.transform=function(e){return this.sanitized.bypassSecurityTrustHtml(e)},e.ɵfac=function(n){return new(n||e)(t.ɵɵdirectiveInject(t.DomSanitizer,16))},e.ɵpipe=t.ɵɵdefinePipe({name:"safeHtml",type:e,pure:!0}),e}(),Sn=function(e){function n(n,r){var i=e.call(this,n)||this;return i._route=n,i._router=r,i.isWeb=!t.isNode(),i.qna_data=[],i.qna_uri="/free-credit-score",i.uri="/free-credit-score",i.pageUri="free-credit-score",i.labelUri="Free Credit Score",i.title="Free credit score, updated daily.",i.description="<p>WalletHub is the only place you can get free credit scores that are updated on a daily basis. Plus, enjoy free credit reports and personalized credit analysis. You can also check your free credit score on the go with the WalletHub mobile app.</p>",i.testimonials=[],i.chargesReviews=[],i.showJoin=!1,i.joinPosh='START MY FREE CREDIT MONITORING<span class="hide-sm"> SERVICE</span>',i.experts={},i.expertstag="",i.expertsheader="",i.has_experts=!1,i.show_footer=!1,i.is_loggedin_fulluser=!1,i}return __extends(n,e),n.prototype.ngOnInit=function(){var n=this;this._route.fragment.subscribe(function(e){e&&!t.isNode()&&t.tryCatch(function(){var r=t.objectFromParam(e,null,!1);r.hasOwnProperty("experts")&&r.experts?t.reqAnimationFrame(function(){n.expertstag=r.experts}):n.jumpToAnchor(e)})}),this.isWeb&&(this.is_loggedin_fulluser=t.Cookies.get("mw_signon")&&t.LocalStorage.get("full")),e.prototype.ngOnInit.call(this)},n.prototype.onRouteSuccess=function(e){var t=e&&e.data;t&&(this.title=t.DESCRIPTION_HEADER,this.description=t.DESCRIPTION,this.pageUri=(t.URI||this._router.url).replace(/^\/|\/$/g,""),this.uri=this.qna_uri="/"+this.pageUri,"free-credit-score"===this.pageUri?(this.labelUri="Free Credit Score",this.showJoin=!1):(this.showJoin=!0,"free-credit-monitoring"===this.pageUri?(this.labelUri="Free Credit Monitoring",this.joinPosh='START MY FREE CREDIT MONITORING<span class="hide-sm"> SERVICE</span>'):"free-credit-report"===this.pageUri&&(this.labelUri="Free Credit Report",this.joinPosh="Get Your Free Credit Report Now")),t&&t.EXPERTS&&t.EXPERTS.length>0&&(this.experts={expertsContent:t.EXPERTS,expertsIntro:t.EXPERTSINTRO},this.expertsheader=t.EXPERTSHEADER,this.has_experts=!0),this.testimonials=t.testimonials,this.chargesReviews=t.chargesReviews,this.footer_data=t.FOOTER||{},this.show_footer=!!(this.footer_data.title||this.footer_data.subtitle||this.footer_data.content||"").trim(),this.qna_uri=t.qauri||t.qnauri||"",this.qna_data=t.qna||{pages:0,current_page:1,total_questions:0,questions:[]})},n.prototype.jumpToAnchor=function(e){if(void 0===e&&(e=""),e){var t=this;setTimeout(function(){var n="a[name="+e+"]",r=null;try{(r=t._contentDiv.nativeElement.querySelector(n))||(r=t._contentDiv.nativeElement.querySelector("#"+e))}catch(e){}r&&r.scrollIntoView()},500)}},n.prototype.ngOnDestroy=function(){},n.prototype.hashTagLoadExpertMatch=function(){},n.prototype.changedExpert=function(e){this.expertstag=e,this._router.navigate([],{fragment:e?"experts="+e:null})},n.prototype.submitEmail=function(e){window.location.href="/join/?affiliate"},n.prototype.openStoreOvelary=function(e){!t.isNode()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|Mobi/i.test(navigator.userAgent)?e?window.open("https://goo.gl/mhG3k4","_blank"):window.open("http://apple.co/23gVr3A","_blank"):this._smsOverlay.Open(t.StoreOvelay,{android:e})},n.ɵfac=function(e){return new(e||n)(t.ɵɵdirectiveInject(t.ActivatedRoute),t.ɵɵdirectiveInject(t.Router))},n.ɵcmp=t.ɵɵdefineComponent({type:n,selectors:[["div","free-credit-score",""]],viewQuery:function(e,n){if(1&e&&(t.ɵɵviewQuery(Xt,5),t.ɵɵviewQuery(Zt,5)),2&e){var r=void 0;t.ɵɵqueryRefresh(r=t.ɵɵloadQuery())&&(n._contentDiv=r.first),t.ɵɵqueryRefresh(r=t.ɵɵloadQuery())&&(n._smsOverlay=r.first)}},hostAttrs:["free-credit-score","ivy"],features:[t.ɵɵInheritDefinitionFeature],attrs:Jt,decls:50,vars:29,consts:[["id","content"],["contentDiv",""],["id","top-content",1,"top-content"],[1,"top-content-title","middle-content","center-content"],[1,"top-sect-text"],[1,"container"],[3,"innerHTML"],[4,"ngIf"],[1,"top-sec-img"],["class","container",4,"ngIf"],[1,"main-container",3,"id"],["class","cntn icon-list-content",4,"ngIf"],["class","cntn timeline","id","timeline",4,"ngIf"],[1,"cntn","big-link","green"],[1,"callout"],["target","_blank",1,"btn-transparent","link",3,"href"],["target","_blank",1,"btn-transparent","btn-mobile","link",3,"href"],["id","testimonials-box",1,"cntn",3,"data"],[1,"cntn","big-link","red"],["class","wh-on-the-go",4,"ngIf"],[1,"wh-on-the-go","qna-wrapper"],["id","qna-box",1,"cntn",3,"toggle-schema","type","product-questions","product-referer"],["id","footer-content","class","wh-on-the-go",4,"ngIf"],[1,"wh-on-the-go"],["id","experts-gallery","class","cntn",3,"header-text","back-bt-text","data","max-experts","scroll-offset","refreshdelay","urlrefresh","hashtag","server-render","tagMatch","changedExpert",4,"ngIf"],["scoreIcons",""],["monitoringIcons",""],["reportIcons",""],["smsStoreOverlay",""],[1,"sign-up-container"],[1,"sub-heading"],[1,"input-row"],[1,"input-container"],["type","email","placeholder","Email Address","name","email",1,"input-email"],["emailAddress",""],[1,"btn-container"],["type","submit",1,"btn","blue","full",3,"click"],[1,"terms"],["href","/terms/","target","_blank",1,"link"],["href","/terms/privacy/","target","_blank",1,"link"],[1,"btn-grad-red","btn-head","link",3,"href","innerHTML"],["src","https://cdn.wallethub.com/images/wh2015/free-credit-score/new-gauge_Ve7cee45_.svg.gz","alt","Gauge","layout","responsive",1,"img-desk"],["src","https://cdn.wallethub.com/images/wh2015/free-credit-score/new-gauge-mobile_Vc8acd17_.svg.gz","alt","Gauge","layout","responsive",1,"img-mobile"],["src","https://cdn.wallethub.com/images/wh2015/free-credit-monitoring/free-credit-monitoring_V4ec0e2a_.svg.gz",1,"img-mobile"],["src","https://cdn.wallethub.com/images/wh2015/free-credit-report/free-credit-report_Vb0600ae_.svg.gz",1,"img-mobile"],[1,"cntn","icon-list-content"],[1,"heading"],[4,"ngTemplateOutlet"],["id","timeline",1,"cntn","timeline"],["id","reviews-queue",3,"data"],[1,"cntn","download-app"],[1,"img-container"],["src","https://cdn.wallethub.com/images/wh2015/free-credit-score/wallethub-on-the-go_V329dbde_.png","width","190","height","356"],[1,"content-text"],["zing-touch","","target","_blank",1,"download-btn",3,"onTap"],["src","https://cdn.wallethub.com/images/wh2015/app-store_V5fb540c_.svg.gz","width","220","height","63","alt",""],["zing-touch","","target","_blank",1,"download-android-btn",3,"onTap"],["src","https://cdn.wallethub.com/images/wh2015/google-play-badge_V2f6fca2_.svg.gz","width","220","height","63","alt",""],["href","https://apple.co/23gVr3A","target","_blank","rel","nofollow noopener",1,"download-btn"],["href","https://goo.gl/mhG3k4","target","_blank","rel","nofollow noopener",1,"download-android-btn"],["id","cities",1,"cntn","geomap"],["id","embed-geochart"],["href","/edu/states-where-identity-theft-and-fraud-are-worst/17549/#methodology","target","_blank",1,"link"],["id","footer-content",1,"wh-on-the-go"],[1,"cntn"],["class","title",4,"ngIf"],[3,"innerHTML",4,"ngIf"],[1,"title"],["id","experts-gallery",1,"cntn",3,"header-text","back-bt-text","data","max-experts","scroll-offset","refreshdelay","urlrefresh","hashtag","server-render","tagMatch","changedExpert"],[1,"icon-list"],[1,"icon-item"],[1,"icon-item-container"],[1,"icon-img"],["src","https://cdn.wallethub.com/images/wh2015/free-credit-score/card_Ve316d17_.svg.gz","alt","NO CREDIT CARD NEEDED","layout","responsive","width","163","height","130"],[1,"icon-content"],[1,"icon-title"],[1,"icon-text"],["src","https://cdn.wallethub.com/images/wh2015/free-credit-score/search_Vcd74d3c_.svg.gz","alt","24/7 CREDIT MONITORING","layout","responsive","width","139","height","139"],[1,"icon-item-container","only-mob"],["src","https://cdn.wallethub.com/images/wh2015/free-credit-score/graph_Vf8a7266_.svg.gz","alt","IMPROVE YOUR CREDIT","layout","responsive","width","113","height","126"],["src","https://cdn.wallethub.com/images/wh2015/free-credit-score/paper_V12920b2_.svg.gz","alt","FULL CREDIT REPORTS","layout","responsive","width","137","height","162"],["src","https://cdn.wallethub.com/images/wh2015/free-credit-score/calendar_V289add7_.svg.gz","alt","UPDATES DAILY","layout","responsive","width","163","height","138"],[1,"icon-item-container","hide-mob"],["src","https://cdn.wallethub.com/images/wh2015/free-credit-score/block_V94cb817_.svg.gz","alt","NO CREDIT IMPACT","layout","responsive","width","138","height","138"],["src","https://cdn.wallethub.com/images/wh2015/free-credit-score/gauge_Ved100d2_.svg.gz"],["src","https://cdn.wallethub.com/images/wh2015/free-credit-score/card_Ve316d17_.svg.gz"],["src","https://cdn.wallethub.com/images/wh2015/free-credit-score/paper_V12920b2_.svg.gz"],["src","https://cdn.wallethub.com/images/wh2015/free-credit-score/calendar_V289add7_.svg.gz"],["src","https://cdn.wallethub.com/images/wh2015/free-credit-score/graph_Vf8a7266_.svg.gz"],["src","https://cdn.wallethub.com/images/wh2015/free-credit-score/block_V94cb817_.svg.gz"],["src","https://cdn.wallethub.com/images/wh2015/free-credit-score/search_Vcd74d3c_.svg.gz"]],template:function(e,n){1&e&&(t.ɵɵelementStart(0,"div",0,1),t.ɵɵelementStart(2,"section",2),t.ɵɵelementStart(3,"div",3),t.ɵɵelementStart(4,"div",4),t.ɵɵelementStart(5,"div",5),t.ɵɵelementStart(6,"h1"),t.ɵɵtext(7),t.ɵɵelementEnd(),t.ɵɵelement(8,"p",6),t.ɵɵtemplate(9,Kt,19,0,"ng-container",7),t.ɵɵtemplate(10,en,2,2,"ng-container",7),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(11,"div",8),t.ɵɵtemplate(12,tn,3,0,"div",9),t.ɵɵtemplate(13,nn,2,0,"div",9),t.ɵɵtemplate(14,rn,2,0,"div",9),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(15,"section",10),t.ɵɵtemplate(16,an,4,1,"section",11),t.ɵɵtemplate(17,ln,4,1,"section",11),t.ɵɵtemplate(18,dn,4,1,"section",11),t.ɵɵtemplate(19,un,6,1,"section",12),t.ɵɵelementStart(20,"section",13),t.ɵɵelementStart(21,"div",14),t.ɵɵtext(22),t.ɵɵelementStart(23,"a",15),t.ɵɵtext(24,"Let’s Go!"),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(25,"a",16),t.ɵɵtext(26),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelement(27,"section",17),t.ɵɵelementStart(28,"section",18),t.ɵɵelementStart(29,"div",14),t.ɵɵtext(30),t.ɵɵelementStart(31,"a",15),t.ɵɵtext(32,"Let’s Go!"),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementStart(33,"a",16),t.ɵɵtext(34),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵtemplate(35,mn,11,2,"div",19),t.ɵɵelementStart(36,"div",20),t.ɵɵelement(37,"section",21),t.ɵɵelementEnd(),t.ɵɵtemplate(38,fn,12,0,"div",19),t.ɵɵtemplate(39,_n,4,2,"div",22),t.ɵɵelementStart(40,"div",23),t.ɵɵtemplate(41,yn,1,9,"div",24),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵtemplate(42,bn,62,0,"ng-template",null,25,t.ɵɵtemplateRefExtractor),t.ɵɵtemplate(44,xn,52,0,"ng-template",null,26,t.ɵɵtemplateRefExtractor),t.ɵɵtemplate(46,wn,52,0,"ng-template",null,27,t.ɵɵtemplateRefExtractor),t.ɵɵelement(48,"modal-dialog",null,28)),2&e&&(t.ɵɵadvance(7),t.ɵɵtextInterpolate1(" ",n.title,""),t.ɵɵadvance(1),t.ɵɵproperty("innerHTML",n.description,t.ɵɵsanitizeHtml),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",!n.showJoin),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.showJoin),t.ɵɵadvance(2),t.ɵɵproperty("ngIf","free-credit-score"===n.pageUri),t.ɵɵadvance(1),t.ɵɵproperty("ngIf","free-credit-monitoring"===n.pageUri),t.ɵɵadvance(1),t.ɵɵproperty("ngIf","free-credit-report"===n.pageUri),t.ɵɵadvance(1),t.ɵɵproperty("id",n.pageUri),t.ɵɵadvance(1),t.ɵɵproperty("ngIf","free-credit-score"===n.pageUri),t.ɵɵadvance(1),t.ɵɵproperty("ngIf","free-credit-monitoring"===n.pageUri),t.ɵɵadvance(1),t.ɵɵproperty("ngIf","free-credit-report"===n.pageUri),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.chargesReviews&&n.chargesReviews.length),t.ɵɵadvance(3),t.ɵɵtextInterpolate1("Get Your ",n.labelUri," "),t.ɵɵadvance(1),t.ɵɵproperty("href",n.is_loggedin_fulluser?"/home/dashboard":"/join/",t.ɵɵsanitizeUrl),t.ɵɵadvance(2),t.ɵɵproperty("href",n.is_loggedin_fulluser?"/home/dashboard":"/join/",t.ɵɵsanitizeUrl),t.ɵɵadvance(1),t.ɵɵtextInterpolate1("Get Your ",n.labelUri,""),t.ɵɵadvance(1),t.ɵɵproperty("data",n.testimonials),t.ɵɵadvance(3),t.ɵɵtextInterpolate1("Get Your ",n.labelUri," "),t.ɵɵadvance(1),t.ɵɵproperty("href",n.is_loggedin_fulluser?"/home/dashboard":"/join/",t.ɵɵsanitizeUrl),t.ɵɵadvance(2),t.ɵɵproperty("href",n.is_loggedin_fulluser?"/home/dashboard":"/join",t.ɵɵsanitizeUrl),t.ɵɵadvance(1),t.ɵɵtextInterpolate1("Get Your ",n.labelUri,""),t.ɵɵadvance(1),t.ɵɵproperty("ngIf","free-credit-score"===n.pageUri),t.ɵɵadvance(2),t.ɵɵproperty("toggle-schema",!0)("type",0)("product-questions",n.qna_data)("product-referer",n.qna_uri),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",!1),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",n.show_footer),t.ɵɵadvance(2),t.ɵɵproperty("ngIf",n.has_experts))},directives:[t.NgIf,qt,bt,t.ngModalDialog,t.NgTemplateOutlet,Ot,t.TouchGestures,Gt],pipes:[En],encapsulation:2}),n}(t.RoutePage),Cn="tools-free-credit-score",qn=function(e){function n(t){var n=e.call(this,t)||this;return n._router=t,n}return __extends(n,e),n.prototype.onEnter=function(e){var n=this;return new Promise(function(e,r){t.AppData.hasGroup(n._datagroup)?e(t.AppData.group(n._datagroup)):e({})})},n}(t.RouteGuard),Tn=function(e){function n(t){var n=e.call(this,t)||this;return n._datagroup=Cn,n}return __extends(n,e),n.ɵfac=function(e){return new(e||n)(t.ɵɵinject(t.Router))},n.ɵprov=t.ɵɵdefineInjectable({token:n,factory:n.ɵfac}),n}(qn),In=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=t.ɵɵdefineNgModule({type:e}),e.ɵinj=t.ɵɵdefineInjector({providers:[Tn],imports:[[t.DirectivesModule,t.CommonModule,t.RouterModule,t.RouterModule.forChild([{path:"",pathMatch:"prefix",component:Sn,canActivate:[Tn],resolve:{data:Tn}}]),xt,Yt,Tt,t.ngModalsModule,Lt]]}),e}();e.DataGuard=qn,e.FreeCreditScoreModule=In,e.FreeCreditScorePage=Sn,e.Guard=Tn,e.SafeHtmlPipe=En,Object.defineProperty(e,"__esModule",{value:!0})});