PageSourceSearch

https://web.callyzer.co/6198.9e67737fcc81e494.js

js callyzer.co collected 2026-09-25 13:08:29 UTC 13,213 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkcallyzer_ms_angular=self.webpackChunkcallyzer_ms_angular||[]).push([[6198],{68178:(y,I,n)=>{n.d(I,{r:()=>D});var e=n(94650),l=n(24006),A=n(68423),S=n(35842),E=n(89620),P=n(36895),u=n(88796),M=n(94628),o=n(89383);function s(r,t){1&r&&(e.TgZ(0,"span",13),e._uU(1," *"),e.qZA())}function c(r,t){if(1&r&&(e.TgZ(0,"label",11),e._uU(1),e.ALo(2,"titlecase"),e.YNc(3,s,2,0,"span",12),e.qZA()),2&r){const i=e.oxw().$implicit;e.Q6J("appTooltip",i.label),e.xp6(1),e.hij("",e.lcZ(2,3,i.label)," "),e.xp6(2),e.Q6J("ngIf",i.isRequired)}}function p(r,t){1&r&&(e.TgZ(0,"span",13),e._uU(1," *"),e.qZA())}function g(r,t){if(1&r&&(e.TgZ(0,"label",11),e._uU(1),e.ALo(2,"titlecase"),e.YNc(3,p,2,0,"span",12),e.qZA()),2&r){const i=e.oxw().$implicit;e.Q6J("appTooltip",i.label),e.xp6(1),e.hij("",e.lcZ(2,3,i.label.substring(0,20)),"... "),e.xp6(2),e.Q6J("ngIf",i.isRequired)}}function f(r,t){if(1&r&&(e.TgZ(0,"ng-option",14),e._uU(1),e.qZA()),2&r){const i=t.$implicit,a=e.oxw(2);e.Q6J("value",i.key)("disabled",a.disabledDropdownItems.includes(i.key)||a.disabledFields.includes(i.key)),e.xp6(1),e.hij(" ",i.label," ")}}function C(r,t){1&r&&(e.TgZ(0,"div",15)(1,"small",16),e._UZ(2,"i",17),e._uU(3),e.ALo(4,"translate"),e.qZA()()),2&r&&(e.xp6(3),e.Oqu(e.lcZ(4,1," Date should be in MM/DD/YYYY format.")))}function F(r,t){1&r&&(e.TgZ(0,"div",15)(1,"small",16),e._UZ(2,"i",17),e._uU(3),e.ALo(4,"translate"),e.qZA()()),2&r&&(e.xp6(3),e.Oqu(e.lcZ(4,1," Date should be in yyyy-MM-dd format.")))}const h=function(r){return{"custom-disable":r}},O=function(r,t){return{"input-error":r,"placeholder-blur":t}};function b(r,t){if(1&r){const i=e.EpF();e.TgZ(0,"div",3)(1,"div",4),e.YNc(2,c,4,5,"label",5),e.YNc(3,g,4,5,"label",5),e.TgZ(4,"div",6)(5,"ng-select",7),e.NdJ("change",function(m){const d=e.CHM(i).index,v=e.oxw();return e.KtG(v.onDropdownChange(m,d,null))}),e.TgZ(6,"ng-option",8),e._uU(7),e.ALo(8,"translate"),e.qZA(),e.YNc(9,f,2,3,"ng-option",9),e.qZA(),e.YNc(10,C,5,3,"div",10),e.YNc(11,F,5,3,"div",10),e.qZA()()()}if(2&r){const i=t.$implicit,a=e.oxw();let m,_,d,v,L;e.xp6(2),e.Q6J("ngIf",i.label.length<=20),e.xp6(1),e.Q6J("ngIf",i.label.length>20),e.xp6(1),e.Q6J("ngClass",e.VKq(15,h,a.viewPurchasePermission||a.viewAvailablePermission)),e.xp6(1),e.Q6J("clearable",!1)("searchable",!1)("formControlName",i.key)("ngClass",e.WLB(17,O,(null==(m=a.dynamicForm.get(i.key))?null:m.touched)&&(null==(m=a.dynamicForm.get(i.key))?null:m.invalid),!(null!=(m=a.dynamicForm.get(i.key))&&m.value)))("isDisabled",!(null!=(_=a.dynamicForm.get(i.key))&&_.touched&&null!=(_=a.dynamicForm.get(i.key))&&_.invalid))("appTooltip",null!=(d=a.dynamicForm.get(i.key))&&null!=d.errors&&d.errors.required?i.label+" is required.":""),e.xp6(2),e.Oqu(e.lcZ(8,13,"Select "+i.label)),e.xp6(2),e.Q6J("ngForOf",a.connectorFields),e.xp6(1),e.Q6J("ngIf",i.key.includes("DateBox")&&(null==(v=a.dynamicForm.get(i.key))?null:v.value)&&"FaceBook"==a.sourceType),e.xp6(1),e.Q6J("ngIf",i.key.includes("DateBox")&&(null==(L=a.dynamicForm.get(i.key))?null:L.value)&&"FaceBook"!=a.sourceType)}}class D{spinner;commonService;customerComponentService;viewPermission;managePermission;formFieldsForm;customerComponentList;customerComponentFormFields=[];dynamicFormControl;dynamicForm;selectedDropdownColumns=[];disabledDropdownItems=[];managePurchasePermission=!1;viewPurchasePermission=!1;manageAvailablePermission=!1;viewAvailablePermission=!1;connectorFields;fieldSelectedInChild=new e.vpe;disabledFields=[];sourceType;selectedFields;constructor(t,i,a){this.spinner=t,this.commonService=i,this.customerComponentService=a}formFields=[{label:"First Name",key:"firstName",isRequired:!0},{label:"Last Name",key:"lastName",isRequired:!1},{label:"Phone Number",key:"number",isRequired:!0},{label:"Alternate Phone Number",key:"secondaryNumber",isRequired:!1}];ngOnInit(){this.dynamicFormControl=new l.cw({}),this.checkPermissions(),this.getAllCustomerComponents(),this.initializeForm()}initializeForm(){this.dynamicForm||(this.dynamicForm=new l.cw({})),this.formFields.forEach(t=>{this.dynamicForm.contains(t.key)||this.dynamicForm.addControl(t.key,new l.NI("",t.isRequired?[l.kI.required]:[]))}),this.formFields.forEach(t=>{null===this.dynamicForm.get(t.key)?.value&&this.dynamicForm.get(t.key)?.setValue("")})}getAllCustomerComponents(){this.customerComponentList=[],this.customerComponentService.getAllCustomerComponents().subscribe(t=>{null!=t.data?(this.customerComponentList=t.data,this.appendStaticFildsToCustomerComponentList(),this.generateDynamicFormControl()):this.customerComponentList=[]})}appendStaticFildsToCustomerComponentList(){this.customerComponentFormFields=this.customerComponentList.map(t=>({label:t.label,key:t.modelName,isRequired:t.isRequired})),this.formFields=this.formFields.concat(this.customerComponentFormFields)}generateDynamicFormControl(){let t={};for(let a=0;a<this.formFields.length;a++){const m=this.formFields[a].key;let _;_=this.formFields[a].isRequired?new l.NI("",[l.kI.required]):new l.NI(""),t[m]=_}Object.keys(this.dynamicForm.value).forEach(a=>{this.dynamicForm.contains(a)||(t[a]=new l.NI(this.dynamicForm.value[a]))}),this.dynamicFormControl||(this.dynamicFormControl=new l.cw({}));var i=Object.assign({},this.dynamicForm.controls,t);this.dynamicForm=new l.cw(i)}checkPermissions(){this.spinner.show("showFields");try{const t=this.commonService.getPermission();t.includes("PER_ALL_ACCESS")||t.includes("PER_MANAGE_PURCHASED_CONNECTOR")?this.managePurchasePermission=!0:(t.includes("PER_ALL_ACCESS")||!t.includes("PER_MANAGE_PURCHASED_CONNECTOR")&&t.includes("PER_VIEW_PURCHASED_CONNECTOR"))&&(this.viewPurchasePermission=!0),t.includes("PER_ALL_ACCESS")||t.includes("PER_MANAGE_AVAILABLE_CONNECTOR")?this.manageAvailablePermission=!0:(t.includes("PER_ALL_ACCESS")||!t.includes("PER_MANAGE_AVAILABLE_CONNECTOR")&&t.includes("PER_VIEW_AVAILABLE_CONNECTOR"))&&(this.viewAvailablePermission=!0)}catch{}}onDropdownChange(t,i,a){let m=this.selectedDropdownColumns.filter(d=>d.includes(";"+i+";"));if(null!=m&&m.length>0){let d=m[0].split(";");this.disabledDropdownItems.splice(this.disabledDropdownItems.indexOf(d[2]),1
1),this.selectedDropdownColumns=this.selectedDropdownColumns.filter(v=>v!=m[0])}if(""!=t&&(this.disabledDropdownItems.push(t),this.selectedDropdownColumns.push(";"+i+";"+t)),this.onChildFieldChange(),null!=a)var _=a.find(d=>d.key===t);if(_){const d=this.formFields[i];this.dynamicForm.get(d.key)?.setValue(_.key)}}onDropdownChangeForGoogleSheet(t,i,a){let m=this.selectedDropdownColumns.filter(d=>d.includes(";"+i+";"));if(null!=m&&m.length>0){let d=m[0].split(";");this.disabledDropdownItems.splice(this.disabledDropdownItems.indexOf(d[2]),1),this.selectedDropdownColumns=this.selectedDropdownColumns.filter(v=>v!=m[0])}if(""!=t&&(this.disabledDropdownItems.push(t),this.selectedDropdownColumns.push(";"+i+";"+t)),null!=a)a.find(d=>d.key===t)}clearAllFields(){this.formFields.forEach(t=>{this.dynamicForm.controls[t.key].setValue("")}),this.disabledDropdownItems=[],this.selectedDropdownColumns=[]}getDynamicFormData(){return this.dynamicForm}getTooltipMessage(t,i){const a=this.dynamicFormControl.get(t);return a&&a.errors&&a.errors.required?`${i} is required.`:""}onChildFieldChange(){this.fieldSelectedInChild.emit([...this.disabledDropdownItems])}static \u0275fac=function(i){return new(i||D)(e.Y36(A.t2),e.Y36(S.v),e.Y36(E.R))};static \u0275cmp=e.Xpm({type:D,selectors:[["app-connectors-field-mapping"]],inputs:{connectorFields:"connectorFields",disabledFields:"disabledFields",sourceType:"sourceType"},outputs:{fieldSelectedInChild:"fieldSelectedInChild"},decls:3,vars:2,consts:[[1,"field-map-form",3,"formGroup"],[1,"row","mt-2"],["class","col-lg-4 col-md-6 col-sm-6 field-mapping-item-wrapper",4,"ngFor","ngForOf"],[1,"col-lg-4","col-md-6","col-sm-6","field-mapping-item-wrapper"],[1,"form-group"],["class","f_label f_label--zIndex",3,"appTooltip",4,"ngIf"],[1,"select_menu","mb-0","position-relative",3,"ngClass"],["data-hide-disabled","true","containerClass","errorTooltip",1,"custom-space","dt-cursor",3,"clearable","searchable","formControlName","ngClass","isDisabled","appTooltip","change"],["value","","ng-disabled","",1,""],[3,"value","disabled",4,"ngFor","ngForOf"],["style","margin-bottom: -12px;","class","info-text position-relative bottom-0",4,"ngIf"],[1,"f_label","f_label--zIndex",3,"appTooltip"],["class","missed-text",4,"ngIf"],[1,"missed-text"],[3,"value","disabled"],[1,"info-text","position-relative","bottom-0",2,"margin-bottom","-12px"],[1,"mb-2"],[1,"las","la-info-circle","text-theme"]],template:function(i,a){1&i&&(e.TgZ(0,"form",0)(1,"div",1),e.YNc(2,b,12,20,"div",2),e.qZA()()),2&i&&(e.Q6J("formGroup",a.dynamicForm),e.xp6(2),e.Q6J("ngForOf",a.formFields))},dependencies:[P.mk,P.sg,P.O5,l._Y,l.JJ,l.JL,l.sg,l.u,u.w9,u.jq,M.i,P.rS,o.X$]})}},5032:(y,I,n)=>{n.d(I,{x:()=>h});var e=n(36895),l=n(89383),A=n(21256),S=n(98937),E=n(24006),P=n(68423),u=n(85864),M=n(3056),o=n(88796),s=n(94954),c=n(23277),p=n(49472),g=n(6045),f=n(10266),C=n(94650);class h{static \u0275fac=function(D){return new(D||h)};static \u0275mod=C.oAB({type:h});static \u0275inj=C.cJS({providers:[g.L,p.t],imports:[e.ez,S.vO,E.u5,P.ef,E.UX,u.n1,M.ZQ.forRoot(),o.A0,A.m,s.VI.forChild(),c.F,l.aw,f.AV]})}},6045:(y,I,n)=>{n.d(I,{L:()=>u});var e=n(65128),l=n(94650),A=n(80529),S=n(99871),E=n(35842),P=n(86227);class u{httpClient;apiClientService;commonService;httpParamsService;constructor(o,s,c,p){this.httpClient=o,this.apiClientService=s,this.commonService=c,this.httpParamsService=p}getFacebookPageDetails(o,s){let c=this.httpParamsService.getHttpParams().set("accountId",o).set("fromId",s);return this.apiClientService.doPostWithHttp(e.Ubk,c)}getFacebookPageDetailsByPageId(o,s){let c=this.httpParamsService.getHttpParams().set("accountId",o).set("pageId",s);return this.apiClientService.doPostWithHttp(e.ecL,c)}getFacebookFormData(o,s,c){let p=this.httpParamsService.getHttpParams().set("pageId",o).set("accountId",s).set("formId",c);return this.apiClientService.doPostWithHttp(e.tbF,p)}getFacebookConfigurationDataByCustomer(o){let s=this.httpParamsService.getHttpParams().set("customerId",o).set("vendor","Facebook");return this.apiClientService.doPostWithHttp(e.QZG,s)}getFacebookConfigurationDataByCustomerIdAndFormId(o,s){return this.apiClientService.doGet(e.SWA+"?vendor=Facebook&configId="+s)}setFacebookConfigurationData(o){let s=this.httpParamsService.getHttpParams().set("vendor","Facebook");return this.apiClientService.doPostWithHttpBodyAndParam(e.MYU,o,s)}updateFacebookConfigurationData(o){let s=this.httpParamsService.getHttpParams().set("vendor","Facebook");return this.apiClientService.doPostWithHttpBodyAndParam(e.Q$g,o,s)}saveStatusOfFacebookForm(o,s,c){let p=this.httpParamsService.getHttpParams().set("vendor","Facebook").set("configId",s).set("isDisabled",c);return this.apiClientService.doPostWithHttp(e.Pvi,p)}getFacebookLogsOld(o,s,c,p,g,f,C,F){let h=this.httpParamsService.getHttpParams().set("encryptedCustomerId",o).set("fromDate",s).set("toDate",c).set("formId",p).set("logStatus",g).set("leadInfoText",this.commonService.sanitizeV
1alue(f)).set("start",C).set("length",F);return this.apiClientService.doPostWithHttp(e.eSW,h)}getFacebookLogs(o,s,c,p,g,f,C,F,h){let O=this.httpParamsService.getHttpParams().set("vendor","Facebook").set("encryptedCustomerId",o).set("fromDate",s).set("toDate",c).set("configId",p).set("logStatus",g).set("leadInfoText",this.commonService.sanitizeValue(f)).set("start",C).set("length",F).set("cursorId",h);return this.apiClientService.doPostWithHttp(e.jZM,O)}deleteFacebookConfiguration(o,s){return this.apiClientService.doDelete(e.ZGz+"?vendor=Facebook&configId="+o)}getFacebookAvailableForms(o){let s=this.httpParamsService.getHttpParams().set("customerId",o).set("vendor","Facebook");return this.apiClientService.doPostWithHttp(e.ZjT,s)}getFacebookAvailableFormsold(o){let s=this.httpParamsService.getHttpParams().set("customerId",o);return this.apiClientService.doPostWithHttp(e.vSt,s)}getNoOfDaysBeforeDeleteFacebookLogs(){return this.apiClientService.doGet(e.SwT)}getFormFieldsByFormId(o,s,c,p){let g=this.httpParamsService.getHttpParams().set("formId",o).set("pageId",s).set("accountId",c).set("configId",p);return this.apiClientService.doPostWithHttp(e.D_T,g)}checkAddFormAvailable(o){let s=this.httpParamsService.getHttpParams().set("customerId",o);return this.apiClientService.doPostWithHttp(e.BPH,s)}getFacebookPageDetailsFromConfig(o,s){let c=this.httpParamsService.getHttpParams().set("formId",o).set("encCustomerId",s);return this.apiClientService.doPostWithHttp(e.Ps7,c)}getAlertEmailLimitForConnector(o){let s=this.httpParamsService.getHttpParams().set("featureName",o);return this.apiClientService.doPostWithHttp(e._Hc,s)}saveAlertEmailsForConnector(o,s,c){let p=this.httpParamsService.getHttpParams().set("listOfEmails",o).set("vendor",s).set("isEnableAlertEmail",c);return this.apiClientService.doPostWithHttp(e.DjQ,p)}getAlertEmailsForConnector(o){let s=this.httpParamsService.getHttpParams().set("vendor",o);return this.apiClientService.doPostWithHttp(e.YDE,s)}static \u0275fac=function(s){return new(s||u)(l.LFG(A.eN),l.LFG(S.u),l.LFG(E.v),l.LFG(P.O))};static \u0275prov=l.Yz7({token:u,factory:u.\u0275fac})}}}]);

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.