define(["exports","./edu-vendor","./edu-main","systemjs","npm:navigo/lib/navigo.js","./ci-widget"],function(e,u,m,t,n,r){"use strict";function o(e,t){1&e&&(u.ɵɵelementStart(0,"p",5),u.ɵɵtext(1,"Enter your cell phone number and we’ll send you a link to install the WalletHub app."),u.ɵɵelementEnd())}function a(e,t){1&e&&(u.ɵɵelementStart(0,"p",6),u.ɵɵtext(1,"Failed. Please check your phone number."),u.ɵɵelementEnd())}function i(e,t){1&e&&(u.ɵɵelementStart(0,"p",7),u.ɵɵtext(1,"Awesome! You should be receiving a text with the download link shortly"),u.ɵɵelementEnd())}function s(e,t){var n;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"div",8),u.ɵɵelementStart(1,"button",9),u.ɵɵlistener("onTap",function(){return u.ɵɵrestoreView(n),u.ɵɵnextContext().closeDialog()}),u.ɵɵtext(2,"Close"),u.ɵɵelementEnd(),u.ɵɵelementEnd())}function l(e,t){var n;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"form",10),u.ɵɵlistener("onSubmit",function(){return u.ɵɵrestoreView(n),u.ɵɵnextContext().SendSms()}),u.ɵɵelementStart(1,"input",11),u.ɵɵlistener("input",function(e){return u.ɵɵrestoreView(n),u.ɵɵnextContext().phone=e.target.value}),u.ɵɵelementEnd(),u.ɵɵelementStart(2,"p",12),u.ɵɵtext(3,"Wallethub doesn’t charge for this service. Standard message rates apply."),u.ɵɵelementEnd(),u.ɵɵelement(4,"error-toast",13),u.ɵɵelementStart(5,"div",14),u.ɵɵelementStart(6,"button",15),u.ɵɵelement(7,"i",16),u.ɵɵelementStart(8,"span"),u.ɵɵtext(9,"Send Link to My Phone"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelement(10,"div",17),u.ɵɵelementStart(11,"button",18),u.ɵɵlistener("onTap",function(){return u.ɵɵrestoreView(n),u.ɵɵnextContext().closeDialog()}),u.ɵɵtext(12,"Cancel"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementEnd()),2&e&&(e=u.ɵɵnextContext(),u.ɵɵadvance(1),u.ɵɵproperty("value",e.phone),u.ɵɵadvance(3),u.ɵɵproperty("show",e.apifail)("timer",2200),u.ɵɵadvance(2),u.ɵɵclassProp("loadactive",e.sending))}var p=(c.prototype.SendSms=function(){var t=this;this.sending||m.$http({before:function(){t.sending=!0},after:function(){t.sending=!1},url:m.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)})},c.prototype.closeMe=function(){this.sending||this.closeDialog()},c.ɵfac=function(e){return new(e||c)(u.ɵɵdirectiveInject(u.ChangeDetectorRef))},c.ɵcmp=u.ɵɵdefineComponent({type:c,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&&(u.ɵɵtemplate(0,o,2,0,"p",0),u.ɵɵtemplate(1,a,2,0,"p",1),u.ɵɵtemplate(2,i,2,0,"p",2),u.ɵɵtemplate(3,s,3,0,"div",3),u.ɵɵtemplate(4,l,13,5,"form",4)),2&e&&(u.ɵɵproperty("ngIf",!t.sentfailed&&!t.sentdone),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",t.sentfailed),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",t.sentdone),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",t.sentdone),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",!t.sentdone))},directives:[u.NgIf,m.TouchGestures,m.FormSubmit,m.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}),c);function c(e){this._cd=e,this.phone=null,this.sending=!1,this.sentfailed=!1,this.sentdone=!1,this.apifail=!1}u.setClassMetadata(p,[{type:u.Component,args:[{selector:"app-store",templateUrl:"/views/components/app-store.html",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:u.ViewEncapsulation$1.None,changeDetection:u.ChangeDetectionStrategy.Default}]}],function(){return[{type:u.ChangeDetectorRef}]},null);var d=["smsOverlay"],h=["toTop"],g=["main-footer",""];function f(e,t){var n;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"div",74),u.ɵɵelementStart(1,"span",75),u.ɵɵlistener("onTap",function(){return u.ɵɵrestoreView(n),u.ɵɵnextContext().openStoreOvelary(!1)}),u.ɵɵtext(2," "),u.ɵɵelementEnd(),u.ɵɵelementStart(3,"span",76),u.ɵɵlistener("onTap",function(){return u.ɵɵrestoreView(n),u.ɵɵnextContext().openStoreOvelary(!0)}),u.ɵɵtext(4," "),u.ɵɵelementEnd(),u.ɵɵelementEnd())}function _(e,t){1&e&&(u.ɵɵelementStart(0,"div",74),u.ɵɵelementStart(1,"a",77),u.ɵɵtext(2," "),u.ɵɵelementEnd(),u.ɵɵelementStart(3,"a",78),u.ɵɵtext(4," "),u.ɵɵelementEnd(),u.ɵɵelementEnd()),2&e&&(u.ɵɵadvance(1),u.ɵɵproperty("zing-url",!0),u.ɵɵadvance(2),u.ɵɵproperty("zing-url",!0))}function x(e,t){var n;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"div",79),u.ɵɵelementStart(1,"span",75),u.ɵɵlistener("onTap",function(){return u.ɵɵrestoreView(n),u.ɵɵnextContext().openStoreOvelary(!1)}),u.ɵɵtext(2," "),u.ɵɵelementEnd(),u.ɵɵelementStart(3,"span",76),u.ɵɵlistener("onTap",function(){return u.ɵɵrestoreView(n),u.ɵɵnextContext().openStoreOvelary(!0)}),u.ɵɵtext(4," "),u.ɵɵelementEnd(),u.ɵɵelementEnd())}function v(e,t){1&e&&(u.ɵɵelementStart(0,"div",80),u.ɵɵelementStart(1,"a",81),u.ɵɵtext(2," "),u.ɵɵelementEnd(),u.ɵɵelementStart(3,"a",82),u.ɵɵtext(4," "),u.ɵɵelementEnd(),u.ɵɵelementEnd()),2&e&&u.ɵɵproperty("zing-url-container",!0)}require("systemjs").import("css:/footer-web.css").then(function(){},function(){});var y=(b.prototype.trackByFn=function(e){return e},b.prototype.ScrollToTop=function(){this._dservice.scrollTo({position:0,timing:300})},b.prototype.openStoreOvelary=function(e){!m.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(p,{android:e})},b.prototype.ngOnInit=function(){this.isWeb&&(this.feedbackUrl="/feedback/?ref="+window.location.pathname)},b.prototype.openFeedbackPage=function(e){return e.stopPropagation(),e.preventDefault(),window.open("/feedback/?ref="+window.location.pathname,"_parent"),!1},b.prototype.ngAfterViewInit=function(){var t,n,r=this;this.isWeb&&!window.JSTESTING&&(t=this._arrowTop.nativeElement,m.AppContainer().appendChild(t),this._headpos=this._dservice.onScroll.subscribe(function(e){r._arrowautoshow&&m.reqAnimationFrame(function(){!t.classList.contains("show")&&1800<=e?t.classList.add("show"):t.classList.contains("show")&&e<1800&&t.classList.remove("show")})}),n=!1,m.Events.subscribe("to-top-arrow:show",function(e){(r._arrowautoshow=e)?n&&r._dservice.onScroll.pipe(u.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)}))},b.prototype.ngOnDestroy=function(){this._headpos&&this._headpos.unsubscribe(),m.Events.terminate("to-top-arrow:show")},b.ɵfac=function(e){return new(e||b)(u.ɵɵdirectiveInject(m.ScrollerService),u.ɵɵdirectiveInject(u.ElementRef))},b.ɵcmp=u.ɵɵdefineComponent({type:b,selectors:[["footer","main-footer",""]],viewQuery:function(e,t){1&e&&(u.ɵɵviewQuery(d,!0),u.ɵɵviewQuery(h,!0)),2&e&&(u.ɵɵqueryRefresh(e=u.ɵɵloadQuery())&&(t._smsOverlay=e.first),u.ɵɵqueryRefresh(e=u.ɵɵloadQuery())&&(t._arrowTop=e.first))},attrs:g,decls:264,vars:12,consts:[["zing-touch","",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","",1,"small",3,"zing-url-container"],["href","/credit-cards/"],["zing-touch","",1,"second-small",3,"zing-url-container"],["class","mobileButtons",4,"ngIf"],["class","mobileButtons","zing-touch","",3,"zing-url-container",4,"ngIf"],["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","",3,"onTap"],["toTop",""],[1,"mobileButtons","top-mb-score-bts"],["zing-touch","",1,"store-link","appleStore",3,"onTap"],["zing-touch","",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","",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",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",1,"store-link","googlePlay"]],template:function(e,t){1&e&&(u.ɵɵelementStart(0,"nav",0),u.ɵɵelementStart(1,"ul"),u.ɵɵelementStart(2,"li",1),u.ɵɵtext(3,"About"),u.ɵɵelementEnd(),u.ɵɵelementStart(4,"li"),u.ɵɵelementStart(5,"a",2),u.ɵɵtext(6,"About Us"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(7,"li"),u.ɵɵelementStart(8,"a",3),u.ɵɵtext(9,"Media"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(10,"li"),u.ɵɵelementStart(11,"a",4),u.ɵɵtext(12,"Jobs"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(13,"li"),u.ɵɵelementStart(14,"a",5),u.ɵɵtext(15,"Contact Us"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(16,"li"),u.ɵɵelementStart(17,"a",6),u.ɵɵtext(18,"Studies & Reports"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(19,"li"),u.ɵɵelementStart(20,"a",7),u.ɵɵtext(21,"Businesses"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(22,"li",1),u.ɵɵtext(23,"Help & Legal"),u.ɵɵelementEnd(),u.ɵɵelementStart(24,"li"),u.ɵɵelementStart(25,"a",8),u.ɵɵtext(26,"FAQ"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(27,"li"),u.ɵɵelementStart(28,"a",9),u.ɵɵlistener("onTap",function(e){return t.openFeedbackPage(e)}),u.ɵɵtext(29,"Feedback"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(30,"li"),u.ɵɵelementStart(31,"a",10),u.ɵɵtext(32,"Guidelines"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(33,"li"),u.ɵɵelementStart(34,"a",11),u.ɵɵtext(35,"Privacy"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(36,"li"),u.ɵɵelementStart(37,"a",12),u.ɵɵtext(38,"Terms"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(39,"li"),u.ɵɵelementStart(40,"a",13),u.ɵɵtext(41,"Accessibility"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(42,"li"),u.ɵɵelementStart(43,"a",14),u.ɵɵtext(44,"Do Not Sell My"),u.ɵɵelement(45,"br"),u.ɵɵtext(46,"Personal Information"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(47,"ul"),u.ɵɵelementStart(48,"li",1),u.ɵɵtext(49,"Credit Card Rates"),u.ɵɵelementEnd(),u.ɵɵelementStart(50,"li"),u.ɵɵelementStart(51,"a",15),u.ɵɵtext(52,"0% APR"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(53,"li"),u.ɵɵelementStart(54,"a",16),u.ɵɵtext(55,"Balance Transfer"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(56,"li"),u.ɵɵelementStart(57,"a",17),u.ɵɵtext(58,"Low Interest"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(59,"li"),u.ɵɵelementStart(60,"a",18),u.ɵɵtext(61,"Best Rates"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(62,"li",1),u.ɵɵtext(63,"Credit Card Rewards"),u.ɵɵelementEnd(),u.ɵɵelementStart(64,"li"),u.ɵɵelementStart(65,"a",19),u.ɵɵtext(66,"Cash Back"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(67,"li"),u.ɵɵelementStart(68,"a",20),u.ɵɵtext(69,"Gas"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(70,"li"),u.ɵɵelementStart(71,"a",21),u.ɵɵtext(72,"Airline"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(73,"li"),u.ɵɵelementStart(74,"a",22),u.ɵɵtext(75,"Hotel"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(76,"li"),u.ɵɵelementStart(77,"a",23),u.ɵɵtext(78,"All Rewards"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(79,"ul"),u.ɵɵelementStart(80,"li",1),u.ɵɵtext(81,"Credit Card Types"),u.ɵɵelementEnd(),u.ɵɵelementStart(82,"li"),u.ɵɵelementStart(83,"a",24),u.ɵɵtext(84,"Business"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(85,"li"),u.ɵɵelementStart(86,"a",25),u.ɵɵtext(87,"Student"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(88,"li"),u.ɵɵelementStart(89,"a",26),u.ɵɵtext(90,"Editors Best"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(91,"li"),u.ɵɵelementStart(92,"a",27),u.ɵɵtext(93,"Store Cards"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(94,"li"),u.ɵɵelementStart(95,"a",28),u.ɵɵtext(96,"Charge Cards"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(97,"li"),u.ɵɵelementStart(98,"a",29),u.ɵɵtext(99,"Smart Chip"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(100,"li"),u.ɵɵelementStart(101,"a",30),u.ɵɵtext(102,"No Foreign Fee"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(103,"li"),u.ɵɵelementStart(104,"a",31),u.ɵɵtext(105,"Credit Card Deals"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(106,"li"),u.ɵɵelementStart(107,"a",32),u.ɵɵtext(108,"No Annual Fee"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(109,"li"),u.ɵɵelementStart(110,"a",33),u.ɵɵtext(111,"Secured Cards"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(112,"li"),u.ɵɵelementStart(113,"a",34),u.ɵɵtext(114,"Unsecured Cards"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(115,"ul"),u.ɵɵelementStart(116,"li",1),u.ɵɵtext(117,"Cards by Credit Score"),u.ɵɵelementEnd(),u.ɵɵelementStart(118,"li"),u.ɵɵelementStart(119,"a",35),u.ɵɵtext(120,"Excellent Credit"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(121,"li"),u.ɵɵelementStart(122,"a",36),u.ɵɵtext(123,"Good Credit"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(124,"li"),u.ɵɵelementStart(125,"a",37),u.ɵɵtext(126,"Fair Credit"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(127,"li"),u.ɵɵelementStart(128,"a",38),u.ɵɵtext(129,"Bad Credit"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(130,"li"),u.ɵɵelementStart(131,"a",39),u.ɵɵtext(132,"No Credit"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(133,"li",1),u.ɵɵtext(134,"Credit Tools"),u.ɵɵelementEnd(),u.ɵɵelementStart(135,"li"),u.ɵɵelementStart(136,"a",40),u.ɵɵtext(137,"Free Credit Score"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(138,"li"),u.ɵɵelementStart(139,"a",41),u.ɵɵtext(140,"Free Credit Report"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(141,"li"),u.ɵɵelementStart(142,"a",42),u.ɵɵtext(143,"Free Credit Monitoring"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(144,"li"),u.ɵɵelementStart(145,"a",43),u.ɵɵtext(146,"WalletLiteracy Score"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(147,"li"),u.ɵɵelementStart(148,"a",44),u.ɵɵtext(149,"Credit Score Range"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(150,"ul"),u.ɵɵelementStart(151,"li",1),u.ɵɵtext(152,"Financial Directories"),u.ɵɵelementEnd(),u.ɵɵelementStart(153,"li"),u.ɵɵelementStart(154,"a",45),u.ɵɵtext(155,"WalletHub Awards"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(156,"li"),u.ɵɵelementStart(157,"a",46),u.ɵɵtext(158,"Nearby Providers"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(159,"li"),u.ɵɵelementStart(160,"a",47),u.ɵɵtext(161,"Popular Products"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(162,"li"),u.ɵɵelementStart(163,"a",48),u.ɵɵtext(164,"Popular Searches"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(165,"li"),u.ɵɵelementStart(166,"a",49),u.ɵɵtext(167,"Banks"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(168,"li"),u.ɵɵelementStart(169,"a",50),u.ɵɵtext(170,"Credit Unions"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(171,"li"),u.ɵɵelementStart(172,"a",51),u.ɵɵtext(173,"Mortgage Brokers"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(174,"li"),u.ɵɵelementStart(175,"a",52),u.ɵɵtext(176,"Real Estate Agents"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(177,"li"),u.ɵɵelementStart(178,"a",53),u.ɵɵtext(179,"Insurance Agents"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(180,"li"),u.ɵɵelementStart(181,"a",54),u.ɵɵtext(182,"Insurance Companies"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(183,"li"),u.ɵɵelementStart(184,"a",55),u.ɵɵtext(185,"Attorneys"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵtemplate(186,f,5,0,"div",56),u.ɵɵtemplate(187,_,5,2,"div",56),u.ɵɵelementStart(188,"nav",57),u.ɵɵelementStart(189,"div"),u.ɵɵelementStart(190,"a",2),u.ɵɵtext(191,"About"),u.ɵɵelementEnd(),u.ɵɵelementStart(192,"a",3),u.ɵɵtext(193,"Media"),u.ɵɵelementEnd(),u.ɵɵelementStart(194,"a",5),u.ɵɵtext(195,"Contact Us"),u.ɵɵelementEnd(),u.ɵɵelementStart(196,"a",4),u.ɵɵtext(197,"Jobs"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(198,"div"),u.ɵɵelementStart(199,"a",58),u.ɵɵtext(200,"Credit Cards"),u.ɵɵelementEnd(),u.ɵɵelementStart(201,"a",6),u.ɵɵtext(202,"Studies"),u.ɵɵelementEnd(),u.ɵɵelementStart(203,"a",40),u.ɵɵtext(204,"Credit Score"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(205,"nav",59),u.ɵɵelementStart(206,"div"),u.ɵɵelementStart(207,"a",11),u.ɵɵtext(208,"Privacy Policy"),u.ɵɵelementEnd(),u.ɵɵelementStart(209,"a",12),u.ɵɵtext(210,"Terms"),u.ɵɵelementEnd(),u.ɵɵelementStart(211,"a",10),u.ɵɵtext(212,"Guidelines"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(213,"div"),u.ɵɵelementStart(214,"a",14),u.ɵɵtext(215,"Do Not Sell My Personal Information"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(216,"div"),u.ɵɵelementStart(217,"a",9),u.ɵɵlistener("onTap",function(e){return t.openFeedbackPage(e)}),u.ɵɵtext(218,"Feedback"),u.ɵɵelementEnd(),u.ɵɵelementStart(219,"a",13),u.ɵɵtext(220,"Accessibility"),u.ɵɵelementEnd(),u.ɵɵelementStart(221,"a",7),u.ɵɵtext(222,"Businesses"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵtemplate(223,x,5,0,"div",60),u.ɵɵtemplate(224,v,5,1,"div",61),u.ɵɵelementStart(225,"aside"),u.ɵɵtext(226),u.ɵɵelementStart(227,"span"),u.ɵɵtext(228,"All Rights Reserved."),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelement(229,"img",62),u.ɵɵelementStart(230,"div",63),u.ɵɵelementStart(231,"span",64),u.ɵɵtext(232,"Get unlimited free credit scores & reports "),u.ɵɵelement(233,"i",65),u.ɵɵelementEnd(),u.ɵɵelementStart(234,"span",66),u.ɵɵtext(235,"Sign up for free credit monitoring "),u.ɵɵelement(236,"i",65),u.ɵɵelementEnd(),u.ɵɵelementStart(237,"span",67),u.ɵɵtext(238,"get your free credit score & report "),u.ɵɵelement(239,"i",65),u.ɵɵelementEnd(),u.ɵɵelementStart(240,"div",68),u.ɵɵelementStart(241,"h3"),u.ɵɵtext(242,"Join WalletHub"),u.ɵɵelementEnd(),u.ɵɵelementStart(243,"p"),u.ɵɵtext(244,"+ 100% Free"),u.ɵɵelementEnd(),u.ɵɵelementStart(245,"p"),u.ɵɵtext(246,"+ Unlimited Credit Reports"),u.ɵɵelementEnd(),u.ɵɵelementStart(247,"p"),u.ɵɵtext(248,"+ Unlimited Credit Scores"),u.ɵɵelementEnd(),u.ɵɵelementStart(249,"p"),u.ɵɵtext(250,"+ Credit Monitoring Protection"),u.ɵɵelementEnd(),u.ɵɵelementStart(251,"p"),u.ɵɵtext(252,"+ Credit Improvement Tips"),u.ɵɵelementEnd(),u.ɵɵelementStart(253,"p"),u.ɵɵtext(254,"+ Automatically Finds Savings"),u.ɵɵelementEnd(),u.ɵɵelementStart(255,"div",69),u.ɵɵelementStart(256,"button",70),u.ɵɵtext(257,"JOIN FOR FREE"),u.ɵɵelementEnd(),u.ɵɵelementStart(258,"p"),u.ɵɵtext(259,"No credit card needed"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelement(260,"modal-dialog",null,71),u.ɵɵelementStart(262,"div",72,73),u.ɵɵlistener("onTap",function(){return t.ScrollToTop()}),u.ɵɵelementEnd()),2&e&&(u.ɵɵproperty("zing-url-container",!0),u.ɵɵadvance(28),u.ɵɵproperty("href",t.feedbackUrl,u.ɵɵsanitizeUrl)("zing-url",!1),u.ɵɵadvance(158),u.ɵɵproperty("ngIf",t.isWeb),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",!t.isWeb),u.ɵɵadvance(1),u.ɵɵproperty("zing-url-container",!0),u.ɵɵadvance(17),u.ɵɵproperty("zing-url-container",!0),u.ɵɵadvance(12),u.ɵɵproperty("href",t.feedbackUrl,u.ɵɵsanitizeUrl)("zing-url",!1),u.ɵɵadvance(6),u.ɵɵproperty("ngIf",t.isWeb),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",!t.isWeb),u.ɵɵadvance(2),u.ɵɵtextInterpolate1(" © ",t.copyrightyear," Evolution Finance, Inc. "))},directives:[m.TouchGestures,u.NgIf,m.ngModalDialog],encapsulation:2,changeDetection:0}),b);function b(e,t){this._dservice=e,this._el=t,this.copyrightyear=m.isNode()?"":(new Date).getFullYear(),this.isWeb=!m.isNode(),this.feedbackUrl="/feedback/",this._arrowautoshow=!0,m.Events.keepValueFor("to-top-arrow:show"),m.Events.emit("to-top-arrow:show",!0)}u.setClassMetadata(y,[{type:u.Component,args:[{selector:"footer[main-footer]",templateUrl:"/views/footer.html",changeDetection:u.ChangeDetectionStrategy.OnPush}]}],function(){return[{type:m.ScrollerService},{type:u.ElementRef}]},{_smsOverlay:[{type:u.ViewChild,args:["smsOverlay",{static:!1}]}],_arrowTop:[{type:u.ViewChild,args:["toTop",{static:!1}]}]});var w=(E.ɵmod=u.ɵɵdefineNgModule({type:E}),E.ɵinj=u.ɵɵdefineInjector({factory:function(e){return new(e||E)},imports:[[m.DirectivesModule,u.CommonModule,m.ngModalsModule,m.ErrorsModule,m.FormSubmitModule]]}),E);function E(){}u.setClassMetadata(w,[{type:u.NgModule,args:[{declarations:[y,p],exports:[y],entryComponents:[p],imports:[m.DirectivesModule,u.CommonModule,m.ngModalsModule,m.ErrorsModule,m.FormSubmitModule]}]}],null,null);function S(){this.queryParams=new u.Observable(function(t){var e=I.subscribe(function(e){e&&t.next(m.objectFromParam(e.query))});return{unsubscribe:function(){e.unsubscribe()}}}),this.fragment=new u.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=[],I=new u.BehaviorSubject(null),T=(k.forRoot=function(e){C=C.concat(e)},k.ɵmod=u.ɵɵdefineNgModule({type:k}),k.ɵinj=u.ɵɵdefineInjector({factory:function(e){return new(e||k)},providers:[S],imports:[[u.CommonModule]]}),k);function k(){var e=document.querySelector("head base"),n=new q(location.origin+e.getAttribute("href")||"");n.hooks({after:function(){var e=n.lastResolved();m.arrayForEach(e,function(e){I.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()}u.setClassMetadata(T,[{type:u.NgModule,args:[{imports:[u.CommonModule],providers:[S]}]}],function(){return[]},null);var M,z,A="function"==typeof Map?new Map:(M=[],z=[],{has:function(e){return-1<M.indexOf(e)},get:function(e){return z[M.indexOf(e)]},set:function(e,t){-1===M.indexOf(e)&&(M.push(e),z.push(t))},delete:function(e){e=M.indexOf(e);-1<e&&(M.splice(e,1),z.splice(e,1))}}),O=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){O=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function L(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 p(){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=O("autosize:resized");try{o.dispatchEvent(r)}catch(e){}}}o&&o.nodeName&&"TEXTAREA"===o.nodeName&&!A.has(o)&&(a=r=n=null,e=function(){o.clientWidth!==r&&p()},i=function(t){window.removeEventListener("resize",e,!1),o.removeEventListener("input",p,!1),o.removeEventListener("keyup",p,!1),o.removeEventListener("autosize:destroy",i,!1),o.removeEventListener("autosize:update",p,!1),Object.keys(t).forEach(function(e){o.style[e]=t[e]}),A.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",p,!1),window.addEventListener("resize",e,!1),o.addEventListener("input",p,!1),o.addEventListener("autosize:update",p,!1),o.style.overflowX="hidden",o.style.wordWrap="break-word",A.set(o,{destroy:i,update:p}),"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),p())}function N(e){e=A.get(e);e&&e.destroy()}function j(e){e=A.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],L),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],N),e},F.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],j),e});var R=F,P=Object.freeze({__proto__:null,default:R}),V=(Object.defineProperty(H.prototype,"updateAutoSize",{get:function(){return!1},set:function(e){var t=this;m.isNode()||this._zone.runOutsideAngular(function(){1==e&&m.reqAnimationFrame(function(){t._autosize.then(function(e){e.update(t._el.nativeElement)})})})},enumerable:!1,configurable:!0}),H.prototype.fireResize=function(){this.onResized.emit()},H.prototype._windowResize=function(){var e=this;this._resize&&this._zone.runOutsideAngular(function(){m.reqAnimationFrame(function(){e._autosize&&e._autosize.update(e._el.nativeElement)})})},H.prototype.ngOnInit=function(){this.fireResize=this.fireResize.bind(this),this._windowResize=this._windowResize.bind(this),m.isNode()||window.addEventListener("resize",this._windowResize)},H.prototype.ngAfterViewInit=function(){var t=this;!m.isNode()&&this._el.nativeElement&&this._zone.runOutsideAngular(function(){var e=R||P;e(t._el.nativeElement),t._el.nativeElement.addEventListener("autosize:resized",t.fireResize),t._autosize=e})},H.prototype.ngOnDestroy=function(){m.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))},H.ɵfac=function(e){return new(e||H)(u.ɵɵdirectiveInject(u.ElementRef),u.ɵɵdirectiveInject(u.NgZone))},H.ɵdir=u.ɵɵdefineDirective({type:H,selectors:[["","ng-autosize",""]],inputs:{updateAutoSize:["sizeupdate","updateAutoSize"],_resize:["watchresize","_resize"]},outputs:{onResized:"onResized"}}),H);function H(e,t){this._el=e,this._zone=t,this._resize=!1,this.onResized=new u.EventEmitter}u.setClassMetadata(V,[{type:u.Directive,args:[{selector:"[ng-autosize]"}]}],function(){return[{type:u.ElementRef},{type:u.NgZone}]},{updateAutoSize:[{type:u.Input,args:["sizeupdate"]}],_resize:[{type:u.Input,args:["watchresize"]}],onResized:[{type:u.Output}]});var D=($.ɵmod=u.ɵɵdefineNgModule({type:$}),$.ɵinj=u.ɵɵdefineInjector({factory:function(e){return new(e||$)},imports:[[u.CommonModule]]}),$);function $(){}u.setClassMetadata(D,[{type:u.NgModule,args:[{declarations:[V],exports:[V],imports:[u.CommonModule]}]}],null,null);var B=["textarea"];function Q(e,t){1&e&&(u.ɵɵelementStart(0,"div",4),u.ɵɵelement(1,"i"),u.ɵɵelementEnd())}var U=require("systemjs"),G=!1,W=m.isWeb()&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,Y=(Object.defineProperty(Z.prototype,"value",{get:function(){return this._value.getValue()},set:function(e){this._value.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(Z.prototype,"active",{get:function(){return this._active.getValue()},set:function(e){this._active.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(Z.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(Z.prototype,"autofocus",{get:function(){return this._autofocus},set:function(e){(this._autofocus=e)&&this._container&&this._container.nativeElement.focus()},enumerable:!1,configurable:!0}),Z.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")})},Z.prototype.EndCkeditor=function(){this._enabled=!1,this._editor&&(this._editor.destroy(),this._editor=null,this._editorsubs.unsubscribe())},Z.prototype.ngOnInit=function(){var t=this,e=this._active.subscribe(function(e){e&&!t._enabled?setTimeout(function(){m.reqAnimationFrame(function(){t.StartCkeditor()})}):t._enabled&&t.EndCkeditor()},function(){},function(){e&&e.unsubscribe()});this.editorInitiated.subscribe(function(){t.editor_init=!0})},Z.prototype.ngOnDestroy=function(){this._active.complete(),this._value.complete(),this.EndCkeditor()},Z.ɵfac=function(e){return new(e||Z)(u.ɵɵdirectiveInject(u.ElementRef),u.ɵɵdirectiveInject(u.ChangeDetectorRef),u.ɵɵdirectiveInject(m.ScrollerService))},Z.ɵcmp=u.ɵɵdefineComponent({type:Z,selectors:[["ck-editor"]],viewQuery:function(e,t){var n;1&e&&u.ɵɵstaticViewQuery(B,!0),2&e&&u.ɵɵqueryRefresh(n=u.ɵɵloadQuery())&&(t._container=n.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&&(u.ɵɵelement(0,"div",0),u.ɵɵelement(1,"textarea",1,2),u.ɵɵtemplate(3,Q,2,0,"div",3)),2&e&&(u.ɵɵadvance(1),u.ɵɵproperty("value",t.value),u.ɵɵadvance(2),u.ɵɵproperty("ngIf",!t.editor_init))},directives:[u.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}),Z);function Z(e,t,n){this._el=e,this._cd=t,this._service=n,this._destroyed=!0,this.ckeditorLoaded=!0,this.ckelementid=m.uniqid(),this._value=new u.BehaviorSubject(null),this.valueChange=new u.EventEmitter,this._active=new u.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 u.EventEmitter,this.editor_init=G}u.setClassMetadata(Y,[{type:u.Component,args:[{selector:"ck-editor",template:'\n        <div class="ck-tools"></div>\n        <textarea #textarea class="ck-textarea" [value]="value"></textarea>\n        <div class="progress-indicator visible" *ngIf="!editor_init"><i></i></div>\n    ',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 }"],host:{class:"progress-indicator-container"},encapsulation:u.ViewEncapsulation$1.None}]}],function(){return[{type:u.ElementRef},{type:u.ChangeDetectorRef},{type:m.ScrollerService}]},{_container:[{type:u.ViewChild,args:["textarea",{static:!0}]}],value:[{type:u.Input}],valueChange:[{type:u.Output}],active:[{type:u.Input,args:["active"]}],readonly:[{type:u.Input}],autofocus:[{type:u.Input,args:["cursor-focus"]}],options:[{type:u.Input}],editorInitiated:[{type:u.Output}]});var J=(X.ɵmod=u.ɵɵdefineNgModule({type:X}),X.ɵinj=u.ɵɵdefineInjector({factory:function(e){return new(e||X)},imports:[[u.CommonModule,m.DirectivesModule]]}),X);function X(){}u.setClassMetadata(J,[{type:u.NgModule,args:[{declarations:[Y],exports:[Y],imports:[u.CommonModule,m.DirectivesModule]}]}],null,null);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){!m.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(){m.isNode()||(this.onError=this.onError.bind(this),this._el.nativeElement.addEventListener("error",this.onError))},ee.prototype.ngOnDestroy=function(){m.isNode()||this._el.nativeElement.removeEventListener("error",this.onError)},ee.ɵfac=function(e){return new(e||ee)(u.ɵɵdirectiveInject(u.ElementRef),u.ɵɵdirectiveInject(u.Renderer2))},ee.ɵdir=u.ɵɵ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 u.EventEmitter}u.setClassMetadata(K,[{type:u.Directive,args:[{selector:"[on-img-error]"}]}],function(){return[{type:u.ElementRef},{type:u.Renderer2}]},{fallback:[{type:u.Input,args:["on-img-error"]}],onImageFailed:[{type:u.Output,args:["image-failed"]}],src:[{type:u.Input}]});var te=(ne.ɵmod=u.ɵɵdefineNgModule({type:ne}),ne.ɵinj=u.ɵɵdefineInjector({factory:function(e){return new(e||ne)},imports:[[u.CommonModule]]}),ne);function ne(){}u.setClassMetadata(te,[{type:u.NgModule,args:[{declarations:[K],exports:[K],imports:[u.CommonModule]}]}],null,null);var re=["img-placeholder",""],g=(oe.ɵfac=function(e){return new(e||oe)},oe.ɵcmp=u.ɵɵ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&&(u.ɵɵelementStart(0,"div",0),u.ɵɵelement(1,"img",1,2),u.ɵɵelementEnd()),2&e&&(u.ɵɵproperty("defer-src",t.src)("ui-hydrate",!0),u.ɵɵadvance(1),u.ɵɵproperty("ngClass",t.classes)("alt",t.alt),u.ɵɵattribute("itemprop",t.itemprop))},directives:[m.ImageLoader,u.NgClass],encapsulation:2}),oe);function oe(){this.itemprop="",this.classes=[]}u.setClassMetadata(g,[{type:u.Component,args:[{selector:"[img-placeholder]",template:'<div [defer-src]="src" [ui-hydrate]="true"><img [attr.itemprop]="itemprop" #deferImg [ngClass]="classes" [alt]="alt" /></div>'}]}],function(){return[]},{src:[{type:u.Input,args:["src"]}],itemprop:[{type:u.Input}],alt:[{type:u.Input}],classes:[{type:u.Input}]});ae.ɵmod=u.ɵɵdefineNgModule({type:ae}),ae.ɵinj=u.ɵɵdefineInjector({factory:function(e){return new(e||ae)},imports:[[u.CommonModule,m.ImageLoaderModule]]}),F=ae;function ae(){}function ie(e,t){1&e&&(u.ɵɵelementStart(0,"h2",8),u.ɵɵtext(1,"Ask a Question"),u.ɵɵelementEnd())}function se(e,t){1&e&&(u.ɵɵelementStart(0,"h2",8),u.ɵɵtext(1,"Thank you"),u.ɵɵelementEnd())}function le(e,t){1&e&&(u.ɵɵelementStart(0,"h2",8),u.ɵɵtext(1,"Please provide your email in order to receive answers"),u.ɵɵelementEnd())}function pe(e,t){var n;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"div",9),u.ɵɵelementStart(1,"span",10),u.ɵɵtext(2),u.ɵɵelementEnd(),u.ɵɵelementStart(3,"textarea",11),u.ɵɵlistener("input",function(e){return u.ɵɵrestoreView(n),u.ɵɵnextContext().SetInput(e)}),u.ɵɵelementEnd(),u.ɵɵelementEnd()),2&e&&(e=u.ɵɵnextContext(),u.ɵɵadvance(1),u.ɵɵclassProp("ques-ov-cred",e.input_chars_left<0),u.ɵɵadvance(1),u.ɵɵtextInterpolate(e.input_chars_left),u.ɵɵadvance(1),u.ɵɵproperty("value",e.input_value)("readonly",e.submiting))}function ce(e,t){var n;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"div",9),u.ɵɵelementStart(1,"textarea",12),u.ɵɵlistener("input",function(e){return u.ɵɵrestoreView(n),u.ɵɵnextContext().input_value_extra=e.target.value}),u.ɵɵelementEnd(),u.ɵɵelementEnd()),2&e&&(e=u.ɵɵnextContext(),u.ɵɵadvance(1),u.ɵɵproperty("value",e.input_value_extra)("readonly",e.submiting))}function de(e,t){var n;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"div",9),u.ɵɵelementStart(1,"ng-dropdown",13),u.ɵɵlistener("selected",function(e){return u.ɵɵrestoreView(n),u.ɵɵnextContext().SetCategory(e)}),u.ɵɵelementEnd(),u.ɵɵelementEnd()),2&e&&(e=u.ɵɵnextContext(),u.ɵɵadvance(1),u.ɵɵproperty("invalid",e.categoryerror)("items",e.categories)("second",!0)("value",e.category))}function ue(e,t){1&e&&u.ɵɵelement(0,"div",14),2&e&&(e=u.ɵɵnextContext(),u.ɵɵproperty("innerHTML",e.ajax_message,u.ɵɵsanitizeHtml)("zing-url-container",!0))}function me(e,t){var n;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"button",15),u.ɵɵlistener("onTap",function(){return u.ɵɵrestoreView(n),u.ɵɵnextContext().Submit()}),u.ɵɵtext(1," Next "),u.ɵɵelement(2,"i",16),u.ɵɵelementEnd()),2&e&&(e=u.ɵɵnextContext(),u.ɵɵclassProp("loadactive",e.submiting),u.ɵɵproperty("disabled",e.submiting))}function he(e,t){1&e&&(u.ɵɵelementStart(0,"div",17),u.ɵɵtext(1,"Your question has been submitted to our moderators for review. We will send you an email once your question has been approved."),u.ɵɵelementEnd())}function ge(e,t){1&e&&u.ɵɵelement(0,"br")}function fe(e,t){1&e&&u.ɵɵelement(0,"div",14),2&e&&(e=u.ɵɵnextContext(2),u.ɵɵproperty("innerHTML",e.ajax_message,u.ɵɵsanitizeHtml)("zing-url-container",!0))}function _e(e,t){1&e&&u.ɵɵelement(0,"br")}function xe(e,t){var n;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"div",18),u.ɵɵelementStart(1,"button",19),u.ɵɵlistener("onTap",function(){return u.ɵɵrestoreView(n),u.ɵɵnextContext().Back()}),u.ɵɵtext(2,"Back"),u.ɵɵelementEnd(),u.ɵɵelementStart(3,"button",20),u.ɵɵlistener("onTap",function(){return u.ɵɵrestoreView(n),u.ɵɵnextContext().GuestSubmit()}),u.ɵɵelement(4,"i",21),u.ɵɵelementStart(5,"span",22),u.ɵɵtext(6,"Login to Wallethub"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(7,"div",23),u.ɵɵtext(8,"or"),u.ɵɵelementEnd(),u.ɵɵelementStart(9,"input",24),u.ɵɵlistener("input",function(e){u.ɵɵrestoreView(n);var t=u.ɵɵnextContext();return t.user_email=e.target.value,t.show_ajax_error=!1}),u.ɵɵelementEnd(),u.ɵɵtemplate(10,ge,1,0,"br",25),u.ɵɵtemplate(11,fe,1,2,"div",4),u.ɵɵtemplate(12,_e,1,0,"br",25),u.ɵɵelementStart(13,"button",26),u.ɵɵlistener("onTap",function(){return u.ɵɵrestoreView(n),u.ɵɵnextContext().GuestSubmit()}),u.ɵɵtext(14," Submit "),u.ɵɵelement(15,"i",16),u.ɵɵelementEnd(),u.ɵɵelementEnd()),2&e&&(e=u.ɵɵnextContext(),u.ɵɵadvance(9),u.ɵɵproperty("value",e.user_email),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",!e.show_ajax_error),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",e.show_ajax_error),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",!e.show_ajax_error),u.ɵɵadvance(1),u.ɵɵclassProp("loadactive",e.submiting),u.ɵɵproperty("disabled",e.submiting))}u.setClassMetadata(F,[{type:u.NgModule,args:[{declarations:[g],exports:[g],imports:[u.CommonModule,m.ImageLoaderModule]}]}],null,null);var ve=require("systemjs"),ye=(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(){this.input_chars_left=this.input_value?this._max_input-this.input_value.trim().length:this._max_input},be.prototype._SendQues=function(){var n=this;this.show_ajax_error=!1,this.submiting=!0;var r=m.cleanInput(this.input_value);ve.import("Encryption").then(function(e){var t={url:m.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(!e||e.error)e&&"message"in e?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.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,m.RavenRequestFail(e,"Failed to submit a question from ng2 QnA component")})},function(t){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,m.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=m.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(),!m.isNode()&&m.Cookies.get("mw_signon")&&(this._is_lodgged=!0)},be.ɵfac=function(e){return new(e||be)(u.ɵɵdirectiveInject(u.Location))},be.ɵcmp=u.ɵɵdefineComponent({type:be,selectors:[["question-overlay"]],decls:12,vars:15,consts:[["class","ques-ov regular-font ng-enter-element",4,"ngIf"],["class","ques-ov-txt-box ng-enter-element",4,"ngIf"],[3,"ng-hidden"],[3,"message","show","close-on-change","timer","onhidden"],["class","ques-ov-error-notice ng-enter-element slide","zing-touch","",3,"innerHTML","zing-url-container",4,"ngIf"],["class","btn fixed-w-i with-loader no-disabled ng-enter-element","zing-touch","",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"],[1,"ques-ov","regular-font","ng-enter-element"],[1,"ques-ov-txt-box","ng-enter-element"],[1,"ques-ov-count"],["placeholder","Ask a question (140 character limit)","ng-autosize","",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"],["zing-touch","",1,"ques-ov-error-notice","ng-enter-element","slide",3,"innerHTML","zing-url-container"],["zing-touch","",1,"btn","fixed-w-i","with-loader","no-disabled","ng-enter-element",3,"disabled","onTap"],[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"]],template:function(e,t){1&e&&(u.ɵɵtemplate(0,ie,2,0,"h2",0),u.ɵɵtemplate(1,se,2,0,"h2",0),u.ɵɵtemplate(2,le,2,0,"h2",0),u.ɵɵtemplate(3,pe,4,5,"div",1),u.ɵɵtemplate(4,ce,2,2,"div",1),u.ɵɵtemplate(5,de,2,4,"div",1),u.ɵɵelementStart(6,"div",2),u.ɵɵelementStart(7,"error-toast",3),u.ɵɵlistener("onhidden",function(){return t.OnErrorToastHidden()}),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵtemplate(8,ue,1,2,"div",4),u.ɵɵtemplate(9,me,3,3,"button",5),u.ɵɵtemplate(10,he,2,0,"div",6),u.ɵɵtemplate(11,xe,16,7,"div",7)),2&e&&(u.ɵɵproperty("ngIf",!t.submited&&!t.needs_login),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",t.submited),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",t.needs_login&&!t.submited),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",!t.submited&&!t.needs_login),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",!t.submited&&!t.needs_login),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",!t.submited&&!t.needs_login&&t.has_categories&&1<t.categories.length),u.ɵɵadvance(1),u.ɵɵproperty("ng-hidden",t.submited||t.needs_login),u.ɵɵadvance(1),u.ɵɵproperty("message",t.error_message)("show",t.show_error)("close-on-change",!0)("timer",t.toastinterval),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",!t.needs_login&&t.show_ajax_error),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",!t.submited&&!t.needs_login),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",t.submited),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",t.needs_login&&!t.submited))},directives:[u.NgIf,m.ngHidden,m.ErrorToastComponent,V,r.ngDropdown,m.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}u.setClassMetadata(ye,[{type:u.Component,args:[{selector:"question-overlay",templateUrl:"/views/components/question-overlay.html"}]}],function(){return[{type:u.Location}]},null);we.ɵmod=u.ɵɵdefineNgModule({type:we}),we.ɵinj=u.ɵɵdefineInjector({factory:function(e){return new(e||we)},imports:[[u.CommonModule,m.DirectivesModule,D,m.ErrorsModule,r.ngDropDownModule]]}),re=we;function we(){}u.setClassMetadata(re,[{type:u.NgModule,args:[{imports:[u.CommonModule,m.DirectivesModule,D,m.ErrorsModule,r.ngDropDownModule],exports:[ye],declarations:[ye],entryComponents:[ye]}]}],null,null);var Ee=["content"];function Se(e,t){var n;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"span",4),u.ɵɵlistener("onTap",function(){return u.ɵɵrestoreView(n),u.ɵɵnextContext().Collapse()}),u.ɵɵtext(1,"show less"),u.ɵɵelementEnd())}function qe(e,t){var n;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"div",5),u.ɵɵlistener("onExpand",function(e){return u.ɵɵrestoreView(n),u.ɵɵnextContext().Expanded(e)}),u.ɵɵelementEnd()),2&e&&(e=u.ɵɵnextContext(),u.ɵɵproperty("ng-truncate",e.htmlcontent)("breakpoint",e.breakpoint)("breakwords",e.breakwords))}F=["*"],Object.defineProperty(Ce.prototype,"content",{set:function(e){this._content=e||"",this._initiated&&(this._expandct?this._ShowFullCT():this._Truncate())},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"expandContent",{set:function(e){this._expandContent.next(e),this._expandct=e},enumerable:!1,configurable:!0}),Ce.prototype.ngOnInit=function(){!this._expandct&&this._content||m.isNode()?this._Truncate():this._ShowFullCT(),this._initiated=!0},Ce.prototype._WordCount=function(e){e=m.trim((1==e.nodeType?e.textContent:e.wholeText)+"");return""==e?0:e.split(/\s+/g).length},Ce.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)}},Ce.prototype._AddExpandBT=function(e){var t=e.parentNode;t.removeChild(e),t.innerHTML=m.trim(t.innerHTML);var n=t.tagName.toLowerCase();if(m.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">'+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">'+this.expand_bt+"</span>"):t.insertAdjacentHTML("beforeend",' <span class="js-shave-char cursor-pointer">'+this.expand_bt+"</span>");this.istruncated.next(!0)},Ce.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">'+(l?"":".")+".."+this.expand_bt+"</span>"),this._WordCount(e)>t?a=o-1:i=o}}},Ce.prototype._TruncateWithLimit=function(e,l){var t=document.createElement("div");t.innerHTML=e;var p=0,c=!1,d=function(e){for(var t=0,n=e.childNodes.length;t<n;t++){var r=e.childNodes[t];if(1==r.nodeType){if(d(r))return!0}else if(3==r.nodeType){var o=r[void 0===r.textContent?"innerText":"textContent"],a=m.trim(o).split(/\s+/g);if(p+=a.length,0==o.indexOf(" ")&&(a[0]=" "+a[0]),o.lastIndexOf(" ")==o.length-1&&(a[a.length-1]+=" "),l<p){var i,s=p-l;return r.nodeValue=a.slice(0,a.length-s).join(" "),r.parentNode&&((i=document.createElement("div")).innerHTML='<span data-chop="auto"></span>',o=i.querySelector('span[data-chop="auto"]'),(i=document.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))),c=!0}}}};return d(t),!c||(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},Ce.prototype._Truncate=function(){var t=this;this.istruncated.next(!1);var e=this._content;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=m.trim(e),m.isNode())return this.sanitize&&(e=m.Sanitize(e,this.sanitizeCFG)),void this._render.setProperty(this._el.nativeElement,"innerHTML",e);var n=window.innerWidth||document.body.clientWidth;n<this.breakpoint&&e.indexOf("\x3c!--mobilechop--\x3e")<0&&(e=e.replace(/<!--(auto)?(mobile)?chop-->/g,""));var r=!1,o=!1;n>=this.breakpoint?0<e.indexOf("\x3c!--chop--\x3e")&&(r=!0):0<e.indexOf("\x3c!--chop--\x3e")&&e.indexOf("\x3c!--mobilechop--\x3e")<0?r=!0:0<e.indexOf("\x3c!--mobilechop--\x3e")&&(r=o=!0),r||(e=e.replace("\x3c!--chop--\x3e","").replace("\x3c!--mobilechop--\x3e","")),e=(e=(e=n>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 a=document.createElement("div");a.innerHTML=e;var i=a.querySelector('span[data-chop="desktop"]'),s=a.querySelector('span[data-chop="mobile"]');if(!i&&!s&&!this.auto_truncate)return e=m.Sanitize(e,this.sanitizeCFG),void this._render.setProperty(this._el.nativeElement,"innerHTML",e);var l,p=!1,r=!!this.breakwords;if(a.lastChild==i||a.lastChild==s)r=!1,i&&a.lastChild==i&&(i.parentNode.removeChild(i),i=null,s&&a.lastChild==s&&(s.parentNode.removeChild(s),s=null)),s&&a.lastChild==s&&(s.parentNode.removeChild(s),s=null,i&&a.lastChild==i&&(i.parentNode.removeChild(i),i=null));else{if(i&&i.parentNode.lastChild==i){for(var c=i.parentNode,d=!0;c&&c!==a;){if(c.parentNode.lastChild!=c){d=!1;break}c=c.parentNode}d&&(r=!1,i.parentNode.removeChild(i),i=null)}if(s&&s.parentNode.lastChild==s){for(c=s.parentNode,d=!0;c&&c!==a;){if(c.parentNode.lastChild!=c){d=!1;break}c=c.parentNode}d&&(r=!1,s.parentNode.removeChild(s),s=null)}}if(i&&(n>this.breakpoint||!o))this._CutHTML(i,a),i.parentNode==a&&(a.innerHTML=a.innerHTML.split(i.outerHTML)[0]+i.outerHTML,i=a.querySelector('span[data-chop="desktop"]')),this._AddExpandBT(i);else if(o&&s&&n<this.breakpoint)this._CutHTML(s,a),s.parentNode==a&&(a.innerHTML=a.innerHTML.split(s.outerHTML)[0]+s.outerHTML,s=a.querySelector('span[data-chop="mobile"]')),this._AddExpandBT(s);else if(r)if(m.objectForEach(this.breakwords,function(e,t){if(n<m.toNumber(t))return l=e,!1}),l)if(this.use_shave_break)this._Shave(a,l),p=!0;else if(this._WordCount(a)>l)return void this._render.setProperty(this._el.nativeElement,"innerHTML",this._TruncateWithLimit(e,l));e=a.innerHTML;!p&&this.sanitize&&(e=m.Sanitize(a.innerHTML,this.sanitizeCFG)),this._render.setProperty(this._el.nativeElement,"innerHTML",e),this.istruncated.pipe(u.take(1)).subscribe(function(e){m.reqAnimationFrame(function(){t.onContent.emit(e?"collapsed":"expanded")})})},Ce.prototype._ShowFullCT=function(){var e=this,t=this._content||"";this.sanitize&&(t=m.Sanitize(t,this.sanitizeCFG)),this.collapse_bt&&(t+='<br class="js-shave-br" /><span class="js-shave-char cursor-pointer js-shave-char-less">'+this.collapse_bt+"</span>"),t=t.replace("[chop]","").replace("[mobilechop]",""),this._render.setProperty(this._el.nativeElement,"innerHTML",t),m.reqAnimationFrame(function(){e.onContent.emit("expanded")})},Ce.prototype.Expand=function(e){m.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))},Ce.prototype.ngAfterViewInit=function(){var t=this;m.isNode()||(this._windowobs=u.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)})))},Ce.prototype.ngOnDestroy=function(){this._windowobs&&(this._windowobs=null),this._windowsubs&&this._windowsubs.unsubscribe(),this.istruncated.complete(),this._cleanups.forEach(function(e){e()})},Ce.ɵfac=function(e){return new(e||Ce)(u.ɵɵdirectiveInject(u.ElementRef),u.ɵɵdirectiveInject(u.Renderer2))},Ce.ɵdir=u.ɵɵdefineDirective({type:Ce,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"}}),g=Ce;function Ce(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 u.BehaviorSubject(null),this._expandContent=new u.Subject,this._expandct=!1,this.onExpand=new u.EventEmitter,this.onContent=new u.EventEmitter}u.setClassMetadata(g,[{type:u.Directive,args:[{selector:"[ng-truncate]"}]}],function(){return[{type:u.ElementRef},{type:u.Renderer2}]},{breakpoint:[{type:u.Input}],breakwords:[{type:u.Input}],staticbreak:[{type:u.Input,args:["breakwords-static"]}],content:[{type:u.Input,args:["ng-truncate"]}],sanitize:[{type:u.Input,args:["sanitize"]}],sanitizeCFG:[{type:u.Input,args:["sanitize-cfg"]}],use_shave_break:[{type:u.Input,args:["use-shave"]}],expand_bt:[{type:u.Input,args:["expand-button"]}],collapse_bt:[{type:u.Input,args:["collapse-button"]}],auto_truncate:[{type:u.Input,args:["auto-trim"]}],expandContent:[{type:u.Input,args:["expand-content"]}],onExpand:[{type:u.Output,args:["onExpand"]}],onContent:[{type:u.Output,args:["onContent"]}]});Ie.prototype.Expanded=function(e){e&&(this.hide_org_content=!1,"permanent"==this.expand_mode&&(this.perma_expand=!0)),this._cd.detectChanges()},Ie.prototype.Collapse=function(){this.hide_org_content=!0,this._cd.detectChanges()},Ie.prototype.ngOnInit=function(){var t=this;this.hide_org_content=!m.isNode(),m.isNode()?(this.hide_org_content=!1,this.perma_expand=!0):this._observer=new MutationObserver(function(e){t.htmlcontent=t.contentBox.nativeElement.innerHTML,m.reqAnimationFrame(function(){t._cd.detectChanges()})})},Ie.prototype.ngAfterViewInit=function(){var e=this;m.isNode()||(this.htmlcontent=this.contentBox.nativeElement.innerHTML,m.reqAnimationFrame(function(){e._cd.detectChanges()}),this._observer.observe(this.contentBox.nativeElement,{attributes:!1,childList:!0,characterData:!0}))},Ie.prototype.ngOnDestroy=function(){this._observer.disconnect()},Ie.ɵfac=function(e){return new(e||Ie)(u.ɵɵdirectiveInject(u.ChangeDetectorRef),u.ɵɵdirectiveInject(u.Renderer2))},Ie.ɵcmp=u.ɵɵdefineComponent({type:Ie,selectors:[["ng-truncate"]],viewQuery:function(e,t){var n;1&e&&u.ɵɵviewQuery(Ee,!0),2&e&&u.ɵɵqueryRefresh(n=u.ɵɵloadQuery())&&(t.contentBox=n.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","zing-touch","",3,"onTap",4,"ngIf"],[3,"ng-truncate","breakpoint","breakwords","onExpand",4,"ngIf"],["zing-touch","",1,"js-shave-char","cursor-pointer",3,"onTap"],[3,"ng-truncate","breakpoint","breakwords","onExpand"]],template:function(e,t){1&e&&(u.ɵɵprojectionDef(),u.ɵɵelementStart(0,"div",0,1),u.ɵɵprojection(2),u.ɵɵelementEnd(),u.ɵɵtemplate(3,Se,2,0,"span",2),u.ɵɵtemplate(4,qe,1,3,"div",3)),2&e&&(u.ɵɵproperty("ng-hidden",t.hide_org_content),u.ɵɵadvance(3),u.ɵɵproperty("ngIf",!t.hide_org_content&&!t.perma_expand),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",t.hide_org_content))},directives:[m.ngHidden,u.NgIf,m.TouchGestures,g],encapsulation:2,changeDetection:0}),r=Ie;function Ie(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=""}u.setClassMetadata(r,[{type:u.Component,args:[{selector:"ng-truncate",template:'<div [ng-hidden]="hide_org_content" #content><ng-content></ng-content></div>\n                <span class="js-shave-char cursor-pointer" zing-touch (onTap)="Collapse()" *ngIf="!hide_org_content && !perma_expand">show less</span>\n                <div *ngIf="hide_org_content" [ng-truncate]="htmlcontent" [breakpoint]="breakpoint" [breakwords]="breakwords" (onExpand)="Expanded($event)"></div>',changeDetection:u.ChangeDetectionStrategy.OnPush}]}],function(){return[{type:u.ChangeDetectorRef},{type:u.Renderer2}]},{breakpoint:[{type:u.Input}],breakwords:[{type:u.Input}],expand_mode:[{type:u.Input,args:["expand"]}],contentBox:[{type:u.ViewChild,args:["content",{static:!1}]}]});Te.ɵmod=u.ɵɵdefineNgModule({type:Te}),Te.ɵinj=u.ɵɵdefineInjector({factory:function(e){return new(e||Te)},imports:[[u.CommonModule,m.DirectivesModule]]}),F=Te;function Te(){}u.setClassMetadata(F,[{type:u.NgModule,args:[{imports:[u.CommonModule,m.DirectivesModule],declarations:[g,r],exports:[g,r]}]}],null,null);var ke=["txtElement"],Me=["quesOverlay"],ze=["ques_answer"],r=["id","qna-box"];function Ae(e,t){1&e&&(u.ɵɵelementStart(0,"span",16),u.ɵɵtext(1),u.ɵɵelementEnd()),2&e&&(e=u.ɵɵnextContext(),u.ɵɵadvance(1),u.ɵɵtextInterpolate1("(",e.schq_count,")"))}function Oe(e,t){1&e&&(u.ɵɵelementStart(0,"p",17),u.ɵɵelementStart(1,"span"),u.ɵɵtext(2),u.ɵɵelementEnd(),u.ɵɵtext(3,"For more general questions, visit our "),u.ɵɵelementStart(4,"a",18),u.ɵɵtext(5,"Answers section."),u.ɵɵelementEnd(),u.ɵɵelementEnd()),2&e&&(e=u.ɵɵnextContext(),u.ɵɵadvance(2),u.ɵɵtextInterpolate1("Get answers to your questions about ",e.product_name," below. "),u.ɵɵadvance(2),u.ɵɵproperty("zing-url",!0))}function Le(e,t){1&e&&u.ɵɵelement(0,"p",19),2&e&&(e=u.ɵɵnextContext(),u.ɵɵproperty("zing-url-container",!0)("ng-truncate",e.intro_content)("breakwords",e.truncateBreakwords)("breakpoint",480))}function Ne(e,t){var n;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"i",29),u.ɵɵlistener("onTap",function(){return u.ɵɵrestoreView(n),u.ɵɵnextContext(2).QClear()}),u.ɵɵelementEnd())}function je(e,t){1&e&&(u.ɵɵelementStart(0,"span"),u.ɵɵtext(1,"Don't see what you're looking for?"),u.ɵɵelementEnd())}function Fe(e,t){1&e&&(u.ɵɵelementStart(0,"div",30),u.ɵɵtext(1,"MATCHING RESULTS"),u.ɵɵelementEnd())}function Re(e,t){1&e&&(u.ɵɵelementStart(0,"div",30),u.ɵɵtext(1,"NO MATCHING RESULTS"),u.ɵɵelementEnd())}function Pe(e,t){1&e&&(u.ɵɵelementStart(0,"div",30),u.ɵɵtext(1,"Searching for answers..."),u.ɵɵelementEnd())}function Ve(e,t){var n;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"div",20),u.ɵɵelementStart(1,"div",21),u.ɵɵelementStart(2,"textarea",22),u.ɵɵlistener("input",function(e){return u.ɵɵrestoreView(n),u.ɵɵnextContext().SearchInput(e)}),u.ɵɵelementEnd(),u.ɵɵtemplate(3,Ne,1,0,"i",23),u.ɵɵelementStart(4,"button",24),u.ɵɵlistener("onTap",function(){return u.ɵɵrestoreView(n),u.ɵɵnextContext().QSearch()}),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(5,"div",25),u.ɵɵtemplate(6,je,2,0,"span",26),u.ɵɵelementStart(7,"button",27),u.ɵɵlistener("onTap",function(){return u.ɵɵrestoreView(n),u.ɵɵnextContext().AskQuestion()}),u.ɵɵtext(8,"Ask Your Question"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵtemplate(9,Fe,2,0,"div",28),u.ɵɵtemplate(10,Re,2,0,"div",28),u.ɵɵtemplate(11,Pe,2,0,"div",28),u.ɵɵelementEnd()),2&e&&(e=u.ɵɵnextContext(),u.ɵɵadvance(1),u.ɵɵproperty("scroll-to",e.focus_on_input),u.ɵɵadvance(1),u.ɵɵproperty("value",e.search_value),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",e.search_value),u.ɵɵadvance(1),u.ɵɵproperty("ng-hidden",!!e.search_value),u.ɵɵadvance(1),u.ɵɵclassProp("qna-aq-ss",e.noresults),u.ɵɵproperty("ng-hidden",!(e.show_search_state||e.show_search_state_empty)),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",e.show_search_state&&!e.noresults),u.ɵɵadvance(3),u.ɵɵproperty("ngIf",e.show_search_state&&!e.search_loading),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",e.show_search_state_empty&&!e.search_loading),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",e.search_loading))}function He(e,t){var n,r;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"span",31),u.ɵɵlistener("onTap",function(){u.ɵɵrestoreView(n);var e=t.index;return u.ɵɵnextContext().ChangeSort(e)}),u.ɵɵtext(1),u.ɵɵelementEnd()),2&e&&(r=t.$implicit,e=t.index,u.ɵɵclassProp("qnaml-first",0==e),u.ɵɵadvance(1),u.ɵɵtextInterpolate(r))}function De(e,t){1&e&&u.ɵɵelement(0,"div",40)}function $e(e,t){var n;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"div",32),u.ɵɵtemplate(1,De,1,0,"div",33),u.ɵɵelementStart(2,"div",34),u.ɵɵelementStart(3,"div",35),u.ɵɵelement(4,"img",36),u.ɵɵelementEnd(),u.ɵɵelementStart(5,"div",37),u.ɵɵelementStart(6,"textarea",38),u.ɵɵlistener("input",function(e){return u.ɵɵrestoreView(n),u.ɵɵnextContext().ques_ask=e.target.value}),u.ɵɵelementEnd(),u.ɵɵelementStart(7,"div",39),u.ɵɵlistener("onTap",function(){return u.ɵɵrestoreView(n),u.ɵɵnextContext().AskQuestion()}),u.ɵɵtext(8,"Ask your Question"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementEnd()),2&e&&(e=u.ɵɵnextContext(),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",0==e.schquestions.length),u.ɵɵadvance(3),u.ɵɵproperty("src",e.user_avatar,u.ɵɵsanitizeUrl)("on-img-error",e.user_avatar_fallback),u.ɵɵadvance(1),u.ɵɵproperty("scroll-to",e.focus_on_input),u.ɵɵadvance(1),u.ɵɵproperty("value",e.ques_ask))}function Be(e,t){1&e&&(u.ɵɵelementStart(0,"div",44),u.ɵɵelementStart(1,"div",45),u.ɵɵelement(2,"i"),u.ɵɵelementEnd(),u.ɵɵelementEnd())}function Qe(e,t){1&e&&u.ɵɵelement(0,"a",67),2&e&&(e=u.ɵɵnextContext().$implicit,u.ɵɵclassProp("qt-as-link",e.from_search),u.ɵɵproperty("href",e.ques_href||"/answers/"+e.ques_fullslug,u.ɵɵsanitizeUrl)("zing-url",!0)("ng-context",e.ques_title))}function Ue(e,t){1&e&&u.ɵɵelement(0,"span",68),2&e&&(e=u.ɵɵnextContext().$implicit,u.ɵɵclassProp("qt-as-link",e.from_search),u.ɵɵproperty("ng-context",e.ques_title))}function Ge(e,t){1&e&&u.ɵɵelement(0,"p",69),2&e&&(e=u.ɵɵnextContext().$implicit,u.ɵɵproperty("cleanHTML",e.ques_content_cut_mob))}function We(e,t){1&e&&u.ɵɵelement(0,"p",70),2&e&&(e=u.ɵɵnextContext().$implicit,u.ɵɵproperty("cleanHTML",e.ques_content_cut_desk))}function Ye(e,t){1&e&&(u.ɵɵelementStart(0,"span",71),u.ɵɵtext(1,"..."),u.ɵɵelementEnd())}function Ze(e,t){1&e&&u.ɵɵelement(0,"p",69),2&e&&(e=u.ɵɵnextContext().$implicit,u.ɵɵproperty("cleanHTML",e.ques_content_more))}function Je(e,t){var n,r;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"span",72),u.ɵɵlistener("onTap",function(){u.ɵɵrestoreView(n);var e=u.ɵɵnextContext().$implicit;return u.ɵɵnextContext(2).ExpandContent(e.id,"question")}),u.ɵɵtext(1,"show more"),u.ɵɵelementEnd()),2&e&&(r=u.ɵɵnextContext().$implicit,e=u.ɵɵnextContext(2),u.ɵɵproperty("ng-hidden",e.questionexpand[r.id]))}function Xe(e,t){var n,r;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"span",72),u.ɵɵlistener("onTap",function(){u.ɵɵrestoreView(n);var e=u.ɵɵnextContext().$implicit;return u.ɵɵnextContext(2).ExpandContent(e.id,"question")}),u.ɵɵtext(1,"show less"),u.ɵɵelementEnd()),2&e&&(r=u.ɵɵnextContext().$implicit,e=u.ɵɵnextContext(2),u.ɵɵproperty("ng-hidden",!e.questionexpand[r.id]))}function Ke(e,t){var n;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"div",73),u.ɵɵlistener("click",function(){u.ɵɵrestoreView(n);var e=u.ɵɵnextContext().$implicit;return u.ɵɵnextContext(2).ShowReplybox(e.id)}),u.ɵɵtext(1,"Reply"),u.ɵɵelementEnd())}function et(e,t){1&e&&u.ɵɵelement(0,"i")}function tt(e,t){1&e&&u.ɵɵelement(0,"i")}function nt(e,t){var n,r;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"form",74),u.ɵɵlistener("onSubmit",function(){u.ɵɵrestoreView(n);var e=u.ɵɵnextContext().$implicit;return u.ɵɵnextContext(2).SubmitReply(e)}),u.ɵɵelementStart(1,"div",75),u.ɵɵelement(2,"img",76),u.ɵɵelementEnd(),u.ɵɵelementStart(3,"div",77),u.ɵɵelementStart(4,"ck-editor",78),u.ɵɵlistener("valueChange",function(e){u.ɵɵrestoreView(n);var t=u.ɵɵnextContext().$implicit;return u.ɵɵnextContext(2).ReplyInput(e,t.id)}),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(5,"div",79),u.ɵɵelement(6,"error-toast",80),u.ɵɵelementStart(7,"button",81),u.ɵɵlistener("onTap",function(){u.ɵɵrestoreView(n);var e=u.ɵɵnextContext().$implicit;return u.ɵɵnextContext(2).ShowReplybox(e.id)}),u.ɵɵtext(8,"Cancel"),u.ɵɵelementEnd(),u.ɵɵelementStart(9,"button",82),u.ɵɵelementStart(10,"span"),u.ɵɵtext(11,"Reply"),u.ɵɵelementEnd(),u.ɵɵelement(12,"i",83),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementEnd()),2&e&&(r=u.ɵɵnextContext().$implicit,e=u.ɵɵnextContext(2),u.ɵɵadvance(2),u.ɵɵproperty("src",e.user_avatar,u.ɵɵsanitizeUrl)("on-img-error",e.user_avatar_fallback),u.ɵɵadvance(2),u.ɵɵproperty("value",e.replyboxinput[r.id])("active",!0)("cursor-focus",e.replyboxshow[r.id])("readonly",e.replyinprogress[r.id]),u.ɵɵadvance(2),u.ɵɵ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),u.ɵɵadvance(1),u.ɵɵproperty("disabled",e.replyinprogress[r.id]),u.ɵɵadvance(2),u.ɵɵclassProp("loadactive",e.replyinprogress[r.id]),u.ɵɵproperty("disabled",e.replyinprogress[r.id]))}function rt(e,t){1&e&&(u.ɵɵelementStart(0,"span",98),u.ɵɵtext(1),u.ɵɵelementEnd()),2&e&&(e=u.ɵɵnextContext(2).$implicit,u.ɵɵadvance(1),u.ɵɵtextInterpolate1(", ",e.user_title,""))}var ot=function(){return{attribute:"itemprop",value:"name"}},at=function(e){return[e]};function it(e,t){var n,r;1&e&&(u.ɵɵelementStart(0,"div",95),u.ɵɵelementStart(1,"span",96),u.ɵɵtext(2),u.ɵɵelementEnd(),u.ɵɵtemplate(3,rt,2,1,"span",97),u.ɵɵelementEnd()),2&e&&(n=(r=u.ɵɵnextContext()).index,e=r.$implicit,r=u.ɵɵnextContext(3),u.ɵɵproperty("ng-attribute",r.userschema)("ng-attribute-when",r.toggleSchema&&0==n),u.ɵɵadvance(1),u.ɵɵproperty("ng-attribute",u.ɵɵpureFunction1(7,at,u.ɵɵpureFunction0(6,ot)))("ng-attribute-when",r.toggleSchema&&0==n),u.ɵɵadvance(1),u.ɵɵtextInterpolate(e.user_fullname||(null==e?null:e.user_login)),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",e.user_title))}function st(e,t){1&e&&(u.ɵɵelementContainerStart(0),u.ɵɵtext(1),u.ɵɵelementContainerEnd()),2&e&&(e=u.ɵɵnextContext().$implicit,u.ɵɵadvance(1),u.ɵɵtextInterpolate(null==e?null:e.user_login))}function lt(e,n){var r,t;1&e&&(r=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"span",31),u.ɵɵlistener("onTap",function(){u.ɵɵrestoreView(r);var e=n.index,t=u.ɵɵnextContext(2).$implicit;return u.ɵɵnextContext(3).AnsOpt(e,t)}),u.ɵɵtext(1),u.ɵɵelementEnd()),2&e&&(t=n.$implicit,e=n.index,u.ɵɵclassProp("qnaml-first",0==e),u.ɵɵadvance(1),u.ɵɵtextInterpolate(t))}function pt(e,t){var n,r;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"div",99),u.ɵɵelementStart(1,"i",100),u.ɵɵlistener("onTap",function(){u.ɵɵrestoreView(n);var e=u.ɵɵnextContext().$implicit;return u.ɵɵnextContext(3).ControlAnsOpt(e)})("onTapOutside",function(){return u.ɵɵrestoreView(n),u.ɵɵnextContext().$implicit.options_list_opened=!1}),u.ɵɵelementEnd(),u.ɵɵelementStart(2,"div",8),u.ɵɵlistener("onTap",function(e){return u.ɵɵrestoreView(n),e.stopPropagation()}),u.ɵɵtemplate(3,lt,2,3,"span",101),u.ɵɵelementEnd(),u.ɵɵelementEnd()),2&e&&(r=u.ɵɵnextContext().$implicit,e=u.ɵɵnextContext(3),u.ɵɵadvance(2),u.ɵɵproperty("ng-hidden",!r.options_list_opened),u.ɵɵadvance(1),u.ɵɵproperty("ngForOf",e.ansOptions)("ngForTrackBy",e.trackByFn))}function ct(e,t){1&e&&u.ɵɵelement(0,"i")}function dt(e,t){1&e&&u.ɵɵelement(0,"i")}var ut=function(){return{attribute:"itemprop",value:"upvoteCount"}},mt=function(){return{attribute:"itemprop",value:"downvoteCount"}};function ht(e,t){var n,r,o;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"div",59),u.ɵɵelementStart(1,"div",102),u.ɵɵlistener("onTap",function(){u.ɵɵrestoreView(n);var e=u.ɵɵnextContext().$implicit;return u.ɵɵnextContext(3).RateContent(e,"up","answer")}),u.ɵɵtemplate(2,ct,1,0,"i",26),u.ɵɵelementStart(3,"span",96),u.ɵɵtext(4),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(5,"div",62),u.ɵɵlistener("onTap",function(){u.ɵɵrestoreView(n);var e=u.ɵɵnextContext().$implicit;return u.ɵɵnextContext(3).RateContent(e,"down","answer")}),u.ɵɵtemplate(6,dt,1,0,"i",26),u.ɵɵelementStart(7,"span",96),u.ɵɵtext(8),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementEnd()),2&e&&(r=(o=u.ɵɵnextContext()).$implicit,e=o.index,o=u.ɵɵnextContext(3),u.ɵɵadvance(1),u.ɵɵclassProp("visible",r.voteinprogress),u.ɵɵproperty("zing-no-touch",!0),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",r.voteinprogress),u.ɵɵadvance(1),u.ɵɵproperty("ng-attribute",u.ɵɵpureFunction1(15,at,u.ɵɵpureFunction0(14,ut)))("ng-attribute-when",o.toggleSchema&&0==e),u.ɵɵadvance(1),u.ɵɵtextInterpolate(r.upvote),u.ɵɵadvance(1),u.ɵɵclassProp("visible",r.downvoteinprogress),u.ɵɵproperty("zing-no-touch",!0),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",r.downvoteinprogress),u.ɵɵadvance(1),u.ɵɵproperty("ng-attribute",u.ɵɵpureFunction1(18,at,u.ɵɵpureFunction0(17,mt)))("ng-attribute-when",o.toggleSchema&&0==e),u.ɵɵadvance(1),u.ɵɵtextInterpolate(r.downvote))}var gt=function(){return{416:35,541:50,769:70,2800:90}},ft=function(){return{attribute:"itemprop",value:"text"}};function _t(e,t){var n,r,o;1&e&&(u.ɵɵelementStart(0,"div",84),u.ɵɵelementStart(1,"div",85),u.ɵɵelementStart(2,"div",86),u.ɵɵelement(3,"img",87,88),u.ɵɵelementEnd(),u.ɵɵelementStart(5,"div",89),u.ɵɵtemplate(6,it,4,9,"div",90),u.ɵɵelementStart(7,"div",91),u.ɵɵtemplate(8,st,2,1,"ng-container",26),u.ɵɵelementEnd(),u.ɵɵtemplate(9,pt,4,3,"div",92),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelement(10,"div",93),u.ɵɵtemplate(11,ht,9,20,"div",94),u.ɵɵelementEnd()),2&e&&(n=t.$implicit,r=t.index,e=(o=u.ɵɵnextContext()).$implicit,t=o.index,o=u.ɵɵnextContext(2),u.ɵɵproperty("ng-hidden",!(0==r||o.question_more_answers[e.id]||1==r&&e.answers[0].my_ans))("ng-attribute",o.aschemascope)("ng-attribute-when",o.toggleSchema&&0==r),u.ɵɵadvance(2),u.ɵɵproperty("defer-src",n.user_avatar)("src-fallback",o.user_avatar_fallback),u.ɵɵadvance(4),u.ɵɵproperty("ngIf",n.user_fullname||(null==n?null:n.user_login)),u.ɵɵadvance(2),u.ɵɵproperty("ngIf",null==n?null:n.user_login),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",null==n?null:n.is_reportable),u.ɵɵadvance(1),u.ɵɵproperty("zing-url-container",!0)("expand-content",0==r&&0==t&&!(o.show_search_state||o.show_search_state_empty))("breakwords",u.ɵɵpureFunction0(18,gt))("collapse-button",0!=r||0!=t||o.show_search_state||o.show_search_state_empty?"show less":"")("ng-truncate",n.content_long)("sanitize-cfg",n.sanitizecfg)("ng-attribute",u.ɵɵpureFunction1(20,at,u.ɵɵpureFunction0(19,ft)))("ng-attribute-when",o.toggleSchema&&0==r),u.ɵɵattribute("data-pos",n.stackid),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",!o.IsSpecial(n.id)))}function xt(e,t){1&e&&(u.ɵɵelementStart(0,"div",106),u.ɵɵelement(1,"i"),u.ɵɵelementEnd())}function vt(e,t){var n,r;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"div",103),u.ɵɵtemplate(1,xt,2,0,"div",104),u.ɵɵelementStart(2,"span",105),u.ɵɵlistener("onTap",function(){u.ɵɵrestoreView(n);var e=u.ɵɵnextContext(),t=e.$implicit,e=e.index;return u.ɵɵnextContext(2).ViewMoreAns(t,e)}),u.ɵɵtext(3," View more answers "),u.ɵɵelement(4,"i",7),u.ɵɵelementEnd(),u.ɵɵelementEnd()),2&e&&(r=u.ɵɵnextContext().$implicit,e=u.ɵɵnextContext(2),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",e.answersmore[r.id]))}function yt(e,t){var n,r;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"article",46),u.ɵɵelementStart(1,"h3",47),u.ɵɵtemplate(2,Qe,1,5,"a",48),u.ɵɵtemplate(3,Ue,1,3,"span",49),u.ɵɵelementEnd(),u.ɵɵelementStart(4,"div",50),u.ɵɵelementStart(5,"div",51),u.ɵɵtext(6),u.ɵɵelementEnd(),u.ɵɵelementStart(7,"span",52),u.ɵɵtext(8),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵtemplate(9,Ge,1,1,"p",53),u.ɵɵtemplate(10,We,1,1,"p",54),u.ɵɵtemplate(11,Ye,2,0,"span",55),u.ɵɵtemplate(12,Ze,1,1,"p",53),u.ɵɵtemplate(13,Je,2,1,"span",56),u.ɵɵtemplate(14,Xe,2,1,"span",56),u.ɵɵelementStart(15,"div",57),u.ɵɵtemplate(16,Ke,2,0,"div",58),u.ɵɵelementStart(17,"div",59),u.ɵɵelementStart(18,"div",60),u.ɵɵlistener("onTap",function(){u.ɵɵrestoreView(n);var e=t.$implicit;return u.ɵɵnextContext(2).RateContent(e)}),u.ɵɵtemplate(19,et,1,0,"i",26),u.ɵɵelementStart(20,"span",61),u.ɵɵtext(21),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(22,"div",62),u.ɵɵlistener("onTap",function(){u.ɵɵrestoreView(n);var e=t.$implicit;return u.ɵɵnextContext(2).RateContent(e,"down")}),u.ɵɵtemplate(23,tt,1,0,"i",26),u.ɵɵelementStart(24,"span",61),u.ɵɵtext(25),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵtemplate(26,nt,13,14,"form",63),u.ɵɵelementStart(27,"div",64),u.ɵɵtemplate(28,_t,12,22,"div",65),u.ɵɵtemplate(29,vt,5,1,"div",66),u.ɵɵelementEnd(),u.ɵɵelementEnd()),2&e&&(r=t.$implicit,e=u.ɵɵnextContext(2),u.ɵɵclassProp("qna-q-search",r.from_search),u.ɵɵproperty("ng-attribute",e.qschemascope)("ng-attribute-when",e.questionToggleSchema(r)),u.ɵɵadvance(1),u.ɵɵproperty("ng-attribute",u.ɵɵpureFunction1(35,at,u.ɵɵpureFunction0(34,ot)))("ng-attribute-when",e.questionToggleSchema(r)),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",r.ques_href||r.ques_fullslug),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",!r.ques_href&&!r.ques_fullslug),u.ɵɵadvance(2),u.ɵɵproperty("ng-attribute",u.ɵɵpureFunction1(38,at,u.ɵɵpureFunction0(37,ut)))("ng-attribute-when",e.questionToggleSchema(r)),u.ɵɵadvance(1),u.ɵɵtextInterpolate(r.upvote),u.ɵɵadvance(2),u.ɵɵtextInterpolate1("Upvote",1!=r.upvote?"s":"",""),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",!e.questionexpand[r.id]&&r.ques_content_cut_mob),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",!e.questionexpand[r.id]&&r.ques_content_cut_desk),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",!e.questionexpand[r.id]&&r.ques_content_has_more),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",(e.questionexpand[r.id]||!r.ques_content_cut_mob)&&r.ques_content_more),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",r.ques_content_has_more),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",r.ques_content_has_more),u.ɵɵadvance(2),u.ɵɵproperty("ngIf",!e.IsSpecial(r.id)),u.ɵɵadvance(2),u.ɵɵclassProp("visible",r.voteinprogress),u.ɵɵproperty("zing-no-touch",!0),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",r.voteinprogress),u.ɵɵadvance(2),u.ɵɵtextInterpolate(r.upvote),u.ɵɵadvance(1),u.ɵɵclassProp("visible",r.downvoteinprogress),u.ɵɵproperty("zing-no-touch",!0),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",r.downvoteinprogress),u.ɵɵadvance(2),u.ɵɵtextInterpolate(r.downvote),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",e.replyboxshow[r.id]),u.ɵɵadvance(1),u.ɵɵproperty("ng-hidden",!r.answers||r.answers.length<1),u.ɵɵadvance(1),u.ɵɵproperty("ngForOf",r.answers)("ngForTrackBy",e.trackByFn),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",r.has_more_answers))}function bt(e,t){1&e&&(u.ɵɵelementStart(0,"div",41),u.ɵɵtemplate(1,Be,3,0,"div",42),u.ɵɵtemplate(2,yt,30,40,"article",43),u.ɵɵelementEnd()),2&e&&(e=u.ɵɵnextContext(),u.ɵɵclassProp("qna-qb-loading",e.search_loading||e.questions_more),u.ɵɵproperty("ng-hidden",e.resultserror||e.load_startup||e.load_startup_fail)("ng-attribute",e.qschemapage)("ng-attribute-when",e.sectionToggleSchema()),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",e.search_loading||e.questions_more),u.ɵɵadvance(1),u.ɵɵproperty("ngForOf",e.schquestions)("ngForTrackBy",e.trackByFn))}function wt(e,t){var n;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"button",111),u.ɵɵlistener("onTap",function(){return u.ɵɵrestoreView(n),u.ɵɵnextContext(2).ViewMoreQuestions()}),u.ɵɵelementStart(1,"span",112),u.ɵɵelementStart(2,"span",110),u.ɵɵtext(3,"View "),u.ɵɵelementEnd(),u.ɵɵtext(4,"More Questions"),u.ɵɵelementEnd(),u.ɵɵelement(5,"i",83),u.ɵɵelementEnd()),2&e&&(e=u.ɵɵnextContext(2),u.ɵɵclassProp("loadactive",e.questions_more))}function Et(e,t){var n;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"div",107),u.ɵɵtemplate(1,wt,6,2,"button",108),u.ɵɵelementStart(2,"button",109),u.ɵɵlistener("onTap",function(){return u.ɵɵrestoreView(n),u.ɵɵnextContext().AskQuestion()}),u.ɵɵtext(3,"Ask "),u.ɵɵelementStart(4,"span",110),u.ɵɵtext(5,"Your"),u.ɵɵelementEnd(),u.ɵɵtext(6," Question"),u.ɵɵelementEnd(),u.ɵɵelementEnd()),2&e&&(e=u.ɵɵnextContext(),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",e.has_more_ques))}function St(e,t){1&e&&(u.ɵɵelementStart(0,"div",113),u.ɵɵelementStart(1,"div",45),u.ɵɵelement(2,"i"),u.ɵɵelementEnd(),u.ɵɵelementEnd())}function qt(e,t){var n;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"div",114),u.ɵɵelementStart(1,"p",115),u.ɵɵtext(2,"Oops there was a problem retrieving data"),u.ɵɵelementEnd(),u.ɵɵelement(3,"br"),u.ɵɵelementStart(4,"div",116),u.ɵɵelementStart(5,"button",117),u.ɵɵlistener("onTap",function(){return u.ɵɵrestoreView(n),u.ɵɵnextContext().RetryLoadData()}),u.ɵɵtext(6,"Retry"),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementEnd())}function Ct(e,t,n){return{"light-font qnah-1":e,"qnah-2 bold-font":t,"qnah-1 qnah-3 extra-bold-font":n}}function It(e){return{"ng-enter-element":e}}require("systemjs").import("css:/components/qna-comp.css").then(function(){}).catch(function(){});Object.defineProperty(Tt.prototype,"search_value",{get:function(){return this._qType.getValue()},enumerable:!1,configurable:!0}),Tt.prototype.questionToggleSchema=function(e){return this.toggleSchema&&!(!e.answers||e.answers.length<1)},Tt.prototype.sectionToggleSchema=function(){return!!(this.toggleSchema&&this._has_answer&&0<this.schquestions.length)},Object.defineProperty(Tt.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(Tt.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(Tt.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(Tt.prototype,"open_popup",{get:function(){return this._open_popup},set:function(e){(this._open_popup=e)&&this.AskQuestion()},enumerable:!1,configurable:!0}),Object.defineProperty(Tt.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}),Tt.prototype.trackByFn=function(e){return e},Tt.prototype._ParseQuestions=function(e,r,o){var a=this,i=[];return m.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()),r){e=r(n);if("boolean"==typeof e&&!e)return!0}m.isArray(a.schquestions)&&(t+=a.schquestions.length),a._ParseAnswers(n,t,null,o),i.push(n)}),i},Tt.prototype._ParseAnswers=function(r,o,e,a){var i=this,t=e||r.answers||[];m.isArray(t)&&(r.answers=e?r.answers:[],0<t.length&&!this._has_answer&&(this._has_answer=!0),t.forEach(function(e,t){var n=e;n.user_login&&(n.user_login="@"+n.user_login),m.isArray(n.content)?(n.content_cut=n.content[0]||n.content[1],i.answers_content_clipped&&!r.from_search?(n.content_long=n.content[0],delete n.content_cut):n.content[0]?n.content_long=n.content[1]:(n.content_long=n.content_cut,delete n.content_cut)):(n.content_long=n.content,i.answers_content_clipped=!0),delete n.content,n.content_cut&&"string"==typeof n.content_cut&&(n.content_cut=n.content_cut.replace("[[:hellip:]]","...")),0!=o||r.from_search||r.answers.length||(n.content_long||(n.content_long=n.content_cut),delete n.content_cut,i.answerexpand[n.id]=!0),i.signon&&i.signon.id==n.uid&&(i.replyboxinputsubmited[r.id]=n.content_long||n.content_cut),n.content_cut&&(n.content_cut=i._FormatAnswer(n.content_cut)),n.content_long&&(n.content_long=i._FormatAnswer(n.content_long));e=a?a(n,r):null;"boolean"==typeof e&&!e||(r.answers.push(n),n.stackid=o.toString()+"-"+r.answers.indexOf(n).toString()),n.is_reportable=!1,n.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"]},(i.IsSpecial(n.id)||m.isAny(n.uid,[13302181,15780064,13301077,15679068,15598394,16156697]))&&n.sanitizecfg.ADD_TAGS.push("iframe")}),r.has_more_answers=(r.total_answers||0)>r.answers.length||1<r.answers.length&&!this.question_more_answers[r.id]),m.reqAnimationFrame(function(){m.Events.emit("$shortcodes:set")})},Tt.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},Tt.prototype.SearchInput=function(e){e=e.target.value;this._qType.next(e)},Tt.prototype.ControlSortList=function(e){this.sort_list_opened="boolean"==typeof e?e:!this.sort_list_opened},Tt.prototype.ExpandContent=function(e,t){this[t+"expand"][e]=!this[t+"expand"][e]},Tt.prototype.RateContent=function(t,e,n){var r,o,a;void 0===e&&(e="up"),m.isObject(this.signon)&&"id"in this.signon||!m.isWeb()?t.voteinprogress||t.downvoteinprogress||(t.voteinprogress="up"==e,t.downvoteinprogress="down"==e,r=t.id,o=t.answers||t.ques_title?"question":"answer",(a=(t.id+"").match(/^([abceq])(\d+)$/))&&(r=parseInt(a.pop()),o=a.pop(),~["q","a"].indexOf(o)||(o="q"+o)),m.$httpAbort("content-vote-"+t.id),m.$http({url:m.ajaxUrl(),data:{action:"Answers.Vote",id:r,kind:o,dir:"down"==e?"dn":"up"},id:"content-vote-"+t.id,before:function(){t.voteinprogress="up"==e,t.downvoteinprogress="down"==e},after:function(){t.voteinprogress=!1,t.downvoteinprogress=!1},headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(function(e){if(e.error)throw Error("response error");t.upvote=e.votes_up,t.downvote=e.votes_dn}).catch(function(e){e instanceof Error?m.Events.emit("$server:error",{data:e.message}):401==e.status&&m.isWeb()&&(top.location.href="/join/light?redirect_to="+encodeURIComponent(document.location.href))})):top.location.href="/join/light?redirect_to="+encodeURIComponent(document.location.href)},Tt.prototype.IsSpecial=function(e){return~["c","b","e"].indexOf((e+"").charAt(0))},Tt.prototype.ControlAnsOpt=function(e){e.options_list_opened=!e.options_list_opened},Tt.prototype.AnsOpt=function(e,t){t=m.stringGetDigits(t.id);0==e&&window.open("/report-abuse/?ru="+location.href.split("?")[0].split("#")[0]+"&t=a&id="+t,"_self")},Tt.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},Tt.prototype.ShowReplybox=function(e){this.replyinprogress[e]||(this.replyboxshow[e]=!this.replyboxshow[e],this.replyboxshow[e]?this.replyboxinput[e]=this.replyboxinputsubmited[e]||"":this.replyboxinput[e]="")},Tt.prototype.ReplyInput=function(e,t){this.replyboxinput[t]=e,this.replyerror[t]&&(this.replyerror[t].show=!1)},Tt.prototype.SubmitReply=function(r){var o=this,e=this.replyboxinput[r.id];!(e=m.trim(e))||e.length<30?this._throwReplyError(r.id,"Content must have 30 characters."):m.$http({url:m.ajaxUrl(),data:{action:"Answers.AnswerQuestion",do:"user-answer",question_id:r.id,answer:e},headers:{"X-Requested-With":"XMLHttpRequest","Content-Type":"application/x-www-form-urlencoded"},before:function(){o.replyinprogress[r.id]=!0},after:function(){delete o.replyinprogress[r.id]}}).then(function(t){return t&&"redirect"in t?(top.location.href=t.redirect,void setTimeout(function(){o.replyinprogress[r.id]=!0})):void(t.error&&"message"in t?o._throwReplyError(r.id,t.message):t.error?o._throwReplyError(r.id):(e=(r.answers||[]).findIndex(function(e){return e.id==t.id}),n={date:t.date,id:t.id,content:[t.answer],user_login:t.user_login||t.username,user_fullname:t.user_fullname||t.fullname,user_avatar:t.user_avatar||t.avatar,user_title:t.user_title||"",edited:t.edited},n={id:r.id,has_more_answers:r.has_more_answers,answers:[n]},o._ParseAnswers(n,n.id),(n=n.answers[0]).my_ans=!0,o.answerexpand[n.id]=!0,-1<e?(n.edited=!0,Object.assign(r.answers[e],n)):r.answers.unshift(n),o.replyboxinputsubmited[r.id]=t.answer,delete o.replyboxshow[r.id]));var e,n}).catch(function(e){console.error(e),o._throwReplyError(r.id)})},Tt.prototype.QSearch=function(e,t){var n=this;this.resultserror=!1;e=t?null:m.trim(null!=e?e:this._qType.getValue())||"";this.current_page=1,m.$httpAbort("qna-search-query"),m.$httpAbort("qna-load-initial"),e?(e={id:"qna-search-query",url:m.ajaxUrl(),data:{action:"Answers.CommunitySearch",query:e},before:function(){n.search_loading=!0},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,m.$http(e).then(function(e){if(!e||!m.isArray(e))throw 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}).catch(function(e){e instanceof Error&&console.error(e),n.resultserror=!0})):this._StartupLoad(!0)},Tt.prototype.QReset=function(){this.QSearch(null,!0)},Tt.prototype.QClear=function(){this._qType.next("")},Tt.prototype._throwGenericError=function(e,t){},Tt.prototype._stripSlashes=function(e){return e=(e=0==e.indexOf("/")?e.substring(1):e).lastIndexOf("/")==e.length-1?e.substring(0,e.length):e},Tt.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);m.$http({url:m.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(!e||!m.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)}).catch(function(e){console.error(e)})},Tt.prototype._LoadQues=function(t){var n=this;t&&(this.current_page=1),m.$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),m.$http({url:m.ajaxUrl(),method:"GET",data:e,before:function(){n.questions_more=!0,r=n._dservice&&n._dservice.element&&n._dservice.element.scrollTop},after:function(){n.questions_more=!1},id:"qna-more-questions"}).then(function(e){if(!e||!m.isArray(e.questions))throw Error("Required `question` Array is not part of response");n.has_enough_ques=e.pages&&1<e.pages,n.has_more_ques=e.current_page&&e.pages&&e.current_page<e.pages,t&&(n.schquestions=[]),t&&(n.has_enough_ques=!0),n.schquestions=n.schquestions.concat(n._ParseQuestions(e.questions)),n.noresults=0==n.schquestions.length,setTimeout(function(){n._dservice&&n._dservice.element&&n._dservice.scrollTo({position:r,timing:0})})}).catch(function(e){console.error(e)})},Tt.prototype.ViewMoreQuestions=function(){this.current_page++,this._LoadQues()},Tt.prototype.ChangeSort=function(e){this.sortv=this.sortList[e],this.sort_list_opened=!1,this.sortingparam=1===e?"mv":"mp",this._LoadQues(!0)},Tt.prototype.AskQuestion=function(){this._quesOverlay.Open(ye,{input:this.ques_ask||this._qType.getValue()||"",referer:m.baseUrl()+this.ques_referer,addparams:this.addAskParams,categories:this.ask_quest_categories})},Tt.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)},Tt.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),m.$httpAbort("qna-load-initial"),m.$http({url:m.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&&!m.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})},Tt.prototype.RetryLoadData=function(){this._StartupLoad()},Tt.prototype.ngOnInit=function(){var n=this;this.sortv=this.sortList[0],this.sortingparam="mp",m.isNode()||!m.Cookies.get("mw_signon")&&!m.AppData.group("mw_cookies")?this.user_avatar=null:(this.signon=m.Cookies.get("mw_signon")?JSON.parse(m.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&&!m.isNode()&&this._route.queryParams.pipe(u.take(1)).subscribe(function(e){e=e[n.page_query],e=e?m.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&&m.isArray(this.ques_data.questions)?this._parseInitialData(this.ques_data):m.isNode()||(this.load_startup=!0,setTimeout(function(){n._StartupLoad()},this.start_delay||1));var t=this._qType.pipe(u.debounceTime(200)).subscribe(function(e){var t=m.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()})},Tt.prototype.ngAfterViewInit=function(){var e=this;m.reqAnimationFrame(function(){m.isNode()||(e.allow_animation=!0)})},Tt.prototype.ngOnDestroy=function(){this._qType.complete()},Tt.ɵfac=function(e){return new(e||Tt)(u.ɵɵdirectiveInject(u.NgZone),u.ɵɵdirectiveInject(u.Location),u.ɵɵdirectiveInject(u.DomSanitizer),u.ɵɵdirectiveInject(S),u.ɵɵdirectiveInject(m.ScrollerService))},Tt.ɵcmp=u.ɵɵdefineComponent({type:Tt,selectors:[["section","id","qna-box"]],viewQuery:function(e,t){1&e&&(u.ɵɵviewQuery(ke,!0),u.ɵɵviewQuery(Me,!0),u.ɵɵviewQuery(ze,!0)),2&e&&(u.ɵɵqueryRefresh(e=u.ɵɵloadQuery())&&(t.txtElement=e.first),u.ɵɵqueryRefresh(e=u.ɵɵloadQuery())&&(t._quesOverlay=e.first),u.ɵɵqueryRefresh(e=u.ɵɵloadQuery())&&(t._answersList=e))},hostVars:4,hostBindings:function(e,t){2&e&&u.ɵɵ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"],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:r,decls:20,vars:23,consts:[[1,"qna-heading",3,"ngClass"],["class","qa-count semi-bold-font",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"],["role","listbox",1,"qna-sort",3,"ngClass","ng-hidden"],["role","option","zing-touch","",1,"qna-most-list-active","inline-block",3,"onTap","onTapOutside"],[1,"af-icon-down-open"],["zing-touch","",1,"qna-most-list","basic-trans",3,"ng-hidden","onTap"],["role","option","class","qna-most-list-it bold-font","zing-touch","",3,"qnaml-first","onTap",4,"ngFor","ngForOf","ngForTrackBy"],["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"],["quesOverlay",""],["class","qna-startup-load progress-indicator-container ng-enter-element",4,"ngIf"],["class","qna-startup-fail ng-enter-element",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","",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"],["zing-touch","",1,"btn","fixed-w-h",3,"onTap"],["class","qna-search-state bold-font",4,"ngIf"],["zing-touch","",1,"qba-sc-cross","lbl-b","ng-enter-element",3,"onTap"],[1,"qna-search-state","bold-font"],["role","option","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"],["zing-touch","",1,"btn","fixed-w-f",3,"onTap"],[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",3,"href","zing-url","ng-context","qt-as-link",4,"ngIf"],["class","qna-q-title link",3,"ng-context","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","",3,"ng-hidden","onTap",4,"ngIf"],[1,"qna-q-actions"],["class","qna-q-reply link semi-bold-font",3,"click",4,"ngIf"],[1,"qna-q-thumbs"],["zing-touch","",1,"up","vote","bf-icon-upvote","progress-indicator","qna-qvt",3,"zing-no-touch","onTap"],[1,"qna-qv-t"],["zing-touch","",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",1,"qna-q-title","link",3,"href","zing-url","ng-context"],[1,"qna-q-title","link",3,"ng-context"],[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","",1,"qna-q-content-more","semi-bold-font",3,"ng-hidden","onTap"],[1,"qna-q-reply","link","semi-bold-font",3,"click"],["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","zing-touch","",1,"btn","grey","fixed-w",3,"disabled","onTap"],["type","submit","aria-label","Submit",1,"btn","blue","fixed-w","with-loader","no-disabled",3,"disabled"],[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","","width","40","height","40",1,"avatar-img"],["deferImg",""],[1,"qna-qa-names","text-select"],["class","full-name semi-bold-font",3,"ng-attribute","ng-attribute-when",4,"ngIf"],[1,"second-name"],["class","qna-qa-sort","role","listbox",4,"ngIf"],["zing-touch","",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"],["class","qna-q-thumbs",4,"ngIf"],[1,"full-name","semi-bold-font",3,"ng-attribute","ng-attribute-when"],[3,"ng-attribute","ng-attribute-when"],["class","author-cap",4,"ngIf"],[1,"author-cap"],["role","listbox",1,"qna-qa-sort"],["zing-touch","",1,"af-icon-down-open","cursor-pointer",3,"onTap","onTapOutside"],["role","option","zing-touch","","class","qna-most-list-it bold-font",3,"qnaml-first","onTap",4,"ngFor","ngForOf","ngForTrackBy"],["zing-touch","",1,"up","vote","bf-icon-upvote","progress-indicator",3,"zing-no-touch","onTap"],[1,"qna-qa-show-more","progress-indicator-container"],["class","progress-indicator visible",4,"ngIf"],["zing-touch","",1,"qna-qa-sm-bt","link","inherit",3,"onTap"],[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"],["zing-touch","",1,"btn","tall","qna-qgm-btn-last","blue-brds","bold-font",3,"onTap"],[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&&(u.ɵɵelementStart(0,"h2",0),u.ɵɵtext(1),u.ɵɵtemplate(2,Ae,2,1,"span",1),u.ɵɵelementEnd(),u.ɵɵtemplate(3,Oe,6,2,"p",2),u.ɵɵtemplate(4,Le,1,4,"p",3),u.ɵɵtemplate(5,Ve,12,11,"div",4),u.ɵɵelementStart(6,"div",5),u.ɵɵelementStart(7,"span",6),u.ɵɵlistener("onTap",function(){return t.ControlSortList()})("onTapOutside",function(){return t.ControlSortList(!1)}),u.ɵɵelementStart(8,"span"),u.ɵɵtext(9),u.ɵɵelementEnd(),u.ɵɵelement(10,"i",7),u.ɵɵelementEnd(),u.ɵɵelementStart(11,"div",8),u.ɵɵlistener("onTap",function(e){return e.stopPropagation()}),u.ɵɵtemplate(12,He,2,3,"span",9),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵtemplate(13,$e,9,5,"div",10),u.ɵɵtemplate(14,bt,3,8,"div",11),u.ɵɵtemplate(15,Et,7,1,"div",12),u.ɵɵelement(16,"modal-dialog",null,13),u.ɵɵtemplate(18,St,3,0,"div",14),u.ɵɵtemplate(19,qt,7,0,"div",15)),2&e&&(u.ɵɵproperty("ngClass",u.ɵɵpureFunction3(17,Ct,0==t.layout_type,1==t.layout_type,2==t.layout_type)),u.ɵɵadvance(1),u.ɵɵtextInterpolate1("",t.section_title," "),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",1==t.layout_type&&t.schq_count),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",t.product_name),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",t.intro_content),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",t.has_enough_ques&&!t.load_startup&&!t.load_startup_fail),u.ɵɵadvance(1),u.ɵɵproperty("ngClass",u.ɵɵpureFunction1(21,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),u.ɵɵadvance(3),u.ɵɵtextInterpolate(t.sortv),u.ɵɵadvance(2),u.ɵɵproperty("ng-hidden",!t.sort_list_opened),u.ɵɵadvance(1),u.ɵɵproperty("ngForOf",t.sortList)("ngForTrackBy",t.trackByFn),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",!t.has_enough_ques&&!t.load_startup&&!t.load_startup_fail),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",t.search_loading||t.questions_more||t.schquestions.length),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",t.has_view_more),u.ɵɵadvance(3),u.ɵɵproperty("ngIf",t.load_startup&&!t.load_startup_fail),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",t.load_startup_fail))},directives:[u.NgClass,u.NgIf,m.ngHidden,m.TouchGestures,u.NgForOf,m.ngModalDialog,g,m.ngZenScroll,V,K,m.ngAttribute,m.ngCleanBind,m.ngCleanHTML,m.FormSubmit,Y,m.ErrorToastComponent,m.ImageLoader],encapsulation:2}),K=Tt;function Tt(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.ask_quest_categories=null,this._qType=new u.BehaviorSubject(""),this.questions=[],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.current_page=1,this.schquestions=[],this.total_ques=new u.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.answers_link=m.baseUrl()+"/answers/"}u.setClassMetadata(K,[{type:u.Component,args:[{selector:"section[id=qna-box]",templateUrl:"/views/components/qna-comp.html",host:{"[class.qna-type1]":"layout_type == 0","[class.qna-no-more]":"!has_view_more"}}]}],function(){return[{type:u.NgZone},{type:u.Location},{type:u.DomSanitizer},{type:S},{type:m.ScrollerService}]},{layout_type:[{type:u.Input,args:["type"]}],product_name:[{type:u.Input,args:["product-name"]}],ques_data:[{type:u.Input,args:["product-questions"]}],ques_referer:[{type:u.Input,args:["product-referer"]}],intro_content:[{type:u.Input,args:["use-intro"]}],quest_category:[{type:u.Input,args:["product-category"]}],start_delay:[{type:u.Input,args:["startup-delay"]}],section_title:[{type:u.Input,args:["section-title"]}],ask_quest_categories:[{type:u.Input,args:["question-categories"]}],toggleSchema:[{type:u.Input,args:["toggle-schema"]}],total_ques:[{type:u.Output,args:["total-questions"]}],txtElement:[{type:u.ViewChild,args:["txtElement",{static:!1}]}],_quesOverlay:[{type:u.ViewChild,args:["quesOverlay",{static:!1}]}],_answersList:[{type:u.ViewChildren,args:["ques_answer"]}],open_popup:[{type:u.Input,args:["show-ask-popup"]}],focus_on_input:[{type:u.Input,args:["scroll-to-ask"]}],addAskParams:[{type:u.Input,args:["question-ask-add-params"]}],page_query:[{type:u.Input,args:["pagination-query"]}]});kt.ɵmod=u.ɵɵdefineNgModule({type:kt}),kt.ɵinj=u.ɵɵdefineInjector({factory:function(e){return new(e||kt)},imports:[[u.CommonModule,m.DirectivesModule,m.ErrorsModule,te,m.ImageLoaderModule,T,m.ngModalsModule,m.StickerModule,D,J,m.FormSubmitModule,re,F]]}),Y=kt;function kt(){}u.setClassMetadata(Y,[{type:u.NgModule,args:[{imports:[u.CommonModule,m.DirectivesModule,m.ErrorsModule,te,m.ImageLoaderModule,T,m.ngModalsModule,m.StickerModule,D,J,m.FormSubmitModule,re,F],exports:[K],declarations:[K]}]}],null,null);F=["id","experts-gallery"];function Mt(e,t){1&e&&(u.ɵɵelementStart(0,"div",10),u.ɵɵelement(1,"i"),u.ɵɵelementEnd())}function zt(e,t){1&e&&(u.ɵɵelementStart(0,"div",11),u.ɵɵelement(1,"h2",12),u.ɵɵelementEnd()),2&e&&(e=u.ɵɵnextContext(2),u.ɵɵadvance(1),u.ɵɵproperty("innerHTML",e.header_text||"Ask the Experts",u.ɵɵsanitizeHtml))}function At(e,t){1&e&&u.ɵɵelement(0,"div",13),2&e&&(e=u.ɵɵnextContext(2),u.ɵɵproperty("innerHTML",e.intro,u.ɵɵsanitizeHtml))}function Ot(e,t){var n;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementContainerStart(0),u.ɵɵelementStart(1,"span",21),u.ɵɵtext(2),u.ɵɵelementEnd(),u.ɵɵelement(3,"br"),u.ɵɵelementStart(4,"i",21),u.ɵɵtext(5),u.ɵɵelementEnd(),u.ɵɵelement(6,"br"),u.ɵɵelementStart(7,"span",22),u.ɵɵlistener("onTap",function(){u.ɵɵrestoreView(n);var e=u.ɵɵnextContext().$implicit;return u.ɵɵnextContext(2).gotToOne(e.HASHTAG)}),u.ɵɵtext(8,"Read More"),u.ɵɵelementEnd(),u.ɵɵelementContainerEnd()),2&e&&(e=u.ɵɵnextContext().$implicit,u.ɵɵadvance(2),u.ɵɵtextInterpolate(e.AUTHOR),u.ɵɵadvance(3),u.ɵɵtextInterpolate(e.CAPTION))}function Lt(e,t){var n;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementContainerStart(0),u.ɵɵelementStart(1,"span",23),u.ɵɵlistener("onTap",function(){u.ɵɵrestoreView(n);var e=u.ɵɵnextContext().$implicit;return u.ɵɵnextContext(2).gotToOne(e.HASHTAG)}),u.ɵɵelementEnd(),u.ɵɵelementContainerEnd()),2&e&&(e=u.ɵɵnextContext().$implicit,u.ɵɵadvance(1),u.ɵɵproperty("ng-context",e.AUTHOR))}function Nt(e,t){var n,r;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"dl",14),u.ɵɵelementStart(1,"dt",15),u.ɵɵelementStart(2,"span",16),u.ɵɵlistener("onTap",function(){u.ɵɵrestoreView(n);var e=t.$implicit;return u.ɵɵnextContext(2).gotToOne(e.HASHTAG)}),u.ɵɵelement(3,"img",17,18),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementStart(5,"dd",19),u.ɵɵtemplate(6,Ot,9,2,"ng-container",20),u.ɵɵtemplate(7,Lt,2,1,"ng-container",20),u.ɵɵelementEnd(),u.ɵɵelementEnd()),2&e&&(r=t.$implicit,e=u.ɵɵnextContext(2),u.ɵɵclassProp("gallery-item-logo",e.as_logos),u.ɵɵadvance(2),u.ɵɵproperty("defer-src",r.AVATAR)("zing-no-touch",!0)("ui-hydrate",e.srv_no_avatars),u.ɵɵadvance(1),u.ɵɵclassProp("exp-img-logo",e.as_logos),u.ɵɵproperty("src",r.AVATAR,u.ɵɵsanitizeUrl)("alt",r.AUTHOR),u.ɵɵadvance(3),u.ɵɵproperty("ngIf",!e.as_logos),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",e.as_logos))}function jt(e,t){var n;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"div",24),u.ɵɵelementStart(1,"span",25),u.ɵɵlistener("onTap",function(){return u.ɵɵrestoreView(n),u.ɵɵnextContext(2).showMoreExperts()}),u.ɵɵelementEnd(),u.ɵɵelementEnd()),2&e&&(e=u.ɵɵnextContext(2),u.ɵɵadvance(1),u.ɵɵproperty("ng-context",e.more_btn_txt))}function Ft(e,t){1&e&&(u.ɵɵelementStart(0,"i"),u.ɵɵtext(1),u.ɵɵelementEnd()),2&e&&(e=u.ɵɵnextContext(3),u.ɵɵadvance(1),u.ɵɵtextInterpolate(null==e.expert_full?null:e.expert_full.CAPTION))}function Rt(e,t){1&e&&u.ɵɵelement(0,"div",31),2&e&&(e=u.ɵɵnextContext(3),u.ɵɵproperty("innerHtml",e.expert_full.CONTENT,u.ɵɵsanitizeHtml))}function Pt(e,t){1&e&&u.ɵɵelement(0,"div",32),2&e&&(e=u.ɵɵnextContext(3),u.ɵɵproperty("cleanHTML",e.expert_full.CONTENT)("cleanHTML-sett",e.doompurifySett))}function Vt(e,t){var n;1&e&&(n=u.ɵɵgetCurrentView(),u.ɵɵelementStart(0,"article",26),u.ɵɵelementStart(1,"button",27),u.ɵɵlistener("onTap",function(){return u.ɵɵrestoreView(n),u.ɵɵnextContext(2).goToAll()}),u.ɵɵtext(2),u.ɵɵelementEnd(),u.ɵɵelement(3,"img",28),u.ɵɵelementStart(4,"h3"),u.ɵɵtext(5),u.ɵɵelementEnd(),u.ɵɵtemplate(6,Ft,2,1,"i",20),u.ɵɵtemplate(7,Rt,1,1,"div",29),u.ɵɵtemplate(8,Pt,1,2,"div",30),u.ɵɵelementEnd()),2&e&&(e=u.ɵɵnextContext(2),u.ɵɵclassProp("exp-logo-profile",e.as_logos),u.ɵɵadvance(1),u.ɵɵproperty("ngClass",e.back_bt_class),u.ɵɵadvance(1),u.ɵɵtextInterpolate(e.back_bt_text),u.ɵɵadvance(1),u.ɵɵproperty("src",null==e.expert_full?null:e.expert_full.AVATAR,u.ɵɵsanitizeUrl),u.ɵɵadvance(2),u.ɵɵtextInterpolate(null==e.expert_full?null:e.expert_full.AUTHOR),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",!e.as_logos),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",!e.as_logos),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",e.as_logos))}function Ht(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 Dt(e,t){1&e&&(u.ɵɵelementStart(0,"section",1),u.ɵɵtemplate(1,Mt,2,0,"div",2),u.ɵɵtemplate(2,zt,2,1,"div",3),u.ɵɵtemplate(3,At,1,1,"div",4),u.ɵɵelementStart(4,"div",5),u.ɵɵelementStart(5,"div",6),u.ɵɵtemplate(6,Nt,8,11,"dl",7),u.ɵɵtemplate(7,jt,2,1,"div",8),u.ɵɵtemplate(8,Vt,9,9,"article",9),u.ɵɵelementEnd(),u.ɵɵelementEnd(),u.ɵɵelementEnd()),2&e&&(e=u.ɵɵnextContext(),u.ɵɵproperty("ngClass",u.ɵɵpureFunction6(13,Ht,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),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",e.loading),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",!e.layout_format),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",e.intro&&!e.expert_single),u.ɵɵadvance(1),u.ɵɵclassProp("all",!e.expert_single),u.ɵɵproperty("scroll-to",e.center_experts),u.ɵɵadvance(1),u.ɵɵproperty("scroll-to",e.scrollsingle)("scrolloffset",e.expert_offset),u.ɵɵadvance(1),u.ɵɵproperty("ngForOf",e.experts),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",e.hasmoreexperts&&!e.expert_single),u.ɵɵadvance(1),u.ɵɵproperty("ngIf",e.expert_single))}require("systemjs").import("css:/components/experts-gallery.css").then(function(){},function(){});var $t=(Object.defineProperty(Bt.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(Bt.prototype,"data",{get:function(){return this._data},set:function(e){(this._data=e)&&m.isArray(e.expertsContent)?(m.$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(Bt.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(Bt.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}),Bt.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]],m.reqAnimationFrame(function(){r._zone.run(function(){var t;m.isWeb()&&r._servertransitwait?(n||(t=m.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)},Bt.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}},Bt.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=[])},Bt.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)},Bt.prototype._throwError=function(e,t){this.dataerror=!0,m.RavenRequestFail(e,"NG Experts Gallery : Data Request Error",{action:t})},Bt.prototype._getExpertsByUrl=function(){var n=this;this.expert_single=!1,m.$httpAbort("experts-gallery"),this.loading=!0,m.$http({method:"GET",url:m.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,m.isObject(t)&&m.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)})},Bt.prototype.ngOnInit=function(){var e=this;this.isnode=m.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()},Bt.prototype.ngAfterViewInit=function(){var e=this;this._rendered=!0,this.data&&!this.emptydata&&this._hashname?m.reqAnimationFrame(function(){return e._goToExpert(e._hashname)}):this.asyncdata||(this._servertransitwait=!1)},Bt.prototype.ngOnDestroy=function(){m.$httpAbort("experts-gallery")},Bt.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)},Bt.prototype.gotToOne=function(e){e=e.substring(1);this.expert_full=null,this._goToExpert(e),this.changedExpert.emit(e)},Bt.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,m.reqAnimationFrame(function(){e.center_experts=!1})})},Bt.ɵfac=function(e){return new(e||Bt)(u.ɵɵdirectiveInject(u.NgZone))},Bt.ɵcmp=u.ɵɵdefineComponent({type:Bt,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&&u.ɵɵtemplate(0,Dt,9,20,"section",0),2&e&&u.ɵɵproperty("ngIf",!t.norender)},directives:[u.NgIf,u.NgClass,m.ngZenScroll,u.NgForOf,m.TouchGestures,m.ImageLoader,m.ngCleanBind,m.ngCleanHTML],encapsulation:2}),Bt);function Bt(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 u.EventEmitter,this.tagMatch=new u.EventEmitter,this._servertransitwait=!0}u.setClassMetadata($t,[{type:u.Component,args:[{selector:"div[id=experts-gallery]",templateUrl:"/views/components/experts-gallery.html"}]}],function(){return[{type:u.NgZone}]},{expert_offset:[{type:u.Input,args:["scroll-offset"]}],max_experts:[{type:u.Input,args:["max-experts"]}],header_text:[{type:u.Input,args:["header-text"]}],srv_no_avatars:[{type:u.Input,args:["ui-hydrate-avatars"]}],hashname:[{type:u.Input,args:["hashtag"]}],data:[{type:u.Input}],urlpath:[{type:u.Input}],urlrefresh:[{type:u.Input}],refreshdelay:[{type:u.Input}],asyncdata:[{type:u.Input}],server_render:[{type:u.Input,args:["server-render"]}],layout_format:[{type:u.Input,args:["format"]}],back_bt_text:[{type:u.Input,args:["back-bt-text"]}],back_bt_class:[{type:u.Input,args:["back-bt-class"]}],more_btn_txt:[{type:u.Input,args:["more-bt-text"]}],changedExpert:[{type:u.Output}],tagMatch:[{type:u.Output}]});var Qt=(Ut.ɵmod=u.ɵɵdefineNgModule({type:Ut}),Ut.ɵinj=u.ɵɵdefineInjector({factory:function(e){return new(e||Ut)},imports:[[m.DirectivesModule,u.CommonModule,m.ImageLoaderModule]]}),Ut);function Ut(){}u.setClassMetadata(Qt,[{type:u.NgModule,args:[{imports:[m.DirectivesModule,u.CommonModule,m.ImageLoaderModule],declarations:[$t],exports:[$t],entryComponents:[$t]}]}],null,null),e.ActivatedRoute=S,e.CompileExpertsGallery=function(e,t,n,r,o){void 0===o&&(o={});for(var a=Qt,i=$t,s=document.querySelectorAll("div[id=experts-gallery]"),l=[],p=0,c=s.length;p<c;p++){s[p].setAttribute("data-expert-sect",p.toString());var d='div[data-expert-sect="'+p+'"]',u={back_bt_text:(u=o.data[p]||{}).back_link_text,more_btn_txt:u.more_text,header_text:u.header_text,expert_offset:-100,max_experts:6,hashname:o.hashname,data:{expertsContent:u.expertsContent,aslogos:u.aslogos,expertsIntro:u.expertsIntro}};l.push(m.injectModuleAsync(e,t,n,a,i,d,u).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=m.objectFromParam(e))&&t.expert&&m.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=y,e.QnAComp=K,e.QnAModule=Y,e.RouterModule=T});