1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4336],{83956:(G,v,i)=>{i.d(v,{y:()=>P});var e=i(73448),t=i(32116),m=i(95657),d=i(34680),f=i(53616),_=i(91368),w=i(83068),g=i(44716);const C=["searchInputBox"],h=["autoCompleteBox"],I=u=>({selected:u});function c(u,E){if(1&u){const n=t.KQA();t.I0R(0,"li",12),t.qCj("click",function(){const O=t.usT(n).$implicit,M=t.GaO();return t.CGJ(M.select(O.key))}),t.I0R(1,"div",8)(2,"div",9),t.OEk(3),t.C$Y()()()}if(2&u){const n=E.$implicit;t.E7m("ngClass",t.S45(2,I,n.value)),t.yG2(3),t.oRS(" ",n.name," ")}}const x=(u,E,n)=>({selected:u,"selected-half":E,"selected-full":n});function o(u,E){if(1&u){const n=t.KQA();t.I0R(0,"div",17)(1,"div",18),t.qCj("click",function(){const O=t.usT(n).$implicit,M=t.GaO(2);return t.CGJ(M.select(O.key))}),t.I0R(2,"ion-checkbox",19),t.iHE("ngModelChange",function(a){const M=t.usT(n).$implicit;return t.kNx(M.value,a)||(M.value=a),t.CGJ(a)}),t.C$Y(),t.OEk(3),t.C$Y()()}if(2&u){const n=E.$implicit,p=t.GaO(2);t.yG2(),t.E7m("ngClass",t.uAc(3,x,n.value,p.selectedStates.length>6,p.selectedStates.length<=6)),t.yG2(),t.OKB("ngModel",n.value),t.yG2(),t.oRS(" ",n.name," ")}}function r(u,E){if(1&u){const n=t.KQA();t.I0R(0,"span",7),t.qCj("click",function(){const O=t.usT(n).$implicit,M=t.GaO(3);return t.CGJ(M.select(O.key))}),t.OEk(1),t.C$Y()}if(2&u){const n=E.$implicit;t.yG2(),t.oRS(" ",n.name," ")}}function s(u,E){if(1&u&&(t.I0R(0,"div",20)(1,"p"),t.OEk(2,"Show All"),t.C$Y(),t.I0R(3,"div",21),t.yuY(4,r,2,1,"span",22),t.wVc(5,"slice"),t.C$Y()()),2&u){const n=t.GaO(2);t.yG2(4),t.E7m("ngForOf",t.I7O(5,1,n.selectedStates,6,100))}}function l(u,E){if(1&u&&(t.I0R(0,"div",13)(1,"p"),t.OEk(2,"Selected"),t.C$Y(),t.I0R(3,"div",14),t.yuY(4,o,4,7,"div",15),t.wVc(5,"slice"),t.yuY(6,s,6,5,"div",16),t.C$Y()()),2&u){const n=t.GaO();t.yG2(4),t.E7m("ngForOf",t.I7O(5,2,n.selectedStates,0,6)),t.yG2(2),t.E7m("ngIf",n.selectedStates.length>6)}}const y=u=>({display:u});let P=(()=>{class u{renderer;question;selectOption=new t._w7;searchInputBox;autoCompleteBox;searchString="";searchResults$;searchSubject$=new m.E;autoCompleteItems=[];keyedItem=0;isSearching=!1;states=[];ngUnsubscribe=new m.E;constructor(n){this.renderer=n}ngOnInit(){var n=this;this.searchResults$=this.searchSubject$.pipe((0,d.o)(0)),this.searchResults$.pipe((0,f.a)(this.ngUnsubscribe)).subscribe(function(){var p=(0,e.c)(function*(a){yield n.searchStreetOnChange(a),n.isSearching=!1});return function(a){return p.apply(this,arguments)}}()),this.initSearchFocusListener()}selectAll(){const n=this.question.answers[0].value;this.question.answers.forEach(p=>{p.value=!n}),this.autoCompleteItems=[]}searching(n){this.isSearching=!0,n.target.value.length>0?this.searchSubject$.next(n.target.value):this.autoCompleteItems=this.question.answers}resetForm(){this.autoCompleteItems=[]}focus(n){n.viewModel?this.searchSubject$.next(n.viewModel):this.autoCompleteItems=this.question.answers}searchStreetOnChange(n){var p=this;return(0,e.c)(function*(){p.autoCompleteItems=[],""!==n&&(p.autoCompleteItems=p.question.answers.filter(a=>a.name.toLowerCase().includes(n.toLowerCase())))})()}select(n){this.selectOption.emit({question:this.question,key:n}),1===this.autoCompleteItems.length&&(this.autoCompleteItems=[])}get selectedStates(){return this.question.answers.filter(n=>!0===n.value)}chooseItem(n){}input(n){const p=n.target.value;this.states=0!==p.length?this.question.answers.filter(a=>a.name.toLowerCase().includes(p.toLowerCase())&&!1===a.value):[]}initSearchFocusListener(){this.renderer.listen("window","click",n=>{!this.searchInputBox.nativeElement.contains(n.target)&&!this.autoCompleteBox.nativeElement.contains(n.target)&&this.autoCompleteItems.length>0&&this.resetForm()})}ngOnDestroy(){this.ngUnsubscribe.next(""),this.ngUnsubscribe.complete()}static \u0275fac=function(p){return new(p||u)(t.GI1(t.q87))};static \u0275cmp=t.In1({type:u,selectors:[["app-autocomplete"]],viewQuery:function(p,a){if(1&p&&(t.CC$(C,5,t.GMv),t.CC$(h,5)),2&p){let O;t.wto(O=t.Gqi())&&(a.searchInputBox=O.first),t.wto(O=t.Gqi())&&(a.autoCompleteBox=O.first)}},inputs:{question:"question"},outputs:{selectOption:"selectOption"},decls:15,vars:7,consts:[[1,"autocomplete"],[1,"input-container"],[1,"custom-label"],["name","business","type","text","required","","minlength","1","autoComplete","off",3,"ngModel","ngModelChange","ionInput","ionFocus"],["searchInputBox","","business","ngModel"],[1,"autocomplete-list",3,"ngStyle"],["autoCompleteBox",""],[3,"click"],[1,"text"],[1,"main-text"],[3,"ngClass","click",4,"ngFor","ngForOf"],["id","selected",4,"ngIf"],[3,"ngClass","click"],["id","selected"],["id","stateOptions",1,"selected"],["class","select-option-container",4,"ngFor","ngForOf"],["id","andMore",4,"ngIf"],[1,"select-option-container"],[1,"select-option",3,"ngClass","click"],["name","rememberEmail","ngModel","",3,"ngModel","ngModelChange"],["id","andMore"],["id","andMoreList"],[3,"click",4,"ngFor","ngForOf"]],template:function(p,a){if(1&p){const O=t.KQA();t.I0R(0,"div",0)(1,"div",1)(2,"span",2),t.OEk(3),t.C$Y(),t.I0R(4,"ion-input",3,4),t.iHE("ngModelChange",function(T){return t.kNx(a.searchString,T)||(a.searchString=T),T}),t.qCj("ionInput",function(T){return a.searching(T)})("ionFocus",function(){t.usT(O);const T=t.Gew(6);return t.CGJ(a.focus(T))}),t.C$Y()(),t.I0R(7,"ul",5,6)(9,"li",7),t.qCj("click",function(){return a.selectAll()}),t.I0R(10,"div",8)(11,"div",9),t.OEk(12,"Select All"),t.C$Y()()(),t.yuY(13,c,4,4,"li",10),t.C$Y()(),t.yuY(14,l,7,6,"div",11)}2&p&&(t.yG2(3),t.cNF(a.question.title),t.yG2(),t.OKB("ngModel",a.searchString),t.yG2(3),t.E7m("ngStyle",t.S45(5,y,a.autoCompleteItems.length>0?"block":"none")),t.yG2(6),t.E7m("ngForOf",a.autoCompleteItems),t.yG2(),t.E7m("ngIf",a.selectedStates.length>0))},dependencies:[_.QF,_.ay,_.u_,_.Qt,w.ew,w.A5,w.UJ,w.qG,g.ue,g.eJ,g.El,g._G,_.qq],styles:["[_nghost-%COMP%]{min-height:400px;display:block}.select-option-container[_ngcontent-%COMP%]{width:48%}.select-option-container[_ngcontent-%COMP%] .select-option[_ngcontent-%COMP%]{width:100%}#stateOptions[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:space-between}#andMore[_ngcontent-%COMP%]{text-align:left}#andMore[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:.8rem;color:gray;margin:0}
1#andMore[_ngcontent-%COMP%] #andMoreList[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}#andMore[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{cursor:pointer;position:relative;margin-right:5px;padding:1px 2px;box-shadow:0 0 3px #00000017;border:2px solid transparent;border-radius:4px;margin-bottom:5px;font-size:.8rem;font-weight:600;letter-spacing:.5px;font-size:.7rem;border:2px solid #8180e0;background-color:#8180e0;color:#fff}#selected[_ngcontent-%COMP%] p[_ngcontent-%COMP%], #options[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:.8rem;color:gray;text-align:left}.autocomplete-list[_ngcontent-%COMP%]{background-color:#fff}.input-container[_ngcontent-%COMP%]{margin-bottom:0}"]})}return u})()},94756:(G,v,i)=>{i.d(v,{g:()=>f});var e=i(91368),t=i(83068),m=i(44716),d=i(32116);let f=(()=>{class _{static \u0275fac=function(C){return new(C||_)};static \u0275mod=d.a4G({type:_});static \u0275inj=d.s3X({imports:[e.MD,t.wZ,m.y]})}return _})()},16368:(G,v,i)=>{i.d(v,{E:()=>f});var e=i(32116),t=i(83068),m=i(44716);const d=["inputForm"];let f=(()=>{class _{question;inputForm;constructor(){}ngOnInit(){}input(g){}static \u0275fac=function(C){return new(C||_)};static \u0275cmp=e.In1({type:_,selectors:[["app-input-text"]],viewQuery:function(C,h){if(1&C&&e.CC$(d,5),2&C){let I;e.wto(I=e.Gqi())&&(h.inputForm=I.first)}},inputs:{question:"question"},decls:7,vars:2,consts:[["inputForm","ngForm"],[1,"input-container"],[1,"custom-label"],["name","business","type","text","required","","minlength","1",3,"ngModel","ngModelChange","ionInput"],["business","ngModel"]],template:function(C,h){1&C&&(e.I0R(0,"form",null,0)(2,"div",1)(3,"span",2),e.OEk(4),e.C$Y(),e.I0R(5,"ion-input",3,4),e.iHE("ngModelChange",function(c){return e.kNx(h.question.answers[0].value,c)||(h.question.answers[0].value=c),c}),e.qCj("ionInput",function(c){return h.input(c)}),e.C$Y()()()),2&C&&(e.yG2(4),e.cNF(h.question.answers[0].name),e.yG2(),e.OKB("ngModel",h.question.answers[0].value))},dependencies:[t.A5,t.qG,m.sz,m.ue,m.u,m.eJ,m.El,m._G,m.SC],styles:[".input-container[_ngcontent-%COMP%]{max-width:300px;margin:0 auto}form[_ngcontent-%COMP%]{padding:5px 0}"]})}return _})()},56964:(G,v,i)=>{i.d(v,{s:()=>f});var e=i(91368),t=i(83068),m=i(44716),d=i(32116);let f=(()=>{class _{static \u0275fac=function(C){return new(C||_)};static \u0275mod=d.a4G({type:_});static \u0275inj=d.s3X({imports:[e.MD,t.wZ,m.y]})}return _})()},67096:(G,v,i)=>{i.d(v,{Y:()=>I});var e=i(32116),t=i(91368),m=i(83068),d=i(44716);const f=c=>({selected:c});function _(c,x){if(1&c){const o=e.KQA();e.I0R(0,"div",5),e.qCj("click",function(){e.usT(o);const s=e.GaO().$implicit,l=e.GaO();return e.CGJ(l.select(s.key,!1))}),e.I0R(1,"ion-checkbox",6),e.iHE("ngModelChange",function(s){e.usT(o);const l=e.GaO().$implicit;return e.kNx(l.value,s)||(l.value=s),e.CGJ(s)}),e.qCj("click",function(){e.usT(o);const s=e.GaO().$implicit,l=e.GaO();return e.CGJ(l.select(s.key,!1))}),e.C$Y(),e.OEk(2),e.C$Y()}if(2&c){const o=e.GaO().$implicit;e.E7m("ngClass",e.S45(3,f,o.value)),e.yG2(),e.OKB("ngModel",o.value),e.yG2(),e.oRS(" ",o.name," ")}}function w(c,x){if(1&c){const o=e.KQA();e.I0R(0,"div",9),e.qCj("click",function(){const l=e.usT(o).$implicit,y=e.GaO(2).$implicit,P=e.GaO();return e.CGJ(P.select(y.key,!0,l.key))}),e.I0R(1,"ion-checkbox",6),e.iHE("ngModelChange",function(s){const y=e.usT(o).$implicit;return e.kNx(y.value,s)||(y.value=s),e.CGJ(s)}),e.qCj("click",function(){const l=e.usT(o).$implicit,y=e.GaO(2).$implicit,P=e.GaO();return e.CGJ(P.select(y.key,!0,l.key))}),e.C$Y(),e.OEk(2),e.C$Y()}if(2&c){const o=x.$implicit;e.E7m("ngClass",e.S45(3,f,o.value)),e.yG2(),e.OKB("ngModel",o.value),e.yG2(),e.oRS(" ",o.name," ")}}function g(c,x){if(1&c){const o=e.KQA();e.I0R(0,"div",7)(1,"div",5),e.qCj("click",function(){e.usT(o);const s=e.GaO().$implicit,l=e.GaO();return e.CGJ(l.select(s.key,!1))}),e.I0R(2,"ion-checkbox",6),e.iHE("ngModelChange",function(s){e.usT(o);const l=e.GaO().$implicit;return e.kNx(l.value,s)||(l.value=s),e.CGJ(s)}),e.qCj("click",function(){e.usT(o);const s=e.GaO().$implicit,l=e.GaO();return e.CGJ(l.select(s.key,!1))}),e.C$Y(),e.OEk(3),e.C$Y(),e.yuY(4,w,3,5,"div",8),e.C$Y()}if(2&c){const o=e.GaO().$implicit;e.yG2(),e.E7m("ngClass",e.S45(4,f,o.value)),e.yG2(),e.OKB("ngModel",o.value),e.yG2(),e.oRS(" ",o.name," "),e.yG2(),e.E7m("ngForOf",o.subAnswers)}}function C(c,x){if(1&c&&(e.I0R(0,"div",2),e.yuY(1,_,3,5,"div",3)(2,g,5,6,"div",4),e.C$Y()),2&c){const o=x.$implicit;e.yG2(),e.E7m("ngIf",!o.subAnswers),e.yG2(),e.E7m("ngIf",o.subAnswers)}}function h(c,x){if(1&c){const o=e.KQA();e.I0R(0,"form",null,10),e.wR5(2,"br"),e.I0R(3,"div",11)(4,"span",12),e.OEk(5),e.C$Y(),e.I0R(6,"ion-input",13,14),e.iHE("ngModelChange",function(s){e.usT(o);const l=e.GaO();return e.kNx(l.question.answers[4].value,s)||(l.question.answers[4].value=s),e.CGJ(s)}),e.C$Y()(),e.wR5(8,"br"),e.I0R(9,"div",11)(10,"span",12),e.OEk(11),e.C$Y(),e.I0R(12,"ion-input",15,16),e.iHE("ngModelChange",function(s){e.usT(o);const l=e.GaO();return e.kNx(l.question.answers[5].value,s)||(l.question.answers[5].value=s),e.CGJ(s)}),e.C$Y()()()}if(2&c){const o=e.GaO();e.yG2(5),e.cNF(o.question.answers[4].name),e.yG2(),e.OKB("ngModel",o.question.answers[4].value),e.yG2(5),e.cNF(o.question.answers[5].name),e.yG2(),e.OKB("ngModel",o.question.answers[5].value)}}let I=(()=>{class c{question;align="center";selectOption=new e._w7;enterText=new e._w7;constructor(){}ngOnInit(){}select(o,r,s){this.selectOption.emit({question:this.question,key:o,subAnswerKey:s,child:r})}input(o,r){this.enterText.emit({question:this.question,index:o,value:r.target.value})}formatPTIN(o,r){}isNone(o){const r=o.answers.find(l=>!0===l.value&&"none"===l.key),s=o.answers.find(l=>!0===l.value&&"none"!==l.key);return!(r||!s)}filterOutAnswers(o){return o.filter(r=>"efin"!==r.key&&"ptin"!==r.key)}static \u0275fac=function(r){return new(r||c)};static \u0275cmp=e.In1({type:c,selectors:[["app-select"]],inputs:{question:"question",align:"align"},outputs:{selectOption:"selectOption",enterText:"enterText"},decls:2,vars:2,consts:[["class","select-option-container",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"select-option-container"],["class","select-option",3,"ngClass","click",4,"ngIf"],["class","select-option-wsubanswers",4,"ngIf"],[1,"select-option",3,"ngClass","click"],["name","rememberEmail","ngModel","",3,"ngModel","ngModelChange","click"],[1,"select-option-wsubanswers"],["class","select-option subanswer",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"select-option","subanswer",3,"ngClass","click"],["inputForm","ngForm"],[1,"input-container"],[1,"custom-label"],["name","q4","type","text","required","","minlength","10","maxlength","12","required","","autocomplete","off",3,"ngModel","ngModelChange"],["q4","ngModel"],["name","q5","type","text","required","","minlength","10","maxlength","12","required","","autocomplete","off",3,"ngModel","ngModelChange"],["q5","ngModel"]],template:function(r,s){1&r&&e.yuY(0,C,3,2,"div",0)(1,h,14,4,"form",1),2&r&&(e.E7m("ngForOf",s.filterOutAnswers(s.question.answers)),e.yG2(),e.E7m("ngIf","question-3"===s.question.key&&s.isNone(s.question)))},dependencies:[t.QF,t.ay,t.u_,m.ew,m.A5,m.UJ,m.qG,d.sz,d.ue,d.u,d.eJ,d.El,d.Mj,d._G,d.SC],styles:["[_nghost-%COMP%]{width:350px;display:block;margin:0 auto}.select-option-wsubanswers[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-end;margin-bottom:20px}.select-option-wsubanswers[_ngcontent-%COMP%] .select-option[_ngcontent-%COMP%]{width:100%}.select-option-wsubanswers[_ngcontent-%COMP%] .select-option.subanswer[_ngcontent-%COMP%]{width:90%;font-size:.7rem;margin:5px 0}.select-option-wsubanswers[_ngcontent-%COMP%] .select-option[_ngcontent-%COMP%]:last-child{margin-bottom:0}"]})}return c})()},9140:(G,v,i)=>{i.d(v,{E:()=>f});var e=i(91368),t=i(83068),m=i(44716),d=i(32116);let f=(()=>{class _{static \u0275fac=function(C){return new(C||_)};static \u0275mod=d.a4G({type:_});static \u0275inj=d.s3X({imports:[e.MD,t.wZ,m.y]})}return _})()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.