define(["exports","./edu-vendor","./edu-main","systemjs","npm:navigo/lib/navigo.js","./ci-widget"],function(e,p,h,t,n,r){"use strict";function o(e,t){1&e&&(p.ɵɵelementStart(0,"p",5),p.ɵɵtext(1,"Enter your cell phone number and we’ll send you a link to install the WalletHub app."),p.ɵɵelementEnd())}function a(e,t){1&e&&(p.ɵɵelementStart(0,"p",6),p.ɵɵtext(1,"Failed. Please check your phone number."),p.ɵɵelementEnd())}function i(e,t){1&e&&(p.ɵɵelementStart(0,"p",7),p.ɵɵtext(1,"Awesome! You should be receiving a text with the download link shortly"),p.ɵɵelementEnd())}function s(e,t){var n;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"div",8),p.ɵɵelementStart(1,"button",9),p.ɵɵlistener("onTap",function(){return p.ɵɵrestoreView(n),p.ɵɵnextContext().closeDialog()}),p.ɵɵtext(2,"Close"),p.ɵɵelementEnd(),p.ɵɵelementEnd())}function l(e,t){var n;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"form",10),p.ɵɵlistener("onSubmit",function(){return p.ɵɵrestoreView(n),p.ɵɵnextContext().SendSms()}),p.ɵɵelementStart(1,"input",11),p.ɵɵlistener("input",function(e){return p.ɵɵrestoreView(n),p.ɵɵnextContext().phone=e.target.value}),p.ɵɵelementEnd(),p.ɵɵelementStart(2,"p",12),p.ɵɵtext(3,"Wallethub doesn’t charge for this service. Standard message rates apply."),p.ɵɵelementEnd(),p.ɵɵelement(4,"error-toast",13),p.ɵɵelementStart(5,"div",14),p.ɵɵelementStart(6,"button",15),p.ɵɵelement(7,"i",16),p.ɵɵelementStart(8,"span"),p.ɵɵtext(9,"Send Link to My Phone"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelement(10,"div",17),p.ɵɵelementStart(11,"button",18),p.ɵɵlistener("onTap",function(){return p.ɵɵrestoreView(n),p.ɵɵnextContext().closeDialog()}),p.ɵɵtext(12,"Cancel"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementEnd()),2&e&&(e=p.ɵɵnextContext(),p.ɵɵadvance(1),p.ɵɵproperty("value",e.phone),p.ɵɵadvance(3),p.ɵɵproperty("show",e.apifail)("timer",2200),p.ɵɵadvance(2),p.ɵɵclassProp("loadactive",e.sending))}var c=(d.prototype.SendSms=function(){var t=this;this.sending||h.$http({before:function(){t.sending=!0},after:function(){t.sending=!1},url:h.ajaxUrl(),data:{action:"Sms.SendAndroidLink",type:this.data.android?"android":"apple",phone:this.phone},headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(function(e){e.error&&e.failed?t.sentfailed=!0:(t.sentfailed=!1,t.sentdone=!0),t._cd.detectChanges()},function(e){t.apifail=!0,setTimeout(function(){t.apifail=!1,t._cd.detectChanges()},100)})},d.prototype.closeMe=function(){this.sending||this.closeDialog()},d.ɵfac=function(e){return new(e||d)(p.ɵɵdirectiveInject(p.ChangeDetectorRef))},d.ɵcmp=p.ɵɵdefineComponent({type:d,selectors:[["app-store"]],decls:5,vars:5,consts:[["class","semi-bold-font",4,"ngIf"],["class","semib-bol-font ng-enter-element",4,"ngIf"],["class","semi-bold-font ng-enter-element",4,"ngIf"],["class","buttons-holder-final ng-enter-element",4,"ngIf"],["form-submit","",3,"onSubmit",4,"ngIf"],[1,"semi-bold-font"],[1,"semib-bol-font","ng-enter-element"],[1,"semi-bold-font","ng-enter-element"],[1,"buttons-holder-final","ng-enter-element"],["type","button","zing-touch","",1,"btn","fixed-w-c",3,"onTap"],["form-submit","",3,"onSubmit"],["type","tel","autocomplete","off","placeholder","cell phone number",1,"textfield","full",3,"value","input"],[1,"app-store-notice"],[3,"show","timer"],[1,"buttons-holder"],["type","submit",1,"btn","with-loader"],[1,"btn-loader"],[1,"btn-spacer"],["type","button","zing-touch","",1,"btn","blue-brds","fixed-w-c","close-bt",3,"onTap"]],template:function(e,t){1&e&&(p.ɵɵtemplate(0,o,2,0,"p",0),p.ɵɵtemplate(1,a,2,0,"p",1),p.ɵɵtemplate(2,i,2,0,"p",2),p.ɵɵtemplate(3,s,3,0,"div",3),p.ɵɵtemplate(4,l,13,5,"form",4)),2&e&&(p.ɵɵproperty("ngIf",!t.sentfailed&&!t.sentdone),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",t.sentfailed),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",t.sentdone),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",t.sentdone),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",!t.sentdone))},directives:[p.NgIf,h.TouchGestures,h.FormSubmit,h.ErrorToastComponent],styles:["app-store .app-store-notice { color : #5D7279; padding-bottom: 15px }\n        app-store .textfield { margin:15px 0 }\n        app-store .buttons-holder {text-align : right}\n        app-store error-toast { display :block; position: relative; }\n        app-store error-toast .errortoast { top:-50px; bottom: auto; }\n        app-store { max-width: 430px; display:block }\n        app-store .buttons-holder-final {text-align:center; padding-top:15px}\n        @media (max-width:480px){\n            app-store { padding : 10px }\n\n        }\n        @media (max-width:390px){\n            app-store error-toast .errortoast { left: 0px }\n\n        }\n        @media (max-width:360px){\n            app-store error-toast .errortoast { left: -20px }\n            app-store .btn-spacer { height: 8px; display : block }\n            app-store .btn { width: 100% }\n            app-store .btn.fixed-w-c { width: 100% }\n        }\n        @media (max-width:340px) {\n            app-store .close-bt {\n                width: 100px;\n            }\n        }\n        \n        "],encapsulation:2}),d);function d(e){this._cd=e,this.phone=null,this.sending=!1,this.sentfailed=!1,this.sentdone=!1,this.apifail=!1}var u=["smsOverlay"],m=["toTop"],f=["main-footer",""];function g(e,t){var n;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"div",76),p.ɵɵelementStart(1,"span",77),p.ɵɵlistener("onTap",function(){return p.ɵɵrestoreView(n),p.ɵɵnextContext().openStoreOvelary(!1)}),p.ɵɵtext(2," "),p.ɵɵelementEnd(),p.ɵɵelementStart(3,"span",78),p.ɵɵlistener("onTap",function(){return p.ɵɵrestoreView(n),p.ɵɵnextContext().openStoreOvelary(!0)}),p.ɵɵtext(4," "),p.ɵɵelementEnd(),p.ɵɵelementEnd())}function _(e,t){1&e&&(p.ɵɵelementStart(0,"div",76),p.ɵɵelementStart(1,"a",79),p.ɵɵtext(2," "),p.ɵɵelementEnd(),p.ɵɵelementStart(3,"a",80),p.ɵɵtext(4," "),p.ɵɵelementEnd(),p.ɵɵelementEnd()),2&e&&(p.ɵɵadvance(1),p.ɵɵproperty("zing-url",!0),p.ɵɵadvance(2),p.ɵɵproperty("zing-url",!0))}function v(e,t){var n;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"div",81),p.ɵɵelementStart(1,"span",77),p.ɵɵlistener("onTap",function(){return p.ɵɵrestoreView(n),p.ɵɵnextContext().openStoreOvelary(!1)}),p.ɵɵtext(2," "),p.ɵɵelementEnd(),p.ɵɵelementStart(3,"span",82),p.ɵɵlistener("onTap",function(){return p.ɵɵrestoreView(n),p.ɵɵnextContext().openStoreOvelary(!0)}),p.ɵɵtext(4," "),p.ɵɵelementEnd(),p.ɵɵelementEnd())}function x(e,t){1&e&&(p.ɵɵelementStart(0,"div",83),p.ɵɵelementStart(1,"a",84),p.ɵɵtext(2," "),p.ɵɵelementEnd(),p.ɵɵelementStart(3,"a",85),p.ɵɵtext(4," "),p.ɵɵelementEnd(),p.ɵɵelementEnd()),2&e&&p.ɵɵproperty("zing-url-container",!0)}require("systemjs").import("css:/footer-web.css").then(function(){},function(){});var b=(y.prototype.trackByFn=function(e){return e},y.prototype.ScrollToTop=function(){this._dservice.element.focus(),this._dservice.scrollTo({position:0,timing:300}),setTimeout(function(){h.$http({method:"GET",events:!1,url:h.baseUrl()+"/gototop.png",expectedType:"text",silent:!0})},300)},y.prototype.openStoreOvelary=function(e){!h.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(c,{android:e})},y.prototype.ngOnInit=function(){this.isWeb&&(this.feedbackUrl="/feedback/?ref="+window.location.pathname)},y.prototype.openFeedbackPage=function(e){return e.stopPropagation(),e.preventDefault(),window.open("/feedback/?ref="+window.location.pathname,"_parent"),!1},y.prototype.ngAfterViewInit=function(){var t,n,r=this;this.isWeb&&!window.JSTESTING&&(t=this._arrowTop.nativeElement,h.AppContainer().appendChild(t),this._headpos=this._dservice.onScroll.subscribe(function(e){r._arrowautoshow&&h.reqAnimationFrame(function(){!t.classList.contains("show")&&1800<=e?t.classList.add("show"):t.classList.contains("show")&&e<1800&&t.classList.remove("show")})}),n=!1,h.Events.subscribe("to-top-arrow:show",function(e){(r._arrowautoshow=e)?n&&r._dservice.onScroll.pipe(p.take(1)).subscribe(function(e){!t.classList.contains("show")&&1800<=e&&t.classList.add("show")}):t.classList.contains("show")&&(t.classList.remove("show"),n=!0)}))},y.prototype.ngOnDestroy=function(){this._headpos&&this._headpos.unsubscribe(),h.Events.terminate("to-top-arrow:show")},y.ɵfac=function(e){return new(e||y)(p.ɵɵdirectiveInject(h.ScrollerService),p.ɵɵdirectiveInject(p.ElementRef))},y.ɵcmp=p.ɵɵdefineComponent({type:y,selectors:[["footer","main-footer",""]],viewQuery:function(e,t){1&e&&(p.ɵɵviewQuery(u,5),p.ɵɵviewQuery(m,5)),2&e&&(e=void 0,p.ɵɵqueryRefresh(e=p.ɵɵloadQuery())&&(t._smsOverlay=e.first),p.ɵɵqueryRefresh(e=p.ɵɵloadQuery())&&(t._arrowTop=e.first))},attrs:f,decls:265,vars:12,consts:[["zing-touch","","aria-label","Footer Main Menu",1,"main",3,"zing-url-container"],[1,"label"],["href","/about/"],["href","/media/"],["href","/jobs/"],["href","/contact/"],["href","/edu/statistics"],["href","/add-listing/"],["href","/answers/#sp=597"],["rel","nofollow","zing-touch","",3,"href","zing-url","onTap"],["href","/community/guidelines/"],["href","/terms/privacy/"],["href","/terms/"],["href","/accessibility"],["href","/pi-request?dontsell=1"],["href","/credit-cards/0-apr/"],["href","/credit-cards/balance-transfer/"],["href","/credit-cards/low-interest/"],["href","/best-credit-card-rates"],["href","/best-cash-back-credit-card"],["href","/credit-cards/gas/"],["href","/credit-cards/airline-miles/"],["href","/credit-cards/hotel/"],["href","/credit-cards/rewards/"],["href","/best-business-credit-card"],["href","/credit-cards/no-credit-student/"],["href","/best-credit-cards"],["href","/credit-cards/store/"],["href","/credit-cards/charge-cards/"],["href","/credit-cards/emv/"],["href","/credit-cards/no-foreign-transaction-fee/"],["href","/best-credit-card-deals"],["href","/credit-cards/no-annual-fee/"],["href","/credit-cards/secured/"],["href","/credit-cards/unsecured/"],["href","/credit-cards/excellent-credit/"],["href","/credit-cards/good-credit/"],["href","/credit-cards/fair-credit/"],["href","/credit-cards/bad-credit/"],["href","/credit-cards/no-credit/"],["href","/free-credit-score"],["href","/free-credit-report"],["href","/free-credit-monitoring"],["href","/wallet-literacy-score/"],["href","/credit-score-range/"],["href","/awards/"],["href","/local-financial-products/"],["href","/product-directory/"],["href","/search-directory/"],["href","/banks"],["href","/credit-unions"],["href","/mortgage-brokers"],["href","/real-estate-agents"],["href","/insurance-agents"],["href","/insurance-companies"],["href","/attorneys"],["class","mobileButtons top-mb-score-bts",4,"ngIf"],["zing-touch","","aria-label","Footer First Menu",1,"small",3,"zing-url-container"],["href","/credit-cards/"],["zing-touch","","aria-label","Footer Second Menu",1,"second-small",3,"zing-url-container"],["class","mobileButtons",4,"ngIf"],["class","mobileButtons","zing-touch","",3,"zing-url-container",4,"ngIf"],["aria-label","Copyright"],["tabindex","0","role","text"],["src","/sid.php","alt","",2,"position","absolute","visibility","hidden","bottom","0"],["id","footer_cta"],[1,"big-content"],[1,"cta_arrow"],[1,"small-content"],[1,"small-mobile-content"],[1,"main-content"],[1,"center"],["onclick","location.href='/join/';",1,"join_for_free"],["smsOverlay",""],["id","global-arrow-up","zing-touch","","role","button","tabindex","0","aria-label","Go to the top",3,"onTap"],["toTop",""],[1,"mobileButtons","top-mb-score-bts"],["zing-touch","","role","link","aria-label","get on the app store","tabindex","0",1,"store-link","appleStore",3,"onTap"],["zing-touch","","role","link","aria-label","get on the google play","tabindex","0",1,"store-link","googlePlay",3,"onTap"],["zing-touch","","href","https://itunes.apple.com/us/app/wallethub-free-credit-report/id1110552982?mt=8","target","_blank","rel","noopener","title","get on the app store",1,"store-link","appleStore",3,"zing-url"],["zing-touch","","href","https://play.google.com/store/apps/details?id=com.wallethub.mywallet","target","_blank","rel","noopener","title","get on the google play",1,"store-link","googlePlay",3,"zing-url"],[1,"mobileButtons"],["zing-touch","","role","link","aria-label","get get on the google play","tabindex","0",1,"store-link","googlePlay",3,"onTap"],["zing-touch","",1,"mobileButtons",3,"zing-url-container"],["href","https://itunes.apple.com/us/app/wallethub-free-credit-report/id1110552982?mt=8","target","_blank","rel","noopener","title","get on the app store","aria-label","get on the app store",1,"store-link","appleStore"],["href","https://play.google.com/store/apps/details?id=com.wallethub.mywallet","target","_blank","rel","noopener","title","get on the google play","aria-label","get on the google play",1,"store-link","googlePlay"]],template:function(e,t){1&e&&(p.ɵɵelementStart(0,"nav",0),p.ɵɵelementStart(1,"ul"),p.ɵɵelementStart(2,"li",1),p.ɵɵtext(3,"About"),p.ɵɵelementEnd(),p.ɵɵelementStart(4,"li"),p.ɵɵelementStart(5,"a",2),p.ɵɵtext(6,"About Us"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(7,"li"),p.ɵɵelementStart(8,"a",3),p.ɵɵtext(9,"Media"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(10,"li"),p.ɵɵelementStart(11,"a",4),p.ɵɵtext(12,"Jobs"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(13,"li"),p.ɵɵelementStart(14,"a",5),p.ɵɵtext(15,"Contact Us"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(16,"li"),p.ɵɵelementStart(17,"a",6),p.ɵɵtext(18,"Studies & Reports"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(19,"li"),p.ɵɵelementStart(20,"a",7),p.ɵɵtext(21,"Businesses"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(22,"li",1),p.ɵɵtext(23,"Help & Legal"),p.ɵɵelementEnd(),p.ɵɵelementStart(24,"li"),p.ɵɵelementStart(25,"a",8),p.ɵɵtext(26,"FAQ"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(27,"li"),p.ɵɵelementStart(28,"a",9),p.ɵɵlistener("onTap",function(e){return t.openFeedbackPage(e)}),p.ɵɵtext(29,"Feedback"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(30,"li"),p.ɵɵelementStart(31,"a",10),p.ɵɵtext(32,"Guidelines"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(33,"li"),p.ɵɵelementStart(34,"a",11),p.ɵɵtext(35,"Privacy"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(36,"li"),p.ɵɵelementStart(37,"a",12),p.ɵɵtext(38,"Terms"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(39,"li"),p.ɵɵelementStart(40,"a",13),p.ɵɵtext(41,"Accessibility"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(42,"li"),p.ɵɵelementStart(43,"a",14),p.ɵɵtext(44,"Do Not Sell My"),p.ɵɵelement(45,"br"),p.ɵɵtext(46,"Personal Information"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(47,"ul"),p.ɵɵelementStart(48,"li",1),p.ɵɵtext(49,"Credit Card Rates"),p.ɵɵelementEnd(),p.ɵɵelementStart(50,"li"),p.ɵɵelementStart(51,"a",15),p.ɵɵtext(52,"0% APR"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(53,"li"),p.ɵɵelementStart(54,"a",16),p.ɵɵtext(55,"Balance Transfer"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(56,"li"),p.ɵɵelementStart(57,"a",17),p.ɵɵtext(58,"Low Interest"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(59,"li"),p.ɵɵelementStart(60,"a",18),p.ɵɵtext(61,"Best Rates"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(62,"li",1),p.ɵɵtext(63,"Credit Card Rewards"),p.ɵɵelementEnd(),p.ɵɵelementStart(64,"li"),p.ɵɵelementStart(65,"a",19),p.ɵɵtext(66,"Cash Back"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(67,"li"),p.ɵɵelementStart(68,"a",20),p.ɵɵtext(69,"Gas"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(70,"li"),p.ɵɵelementStart(71,"a",21),p.ɵɵtext(72,"Airline"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(73,"li"),p.ɵɵelementStart(74,"a",22),p.ɵɵtext(75,"Hotel"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(76,"li"),p.ɵɵelementStart(77,"a",23),p.ɵɵtext(78,"All Rewards"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(79,"ul"),p.ɵɵelementStart(80,"li",1),p.ɵɵtext(81,"Credit Card Types"),p.ɵɵelementEnd(),p.ɵɵelementStart(82,"li"),p.ɵɵelementStart(83,"a",24),p.ɵɵtext(84,"Business"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(85,"li"),p.ɵɵelementStart(86,"a",25),p.ɵɵtext(87,"Student"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(88,"li"),p.ɵɵelementStart(89,"a",26),p.ɵɵtext(90,"Editors Best"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(91,"li"),p.ɵɵelementStart(92,"a",27),p.ɵɵtext(93,"Store Cards"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(94,"li"),p.ɵɵelementStart(95,"a",28),p.ɵɵtext(96,"Charge Cards"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(97,"li"),p.ɵɵelementStart(98,"a",29),p.ɵɵtext(99,"Smart Chip"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(100,"li"),p.ɵɵelementStart(101,"a",30),p.ɵɵtext(102,"No Foreign Fee"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(103,"li"),p.ɵɵelementStart(104,"a",31),p.ɵɵtext(105,"Credit Card Deals"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(106,"li"),p.ɵɵelementStart(107,"a",32),p.ɵɵtext(108,"No Annual Fee"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(109,"li"),p.ɵɵelementStart(110,"a",33),p.ɵɵtext(111,"Secured Cards"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(112,"li"),p.ɵɵelementStart(113,"a",34),p.ɵɵtext(114,"Unsecured Cards"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(115,"ul"),p.ɵɵelementStart(116,"li",1),p.ɵɵtext(117,"Cards by Credit Score"),p.ɵɵelementEnd(),p.ɵɵelementStart(118,"li"),p.ɵɵelementStart(119,"a",35),p.ɵɵtext(120,"Excellent Credit"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(121,"li"),p.ɵɵelementStart(122,"a",36),p.ɵɵtext(123,"Good Credit"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(124,"li"),p.ɵɵelementStart(125,"a",37),p.ɵɵtext(126,"Fair Credit"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(127,"li"),p.ɵɵelementStart(128,"a",38),p.ɵɵtext(129,"Bad Credit"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(130,"li"),p.ɵɵelementStart(131,"a",39),p.ɵɵtext(132,"No Credit"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(133,"li",1),p.ɵɵtext(134,"Credit Tools"),p.ɵɵelementEnd(),p.ɵɵelementStart(135,"li"),p.ɵɵelementStart(136,"a",40),p.ɵɵtext(137,"Free Credit Score"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(138,"li"),p.ɵɵelementStart(139,"a",41),p.ɵɵtext(140,"Free Credit Report"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(141,"li"),p.ɵɵelementStart(142,"a",42),p.ɵɵtext(143,"Free Credit Monitoring"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(144,"li"),p.ɵɵelementStart(145,"a",43),p.ɵɵtext(146,"WalletLiteracy Score"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(147,"li"),p.ɵɵelementStart(148,"a",44),p.ɵɵtext(149,"Credit Score Range"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(150,"ul"),p.ɵɵelementStart(151,"li",1),p.ɵɵtext(152,"Financial Directories"),p.ɵɵelementEnd(),p.ɵɵelementStart(153,"li"),p.ɵɵelementStart(154,"a",45),p.ɵɵtext(155,"WalletHub Awards"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(156,"li"),p.ɵɵelementStart(157,"a",46),p.ɵɵtext(158,"Nearby Providers"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(159,"li"),p.ɵɵelementStart(160,"a",47),p.ɵɵtext(161,"Popular Products"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(162,"li"),p.ɵɵelementStart(163,"a",48),p.ɵɵtext(164,"Popular Searches"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(165,"li"),p.ɵɵelementStart(166,"a",49),p.ɵɵtext(167,"Banks"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(168,"li"),p.ɵɵelementStart(169,"a",50),p.ɵɵtext(170,"Credit Unions"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(171,"li"),p.ɵɵelementStart(172,"a",51),p.ɵɵtext(173,"Mortgage Brokers"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(174,"li"),p.ɵɵelementStart(175,"a",52),p.ɵɵtext(176,"Real Estate Agents"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(177,"li"),p.ɵɵelementStart(178,"a",53),p.ɵɵtext(179,"Insurance Agents"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(180,"li"),p.ɵɵelementStart(181,"a",54),p.ɵɵtext(182,"Insurance Companies"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(183,"li"),p.ɵɵelementStart(184,"a",55),p.ɵɵtext(185,"Attorneys"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵtemplate(186,g,5,0,"div",56),p.ɵɵtemplate(187,_,5,2,"div",56),p.ɵɵelementStart(188,"nav",57),p.ɵɵelementStart(189,"div"),p.ɵɵelementStart(190,"a",2),p.ɵɵtext(191,"About"),p.ɵɵelementEnd(),p.ɵɵelementStart(192,"a",3),p.ɵɵtext(193,"Media"),p.ɵɵelementEnd(),p.ɵɵelementStart(194,"a",5),p.ɵɵtext(195,"Contact Us"),p.ɵɵelementEnd(),p.ɵɵelementStart(196,"a",4),p.ɵɵtext(197,"Jobs"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(198,"div"),p.ɵɵelementStart(199,"a",58),p.ɵɵtext(200,"Credit Cards"),p.ɵɵelementEnd(),p.ɵɵelementStart(201,"a",6),p.ɵɵtext(202,"Studies"),p.ɵɵelementEnd(),p.ɵɵelementStart(203,"a",40),p.ɵɵtext(204,"Credit Score"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(205,"nav",59),p.ɵɵelementStart(206,"div"),p.ɵɵelementStart(207,"a",11),p.ɵɵtext(208,"Privacy Policy"),p.ɵɵelementEnd(),p.ɵɵelementStart(209,"a",12),p.ɵɵtext(210,"Terms"),p.ɵɵelementEnd(),p.ɵɵelementStart(211,"a",10),p.ɵɵtext(212,"Guidelines"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(213,"div"),p.ɵɵelementStart(214,"a",14),p.ɵɵtext(215,"Do Not Sell My Personal Information"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(216,"div"),p.ɵɵelementStart(217,"a",9),p.ɵɵlistener("onTap",function(e){return t.openFeedbackPage(e)}),p.ɵɵtext(218,"Feedback"),p.ɵɵelementEnd(),p.ɵɵelementStart(219,"a",13),p.ɵɵtext(220,"Accessibility"),p.ɵɵelementEnd(),p.ɵɵelementStart(221,"a",7),p.ɵɵtext(222,"Businesses"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵtemplate(223,v,5,0,"div",60),p.ɵɵtemplate(224,x,5,1,"div",61),p.ɵɵelementStart(225,"aside",62),p.ɵɵelementStart(226,"div",63),p.ɵɵtext(227),p.ɵɵelementStart(228,"span"),p.ɵɵtext(229,"All Rights Reserved."),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelement(230,"img",64),p.ɵɵelementStart(231,"div",65),p.ɵɵelementStart(232,"span",66),p.ɵɵtext(233,"Get unlimited free credit scores & reports "),p.ɵɵelement(234,"span",67),p.ɵɵelementEnd(),p.ɵɵelementStart(235,"span",68),p.ɵɵtext(236,"Sign up for free credit monitoring "),p.ɵɵelement(237,"span",67),p.ɵɵelementEnd(),p.ɵɵelementStart(238,"span",69),p.ɵɵtext(239,"get your free credit score & report "),p.ɵɵelement(240,"span",67),p.ɵɵelementEnd(),p.ɵɵelementStart(241,"div",70),p.ɵɵelementStart(242,"h3"),p.ɵɵtext(243,"Join WalletHub"),p.ɵɵelementEnd(),p.ɵɵelementStart(244,"p"),p.ɵɵtext(245,"+ 100% Free"),p.ɵɵelementEnd(),p.ɵɵelementStart(246,"p"),p.ɵɵtext(247,"+ Unlimited Credit Reports"),p.ɵɵelementEnd(),p.ɵɵelementStart(248,"p"),p.ɵɵtext(249,"+ Unlimited Credit Scores"),p.ɵɵelementEnd(),p.ɵɵelementStart(250,"p"),p.ɵɵtext(251,"+ Credit Monitoring Protection"),p.ɵɵelementEnd(),p.ɵɵelementStart(252,"p"),p.ɵɵtext(253,"+ Credit Improvement Tips"),p.ɵɵelementEnd(),p.ɵɵelementStart(254,"p"),p.ɵɵtext(255,"+ Automatically Finds Savings"),p.ɵɵelementEnd(),p.ɵɵelementStart(256,"div",71),p.ɵɵelementStart(257,"button",72),p.ɵɵtext(258,"JOIN FOR FREE"),p.ɵɵelementEnd(),p.ɵɵelementStart(259,"p"),p.ɵɵtext(260,"No credit card needed"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelement(261,"modal-dialog",null,73),p.ɵɵelementStart(263,"div",74,75),p.ɵɵlistener("onTap",function(){return t.ScrollToTop()}),p.ɵɵelementEnd()),2&e&&(p.ɵɵproperty("zing-url-container",!0),p.ɵɵadvance(28),p.ɵɵproperty("href",t.feedbackUrl,p.ɵɵsanitizeUrl)("zing-url",!1),p.ɵɵadvance(158),p.ɵɵproperty("ngIf",t.isWeb),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",!t.isWeb),p.ɵɵadvance(1),p.ɵɵproperty("zing-url-container",!0),p.ɵɵadvance(17),p.ɵɵproperty("zing-url-container",!0),p.ɵɵadvance(12),p.ɵɵproperty("href",t.feedbackUrl,p.ɵɵsanitizeUrl)("zing-url",!1),p.ɵɵadvance(6),p.ɵɵproperty("ngIf",t.isWeb),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",!t.isWeb),p.ɵɵadvance(3),p.ɵɵtextInterpolate1(" © ",t.copyrightyear," Evolution Finance, Inc. "))},directives:[h.TouchGestures,p.NgIf,h.ngModalDialog],encapsulation:2,changeDetection:0}),y);function y(e,t){this._dservice=e,this._el=t,this.copyrightyear=h.isNode()?"":(new Date).getFullYear(),this.isWeb=!h.isNode(),this.feedbackUrl="/feedback/",this._arrowautoshow=!0,h.Events.keepValueFor("to-top-arrow:show"),h.Events.emit("to-top-arrow:show",!0)}var w=(E.ɵfac=function(e){return new(e||E)},E.ɵmod=p.ɵɵdefineNgModule({type:E}),E.ɵinj=p.ɵɵdefineInjector({imports:[[h.DirectivesModule,p.CommonModule,h.ngModalsModule,h.ErrorsModule,h.FormSubmitModule]]}),E);function E(){}function S(){this.queryParams=new p.Observable(function(t){var e=T.subscribe(function(e){e&&t.next(h.objectFromParam(e.query))});return{unsubscribe:function(){e.unsubscribe()}}}),this.fragment=new p.Observable(function(t){var e=location.hash;t.next(e);function n(e){t.next(location.hash)}return window.addEventListener("hashchange",n),{unsubscribe:function(){window.removeEventListener("hashchange",n)}}})}var q=require("npm:navigo/lib/navigo.js"),C=[],T=new p.BehaviorSubject(null),k=(I.forRoot=function(e){C=C.concat(e)},I.ɵfac=function(e){return new(e||I)},I.ɵmod=p.ɵɵdefineNgModule({type:I}),I.ɵinj=p.ɵɵdefineInjector({providers:[S],imports:[[p.CommonModule]]}),I);function I(){var e=document.querySelector("head base"),n=new q(location.origin+e.getAttribute("href")||"");n.hooks({after:function(){var e=n.lastResolved();h.arrayForEach(e,function(e){T.next({url:e.url,params:e.params,query:e.queryString})})}}),C.forEach(function(e){var t;e.path&&(t=e.path,"prefix"==e.pathMatch&&(t+="/*"),n.on(t,function(){}))}),n.on(function(e){}),n.resolve()}var A,z,M="function"==typeof Map?new Map:(A=[],z=[],{has:function(e){return-1<A.indexOf(e)},get:function(e){return z[A.indexOf(e)]},set:function(e,t){-1===A.indexOf(e)&&(A.push(e),z.push(t))},delete:function(e){e=A.indexOf(e);-1<e&&(A.splice(e,1),z.splice(e,1))}}),L=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){L=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function O(o){var n,r,a,e,i,t;function s(e){var t=o.style.width;o.style.width="0px",o.offsetWidth,o.style.width=t,o.style.overflowY=e}function l(){var e,t;0!==o.scrollHeight&&(e=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}(o),t=document.documentElement&&document.documentElement.scrollTop,o.style.height="",o.style.height=o.scrollHeight+n+"px",r=o.clientWidth,e.forEach(function(e){e.node.scrollTop=e.scrollTop}),t&&(document.documentElement.scrollTop=t))}function c(){l();var e=Math.round(parseFloat(o.style.height)),t=window.getComputedStyle(o,null),n="content-box"===t.boxSizing?Math.round(parseFloat(t.height)):o.offsetHeight;if(n<e?"hidden"===t.overflowY&&(s("scroll"),l(),n="content-box"===t.boxSizing?Math.round(parseFloat(window.getComputedStyle(o,null).height)):o.offsetHeight):"hidden"!==t.overflowY&&(s("hidden"),l(),n="content-box"===t.boxSizing?Math.round(parseFloat(window.getComputedStyle(o,null).height)):o.offsetHeight),a!==n){a=n;var r=L("autosize:resized");try{o.dispatchEvent(r)}catch(e){}}}o&&o.nodeName&&"TEXTAREA"===o.nodeName&&!M.has(o)&&(a=r=n=null,e=function(){o.clientWidth!==r&&c()},i=function(t){window.removeEventListener("resize",e,!1),o.removeEventListener("input",c,!1),o.removeEventListener("keyup",c,!1),o.removeEventListener("autosize:destroy",i,!1),o.removeEventListener("autosize:update",c,!1),Object.keys(t).forEach(function(e){o.style[e]=t[e]}),M.delete(o)}.bind(o,{height:o.style.height,resize:o.style.resize,overflowY:o.style.overflowY,overflowX:o.style.overflowX,wordWrap:o.style.wordWrap}),o.addEventListener("autosize:destroy",i,!1),"onpropertychange"in o&&"oninput"in o&&o.addEventListener("keyup",c,!1),window.addEventListener("resize",e,!1),o.addEventListener("input",c,!1),o.addEventListener("autosize:update",c,!1),o.style.overflowX="hidden",o.style.wordWrap="break-word",M.set(o,{destroy:i,update:c}),"vertical"===(t=window.getComputedStyle(o,null)).resize?o.style.resize="none":"both"===t.resize&&(o.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 j(e){e=M.get(e);e&&e.destroy()}function N(e){e=M.get(e);e&&e.update()}var F=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((F=function(e){return e}).destroy=function(e){return e},F.update=function(e){return e}):((F=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],O),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],j),e},F.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],N),e});var P=F,H=Object.freeze({__proto__:null,default:P}),R=(Object.defineProperty(V.prototype,"updateAutoSize",{get:function(){return!1},set:function(e){var t=this;h.isNode()||this._zone.runOutsideAngular(function(){1==e&&h.reqAnimationFrame(function(){t._autosize.then(function(e){e.update(t._el.nativeElement)})})})},enumerable:!1,configurable:!0}),V.prototype.fireResize=function(){this.onResized.emit()},V.prototype._windowResize=function(){var e=this;this._resize&&this._zone.runOutsideAngular(function(){h.reqAnimationFrame(function(){e._autosize&&e._autosize.update(e._el.nativeElement)})})},V.prototype.ngOnInit=function(){this.fireResize=this.fireResize.bind(this),this._windowResize=this._windowResize.bind(this),h.isNode()||window.addEventListener("resize",this._windowResize)},V.prototype.ngAfterViewInit=function(){var t=this;!h.isNode()&&this._el.nativeElement&&this._zone.runOutsideAngular(function(){var e=P||H;e(t._el.nativeElement),t._el.nativeElement.addEventListener("autosize:resized",t.fireResize),t._autosize=e})},V.prototype.ngOnDestroy=function(){h.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))},V.ɵfac=function(e){return new(e||V)(p.ɵɵdirectiveInject(p.ElementRef),p.ɵɵdirectiveInject(p.NgZone))},V.ɵdir=p.ɵɵdefineDirective({type:V,selectors:[["","ng-autosize",""]],inputs:{updateAutoSize:["sizeupdate","updateAutoSize"],_resize:["watchresize","_resize"]},outputs:{onResized:"onResized"}}),V);function V(e,t){this._el=e,this._zone=t,this._resize=!1,this.onResized=new p.EventEmitter}var D=($.ɵfac=function(e){return new(e||$)},$.ɵmod=p.ɵɵdefineNgModule({type:$}),$.ɵinj=p.ɵɵdefineInjector({imports:[[p.CommonModule]]}),$);function $(){}var B=["textarea"];function Q(e,t){1&e&&(p.ɵɵelementStart(0,"div",4),p.ɵɵelement(1,"i"),p.ɵɵelementEnd())}var U=require("systemjs"),G=!1,W=h.isWeb()&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,Y=(Object.defineProperty(J.prototype,"value",{get:function(){return this._value.getValue()},set:function(e){this._value.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(J.prototype,"active",{get:function(){return this._active.getValue()},set:function(e){this._active.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(J.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(J.prototype,"autofocus",{get:function(){return this._autofocus},set:function(e){(this._autofocus=e)&&this._container&&this._container.nativeElement.focus()},enumerable:!1,configurable:!0}),J.prototype.StartCkeditor=function(){var r=this;U.import("ckeditor5/build/ckeditor.js").then(function(e){e.create(r._container.nativeElement,r.options).then(function(t){var n;r._enabled=!0,r._editor=t,r._cd.detectChanges(),t.model.document.on("change:data",function(e){n=t.getData(),r.valueChange.emit(n)}),r._editorsubs=r._value.subscribe(function(e){n!==e&&t.setData(e)}),r.autofocus&&(t.editing.view.focus(),W||setTimeout(function(){var e=r._el.nativeElement;r._service.scrollTo({target:e,inview:!0})},100)),r.editorInitiated.emit(!0),G=!0},function(){throw r.editorInitiated.emit(!1),Error("Cannot instance the ckeditor")})},function(){throw r.editorInitiated.emit(!1),Error("Cannot load the ckeditor")})},J.prototype.EndCkeditor=function(){this._enabled=!1,this._editor&&(this._editor.destroy(),this._editor=null,this._editorsubs.unsubscribe())},J.prototype.ngOnInit=function(){var t=this,e=this._active.subscribe(function(e){e&&!t._enabled?setTimeout(function(){h.reqAnimationFrame(function(){t.StartCkeditor()})}):t._enabled&&t.EndCkeditor()},function(){},function(){e&&e.unsubscribe()});this.editorInitiated.subscribe(function(){t.editor_init=!0})},J.prototype.ngOnDestroy=function(){this._active.complete(),this._value.complete(),this.EndCkeditor()},J.ɵfac=function(e){return new(e||J)(p.ɵɵdirectiveInject(p.ElementRef),p.ɵɵdirectiveInject(p.ChangeDetectorRef),p.ɵɵdirectiveInject(h.ScrollerService))},J.ɵcmp=p.ɵɵdefineComponent({type:J,selectors:[["ck-editor"]],viewQuery:function(e,t){1&e&&p.ɵɵviewQuery(B,7),2&e&&(e=void 0,p.ɵɵqueryRefresh(e=p.ɵɵloadQuery())&&(t._container=e.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,t){1&e&&(p.ɵɵelement(0,"div",0),p.ɵɵelement(1,"textarea",1,2),p.ɵɵtemplate(3,Q,2,0,"div",3)),2&e&&(p.ɵɵadvance(1),p.ɵɵproperty("value",t.value),p.ɵɵadvance(2),p.ɵɵproperty("ngIf",!t.editor_init))},directives:[p.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}),J);function J(e,t,n){this._el=e,this._cd=t,this._service=n,this._destroyed=!0,this.ckeditorLoaded=!0,this.ckelementid=h.uniqid(),this._value=new p.BehaviorSubject(null),this.valueChange=new p.EventEmitter,this._active=new p.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 p.EventEmitter,this.editor_init=G}var X=(Z.ɵfac=function(e){return new(e||Z)},Z.ɵmod=p.ɵɵdefineNgModule({type:Z}),Z.ɵinj=p.ɵɵdefineInjector({imports:[[p.CommonModule,h.DirectivesModule]]}),Z);function Z(){}var K=(Object.defineProperty(ee.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}),ee.prototype.onError=function(e){!h.isNode()&&e&&(e=this._el.nativeElement,this.fallback&&e.src!=this.fallback?(e.src=this.fallback,e.style.display=""):e.style.display="none",this.onImageFailed.emit(!0))},ee.prototype.ngOnInit=function(){h.isNode()||(this.onError=this.onError.bind(this),this._el.nativeElement.addEventListener("error",this.onError))},ee.prototype.ngOnDestroy=function(){h.isNode()||this._el.nativeElement.removeEventListener("error",this.onError)},ee.ɵfac=function(e){return new(e||ee)(p.ɵɵdirectiveInject(p.ElementRef),p.ɵɵdirectiveInject(p.Renderer2))},ee.ɵdir=p.ɵɵdefineDirective({type:ee,selectors:[["","on-img-error",""]],inputs:{fallback:["on-img-error","fallback"],src:"src"},outputs:{onImageFailed:"image-failed"}}),ee);function ee(e,t){this._el=e,this._renderer=t,this.onImageFailed=new p.EventEmitter}var te=(ne.ɵfac=function(e){return new(e||ne)},ne.ɵmod=p.ɵɵdefineNgModule({type:ne}),ne.ɵinj=p.ɵɵdefineInjector({imports:[[p.CommonModule]]}),ne);function ne(){}var re=["img-placeholder",""];oe.ɵfac=function(e){return new(e||oe)},oe.ɵcmp=p.ɵɵdefineComponent({type:oe,selectors:[["","img-placeholder",""]],inputs:{src:"src",itemprop:"itemprop",alt:"alt",classes:"classes"},attrs:re,decls:3,vars:5,consts:[[3,"defer-src","ui-hydrate"],[3,"ngClass","alt"],["deferImg",""]],template:function(e,t){1&e&&(p.ɵɵelementStart(0,"div",0),p.ɵɵelement(1,"img",1,2),p.ɵɵelementEnd()),2&e&&(p.ɵɵproperty("defer-src",t.src)("ui-hydrate",!0),p.ɵɵadvance(1),p.ɵɵproperty("ngClass",t.classes)("alt",t.alt),p.ɵɵattribute("itemprop",t.itemprop))},directives:[h.ImageLoader,p.NgClass],encapsulation:2});function oe(){this.itemprop="",this.classes=[]}ae.ɵfac=function(e){return new(e||ae)},ae.ɵmod=p.ɵɵdefineNgModule({type:ae}),ae.ɵinj=p.ɵɵdefineInjector({imports:[[p.CommonModule,h.ImageLoaderModule]]});function ae(){}function ie(e,t){1&e&&(p.ɵɵelementStart(0,"h2",11),p.ɵɵtext(1,"Thank you"),p.ɵɵelementEnd()),2&e&&p.ɵɵproperty("focus-when",!0)}function se(e,t){1&e&&(p.ɵɵelementStart(0,"h2",11),p.ɵɵtext(1,"Please provide your email in order to receive answers"),p.ɵɵelementEnd()),2&e&&p.ɵɵproperty("focus-when",!0)}function le(e,t){var n;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"div",12),p.ɵɵelementStart(1,"span",13),p.ɵɵtext(2),p.ɵɵelementEnd(),p.ɵɵelementStart(3,"textarea",14),p.ɵɵlistener("input",function(e){return p.ɵɵrestoreView(n),p.ɵɵnextContext().SetInput(e)}),p.ɵɵelementEnd(),p.ɵɵelementEnd()),2&e&&(e=p.ɵɵnextContext(),p.ɵɵadvance(1),p.ɵɵclassProp("ques-ov-cred",e.input_chars_left<0),p.ɵɵadvance(1),p.ɵɵtextInterpolate(e.input_chars_left),p.ɵɵadvance(1),p.ɵɵproperty("value",e.input_value)("readonly",e.submiting))}function ce(e,t){var n;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"div",12),p.ɵɵelementStart(1,"textarea",15),p.ɵɵlistener("input",function(e){return p.ɵɵrestoreView(n),p.ɵɵnextContext().input_value_extra=e.target.value}),p.ɵɵelementEnd(),p.ɵɵelementEnd()),2&e&&(e=p.ɵɵnextContext(),p.ɵɵadvance(1),p.ɵɵproperty("value",e.input_value_extra)("readonly",e.submiting))}function de(e,t){var n;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"div",12),p.ɵɵelementStart(1,"ng-dropdown",16),p.ɵɵlistener("selected",function(e){return p.ɵɵrestoreView(n),p.ɵɵnextContext().SetCategory(e)}),p.ɵɵelementEnd(),p.ɵɵelementEnd()),2&e&&(e=p.ɵɵnextContext(),p.ɵɵadvance(1),p.ɵɵproperty("invalid",e.categoryerror)("items",e.categories)("second",!0)("value",e.category))}function ue(e,t){1&e&&p.ɵɵelement(0,"div",17),2&e&&(e=p.ɵɵnextContext(),p.ɵɵproperty("innerHTML",e.ajax_message,p.ɵɵsanitizeHtml)("zing-url-container",!0))}function pe(e,t){var n;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"button",18),p.ɵɵlistener("onTap",function(){return p.ɵɵrestoreView(n),p.ɵɵnextContext().Submit()}),p.ɵɵtext(1," Next "),p.ɵɵelement(2,"i",19),p.ɵɵelementEnd()),2&e&&(e=p.ɵɵnextContext(),p.ɵɵclassProp("loadactive",e.submiting),p.ɵɵproperty("disabled",e.submiting))}function he(e,t){1&e&&(p.ɵɵelementStart(0,"div",20),p.ɵɵtext(1,"Your question has been submitted to our moderators for review. We will send you an email once your question has been approved."),p.ɵɵelementEnd())}function me(e,t){1&e&&p.ɵɵelement(0,"br")}function fe(e,t){1&e&&p.ɵɵelement(0,"div",17),2&e&&(e=p.ɵɵnextContext(2),p.ɵɵproperty("innerHTML",e.ajax_message,p.ɵɵsanitizeHtml)("zing-url-container",!0))}function ge(e,t){1&e&&p.ɵɵelement(0,"br")}function _e(e,t){var n;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"div",21),p.ɵɵelementStart(1,"button",22),p.ɵɵlistener("onTap",function(){return p.ɵɵrestoreView(n),p.ɵɵnextContext().Back()}),p.ɵɵtext(2,"Back"),p.ɵɵelementEnd(),p.ɵɵelementStart(3,"button",23),p.ɵɵlistener("onTap",function(){return p.ɵɵrestoreView(n),p.ɵɵnextContext().GuestSubmit()}),p.ɵɵelement(4,"i",24),p.ɵɵelementStart(5,"span",25),p.ɵɵtext(6,"Login to Wallethub"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(7,"div",26),p.ɵɵtext(8,"or"),p.ɵɵelementEnd(),p.ɵɵelementStart(9,"input",27),p.ɵɵlistener("input",function(e){p.ɵɵrestoreView(n);var t=p.ɵɵnextContext();return t.user_email=e.target.value,t.show_ajax_error=!1}),p.ɵɵelementEnd(),p.ɵɵtemplate(10,me,1,0,"br",28),p.ɵɵtemplate(11,fe,1,2,"div",7),p.ɵɵtemplate(12,ge,1,0,"br",28),p.ɵɵelementStart(13,"button",29),p.ɵɵlistener("onTap",function(){return p.ɵɵrestoreView(n),p.ɵɵnextContext().GuestSubmit()}),p.ɵɵtext(14," Submit "),p.ɵɵelement(15,"i",30),p.ɵɵelementEnd(),p.ɵɵelementEnd()),2&e&&(e=p.ɵɵnextContext(),p.ɵɵadvance(9),p.ɵɵproperty("value",e.user_email),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",!e.show_ajax_error),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",e.show_ajax_error),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",!e.show_ajax_error),p.ɵɵadvance(1),p.ɵɵclassProp("loadactive",e.submiting),p.ɵɵproperty("disabled",e.submiting))}var ve=require("systemjs"),xe=(be.prototype._CountWords=function(e){if(!e)return"";e=e.replace(/(^\s*)|(\s*$)/gi,"");return(e=(e=e.replace(/[ ]{2,}/gi," ")).replace(/\n /,"")).split(" ").filter(function(e){return""!=e}).length},be.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"},be.prototype._SendQues=function(){var n=this;this.show_ajax_error=!1,this.submiting=!0;var r=h.cleanInput(this.input_value);this.live_status="Posting question.",ve.import("Encryption").then(function(e){var t={url:h.baseUrl()+"/ajax.php",data:Object.assign({action:"Answers.PostQuestion",question:r,url:n._referer},n.data.addparams||{}),encryptprops:["email"],before:function(){n.submiting=!0},after:function(){n.submiting=!1},headers:{"Content-Type":"application/x-www-form-urlencoded"}};n.has_categories&&(t.data.category=n._catid),n.user_email&&(t.data.email=n.user_email),n._is_lodgged||n.user_email||(t.data.light=!0),n.input_value_extra&&(t.data.details=n.input_value_extra),e.send(t).then(function(e){if(n.live_status="",!e||e.error){var t;e&&"message"in e?((t=e.message.match(/^Bad word `([^`]+)` detected.$/))&&t.length&&(e.message='Profanity is not allowed, including words such as "'+t[1]+'". Please adjust.'),n.ajax_message=e.message):n.ajax_message='Unexpected error. Please contact <a class="link" href="mailto:help@wallethub.com" target="system">help@evolutionfinance.com</a>',n.show_ajax_error=!0}else{if("redirect"in e)return n.submiting=!0,void(top.location.href=e.redirect);n.submited=!0}},function(e){n.live_status="",n.ajax_message='Unexpected error. Please contact <a class="link" href="mailto:help@wallethub.com" target="system">help@evolutionfinance.com</a>',n.show_ajax_error=!0,h.RavenRequestFail(e,"Failed to submit a question from ng2 QnA component")})},function(t){n.live_status="",n.ajax_message='Unexpected error. Please contact <a class="link" href="mailto:help@wallethub.com" target="system">help@evolutionfinance.com</a>',n.show_ajax_error=!0,h.RavenJs().then(function(e){e.captureException(t)},function(){})})},be.prototype.SetCategory=function(e){this.category=e.value,this._catid=this._catindex[e.index],this.categoryerror=!1},be.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)},be.prototype.OnErrorToastHidden=function(){this.show_error&&(this.show_error=!1)},be.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()},be.prototype.SetInput=function(e){this.show_error=!1,this.show_ajax_error=!1,this.input_value=e.target.value,this._CountChars()},be.prototype.Back=function(){this.needs_login=!1,this.show_ajax_error=!1,this.ajax_message=""},be.prototype.ngOnInit=function(){var t=this;this.input_value=this.data.input||"",this.data.referer?this._referer=this.data.referer:(this._referer=h.baseUrl()+this._location.path(),this._referer.lastIndexOf("/")!==this._referer.length-1&&(this._referer+="/")),this.data.categories&&0<this.data.categories.length&&(this.has_categories=!0,this.categories=[],this._catindex=[],this.data.categories.forEach(function(e){t.categories.push(e.name),t._catindex.push(e.id)}),1==this.categories.length&&(this._catid=this._catindex[0],this.category=this.categories[0])),this._CountChars(),h.isNode()||(h.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))},be.ɵfac=function(e){return new(e||be)(p.ɵɵdirectiveInject(p.Location))},be.ɵcmp=p.ɵɵdefineComponent({type:be,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,t){1&e&&(p.ɵɵelementStart(0,"h2",0),p.ɵɵtext(1,"Ask a Question"),p.ɵɵelementEnd(),p.ɵɵtemplate(2,ie,2,1,"h2",1),p.ɵɵtemplate(3,se,2,1,"h2",1),p.ɵɵelement(4,"div",2),p.ɵɵtemplate(5,le,4,5,"div",3),p.ɵɵelementStart(6,"div",4),p.ɵɵtext(7),p.ɵɵelementEnd(),p.ɵɵtemplate(8,ce,2,2,"div",3),p.ɵɵtemplate(9,de,2,4,"div",3),p.ɵɵelementStart(10,"div",5),p.ɵɵelementStart(11,"error-toast",6),p.ɵɵlistener("onhidden",function(){return t.OnErrorToastHidden()}),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵtemplate(12,ue,1,2,"div",7),p.ɵɵtemplate(13,pe,3,3,"button",8),p.ɵɵtemplate(14,he,2,0,"div",9),p.ɵɵtemplate(15,_e,16,7,"div",10)),2&e&&(p.ɵɵproperty("ng-hidden",t.submited||t.needs_login)("focus-when",!(t.submited||t.needs_login)),p.ɵɵadvance(2),p.ɵɵproperty("ngIf",t.submited),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",t.needs_login&&!t.submited),p.ɵɵadvance(1),p.ɵɵproperty("ng-aria-live",t.live_status),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",!t.submited&&!t.needs_login),p.ɵɵadvance(2),p.ɵɵtextInterpolate(t.question_count_status),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",!t.submited&&!t.needs_login),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",!t.submited&&!t.needs_login&&t.has_categories&&1<t.categories.length),p.ɵɵadvance(1),p.ɵɵproperty("ng-hidden",t.submited||t.needs_login),p.ɵɵadvance(1),p.ɵɵproperty("message",t.error_message)("show",t.show_error)("close-on-change",!0)("timer",t.toastinterval),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",!t.needs_login&&t.show_ajax_error),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",!t.submited&&!t.needs_login),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",t.submited),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",t.needs_login&&!t.submited))},directives:[h.ngFocus,h.ngHidden,p.NgIf,h.ngAriaLive,h.ErrorToastComponent,R,r.ngDropdown,h.TouchGestures],encapsulation:2}),be);function be(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}ye.ɵfac=function(e){return new(e||ye)},ye.ɵmod=p.ɵɵdefineNgModule({type:ye}),ye.ɵinj=p.ɵɵdefineInjector({imports:[[p.CommonModule,h.DirectivesModule,D,h.ErrorsModule,r.ngDropDownModule,h.ngFocusModule]]}),f=ye;function ye(){}var we=["content"];function Ee(e,t){var n;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"span",4),p.ɵɵlistener("onTap",function(){return p.ɵɵrestoreView(n),p.ɵɵnextContext().Collapse()}),p.ɵɵtext(1,"show less"),p.ɵɵelementEnd())}function Se(e,t){var n;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"div",5),p.ɵɵlistener("onExpand",function(e){return p.ɵɵrestoreView(n),p.ɵɵnextContext().Expanded(e)}),p.ɵɵelementEnd()),2&e&&(e=p.ɵɵnextContext(),p.ɵɵproperty("ng-truncate",e.htmlcontent)("breakpoint",e.breakpoint)("breakwords",e.breakwords))}var qe,F=["*"];function Ce(){if(h.isNode()){if(qe)return qe;var e=new(require("jsdom").JSDOM)("<!DOCTYPE html><head><title></title></head><body></body></html>");return qe=e.window.document}return document}Object.defineProperty(Te.prototype,"content",{set:function(e){this._content=e||"",this._initiated&&(this._expandct?this._ShowFullCT():this._Truncate())},enumerable:!1,configurable:!0}),Object.defineProperty(Te.prototype,"expandContent",{set:function(e){this._expandContent.next(e),this._expandct=e},enumerable:!1,configurable:!0}),Te.prototype.ngOnInit=function(){!this._expandct&&this._content||h.isNode()?this._Truncate():this._ShowFullCT(),this._initiated=!0},Te.prototype._WordCount=function(e){e=h.trim((1==e.nodeType?e.textContent:e.wholeText)+"");return""==e?0:e.split(/\s+/g).length},Te.prototype._CutHTML=function(e,t){var n=e.parentNode,r=null;if(n){for(var o=[],a=0,i=n.childNodes.length;a<i;a++){var s=n.childNodes[a];s==e?r=a:null!==r&&r<a&&(!s.tagName||"td"!==s.tagName.toLowerCase())&&o.push(s)}o.forEach(function(e){e.parentNode.removeChild(e)}),n!=t&&n&&this._CutHTML(n,t)}},Te.prototype._AddExpandBT=function(e){var t=e.parentNode;t.removeChild(e),t.innerHTML=h.trim(t.innerHTML);var n=t.tagName.toLowerCase();if(h.isAny(n,["tr","tbody","thead","tfoot"])){if("table"!=n){for(var r=t.parentNode,n=r.tagName.toLowerCase();"table"!=n&&n;)n=(r=r.parentNode)&&r.tagName?r.tagName.toLowerCase():null;"table"==n&&(t=r)}t.insertAdjacentHTML("afterend",' <span class="js-shave-char cursor-pointer" role="button" tabindex="0">'+this.expand_bt+"</span>"),t.insertAdjacentText?t.insertAdjacentText("afterend","..."):t.insertAdjacentHTML("afterend","...")}else t.insertAdjacentText?t.insertAdjacentText("beforeend","..."):t.insertAdjacentHTML("beforeend","..."),"a"==n?t.insertAdjacentHTML("afterend",' <span class="js-shave-char cursor-pointer" role="button" tabindex="0">'+this.expand_bt+"</span>"):t.insertAdjacentHTML("beforeend",' <span class="js-shave-char cursor-pointer" role="button" tabindex="0">'+this.expand_bt+"</span>");this.istruncated.next(!0)},Te.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 o,a=r.length-1,i=0;i<a;){o=i+a+1>>1;var s=r.slice(0,o).join(" "),l=-1<s.lastIndexOf(".");e[n]=s,e.insertAdjacentHTML("beforeend",'<span class="js-shave-char cursor-pointer" role="button" tabindex="0" aria-label="'+this.expand_bt+'">'+(l?"":".")+".."+this.expand_bt+"</span>"),this._WordCount(e)>t?a=o-1:i=o}}},Te.prototype._TruncateWithLimit=function(e,l){var t=Ce().createElement("div");t.innerHTML=e;var c=0,d=!1,u=function(e){for(var t=0,n=e.childNodes.length;t<n;t++){var r=e.childNodes[t];if(1==r.nodeType){if(r.classList.contains("cc-list-buttons"))return!0;if(u(r))return!0}else if(3==r.nodeType){var o=r[void 0===r.textContent?"innerText":"textContent"],a=h.trim(o).split(/\s+/g);if(c+=a.length,0==o.indexOf(" ")&&(a[0]=" "+a[0]),o.lastIndexOf(" ")==o.length-1&&(a[a.length-1]+=" "),l<c){var i,s=c-l;return r.nodeValue=a.slice(0,a.length-s).join(" "),r.parentNode&&(i=Ce().createElement("div"),(o=Ce().createElement("span")).setAttribute("data-chop","auto"),i.appendChild(o),(i=Ce().createElement("div")).innerHTML=a.slice(a.length-s).join(" "),r!==r.parentNode.lastChild?r.parentNode.insertBefore(o,r.nextElementSibling):(r.parentNode.appendChild(o),r.parentNode.insertAdjacentHTML("beforeend",i.innerHTML))),d=!0}}}};return u(t),!d||(e=t.querySelector('span[data-chop="auto"]'))&&t.lastChild!==e&&(this._CutHTML(e,t),e.parentNode==t&&(t.innerHTML=t.innerHTML.split(e.outerHTML)[0]+e.outerHTML,e=t.querySelector('span[data-chop="auto"]')),this._AddExpandBT(e)),t.innerHTML},Te.prototype._Truncate=function(){var t=this;this.istruncated.next(!1);var e=this._content;if(this.staticbreak){e=e.replace(/(?:\\r\\n|\\r|\\n)/g,""),e=(e=h.trim(e)).replace("[chop]",'<span data-chop="desktop"></span>').replace("[mobilechop]","");var n=Ce().createElement("div");n.innerHTML=e;var r=n.querySelector('span[data-chop="desktop"]');return r?(console.log(r),n.lastChild==r?r.parentNode.removeChild(r):(this._CutHTML(r,n),r.parentNode==n&&(n.innerHTML=n.innerHTML.split(r.outerHTML)[0]+r.outerHTML,r=n.querySelector('span[data-chop="desktop"]')),this._AddExpandBT(r),e=n.innerHTML)):this._WordCount(n)>this.staticbreak&&(e=this._TruncateWithLimit(e,this.staticbreak)),this.sanitize&&(e=h.Sanitize(e,this.sanitizeCFG)),void this._render.setProperty(this._el.nativeElement,"innerHTML",e)}if(e=(e=(e=e.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,""),e=h.trim(e),h.isNode())return this.sanitize&&(e=h.Sanitize(e,this.sanitizeCFG)),void this._render.setProperty(this._el.nativeElement,"innerHTML",e);var o=window.innerWidth||document.body.clientWidth;o<this.breakpoint&&e.indexOf("\x3c!--mobilechop--\x3e")<0&&(e=e.replace(/<!--(auto)?(mobile)?chop-->/g,""));var a=!1,i=!1;o>=this.breakpoint?0<e.indexOf("\x3c!--chop--\x3e")&&(a=!0):0<e.indexOf("\x3c!--chop--\x3e")&&e.indexOf("\x3c!--mobilechop--\x3e")<0?a=!0:0<e.indexOf("\x3c!--mobilechop--\x3e")&&(a=i=!0),a||(e=e.replace("\x3c!--chop--\x3e","").replace("\x3c!--mobilechop--\x3e","")),e=(e=(e=o>this.breakpoint?e.replace(/(<!--chop-->)\s*(<!--mobilechop-->)/,"$2$1"):e.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 s=document.createElement("div");s.innerHTML=e;var l=s.querySelector('span[data-chop="desktop"]'),r=s.querySelector('span[data-chop="mobile"]');if(!l&&!r&&!this.auto_truncate)return e=h.Sanitize(e,this.sanitizeCFG),void this._render.setProperty(this._el.nativeElement,"innerHTML",e);var c,n=!1,a=!!this.breakwords;if(s.lastChild==l||s.lastChild==r)a=!1,l&&s.lastChild==l&&(l.parentNode.removeChild(l),l=null,r&&s.lastChild==r&&(r.parentNode.removeChild(r),r=null)),r&&s.lastChild==r&&(r.parentNode.removeChild(r),r=null,l&&s.lastChild==l&&(l.parentNode.removeChild(l),l=null));else{if(l&&l.parentNode.lastChild==l){for(var d=l.parentNode,u=!0;d&&d!==s;){if(d.parentNode.lastChild!=d){u=!1;break}d=d.parentNode}u&&(a=!1,l.parentNode.removeChild(l),l=null)}if(r&&r.parentNode.lastChild==r){for(d=r.parentNode,u=!0;d&&d!==s;){if(d.parentNode.lastChild!=d){u=!1;break}d=d.parentNode}u&&(a=!1,r.parentNode.removeChild(r),r=null)}}if(l&&(o>this.breakpoint||!i))this._CutHTML(l,s),l.parentNode==s&&(s.innerHTML=s.innerHTML.split(l.outerHTML)[0]+l.outerHTML,l=s.querySelector('span[data-chop="desktop"]')),this._AddExpandBT(l);else if(i&&r&&o<this.breakpoint)this._CutHTML(r,s),r.parentNode==s&&(s.innerHTML=s.innerHTML.split(r.outerHTML)[0]+r.outerHTML,r=s.querySelector('span[data-chop="mobile"]')),this._AddExpandBT(r);else if(a)if(h.objectForEach(this.breakwords,function(e,t){if(o<h.toNumber(t))return c=e,!1}),c)if(this.use_shave_break)this._Shave(s,c),n=!0;else if(this._WordCount(s)>c)return void this._render.setProperty(this._el.nativeElement,"innerHTML",this._TruncateWithLimit(e,c));e=s.innerHTML;!n&&this.sanitize&&(e=h.Sanitize(s.innerHTML,this.sanitizeCFG)),this._render.setProperty(this._el.nativeElement,"innerHTML",e),this.istruncated.pipe(p.take(1)).subscribe(function(e){h.reqAnimationFrame(function(){t.onContent.emit(e?"collapsed":"expanded")})})},Te.prototype._ShowFullCT=function(){var e=this,t=this._content||"";this.sanitize&&(t=h.Sanitize(t,this.sanitizeCFG)),this.collapse_bt&&(t+='<br class="js-shave-br" /><span class="js-shave-char cursor-pointer js-shave-char-less" role="button" tabindex="0">'+this.collapse_bt+"</span>"),t=t.replace("[chop]","").replace("[mobilechop]",""),this._render.setProperty(this._el.nativeElement,"innerHTML",t),h.reqAnimationFrame(function(){e.onContent.emit("expanded")})},Te.prototype.Expand=function(e){h.isNode()||(e=e.target)&&e.classList&&e.classList.contains("js-shave-char")&&(this._expanded=!this._expanded,this._expanded?this._ShowFullCT():(this._expandct=!1,this._Truncate()),this.onExpand.emit(this._expanded),h.Events.emit("$shortcodes:set"))},Te.prototype.ngAfterViewInit=function(){var t=this;h.isNode()||(this._windowobs=p.fromEvent(window,"resize"),this._windowobs.subscribe(function(){!t._content||t._expanded||t._expandct||t._Truncate()}),this._expandContent.subscribe(function(e){t._content&&(t._expanded=!e,t.Expand({target:{classList:{contains:function(){return!0}}}}))}),this._cleanups.push(this._render.listen(this._el.nativeElement,"click",function(e){t.Expand(e)})))},Te.prototype.ngOnDestroy=function(){this._windowobs&&(this._windowobs=null),this._windowsubs&&this._windowsubs.unsubscribe(),this.istruncated.complete(),this._cleanups.forEach(function(e){e()})},Te.ɵfac=function(e){return new(e||Te)(p.ɵɵdirectiveInject(p.ElementRef),p.ɵɵdirectiveInject(p.Renderer2))},Te.ɵdir=p.ɵɵdefineDirective({type:Te,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"}}),re=Te;function Te(e,t){this._el=e,this._render=t,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 p.BehaviorSubject(null),this._expandContent=new p.Subject,this._expandct=!1,this.onExpand=new p.EventEmitter,this.onContent=new p.EventEmitter}ke.prototype.Expanded=function(e){e&&(this.hide_org_content=!1,"permanent"==this.expand_mode&&(this.perma_expand=!0)),this._cd.detectChanges()},ke.prototype.Collapse=function(){this.hide_org_content=!0,this._cd.detectChanges()},ke.prototype.ngOnInit=function(){var t=this;this.hide_org_content=!h.isNode(),h.isNode()?(this.hide_org_content=!1,this.perma_expand=!0):this._observer=new MutationObserver(function(e){t.htmlcontent=t.contentBox.nativeElement.innerHTML,h.reqAnimationFrame(function(){t._cd.detectChanges()})})},ke.prototype.ngAfterViewInit=function(){var e=this;h.isNode()||(this.htmlcontent=this.contentBox.nativeElement.innerHTML,h.reqAnimationFrame(function(){e._cd.detectChanges()}),this._observer.observe(this.contentBox.nativeElement,{attributes:!1,childList:!0,characterData:!0}))},ke.prototype.ngOnDestroy=function(){this._observer.disconnect()},ke.ɵfac=function(e){return new(e||ke)(p.ɵɵdirectiveInject(p.ChangeDetectorRef),p.ɵɵdirectiveInject(p.Renderer2))},ke.ɵcmp=p.ɵɵdefineComponent({type:ke,selectors:[["ng-truncate"]],viewQuery:function(e,t){1&e&&p.ɵɵviewQuery(we,5),2&e&&(e=void 0,p.ɵɵqueryRefresh(e=p.ɵɵloadQuery())&&(t.contentBox=e.first))},inputs:{breakpoint:"breakpoint",breakwords:"breakwords",expand_mode:["expand","expand_mode"]},ngContentSelectors:F,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,"onTap",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,"onTap"],[3,"ng-truncate","breakpoint","breakwords","onExpand"]],template:function(e,t){1&e&&(p.ɵɵprojectionDef(),p.ɵɵelementStart(0,"div",0,1),p.ɵɵprojection(2),p.ɵɵelementEnd(),p.ɵɵtemplate(3,Ee,2,0,"span",2),p.ɵɵtemplate(4,Se,1,3,"div",3)),2&e&&(p.ɵɵproperty("ng-hidden",t.hide_org_content),p.ɵɵadvance(3),p.ɵɵproperty("ngIf",!t.hide_org_content&&!t.perma_expand),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",t.hide_org_content))},directives:[h.ngHidden,p.NgIf,h.TouchGestures,re],encapsulation:2,changeDetection:0});function ke(e,t){this._cd=e,this._render=t,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=""}Ie.ɵfac=function(e){return new(e||Ie)},Ie.ɵmod=p.ɵɵdefineNgModule({type:Ie}),Ie.ɵinj=p.ɵɵdefineInjector({imports:[[p.CommonModule,h.DirectivesModule]]}),r=Ie;function Ie(){}var Ae=["txtElement"],ze=["quesOverlay"],Me=["ques_answer"],F=["id","qna-box"];function Le(e,t){1&e&&(p.ɵɵelementStart(0,"span",21),p.ɵɵtext(1),p.ɵɵelementEnd()),2&e&&(e=p.ɵɵnextContext(2),p.ɵɵadvance(1),p.ɵɵtextInterpolate1("(",e.schq_count,")"))}function Oe(e,t,n){return{"light-font qnah-1":e,"qnah-2 bold-font":t,"qnah-1 qnah-3 extra-bold-font":n}}function je(e,t){1&e&&(p.ɵɵelementStart(0,"h2",19),p.ɵɵtext(1),p.ɵɵtemplate(2,Le,2,1,"span",20),p.ɵɵelementEnd()),2&e&&(e=p.ɵɵnextContext(),p.ɵɵproperty("ngClass",p.ɵɵpureFunction3(3,Oe,0==e.layout_type,1==e.layout_type,2==e.layout_type)),p.ɵɵadvance(1),p.ɵɵtextInterpolate1("",e.section_title," "),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",1==e.layout_type&&e.schq_count))}function Ne(e,t){1&e&&(p.ɵɵelementStart(0,"p",22),p.ɵɵelementStart(1,"span"),p.ɵɵtext(2),p.ɵɵelementEnd(),p.ɵɵtext(3,"For more general questions, visit our "),p.ɵɵelementStart(4,"a",23),p.ɵɵtext(5,"Answers section."),p.ɵɵelementEnd(),p.ɵɵelementEnd()),2&e&&(e=p.ɵɵnextContext(),p.ɵɵadvance(2),p.ɵɵtextInterpolate1("Get answers to your questions about ",e.product_name," below. "),p.ɵɵadvance(2),p.ɵɵproperty("zing-url",!0))}function Fe(e,t){1&e&&p.ɵɵelement(0,"p",24),2&e&&(e=p.ɵɵnextContext(),p.ɵɵproperty("zing-url-container",!0)("ng-truncate",e.intro_content)("breakwords",e.truncateBreakwords)("breakpoint",480))}function Pe(e,t){var n;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"span",35),p.ɵɵlistener("onTap",function(){return p.ɵɵrestoreView(n),p.ɵɵnextContext(2).QClear()}),p.ɵɵelementEnd())}function He(e,t){1&e&&(p.ɵɵelementStart(0,"span"),p.ɵɵtext(1,"Don't see what you're looking for?"),p.ɵɵelementEnd())}function Re(e,t){1&e&&(p.ɵɵelementStart(0,"div",36),p.ɵɵtext(1,"MATCHING RESULTS"),p.ɵɵelementEnd())}function Ve(e,t){1&e&&(p.ɵɵelementStart(0,"div",36),p.ɵɵtext(1,"NO MATCHING RESULTS"),p.ɵɵelementEnd())}function De(e,t){1&e&&(p.ɵɵelementStart(0,"div",36),p.ɵɵtext(1,"Searching for answers..."),p.ɵɵelementEnd())}function $e(e,t){var n;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"div",25),p.ɵɵelementStart(1,"div",26),p.ɵɵelementStart(2,"textarea",27),p.ɵɵlistener("input",function(e){return p.ɵɵrestoreView(n),p.ɵɵnextContext().SearchInput(e)}),p.ɵɵelementEnd(),p.ɵɵtemplate(3,Pe,1,0,"span",28),p.ɵɵelementStart(4,"button",29),p.ɵɵlistener("onTap",function(){return p.ɵɵrestoreView(n),p.ɵɵnextContext().QSearch()}),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(5,"div",30),p.ɵɵtemplate(6,He,2,0,"span",31),p.ɵɵelementStart(7,"button",32),p.ɵɵlistener("click",function(e){return p.ɵɵrestoreView(n),p.ɵɵnextContext().AskQuestion(e)}),p.ɵɵtext(8,"Ask Your Question"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(9,"div",33),p.ɵɵtemplate(10,Re,2,0,"div",34),p.ɵɵtemplate(11,Ve,2,0,"div",34),p.ɵɵtemplate(12,De,2,0,"div",34),p.ɵɵelementEnd(),p.ɵɵelementEnd()),2&e&&(e=p.ɵɵnextContext(),p.ɵɵadvance(1),p.ɵɵproperty("scroll-to",e.focus_on_input),p.ɵɵadvance(1),p.ɵɵproperty("value",e.search_value),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",e.search_value),p.ɵɵadvance(1),p.ɵɵproperty("ng-hidden",!!e.search_value),p.ɵɵadvance(1),p.ɵɵclassProp("qna-aq-ss",e.noresults),p.ɵɵproperty("ng-hidden",!(e.show_search_state||e.show_search_state_empty)),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",e.show_search_state&&!e.noresults),p.ɵɵadvance(4),p.ɵɵproperty("ngIf",e.show_search_state&&!e.search_loading),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",e.show_search_state_empty&&!e.search_loading),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",e.search_loading))}function Be(e,t){var n;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"span",37),p.ɵɵlistener("onTap",function(){var e=p.ɵɵrestoreView(n).index;return p.ɵɵnextContext().ChangeSort(e)}),p.ɵɵtext(1),p.ɵɵelementEnd()),2&e&&(e=t.$implicit,t=t.index,p.ɵɵclassProp("qnaml-first",0==t),p.ɵɵadvance(1),p.ɵɵtextInterpolate(e))}function Qe(e,t){1&e&&p.ɵɵelement(0,"div",46)}function Ue(e,t){var n;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"div",38),p.ɵɵtemplate(1,Qe,1,0,"div",39),p.ɵɵelementStart(2,"div",40),p.ɵɵelementStart(3,"div",41),p.ɵɵelement(4,"img",42),p.ɵɵelementEnd(),p.ɵɵelementStart(5,"div",43),p.ɵɵelementStart(6,"textarea",44),p.ɵɵlistener("input",function(e){return p.ɵɵrestoreView(n),p.ɵɵnextContext().ques_ask=e.target.value}),p.ɵɵelementEnd(),p.ɵɵelementStart(7,"button",45),p.ɵɵlistener("click",function(e){return p.ɵɵrestoreView(n),p.ɵɵnextContext().AskQuestion(e)}),p.ɵɵtext(8,"Ask your Question"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementEnd()),2&e&&(e=p.ɵɵnextContext(),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",0==e.schquestions.length),p.ɵɵadvance(3),p.ɵɵproperty("src",e.user_avatar,p.ɵɵsanitizeUrl)("on-img-error",e.user_avatar_fallback),p.ɵɵadvance(1),p.ɵɵproperty("scroll-to",e.focus_on_input),p.ɵɵadvance(1),p.ɵɵproperty("value",e.ques_ask))}function Ge(e,t){1&e&&(p.ɵɵelementStart(0,"div",50),p.ɵɵelementStart(1,"div",51),p.ɵɵelement(2,"i"),p.ɵɵelementEnd(),p.ɵɵelementEnd())}function We(e,t){1&e&&p.ɵɵelement(0,"a",75),2&e&&(e=p.ɵɵnextContext().$implicit,p.ɵɵclassProp("qt-as-link",e.from_search),p.ɵɵproperty("href",e.ques_href||"/answers/"+e.ques_fullslug,p.ɵɵsanitizeUrl)("zing-url",!0)("cleanHTML",e.ques_title)("focus-when",e.focuson)("no-click",!0))}function Ye(e,t){1&e&&p.ɵɵelement(0,"span",76),2&e&&(e=p.ɵɵnextContext().$implicit,p.ɵɵclassProp("qt-as-link",e.from_search),p.ɵɵproperty("cleanHTML",e.ques_title))}function Je(e,t){1&e&&p.ɵɵelement(0,"p",77),2&e&&(e=p.ɵɵnextContext().$implicit,p.ɵɵproperty("cleanHTML",e.ques_content_cut_mob))}function Xe(e,t){1&e&&p.ɵɵelement(0,"p",78),2&e&&(e=p.ɵɵnextContext().$implicit,p.ɵɵproperty("cleanHTML",e.ques_content_cut_desk))}function Ze(e,t){1&e&&(p.ɵɵelementStart(0,"span",79),p.ɵɵtext(1,"..."),p.ɵɵelementEnd())}function Ke(e,t){1&e&&p.ɵɵelement(0,"p",77),2&e&&(e=p.ɵɵnextContext().$implicit,p.ɵɵproperty("cleanHTML",e.ques_content_more))}function et(e,t){var n,r;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"span",80),p.ɵɵlistener("onTap",function(){p.ɵɵrestoreView(n);var e=p.ɵɵnextContext().$implicit;return p.ɵɵnextContext(2).ExpandContent(e.id,"question")}),p.ɵɵtext(1,"show more"),p.ɵɵelementEnd()),2&e&&(r=p.ɵɵnextContext().$implicit,e=p.ɵɵnextContext(2),p.ɵɵproperty("ng-hidden",e.questionexpand[r.id]))}function tt(e,t){var n,r;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"span",81),p.ɵɵlistener("onTap",function(){p.ɵɵrestoreView(n);var e=p.ɵɵnextContext().$implicit;return p.ɵɵnextContext(2).ExpandContent(e.id,"question")}),p.ɵɵtext(1,"show less"),p.ɵɵelementEnd()),2&e&&(r=p.ɵɵnextContext().$implicit,e=p.ɵɵnextContext(2),p.ɵɵproperty("ng-hidden",!e.questionexpand[r.id]))}function nt(e,t){var n;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"div",82),p.ɵɵlistener("click",function(){p.ɵɵrestoreView(n);var e=p.ɵɵnextContext().$implicit;return p.ɵɵnextContext(2).ShowReplybox(e.id)}),p.ɵɵtext(1,"Reply"),p.ɵɵelementEnd()),2&e&&(e=p.ɵɵnextContext().$implicit,p.ɵɵproperty("focus-when",e.reply_bt_focus)("no-click",!0))}function rt(e,t){1&e&&p.ɵɵelement(0,"span",83)}function ot(e,t){1&e&&p.ɵɵelement(0,"span",83)}function at(e,t){var n,r;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"form",84),p.ɵɵlistener("onSubmit",function(){p.ɵɵrestoreView(n);var e=p.ɵɵnextContext().$implicit;return p.ɵɵnextContext(2).SubmitReply(e)}),p.ɵɵelementStart(1,"div",85),p.ɵɵelement(2,"img",86),p.ɵɵelementEnd(),p.ɵɵelementStart(3,"div",87),p.ɵɵelementStart(4,"ck-editor",88),p.ɵɵlistener("valueChange",function(e){p.ɵɵrestoreView(n);var t=p.ɵɵnextContext().$implicit;return p.ɵɵnextContext(2).ReplyInput(e,t.id)}),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(5,"div",89),p.ɵɵelement(6,"error-toast",90),p.ɵɵelementStart(7,"button",91),p.ɵɵlistener("click",function(){p.ɵɵrestoreView(n);var e=p.ɵɵnextContext().$implicit;return p.ɵɵnextContext(2).ShowReplybox(e.id)}),p.ɵɵtext(8,"Cancel"),p.ɵɵelementEnd(),p.ɵɵelementStart(9,"button",92),p.ɵɵelementStart(10,"span"),p.ɵɵtext(11,"Reply"),p.ɵɵelementEnd(),p.ɵɵelement(12,"i",93),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementEnd()),2&e&&(r=p.ɵɵnextContext().$implicit,e=p.ɵɵnextContext(2),p.ɵɵadvance(2),p.ɵɵproperty("src",e.user_avatar,p.ɵɵsanitizeUrl)("on-img-error",e.user_avatar_fallback),p.ɵɵadvance(2),p.ɵɵproperty("value",e.replyboxinput[r.id])("active",!0)("cursor-focus",e.replyboxshow[r.id])("readonly",e.replyinprogress[r.id]),p.ɵɵadvance(2),p.ɵɵproperty("message",null==e.replyerror[r.id]?null:e.replyerror[r.id].message)("show",null==e.replyerror[r.id]?null:e.replyerror[r.id].show)("close-on-change",!0)("timer",3e3),p.ɵɵadvance(1),p.ɵɵproperty("disabled",e.replyinprogress[r.id]),p.ɵɵadvance(2),p.ɵɵclassProp("loadactive",e.replyinprogress[r.id]),p.ɵɵproperty("disabled",e.replyinprogress[r.id]))}function it(e,t){1&e&&(p.ɵɵelementStart(0,"span",109),p.ɵɵtext(1),p.ɵɵelementEnd()),2&e&&(e=p.ɵɵnextContext(2).$implicit,p.ɵɵadvance(1),p.ɵɵtextInterpolate1(", ",e.user_title,""))}function st(e,t){1&e&&(p.ɵɵelementStart(0,"div",106),p.ɵɵelement(1,"span",107),p.ɵɵtemplate(2,it,2,1,"span",108),p.ɵɵelementEnd()),2&e&&(e=p.ɵɵnextContext().$implicit,p.ɵɵadvance(1),p.ɵɵproperty("ng-context",e.user_fullname||e.user_login),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",e.user_title))}function lt(e,t){1&e&&(p.ɵɵelementContainerStart(0),p.ɵɵtext(1),p.ɵɵelementContainerEnd()),2&e&&(e=p.ɵɵnextContext().$implicit,p.ɵɵadvance(1),p.ɵɵtextInterpolate(e.user_login))}function ct(e,t){var n;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"span",114),p.ɵɵlistener("onTap",function(){var e=p.ɵɵrestoreView(n).index,t=p.ɵɵnextContext(2).$implicit;return p.ɵɵnextContext(3).AnsOpt(e,t)}),p.ɵɵtext(1),p.ɵɵelementEnd()),2&e&&(e=t.$implicit,t=t.index,p.ɵɵclassProp("qnaml-first",0==t),p.ɵɵadvance(1),p.ɵɵtextInterpolate(e))}function dt(e,t){var n,r;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"div",110),p.ɵɵelementStart(1,"span",111),p.ɵɵlistener("onTap",function(){p.ɵɵrestoreView(n);var e=p.ɵɵnextContext().$implicit;return p.ɵɵnextContext(3).ControlAnsOpt(e)})("onTapOutside",function(){return p.ɵɵrestoreView(n),p.ɵɵnextContext().$implicit.options_list_opened=!1}),p.ɵɵelementEnd(),p.ɵɵelementStart(2,"div",112),p.ɵɵlistener("onTap",function(e){return e.stopPropagation()}),p.ɵɵtemplate(3,ct,2,3,"span",113),p.ɵɵelementEnd(),p.ɵɵelementEnd()),2&e&&(r=p.ɵɵnextContext().$implicit,e=p.ɵɵnextContext(3),p.ɵɵadvance(2),p.ɵɵproperty("ng-hidden",!r.options_list_opened),p.ɵɵadvance(1),p.ɵɵproperty("ngForOf",e.ansOptions)("ngForTrackBy",e.trackByFn))}function ut(e,t){1&e&&p.ɵɵelement(0,"span",83)}function pt(e,t){1&e&&p.ɵɵelement(0,"span",83)}var ht=function(){return{attribute:"itemprop",value:"upvoteCount"}},mt=function(e){return[e]},ft=function(){return{attribute:"itemprop",value:"downvoteCount"}};function gt(e,t){var n,r,o;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"div",66),p.ɵɵelementStart(1,"div",115),p.ɵɵlistener("onTap",function(){p.ɵɵrestoreView(n);var e=p.ɵɵnextContext().$implicit;return p.ɵɵnextContext(3).RateContent(e,"up")}),p.ɵɵtemplate(2,ut,1,0,"span",116),p.ɵɵelementStart(3,"span",117),p.ɵɵtext(4),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(5,"div",70),p.ɵɵlistener("onTap",function(){p.ɵɵrestoreView(n);var e=p.ɵɵnextContext().$implicit;return p.ɵɵnextContext(3).RateContent(e,"down")}),p.ɵɵtemplate(6,pt,1,0,"span",116),p.ɵɵelementStart(7,"span",117),p.ɵɵtext(8),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementEnd()),2&e&&(r=(o=p.ɵɵnextContext()).$implicit,e=o.index,o=p.ɵɵnextContext(3),p.ɵɵadvance(1),p.ɵɵclassProp("visible",r.voteinprogress),p.ɵɵproperty("zing-no-touch",!0),p.ɵɵattribute("aria-label",r.upvotelabel),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",r.voteinprogress),p.ɵɵadvance(1),p.ɵɵproperty("ng-attribute",p.ɵɵpureFunction1(17,mt,p.ɵɵpureFunction0(16,ht)))("ng-attribute-when",o.toggleSchema&&0==e),p.ɵɵadvance(1),p.ɵɵtextInterpolate(r.upvote),p.ɵɵadvance(1),p.ɵɵclassProp("visible",r.downvoteinprogress),p.ɵɵproperty("zing-no-touch",!0),p.ɵɵattribute("aria-label",r.dnvotelabel),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",r.downvoteinprogress),p.ɵɵadvance(1),p.ɵɵproperty("ng-attribute",p.ɵɵpureFunction1(20,mt,p.ɵɵpureFunction0(19,ft)))("ng-attribute-when",o.toggleSchema&&0==e),p.ɵɵadvance(1),p.ɵɵtextInterpolate(r.downvote))}var _t=function(){return{416:35,541:50,769:70,2800:90}},vt=function(){return{attribute:"itemprop",value:"text"}};function xt(e,t){var n,r,o,a;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"div",94),p.ɵɵelementStart(1,"div",95),p.ɵɵelementStart(2,"div",96),p.ɵɵelement(3,"img",97,98),p.ɵɵelementEnd(),p.ɵɵelementStart(5,"div",99),p.ɵɵtemplate(6,st,3,2,"div",100),p.ɵɵelementStart(7,"div",101),p.ɵɵtemplate(8,lt,2,1,"ng-container",31),p.ɵɵelementEnd(),p.ɵɵtemplate(9,dt,4,3,"div",102),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(10,"span",103),p.ɵɵtext(11),p.ɵɵelementEnd(),p.ɵɵelementStart(12,"div",104),p.ɵɵlistener("onExpand",function(){var e=p.ɵɵrestoreView(n).$implicit;return p.ɵɵnextContext(3).AnswerExpanded(e)}),p.ɵɵelementEnd(),p.ɵɵtemplate(13,gt,9,22,"div",105),p.ɵɵelementEnd()),2&e&&(r=t.$implicit,o=t.index,e=(a=p.ɵɵnextContext()).$implicit,t=a.index,a=p.ɵɵnextContext(2),p.ɵɵproperty("ng-hidden",!(0==o||a.question_more_answers[e.id]||1==o&&e.answers[0].my_ans))("ng-attribute",a.aschemascope)("ng-attribute-when",a.toggleSchema&&0==o),p.ɵɵadvance(2),p.ɵɵproperty("defer-src",r.user_avatar)("src-fallback",a.user_avatar_fallback),p.ɵɵadvance(4),p.ɵɵproperty("ngIf",r.user_fullname||r.user_login),p.ɵɵadvance(2),p.ɵɵproperty("ngIf",r.user_login),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",null==r?null:r.is_reportable),p.ɵɵadvance(1),p.ɵɵattribute("id","ans-desc-"+r.id),p.ɵɵadvance(1),p.ɵɵtextInterpolate1("Answer provided by user: ",r.user_fullname||r.user_login,""),p.ɵɵadvance(1),p.ɵɵproperty("zing-url-container",!0)("expand-content",0==o&&0==t&&!a.search_loading&&!(a.show_search_state||a.show_search_state_empty))("breakwords",p.ɵɵpureFunction0(21,_t))("collapse-button",0!=o||0!=t||a.show_search_state||a.show_search_state_empty?"show less":"")("ng-truncate",r.content_long)("sanitize-cfg",r.sanitizecfg)("ng-attribute",p.ɵɵpureFunction1(23,mt,p.ɵɵpureFunction0(22,vt)))("ng-attribute-when",a.toggleSchema&&0==o),p.ɵɵattribute("data-pos",r.stackid)("aria-describedby","ans-desc-"+r.id),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",!a.IsSpecial(r.id)))}function bt(e,t){1&e&&(p.ɵɵelementStart(0,"div",122),p.ɵɵelement(1,"i"),p.ɵɵelementEnd())}function yt(e,t){var n,r;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"div",118),p.ɵɵtemplate(1,bt,2,0,"div",119),p.ɵɵelementStart(2,"span",120),p.ɵɵlistener("onTap",function(){p.ɵɵrestoreView(n);var e=p.ɵɵnextContext(),t=e.$implicit,e=e.index;return p.ɵɵnextContext(2).ViewMoreAns(t,e)}),p.ɵɵtext(3," View more answers "),p.ɵɵelement(4,"i",121),p.ɵɵelementEnd(),p.ɵɵelementEnd()),2&e&&(r=p.ɵɵnextContext().$implicit,e=p.ɵɵnextContext(2),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",e.answersmore[r.id]))}var wt=function(){return{attribute:"itemprop",value:"name"}};function Et(e,t){var n;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"article",52),p.ɵɵelementStart(1,"h3",53),p.ɵɵtemplate(2,We,1,7,"a",54),p.ɵɵtemplate(3,Ye,1,3,"span",55),p.ɵɵelementEnd(),p.ɵɵelementStart(4,"div",56),p.ɵɵelementStart(5,"div",57),p.ɵɵtext(6),p.ɵɵelementEnd(),p.ɵɵelementStart(7,"span",58),p.ɵɵtext(8),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵtemplate(9,Je,1,1,"p",59),p.ɵɵtemplate(10,Xe,1,1,"p",60),p.ɵɵtemplate(11,Ze,2,0,"span",61),p.ɵɵtemplate(12,Ke,1,1,"p",59),p.ɵɵtemplate(13,et,2,1,"span",62),p.ɵɵtemplate(14,tt,2,1,"span",63),p.ɵɵelementStart(15,"div",64),p.ɵɵtemplate(16,nt,2,2,"div",65),p.ɵɵelementStart(17,"div",66),p.ɵɵelementStart(18,"div",67),p.ɵɵlistener("onTap",function(){var e=p.ɵɵrestoreView(n).$implicit;return p.ɵɵnextContext(2).RateContent(e,"up")}),p.ɵɵtemplate(19,rt,1,0,"span",68),p.ɵɵelementStart(20,"span",69),p.ɵɵtext(21),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(22,"div",70),p.ɵɵlistener("onTap",function(){var e=p.ɵɵrestoreView(n).$implicit;return p.ɵɵnextContext(2).RateContent(e,"down")}),p.ɵɵtemplate(23,ot,1,0,"span",68),p.ɵɵelementStart(24,"span",69),p.ɵɵtext(25),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵtemplate(26,at,13,14,"form",71),p.ɵɵelementStart(27,"div",72),p.ɵɵtemplate(28,xt,14,25,"div",73),p.ɵɵtemplate(29,yt,5,1,"div",74),p.ɵɵelementEnd(),p.ɵɵelementEnd()),2&e&&(e=t.$implicit,t=p.ɵɵnextContext(2),p.ɵɵclassProp("qna-q-search",e.from_search),p.ɵɵproperty("ng-attribute",t.qschemascope)("ng-attribute-when",t.questionToggleSchema(e)),p.ɵɵadvance(1),p.ɵɵproperty("ng-attribute",p.ɵɵpureFunction1(37,mt,p.ɵɵpureFunction0(36,wt)))("ng-attribute-when",t.questionToggleSchema(e)),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",e.ques_href||e.ques_fullslug),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",!e.ques_href&&!e.ques_fullslug),p.ɵɵadvance(2),p.ɵɵproperty("ng-attribute",p.ɵɵpureFunction1(40,mt,p.ɵɵpureFunction0(39,ht)))("ng-attribute-when",t.questionToggleSchema(e)),p.ɵɵadvance(1),p.ɵɵtextInterpolate(e.upvote),p.ɵɵadvance(2),p.ɵɵtextInterpolate1("Upvote",1!=e.upvote?"s":"",""),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",!t.questionexpand[e.id]&&e.ques_content_cut_mob),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",!t.questionexpand[e.id]&&e.ques_content_cut_desk),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",!t.questionexpand[e.id]&&e.ques_content_has_more),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",(t.questionexpand[e.id]||!e.ques_content_cut_mob)&&e.ques_content_more),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",e.ques_content_has_more),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",e.ques_content_has_more),p.ɵɵadvance(2),p.ɵɵproperty("ngIf",!t.IsSpecial(e.id)),p.ɵɵadvance(2),p.ɵɵclassProp("visible",e.voteinprogress),p.ɵɵproperty("zing-no-touch",!0),p.ɵɵattribute("aria-label",e.upvotelabel),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",e.voteinprogress),p.ɵɵadvance(2),p.ɵɵtextInterpolate(e.upvote),p.ɵɵadvance(1),p.ɵɵclassProp("visible",e.downvoteinprogress),p.ɵɵproperty("zing-no-touch",!0),p.ɵɵattribute("aria-label",e.dnvotelabel),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",e.downvoteinprogress),p.ɵɵadvance(2),p.ɵɵtextInterpolate(e.downvote),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",t.replyboxshow[e.id]),p.ɵɵadvance(1),p.ɵɵproperty("ng-hidden",!e.answers||e.answers.length<1),p.ɵɵadvance(1),p.ɵɵproperty("ngForOf",e.answers)("ngForTrackBy",t.trackByFn),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",e.has_more_answers))}function St(e,t){1&e&&(p.ɵɵelementStart(0,"div",47),p.ɵɵtemplate(1,Ge,3,0,"div",48),p.ɵɵtemplate(2,Et,30,42,"article",49),p.ɵɵelementEnd()),2&e&&(e=p.ɵɵnextContext(),p.ɵɵclassProp("qna-qb-loading",e.search_loading||e.questions_more),p.ɵɵproperty("ng-hidden",e.resultserror||e.load_startup||e.load_startup_fail)("ng-attribute",e.qschemapage)("ng-attribute-when",e.sectionToggleSchema()),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",e.search_loading||e.questions_more),p.ɵɵadvance(1),p.ɵɵproperty("ngForOf",e.schquestions)("ngForTrackBy",e.trackByFn))}function qt(e,t){var n;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"button",127),p.ɵɵlistener("onTap",function(){return p.ɵɵrestoreView(n),p.ɵɵnextContext(2).ViewMoreQuestions()}),p.ɵɵelementStart(1,"span",128),p.ɵɵelementStart(2,"span",126),p.ɵɵtext(3,"View "),p.ɵɵelementEnd(),p.ɵɵtext(4,"More Questions"),p.ɵɵelementEnd(),p.ɵɵelement(5,"i",93),p.ɵɵelementEnd()),2&e&&(e=p.ɵɵnextContext(2),p.ɵɵclassProp("loadactive",e.questions_more))}function Ct(e,t){var n;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"div",123),p.ɵɵtemplate(1,qt,6,2,"button",124),p.ɵɵelementStart(2,"button",125),p.ɵɵlistener("click",function(e){return p.ɵɵrestoreView(n),p.ɵɵnextContext().AskQuestion(e)}),p.ɵɵtext(3,"Ask "),p.ɵɵelementStart(4,"span",126),p.ɵɵtext(5,"Your"),p.ɵɵelementEnd(),p.ɵɵtext(6," Question"),p.ɵɵelementEnd(),p.ɵɵelementEnd()),2&e&&(e=p.ɵɵnextContext(),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",e.has_more_ques))}function Tt(e,t){1&e&&(p.ɵɵelementStart(0,"div",129),p.ɵɵelementStart(1,"div",51),p.ɵɵelement(2,"i"),p.ɵɵelementEnd(),p.ɵɵelementEnd())}function kt(e,t){var n;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"div",130),p.ɵɵelementStart(1,"p",131),p.ɵɵtext(2,"Oops there was a problem retrieving data"),p.ɵɵelementEnd(),p.ɵɵelement(3,"br"),p.ɵɵelementStart(4,"div",132),p.ɵɵelementStart(5,"button",133),p.ɵɵlistener("onTap",function(){return p.ɵɵrestoreView(n),p.ɵɵnextContext().RetryLoadData()}),p.ɵɵtext(6,"Retry"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementEnd())}function It(e){return{"ng-enter-element":e}}require("systemjs").import("css:/components/qna-comp.css").then(function(){}).catch(function(){});Object.defineProperty(At.prototype,"search_value",{get:function(){return this._qType.getValue()},enumerable:!1,configurable:!0}),At.prototype.questionToggleSchema=function(e){return this.toggleSchema&&!(!e.answers||e.answers.length<1)},At.prototype.sectionToggleSchema=function(){return!!(this.toggleSchema&&this._has_answer&&0<this.schquestions.length)},Object.defineProperty(At.prototype,"show_search_state",{get:function(){return this.search_value&&1<this.search_value.length&&!this.noresults&&!this.resultserror},enumerable:!1,configurable:!0}),Object.defineProperty(At.prototype,"show_search_state_empty",{get:function(){return this.search_value&&1<this.search_value.length&&this.noresults&&!this.resultserror},enumerable:!1,configurable:!0}),Object.defineProperty(At.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(At.prototype,"open_popup",{get:function(){return this._open_popup},set:function(e){(this._open_popup=e)&&this.AskQuestion()},enumerable:!1,configurable:!0}),Object.defineProperty(At.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}),At.prototype.trackByFn=function(e){return e},At.prototype._ParseQuestions=function(e,r,o){var a=this,i=[];return h.arrayForEach(e,function(e,t){if(null==e)return!0;var n=e;if(n.ques_title=e.ques_content,delete n.ques_content,n.ques_content_more=n.ques_more_info||n.ques_content_more||"",n.ques_more_info&&delete n.ques_more_info,138<n.ques_content_more.length&&(n.ques_content_cut_mob=n.ques_content_more.substring(0,138),n.ques_content_has_more=!0),330<n.ques_content_more.length?n.ques_content_cut_desk=n.ques_content_more.substring(138,330):138<n.ques_content_more.length&&(n.ques_content_cut_mob=n.ques_content_more,n.ques_content_has_more=!1),!n.ques_fullslug&&n.ques_slug&&(n.ques_fullslug=n.ques_slug+"-"+n.id.toString()),n.upvotelabel=n.upvote+" up vote"+(1!=n.upvote?"s":""),n.dnvotelabel=n.downvote+" down vote"+(1!=n.upvote?"s":""),r){e=r(n,t);if("boolean"==typeof e&&!e)return!0}h.isArray(a.schquestions)&&(t+=a.schquestions.length),a._ParseAnswers(n,t,null,0,o),i.push(n)}),i},At.prototype._ParseAnswers=function(n,r,e,t,o){var a=this,i=e||n.answers||[];h.isArray(i)&&(n.answers=e?n.answers:[],0<i.length&&!this._has_answer&&(this._has_answer=!0),i.forEach(function(e,t){e.user_login&&(e.user_login="@"+e.user_login),e.user_fullname=h.trim(e.user_fullname||""),h.isArray(e.content)?(e.content_cut=e.content[0]||e.content[1],a.answers_content_clipped&&!n.from_search?(e.content_long=e.content[0],delete e.content_cut):e.content[0]?e.content_long=e.content[1]:(e.content_long=e.content_cut,delete e.content_cut)):(e.content_long=e.content,a.answers_content_clipped=!0),delete e.content,e.content_cut&&"string"==typeof e.content_cut&&(e.content_cut=e.content_cut.replace("[[:hellip:]]","...")),0!=r||n.from_search||n.answers.length||(e.content_long||(e.content_long=e.content_cut),delete e.content_cut,a.answerexpand[e.id]=!0),a.signon&&a.signon.id==e.uid&&(a.replyboxinputsubmited[n.id]=e.content_long||e.content_cut),e.content_cut&&(e.content_cut=a._FormatAnswer(e.content_cut)),e.content_long&&(e.content_long=a._FormatAnswer(e.content_long));t=o?o(e,n,t):null;"boolean"==typeof t&&!t||(n.answers.push(e),e.stackid=r.toString()+"-"+n.answers.indexOf(e).toString()),e.is_reportable=!1,e.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"]},e.upvotelabel=e.upvote+" up vote"+(1!=e.upvote?"s":""),e.dnvotelabel=e.downvote+" down vote"+(1!=e.upvote?"s":""),(a.IsSpecial(e.id)||h.isAny(e.uid,[13302181,15780064,13301077,15679068,15598394,16156697]))&&e.sanitizecfg.ADD_TAGS.push("iframe")}),n.has_more_answers=(n.total_answers||0)>n.answers.length||1<n.answers.length&&!this.question_more_answers[n.id],void 0!==t&&!isNaN(parseInt(t.toString()))&&0<t&&(n.has_more_answers=!0)),h.reqAnimationFrame(function(){h.Events.emit("$shortcodes:set")})},At.prototype._FormatAnswer=function(t){try{t=(t=(t=t.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(e){t=""}return t},At.prototype.SearchInput=function(e){e=e.target.value;this._qType.next(e)},At.prototype.ControlSortList=function(e){this.sort_list_opened="boolean"==typeof e?e:!this.sort_list_opened},At.prototype.ExpandContent=function(e,t){this[t+"expand"][e]=!this[t+"expand"][e]},At.prototype.RateContent=function(t,n){var e,r,o,a,i=this;void 0===n&&(n="up"),h.isObject(this.signon)&&"id"in this.signon||!h.isWeb()?t.voteinprogress||t.downvoteinprogress||(t.voteinprogress="up"==n,t.downvoteinprogress="down"==n,e=t.id,o=r=t.answers||t.ques_title?"question":"answer",(a=(t.id+"").match(/^([abceq])(\d+)$/))&&(e=parseInt(a.pop()),o=a.pop(),~["q","a"].indexOf(o)||(o="q"+o)),h.$httpAbort("content-vote-"+t.id),clearTimeout(this.live_status_timer),h.$http({url:h.ajaxUrl(),data:{action:"Answers.Vote",id:e,kind:o,dir:"down"==n?"dn":"up"},id:"content-vote-"+t.id,before:function(){t.voteinprogress="up"==n,t.downvoteinprogress="down"==n,i.live_status="Voting "+r},after:function(){t.voteinprogress=!1,t.downvoteinprogress=!1},headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(function(e){if(i.live_status="",e.error)throw Error("response error");t.upvote=e.votes_up,t.downvote=e.votes_dn,t.upvotelabel=t.upvote+" "+n+" vote"+(1!=t.upvote?"s":""),t.dnvotelabel=t.downvote+" "+n+" vote"+(1!=t.downvote?"s":""),i.live_status="up"==n?t.upvotelabel:t.dnvotelabel,e.upClass&&(t.upvotelabel+=". Pressed"),e.dnClass&&(t.dnvotelabel+=". Pressed"),i.live_status_timer=setTimeout(function(){i.live_status=""},1e3)}).catch(function(e){e instanceof Error?(h.Events.emit("$server:error",{data:e.message}),i.live_status="Error saving your vote"):401==e.status&&(i.live_status="You must be logged in to vote",h.isWeb()&&(top.location.href="/join/light?redirect_to="+encodeURIComponent(document.location.href))),i.live_status_timer=setTimeout(function(){i.live_status=""},1e3)})):top.location.href="/join/light?redirect_to="+encodeURIComponent(document.location.href)},At.prototype.IsSpecial=function(e){return~["c","b","e"].indexOf((e+"").charAt(0))},At.prototype.ControlAnsOpt=function(e){e.options_list_opened=!e.options_list_opened},At.prototype.AnsOpt=function(e,t){t=h.stringGetDigits(t.id);0==e&&window.open("/report-abuse/?ru="+location.href.split("?")[0].split("#")[0]+"&t=a&id="+t,"_self")},At.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},At.prototype.ShowReplybox=function(t){this.replyinprogress[t]||(this.replyboxshow[t]=!this.replyboxshow[t],this.replyboxshow[t]?this.replyboxinput[t]=this.replyboxinputsubmited[t]||"":(h.arrayForEach(this.schquestions,function(e){if(e.id==t)return e.reply_bt_focus=!0,setTimeout(function(){e.reply_bt_focus=!1},100),!1}),this.replyboxinput[t]=""))},At.prototype.ReplyInput=function(e,t){this.replyboxinput[t]=e,this.replyerror[t]&&(this.replyerror[t].show=!1)},At.prototype.SubmitReply=function(o){var a=this,e=this.replyboxinput[o.id];!(e=h.trim(e))||e.length<30?this._throwReplyError(o.id,"Content must have 30 characters."):(clearTimeout(this.live_status_timer),this.live_status="Posting answer",h.$http({url:h.ajaxUrl(),data:{action:"Answers.AnswerQuestion",do:"user-answer",question_id:o.id,answer:e},headers:{"X-Requested-With":"XMLHttpRequest","Content-Type":"application/x-www-form-urlencoded"},before:function(){a.replyinprogress[o.id]=!0},after:function(){delete a.replyinprogress[o.id]}}).then(function(t){if(a.live_status="",t&&"redirect"in t)return top.location.href=t.redirect,void setTimeout(function(){a.replyinprogress[o.id]=!0});if(t.error&&"message"in t){var e=[o.id],n=t.message.match(/^Bad word `([^`]+)` detected.$/);return n&&n.length&&e.push('Profanity is not allowed, including words such as "'+n[1]+'". Please adjust.'),void a._throwReplyError.apply(a,e)}var r;t.error?a._throwReplyError(o.id):(n=(o.answers||[]).findIndex(function(e){return e.id==t.id}),e={date:t.date,id:t.id,content:[t.answer],user_login:t.user_login||t.username,user_fullname:h.trim(t.user_fullname||t.fullname||""),user_avatar:t.user_avatar||t.avatar,user_title:t.user_title||"",edited:t.edited},e={id:o.id,has_more_answers:o.has_more_answers,answers:[e]},a._ParseAnswers(e,e.id),(e=e.answers[0]).my_ans=!0,a.answerexpand[e.id]=!0,r=e,-1<n?(e.edited=!0,Object.assign(o.answers[n],e),r=o.answers[n]):o.answers.unshift(e),a.replyboxinputsubmited[o.id]=t.answer,delete a.replyboxshow[o.id],a.live_status="Answer posted",r.focuson=!0,setTimeout(function(){r.focuson=!1},100),a.live_status_timer=setTimeout(function(){a.live_status=""},1e3))}).catch(function(e){console.error(e),a._throwReplyError(o.id)}))},At.prototype.QSearch=function(e,t){var n=this;this.resultserror=!1;e=t?null:h.trim(null!=e?e:this._qType.getValue())||"";this.current_page=1,h.$httpAbort("qna-search-query"),h.$httpAbort("qna-load-initial"),e?(clearTimeout(this.live_status_timer),e={id:"qna-search-query",url:h.ajaxUrl(),data:{action:"Answers.CommunitySearch",query:e},before:function(){n.search_loading=!0,n.live_status="Searching for answers"},after:function(){n.search_loading=!1},method:"GET"},this.quest_category?e.data.category=this._stripSlashes(this.quest_category):e.data.uri=this.ques_referer,h.$http(e).then(function(e){if(!e||!h.isArray(e))throw n.live_status="no matching results",n.live_status_timer=setTimeout(function(){n.live_status=""},1e3),Error("Data provide is invalid");n.answerexpand={},n.questionexpand={},n.schquestions=n._ParseQuestions(e,function(e){e.from_search=!0}),n.noresults=0==n.schquestions.length,n.live_status=(n.noresults?"no ":"")+"matching results",n.live_status_timer=setTimeout(function(){n.live_status=""},1e3)}).catch(function(e){e instanceof Error&&console.error(e),n.resultserror=!0,n.live_status="no matching results",setTimeout(function(){n.live_status=""},1e3)})):this._StartupLoad(!0)},At.prototype.QReset=function(){this.QSearch(null,!0)},At.prototype.QClear=function(){this._qType.next("")},At.prototype._stripSlashes=function(e){return e=(e=0==e.indexOf("/")?e.substring(1):e).lastIndexOf("/")==e.length-1?e.substring(0,e.length):e},At.prototype.ViewMoreAns=function(t,n){var r=this;if(1<t.answers.length&&!this.question_more_answers[t.id])return this.question_more_answers[t.id]=!0,void(t.has_more_answers=(t.total_answers||0)>t.answers.length);this.live_status="Loading more answers",h.$http({url:h.ajaxUrl(),method:"GET",data:{action:"Answers.GetMoreAnswers",answers:t.answers.length,qid:t.id,v:2},before:function(){r.answersmore[t.id]=!0},after:function(){r.answersmore[t.id]=!1}}).then(function(e){if(r.live_status="",!e||!h.isArray(e.answers))throw Error("Required `answers` Array is not part of response");r.question_more_answers[t.id]=!0,r._ParseAnswers(t,n,e.answers,e.left,function(e,t,n){0==n&&(e.focuson=!0,setTimeout(function(){e.focuson=!1},100))}),r.live_status="Loaded "+e.answers.length+" more answer"+(1!=e.answers.length?"s":""),setTimeout(function(){r.live_status=""},1e3)}).catch(function(e){r.live_status="",console.error(e)})},At.prototype.AnswerExpanded=function(e){e.focuson=!0,setTimeout(function(){e.focuson=!1},100)},At.prototype._LoadQues=function(n){var t=this;n&&(this.current_page=1),h.$httpAbort("qna-more-questions");var r,e={uri:this.ques_referer,action:"Answers.GetForPage"};1<this.current_page&&(e.p=this.current_page),this.sortingparam&&(e.sort_by=this.sortingparam),h.$http({url:h.ajaxUrl(),method:"GET",data:e,before:function(){t.questions_more=!0,r=t._dservice&&t._dservice.element&&t._dservice.element.scrollTop,t.live_status=n?"Sorting questions by "+("mv"!=t.sortingparam?"most popular":"most upvotes"):"Loading more questions"},after:function(){t.questions_more=!1},id:"qna-more-questions"}).then(function(e){if(t.live_status="",!e||!h.isArray(e.questions))throw Error("Required `question` Array is not part of response");t.has_enough_ques=e.pages&&1<e.pages,t.has_more_ques=e.current_page&&e.pages&&e.current_page<e.pages,n?(t.schquestions=[],t.has_enough_ques=!0):(t.live_status="Loaded "+e.questions.length+"more question"+(1!=e.questions.length?"s":""),setTimeout(function(){t.live_status=""},1e3)),t.schquestions=t.schquestions.concat(t._ParseQuestions(e.questions,function(e,t){0!=t||n||(e.focuson=!0,setTimeout(function(){e.focuson=!1},100))})),t.noresults=0==t.schquestions.length,setTimeout(function(){t._dservice&&t._dservice.element&&t._dservice.scrollTo({position:r,timing:0})})}).catch(function(e){t.live_status="",console.error(e)})},At.prototype.ViewMoreQuestions=function(){this.current_page++,this._LoadQues()},At.prototype.ChangeSort=function(e){this.sortv=this.sortList[e],this.sort_list_opened=!1,this.sortingparam=1===e?"mv":"mp",this._LoadQues(!0)},At.prototype.AskQuestion=function(e){e=e&&e.currentTarget;this._quesOverlay.Open(xe,{input:this.ques_ask||this._qType.getValue()||"",referer:h.baseUrl()+this.ques_referer,addparams:this.addAskParams,categories:this.ask_quest_categories},{return_focus_to:e||null})},At.prototype._parseInitialData=function(e){this.schquestions=this._ParseQuestions(e.questions||[]),this.noresults=0==this.schquestions.length,this.has_enough_ques=e.pages&&1<e.pages,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&&1<e.current_page&&(this.current_page=e.current_page)},At.prototype._StartupLoad=function(t){var n=this;this.load_startup_fail=!1;var e={uri:this.ques_referer,action:"Answers.GetForPage"};1<this.current_page&&(e.p=this.current_page),this.sortingparam&&(e.sort_by=this.sortingparam),h.$httpAbort("qna-load-initial"),h.$http({url:h.ajaxUrl(),method:"GET",data:e,before:function(){t?n.search_loading=!0:n.load_startup=!0},after:function(){t?n.search_loading=!1:n.load_startup=!1},id:"qna-load-initial"}).then(function(e){if(!e||e.error||e.questions&&!h.isArray(e.questions))throw Error("Required `question` Array is not part of response");n._parseInitialData(e),t&&(n.has_enough_ques=!0)}).catch(function(e){console.error(e),n.load_startup_fail=!0})},At.prototype.RetryLoadData=function(){this._StartupLoad()},At.prototype.ngOnInit=function(){var n=this;this.sortv=this.sortList[0],this.sortingparam="mp",h.isNode()||!h.Cookies.get("mw_signon")&&!h.AppData.group("mw_cookies")?this.user_avatar=null:(this.signon=h.Cookies.get("mw_signon")?JSON.parse(h.Cookies.get("mw_signon")):null,this.user_avatar=this.signon&&this.signon.pp||this.user_avatar_fallback);var r,o,e=this._location.path().split("?")[0];this.ques_referer=this.ques_referer||e.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&&!h.isNode()&&this._route.queryParams.pipe(p.take(1)).subscribe(function(e){e=e[n.page_query],e=e?h.toNumber(e):0;e&&(!n.ques_data||!n.ques_data.pages||e<=n.ques_data.pages&&e!=n.ques_data.current_page?(n.current_page=e,n.ques_data=null):n.ques_data.questions.length<1&&(n.ques_data.pages=1))}),this.ques_data&&this.ques_data.questions&&h.isArray(this.ques_data.questions)?this._parseInitialData(this.ques_data):h.isNode()||(this.load_startup=!0,setTimeout(function(){n._StartupLoad()},this.start_delay||1));var t=this._qType.pipe(p.debounceTime(200)).subscribe(function(e){var t=h.trim((e||"").replace(/(\r\n\t|\n|\r\t)/gm," "));null!==e&&t!=r&&1<t.length?(r=t,o=!0,n.QSearch(t)):o&&(!t||t.length<2)&&(r=t,o=!1,n.QReset())},function(){},function(){t.unsubscribe()})},At.prototype.ngAfterViewInit=function(){var e=this;h.reqAnimationFrame(function(){h.isNode()||(e.allow_animation=!0)})},At.prototype.ngOnDestroy=function(){this._qType.complete()},At.ɵfac=function(e){return new(e||At)(p.ɵɵdirectiveInject(p.NgZone),p.ɵɵdirectiveInject(p.Location),p.ɵɵdirectiveInject(p.DomSanitizer),p.ɵɵdirectiveInject(S),p.ɵɵdirectiveInject(h.ScrollerService))},At.ɵcmp=p.ɵɵdefineComponent({type:At,selectors:[["section","id","qna-box"]],viewQuery:function(e,t){1&e&&(p.ɵɵviewQuery(Ae,5),p.ɵɵviewQuery(ze,5),p.ɵɵviewQuery(Me,5)),2&e&&(e=void 0,p.ɵɵqueryRefresh(e=p.ɵɵloadQuery())&&(t.txtElement=e.first),p.ɵɵqueryRefresh(e=p.ɵɵloadQuery())&&(t._quesOverlay=e.first),p.ɵɵqueryRefresh(e=p.ɵɵloadQuery())&&(t._answersList=e))},hostVars:4,hostBindings:function(e,t){2&e&&p.ɵɵclassProp("qna-type1",0==t.layout_type)("qna-no-more",!t.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:F,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","zing-touch","",3,"qnaml-first","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","zing-touch","",1,"qna-most-list-it","bold-font",3,"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,t){1&e&&(p.ɵɵelement(0,"div",0),p.ɵɵtemplate(1,je,3,7,"h2",1),p.ɵɵtemplate(2,Ne,6,2,"p",2),p.ɵɵtemplate(3,Fe,1,4,"p",3),p.ɵɵtemplate(4,$e,13,11,"div",4),p.ɵɵelementStart(5,"div",5),p.ɵɵelementStart(6,"span",6),p.ɵɵlistener("onTap",function(){return t.ControlSortList()})("onTapOutside",function(){return t.ControlSortList(!1)}),p.ɵɵelementStart(7,"span",7),p.ɵɵtext(8),p.ɵɵelementEnd(),p.ɵɵelement(9,"i",8),p.ɵɵelementEnd(),p.ɵɵelementStart(10,"div",9),p.ɵɵlistener("onTap",function(e){return e.stopPropagation()}),p.ɵɵtemplate(11,Be,2,3,"span",10),p.ɵɵelementEnd(),p.ɵɵelementStart(12,"div",11),p.ɵɵtext(13,"Questions sort"),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵtemplate(14,Ue,9,5,"div",12),p.ɵɵtemplate(15,St,3,8,"div",13),p.ɵɵtemplate(16,Ct,7,1,"div",14),p.ɵɵelement(17,"modal-dialog",15,16),p.ɵɵtemplate(19,Tt,3,0,"div",17),p.ɵɵtemplate(20,kt,7,0,"div",18)),2&e&&(p.ɵɵproperty("ng-aria-live",t.live_status),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",t.show_header),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",t.product_name),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",t.intro_content),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",t.has_enough_ques&&!t.load_startup&&!t.load_startup_fail),p.ɵɵadvance(1),p.ɵɵproperty("ngClass",p.ɵɵpureFunction1(18,It,t.allow_animation))("ng-hidden",!t.has_enough_ques||0==t.schquestions.length||t.show_search_state||t.show_search_state_empty||t.resultserror),p.ɵɵadvance(1),p.ɵɵattribute("aria-expanded",t.sort_list_opened)("aria-label",t.sortv),p.ɵɵadvance(2),p.ɵɵtextInterpolate(t.sortv),p.ɵɵadvance(2),p.ɵɵproperty("ng-hidden",!t.sort_list_opened),p.ɵɵadvance(1),p.ɵɵproperty("ngForOf",t.sortList)("ngForTrackBy",t.trackByFn),p.ɵɵadvance(3),p.ɵɵproperty("ngIf",!t.has_enough_ques&&!t.load_startup&&!t.load_startup_fail),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",t.search_loading||t.questions_more||t.schquestions.length),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",t.has_view_more),p.ɵɵadvance(3),p.ɵɵproperty("ngIf",t.load_startup&&!t.load_startup_fail),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",t.load_startup_fail))},directives:[h.ngAriaLive,p.NgIf,p.NgClass,h.ngHidden,h.TouchGestures,p.NgForOf,h.ngModalDialog,re,h.ngZenScroll,R,K,h.ngAttribute,h.ngFocus,h.ngCleanHTML,h.FormSubmit,Y,h.ErrorToastComponent,h.ImageLoader,h.ngCleanBind],encapsulation:2}),Y=At;function At(e,t,n,r,o){this._zone=e,this._location=t,this._sanitize=n,this._route=r,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 p.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 p.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=h.baseUrl()+"/answers/",h.isNode()||(this.is_android=null!=navigator.userAgent.match(/Android/i)||navigator.platform&&null!=navigator.platform.match(/Android/i))}zt.ɵfac=function(e){return new(e||zt)},zt.ɵmod=p.ɵɵdefineNgModule({type:zt}),zt.ɵinj=p.ɵɵdefineInjector({imports:[[p.CommonModule,h.DirectivesModule,h.ErrorsModule,te,h.ImageLoaderModule,k,h.ngModalsModule,h.StickerModule,D,X,h.FormSubmitModule,f,r,h.ngFocusModule]]}),X=zt;function zt(){}f=["id","experts-gallery"];function Mt(e,t){1&e&&(p.ɵɵelementStart(0,"div",10),p.ɵɵelement(1,"i"),p.ɵɵelementEnd())}function Lt(e,t){1&e&&(p.ɵɵelementStart(0,"div",11),p.ɵɵelement(1,"h2",12),p.ɵɵelementEnd()),2&e&&(e=p.ɵɵnextContext(2),p.ɵɵadvance(1),p.ɵɵproperty("innerHTML",e.header_text||"Ask the Experts",p.ɵɵsanitizeHtml))}function Ot(e,t){1&e&&(p.ɵɵelement(0,"div",13),p.ɵɵpipe(1,"safeHtml")),2&e&&(e=p.ɵɵnextContext(2),p.ɵɵproperty("innerHTML",p.ɵɵpipeBind1(1,1,e.intro),p.ɵɵsanitizeHtml))}function jt(e,t){var n;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementContainerStart(0),p.ɵɵelementStart(1,"span",21),p.ɵɵtext(2),p.ɵɵelementEnd(),p.ɵɵelement(3,"br"),p.ɵɵelementStart(4,"i",21),p.ɵɵtext(5),p.ɵɵelementEnd(),p.ɵɵelement(6,"br"),p.ɵɵelementStart(7,"span",22),p.ɵɵlistener("onTap",function(){p.ɵɵrestoreView(n);var e=p.ɵɵnextContext().$implicit;return p.ɵɵnextContext(2).gotToOne(e.HASHTAG)}),p.ɵɵtext(8,"Read More"),p.ɵɵelementEnd(),p.ɵɵelementContainerEnd()),2&e&&(e=p.ɵɵnextContext().$implicit,p.ɵɵadvance(2),p.ɵɵtextInterpolate(e.AUTHOR),p.ɵɵadvance(3),p.ɵɵtextInterpolate(e.CAPTION))}function Nt(e,t){var n;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementContainerStart(0),p.ɵɵelementStart(1,"span",23),p.ɵɵlistener("onTap",function(){p.ɵɵrestoreView(n);var e=p.ɵɵnextContext().$implicit;return p.ɵɵnextContext(2).gotToOne(e.HASHTAG)}),p.ɵɵelementEnd(),p.ɵɵelementContainerEnd()),2&e&&(e=p.ɵɵnextContext().$implicit,p.ɵɵadvance(1),p.ɵɵproperty("ng-context",e.AUTHOR))}function Ft(e,t){var n;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"dl",14),p.ɵɵelementStart(1,"dt",15),p.ɵɵelementStart(2,"span",16),p.ɵɵlistener("onTap",function(){var e=p.ɵɵrestoreView(n).$implicit;return p.ɵɵnextContext(2).gotToOne(e.HASHTAG)}),p.ɵɵelement(3,"img",17,18),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementStart(5,"dd",19),p.ɵɵtemplate(6,jt,9,2,"ng-container",20),p.ɵɵtemplate(7,Nt,2,1,"ng-container",20),p.ɵɵelementEnd(),p.ɵɵelementEnd()),2&e&&(e=t.$implicit,t=p.ɵɵnextContext(2),p.ɵɵclassProp("gallery-item-logo",t.as_logos),p.ɵɵadvance(2),p.ɵɵproperty("defer-src",e.AVATAR)("zing-no-touch",!0)("ui-hydrate",t.srv_no_avatars),p.ɵɵadvance(1),p.ɵɵclassProp("exp-img-logo",t.as_logos),p.ɵɵproperty("src",e.AVATAR,p.ɵɵsanitizeUrl)("alt",e.AUTHOR),p.ɵɵadvance(3),p.ɵɵproperty("ngIf",!t.as_logos),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",t.as_logos))}function Pt(e,t){var n;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"div",24),p.ɵɵelementStart(1,"span",25),p.ɵɵlistener("onTap",function(){return p.ɵɵrestoreView(n),p.ɵɵnextContext(2).showMoreExperts()}),p.ɵɵelementEnd(),p.ɵɵelementEnd()),2&e&&(e=p.ɵɵnextContext(2),p.ɵɵadvance(1),p.ɵɵproperty("ng-context",e.more_btn_txt))}function Ht(e,t){1&e&&(p.ɵɵelementStart(0,"i"),p.ɵɵtext(1),p.ɵɵelementEnd()),2&e&&(e=p.ɵɵnextContext(3),p.ɵɵadvance(1),p.ɵɵtextInterpolate(null==e.expert_full?null:e.expert_full.CAPTION))}function Rt(e,t){1&e&&p.ɵɵelement(0,"div",31),2&e&&(e=p.ɵɵnextContext(3),p.ɵɵproperty("innerHtml",e.expert_full.CONTENT,p.ɵɵsanitizeHtml))}function Vt(e,t){1&e&&p.ɵɵelement(0,"div",32),2&e&&(e=p.ɵɵnextContext(3),p.ɵɵproperty("cleanHTML",e.expert_full.CONTENT)("cleanHTML-sett",e.doompurifySett))}function Dt(e,t){var n;1&e&&(n=p.ɵɵgetCurrentView(),p.ɵɵelementStart(0,"article",26),p.ɵɵelementStart(1,"button",27),p.ɵɵlistener("onTap",function(){return p.ɵɵrestoreView(n),p.ɵɵnextContext(2).goToAll()}),p.ɵɵtext(2),p.ɵɵelementEnd(),p.ɵɵelement(3,"img",28),p.ɵɵelementStart(4,"h3"),p.ɵɵtext(5),p.ɵɵelementEnd(),p.ɵɵtemplate(6,Ht,2,1,"i",20),p.ɵɵtemplate(7,Rt,1,1,"div",29),p.ɵɵtemplate(8,Vt,1,2,"div",30),p.ɵɵelementEnd()),2&e&&(e=p.ɵɵnextContext(2),p.ɵɵclassProp("exp-logo-profile",e.as_logos),p.ɵɵadvance(1),p.ɵɵproperty("ngClass",e.back_bt_class),p.ɵɵadvance(1),p.ɵɵtextInterpolate(e.back_bt_text),p.ɵɵadvance(1),p.ɵɵproperty("src",null==e.expert_full?null:e.expert_full.AVATAR,p.ɵɵsanitizeUrl),p.ɵɵadvance(2),p.ɵɵtextInterpolate(null==e.expert_full?null:e.expert_full.AUTHOR),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",!e.as_logos),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",!e.as_logos),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",e.as_logos))}function $t(e,t,n,r,o,a){return{"exp-gal-one-it":e,"exp-gal-two-it":t,"expert-single":n,"blink-end":r,empty:o,"experts-format-a":a}}function Bt(e,t){1&e&&(p.ɵɵelementStart(0,"section",1),p.ɵɵtemplate(1,Mt,2,0,"div",2),p.ɵɵtemplate(2,Lt,2,1,"div",3),p.ɵɵtemplate(3,Ot,2,3,"div",4),p.ɵɵelementStart(4,"div",5),p.ɵɵelementStart(5,"div",6),p.ɵɵtemplate(6,Ft,8,11,"dl",7),p.ɵɵtemplate(7,Pt,2,1,"div",8),p.ɵɵtemplate(8,Dt,9,9,"article",9),p.ɵɵelementEnd(),p.ɵɵelementEnd(),p.ɵɵelementEnd()),2&e&&(e=p.ɵɵnextContext(),p.ɵɵproperty("ngClass",p.ɵɵpureFunction6(13,$t,e.experts.length<2,e.experts.length<3,e.expert_single,!e.expert_single&&!e.loading&&!e.is_initial,e.emptydata,1==e.layout_format))("scroll-to",e.scrollall),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",e.loading),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",!e.layout_format),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",e.intro&&!e.expert_single),p.ɵɵadvance(1),p.ɵɵclassProp("all",!e.expert_single),p.ɵɵproperty("scroll-to",e.center_experts),p.ɵɵadvance(1),p.ɵɵproperty("scroll-to",e.scrollsingle)("scrolloffset",e.expert_offset),p.ɵɵadvance(1),p.ɵɵproperty("ngForOf",e.experts),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",e.hasmoreexperts&&!e.expert_single),p.ɵɵadvance(1),p.ɵɵproperty("ngIf",e.expert_single))}require("systemjs").import("css:/components/experts-gallery.css").then(function(){},function(){});Qt.prototype.transform=function(e){return this.sanitized.bypassSecurityTrustHtml(e)},Qt.ɵfac=function(e){return new(e||Qt)(p.ɵɵdirectiveInject(p.DomSanitizer,16))},Qt.ɵpipe=p.ɵɵdefinePipe({name:"safeHtml",type:Qt,pure:!0}),r=Qt;function Qt(e){this.sanitized=e}var Ut=(Object.defineProperty(Gt.prototype,"hashname",{get:function(){return this._hashname},set:function(e){(this._hashname=e)&&this._rendered?this._goToExpert(e):this.expert_single=!1},enumerable:!1,configurable:!0}),Object.defineProperty(Gt.prototype,"data",{get:function(){return this._data},set:function(e){(this._data=e)&&h.isArray(e.expertsContent)?(h.$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(Gt.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(Gt.prototype,"urlrefresh",{get:function(){return this._refreshonurl},set:function(e){(this._refreshonurl=e)&&this._urlpath&&!this._data&&!this.asyncdata?this._refreshonurl=!0:this._refreshonurl=!1},enumerable:!1,configurable:!0}),Gt.prototype._goToExpert=function(e,n){var r=this;this.is_initial=!1;function o(){r.scrollsingle=!0,setTimeout(function(){r.scrollsingle=!1},100)}e=e.toString().toLowerCase(),e=!(!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]],h.reqAnimationFrame(function(){r._zone.run(function(){var t;h.isWeb()&&r._servertransitwait?(n||(t=h.Events.subscribe("server:transitscroll",function(e){"done"!=e&&"none"!=e||o(),setTimeout(function(){t&&t.unsubscribe()})})),r._servertransitwait=!1):n||o()})})),!0),this.tagMatch.emit(e)},Gt.prototype._storeTags=function(){this._hashtaglist={};for(var e=0,t=this.experts.length;e<t;e++){var n=(n=this.experts[e].HASHTAG.substring(1)).toLowerCase();this._hashtaglist[n]=e+(0===this.current_page?0:this.current_page-1)*this.max_experts}},Gt.prototype._parseExperts=function(e){0<e.expertsContent.length?(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=[])},Gt.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)},Gt.prototype._throwError=function(e,t){this.dataerror=!0,h.RavenRequestFail(e,"NG Experts Gallery : Data Request Error",{action:t})},Gt.prototype._getExpertsByUrl=function(){var n=this;this.expert_single=!1,h.$httpAbort("experts-gallery"),this.loading=!0,h.$http({method:"GET",url:h.ajaxUrl(),id:"experts-gallery",before:function(){n.loading=!0},after:function(){n.loading=!1},data:{action:"Posts.GetExpertsGallery",path:this.urlpath},events:!1}).then(function(e){var t;e&&!e.error?(t=e.data,h.isObject(t)&&h.isArray(t.expertsContent)?(n._data=t,n._parseExperts(t)):n.emptydata=!0):n._throwError({data:e,status:200,type:"response"},n.urlpath)},function(e){n._throwError(e,n.urlpath)})},Gt.prototype.ngOnInit=function(){var e=this;this.isnode=h.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()},Gt.prototype.ngAfterViewInit=function(){var e=this;this._rendered=!0,this.data&&!this.emptydata&&this._hashname?h.reqAnimationFrame(function(){return e._goToExpert(e._hashname)}):this.asyncdata||(this._servertransitwait=!1)},Gt.prototype.ngOnDestroy=function(){h.$httpAbort("experts-gallery")},Gt.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)},Gt.prototype.gotToOne=function(e){e=e.substring(1);this.expert_full=null,this._goToExpert(e),this.changedExpert.emit(e)},Gt.prototype.showMoreExperts=function(){var e=this,t=this._data.expertsContent,n=t.length;this.experts=t.slice(this.current_page*this.max_experts,++this.current_page*this.max_experts),this._storeTags(),this.current_page&&this.current_page*this.max_experts>=n&&(this.current_page=0),this.center_experts=!1,setTimeout(function(){e.center_experts=!0,h.reqAnimationFrame(function(){e.center_experts=!1})})},Gt.ɵfac=function(e){return new(e||Gt)(p.ɵɵdirectiveInject(p.NgZone))},Gt.ɵcmp=p.ɵɵdefineComponent({type:Gt,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:f,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"],[1,"gallery-icon"],["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,t){1&e&&p.ɵɵtemplate(0,Bt,9,20,"section",0),2&e&&p.ɵɵproperty("ngIf",!t.norender)},directives:[p.NgIf,p.NgClass,h.ngZenScroll,p.NgForOf,h.TouchGestures,h.ImageLoader,h.ngCleanBind,h.ngCleanHTML],pipes:[r],encapsulation:2}),Gt);function Gt(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 p.EventEmitter,this.tagMatch=new p.EventEmitter,this._servertransitwait=!0}var Wt=(Yt.ɵfac=function(e){return new(e||Yt)},Yt.ɵmod=p.ɵɵdefineNgModule({type:Yt}),Yt.ɵinj=p.ɵɵdefineInjector({imports:[[h.DirectivesModule,p.CommonModule,h.ImageLoaderModule]]}),Yt);function Yt(){}e.ActivatedRoute=S,e.CompileExpertsGallery=function(e,t,n,r,o){void 0===o&&(o={});for(var a=Wt,i=Ut,s=document.querySelectorAll("div[id=experts-gallery]"),l=[],c=0,d=s.length;c<d;c++){s[c].setAttribute("data-expert-sect",c.toString());var u='div[data-expert-sect="'+c+'"]',p={back_bt_text:(p=o.data[c]||{}).back_link_text,more_btn_txt:p.more_text,header_text:p.header_text,expert_offset:-100,max_experts:6,hashname:o.hashname,data:{expertsContent:p.expertsContent,aslogos:p.aslogos,expertsIntro:p.expertsIntro}};l.push(h.injectModuleAsync(e,t,n,a,i,u,p).then(function(n){var e=n.Component.instance.changedExpert.subscribe(function(e){e?history.pushState(null,"",location.pathname+location.search+"#expert="+e):history.replaceState(null,"",location.pathname+location.search)}),t=r.fragment.subscribe(function(e){var t;(e=(e||"").replace("#",""))&&-1<e.indexOf("expert=")&&((t=h.objectFromParam(e))&&t.expert&&h.reqAnimationFrame(function(){n.Component.instance.hashname=t.expert}))});return{destroy:function(){n.destroy(),e.unsubscribe(),t.unsubscribe()}}}))}return Promise.all(l).then(function(e){return{destroy:function(){e.forEach(function(e){e.destroy()})}}})},e.FooterModule=w,e.PageFooter=b,e.QnAComp=Y,e.QnAModule=X,e.RouterModule=k});