1import {u}from'./chunk-C4oOX8HE.js';import {n,r}from'./chunk-BiMYm_tb.js';import {t as t$1}from'./chunk-Ct6rYB-8.js';import {p}from'./chunk-CpIWnA6S.js';import {_ as _t,q}from'./chunk-dDkmrodY.js';import {cs as _m,ct as _a$1,bi as Nn,cz as Tt,cu as Xn,dW as Zn,aI as nr$1,G as Ii$1,bf as a,fp as we,aD as xe,bE as Ee,aR as he,bM as c,fq as bt$1,eu as Pe,Y as Ye$1,dZ as be,fr as qe,cK as ia$1,fs as gL,eE as Q,ft as Un,T,br as F,j as u$,l as l$,k as kt,g as gw,dm as rt,O as Og,M as ls,a6 as mC,W as Zm,R as au,d as vT,Q as ig,e as EC,V as VD,c6 as xg,I as IT,d0 as fr$1,bt as I,b$ as we$1,bA as Ys,bB as Oe,fu as l,r as rd,dz as ce,$,H as Ht$1,cD as Py,bu as pt,au as ne,v,ef as P,dU as z,eg as be$1,bX as Y,cO as pn,cJ as Re,ev as ve,bU as An,X as Om,aS as VC,aV as qT,a0 as Qm,aX as BC,cA as wt,u as uo,Z as Ze,z as z$1,cS as Dd,aA as Rm,aE as ut,fv as xe$1,fw as su,cV as lg,cW as BT,cX as $T,bx as wr$1,aJ as ne$1,L as Fn,aB as GC,ab as ST,a9 as LT,aa as DC,aN as fu,fx as R,E,F as F$1,cN as fo$1,cB as hr$1,a3 as Xr$1,ay as c$1,C as f$,az as YI,a1 as dg,a2 as UT,dc as Xe,cM as Tt$1,e4 as we$2,de as zn,aF as AI,bF as we$3,bh as A,dT as I$1,bR as Ms,U as Uy,eh as Wn,dh as $n,dk as Dn,n as bT,o as ET,w as wT,y as yg,aG as yn,dg as Hn,dE as Vn,bG as zs,fy as ht,a_ as AC,aH as Ew,a8 as Mg,ax as jT,b8 as VT,bH as fe,di as Xt,fz as xt,dn as Mb,aT as $C,dp as xb,fA as Ge,fB as At,df as X,dl as gi,fC as $$1,bl as He,bp as q$1,a4 as pe,bN as ke,aW as rC,p as NC,f as gg,ac as af,ad as cf,ah as I$2,fD as Zo$1,eF as q$2,fE as On,eb as On$1,dx as uu,dy as xs,be as UC,cp as OC,fc as wC,cL as hn,c9 as $i,dB as Bi$1,b1 as Jm,eG as bC,ba as Sg,ck as K$1,fF as Ue,cr as BE}from'./main-5UFSG3V7.js';import {w}from'./chunk-fZONQALE.js';import'./chunk-yvgA8r94.js';import {l as l$1}from'./chunk-pCySw8Ys.js';var eo=(()=>{class e{transform(t){return typeof t=="string"}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275pipe=Ew({name:"isString",type:e,pure:true});}}return e})();var to=[{label:"Afghanistan",value:"AF"},{label:"\xC5land Islands",value:"AX"},{label:"Albania",value:"AL"},{label:"Algeria",value:"DZ"},{label:"American Samoa",value:"AS"},{label:"Andorra",value:"AD"},{label:"Angola",value:"AO"},{label:"Anguilla",value:"AI"},{label:"Antarctica",value:"AQ"},{label:"Antigua and Barbuda",value:"AG"},{label:"Argentina",value:"AR"},{label:"Armenia",value:"AM"},{label:"Aruba",value:"AW"},{label:"Australia",value:"AU"},{label:"Austria",value:"AT"},{label:"Azerbaijan",value:"AZ"},{label:"Bahamas",value:"BS"},{label:"Bahrain",value:"BH"},{label:"Bangladesh",value:"BD"},{label:"Barbados",value:"BB"},{label:"Belarus",value:"BY"},{label:"Belgium",value:"BE"},{label:"Belize",value:"BZ"},{label:"Benin",value:"BJ"},{label:"Bermuda",value:"BM"},{label:"Bhutan",value:"BT"},{label:"Bolivia",value:"BO"},{label:"Bosnia and Herzegovina",value:"BA"},{label:"Botswana",value:"BW"},{label:"Bouvet Island",value:"BV"},{label:"Brazil",value:"BR"},{label:"British Indian Ocean Territory",value:"IO"},{label:"Brunei Darussalam",value:"BN"},{label:"Bulgaria",value:"BG"},{label:"Burkina Faso",value:"BF"},{label:"Burundi",value:"BI"},{label:"Cambodia",value:"KH"},{label:"Cameroon",value:"CM"},{label:"Canada",value:"CA"},{label:"Cape Verde",value:"CV"},{label:"Cayman Islands",value:"KY"},{label:"Central African Republic",value:"CF"},{label:"Chad",value:"TD"},{label:"Chile",value:"CL"},{label:"China",value:"CN"},{label:"Christmas Island",value:"CX"},{label:"Cocos (Keeling) Islands",value:"CC"},{label:"Colombia",value:"CO"},{label:"Comoros",value:"KM"},{label:"Congo",value:"CG"},{label:"Congo, The Democratic Republic of the",value:"CD"},{label:"Cook Islands",value:"CK"},{label:"Costa Rica",value:"CR"},{label:"Cote D'Ivoire",value:"CI"},{label:"Croatia",value:"HR"},{label:"Cuba",value:"CU"},{label:"Cyprus",value:"CY"},{label:"Czech Republic",value:"CZ"},{label:"Denmark",value:"DK"},{label:"Djibouti",value:"DJ"},{label:"Dominica",value:"DM"},{label:"Dominican Republic",value:"DO"},{label:"Ecuador",value:"EC"},{label:"Egypt",value:"EG"},{label:"El Salvador",value:"SV"},{label:"Equatorial Guinea",value:"GQ"},{label:"Eritrea",value:"ER"},{label:"Estonia",value:"EE"},{label:"Ethiopia",value:"ET"},{label:"Falkland Islands (Malvinas)",value:"FK"},{label:"Faroe Islands",value:"FO"},{label:"Fiji",value:"FJ"},{label:"Finland",value:"FI"},{label:"France",value:"FR"},{label:"French Guiana",value:"GF"},{label:"French Polynesia",value:"PF"},{label:"French Southern Territories",value:"TF"},{label:"Gabon",value:"GA"},{label:"Gambia",value:"GM"},{label:"Georgia",value:"GE"},{label:"Germany",value:"DE"},{label:"Ghana",value:"GH"},{label:"Gibraltar",value:"GI"},{label:"Greece",value:"GR"},{label:"Greenland",value:"GL"},{label:"Grenada",value:"GD"},{label:"Guadeloupe",value:"GP"},{label:"Guam",value:"GU"},{label:"Guatemala",value:"GT"},{label:"Guernsey",value:"GG"},{label:"Guinea",value:"GN"},{label:"Guinea-Bissau",value:"GW"},{label:"Guyana",value:"GY"},{label:"Haiti",value:"HT"},{label:"Heard Island and Mcdonald Islands",value:"HM"},{label:"Holy See (Vatican City State)",value:"VA"},{label:"Honduras",value:"HN"},{label:"Hong Kong",value:"HK"},{label:"Hungary",value:"HU"},{label:"Iceland",value:"IS"},{label:"India",value:"IN"},{label:"Indonesia",value:"ID"}
1,{label:"Iran, Islamic Republic Of",value:"IR"},{label:"Iraq",value:"IQ"},{label:"Ireland",value:"IE"},{label:"Isle of Man",value:"IM"},{label:"Israel",value:"IL"},{label:"Italy",value:"IT"},{label:"Jamaica",value:"JM"},{label:"Japan",value:"JP"},{label:"Jersey",value:"JE"},{label:"Jordan",value:"JO"},{label:"Kazakhstan",value:"KZ"},{label:"Kenya",value:"KE"},{label:"Kiribati",value:"KI"},{label:"Korea, Democratic People'S Republic of",value:"KP"},{label:"Korea, Republic of",value:"KR"},{label:"Kuwait",value:"KW"},{label:"Kyrgyzstan",value:"KG"},{label:"Lao People'S Democratic Republic",value:"LA"},{label:"Latvia",value:"LV"},{label:"Lebanon",value:"LB"},{label:"Lesotho",value:"LS"},{label:"Liberia",value:"LR"},{label:"Libyan Arab Jamahiriya",value:"LY"},{label:"Liechtenstein",value:"LI"},{label:"Lithuania",value:"LT"},{label:"Luxembourg",value:"LU"},{label:"Macao",value:"MO"},{label:"Macedonia, The Former Yugoslav Republic of",value:"MK"},{label:"Madagascar",value:"MG"},{label:"Malawi",value:"MW"},{label:"Malaysia",value:"MY"},{label:"Maldives",value:"MV"},{label:"Mali",value:"ML"},{label:"Malta",value:"MT"},{label:"Marshall Islands",value:"MH"},{label:"Martinique",value:"MQ"},{label:"Mauritania",value:"MR"},{label:"Mauritius",value:"MU"},{label:"Mayotte",value:"YT"},{label:"Mexico",value:"MX"},{label:"Micronesia, Federated States of",value:"FM"},{label:"Moldova, Republic of",value:"MD"},{label:"Monaco",value:"MC"},{label:"Mongolia",value:"MN"},{label:"Montserrat",value:"MS"},{label:"Morocco",value:"MA"},{label:"Mozambique",value:"MZ"},{label:"Myanmar",value:"MM"},{label:"Namibia",value:"NA"},{label:"Nauru",value:"NR"},{label:"Nepal",value:"NP"},{label:"Netherlands",value:"NL"},{label:"Netherlands Antilles",value:"AN"},{label:"New Caledonia",value:"NC"},{label:"New Zealand",value:"NZ"},{label:"Nicaragua",value:"NI"},{label:"Niger",value:"NE"},{label:"Nigeria",value:"NG"},{label:"Niue",value:"NU"},{label:"Norfolk Island",value:"NF"},{label:"Northern Mariana Islands",value:"MP"},{label:"Norway",value:"NO"},{label:"Oman",value:"OM"},{label:"Pakistan",value:"PK"},{label:"Palau",value:"PW"},{label:"Panama",value:"PA"},{label:"Papua New Guinea",value:"PG"},{label:"Paraguay",value:"PY"},{label:"Peru",value:"PE"},{label:"Philippines",value:"PH"},{label:"Pitcairn",value:"PN"},{label:"Poland",value:"PL"},{label:"Portugal",value:"PT"},{label:"Puerto Rico",value:"PR"},{label:"Qatar",value:"QA"},{label:"Reunion",value:"RE"},{label:"Romania",value:"RO"},{label:"Russian Federation",value:"RU"},{label:"RWANDA",value:"RW"},{label:"Saint Helena",value:"SH"},{label:"Saint Kitts and Nevis",value:"KN"},{label:"Saint Lucia",value:"LC"},{label:"Saint Pierre and Miquelon",value:"PM"},{label:"Saint Vincent and the Grenadines",value:"VC"},{label:"Samoa",value:"WS"},{label:"San Marino",value:"SM"},{label:"Sao Tome and Principe",value:"ST"},{label:"Saudi Arabia",value:"SA"},{label:"Senegal",value:"SN"},{label:"Serbia and Montenegro",value:"CS"},{label:"Seychelles",value:"SC"},{label:"Sierra Leone",value:"SL"},{label:"Singapore",value:"SG"},{label:"Slovakia",value:"SK"},{label:"Slovenia",value:"SI"},{label:"Solomon Islands",value:"SB"},{label:"Somalia",value:"SO"},{label:"South Africa",value:"ZA"},{label:"South Georgia and the South Sandwich Islands",value:"GS"},{label:"Spain",value:"ES"},{label:"Sri Lanka",value:"LK"},{label:"Sudan",value:"SD"},{label:"Surilabel",value:"SR"},{label:"Svalbard and Jan Mayen",value:"SJ"},{label:"Eswatini",value:"SZ"},{label:"Sweden",value:"SE"},{label:"Switzerland",value:"CH"},{label:"Syrian Arab Republic",value:"SY"},{label:"Taiwan",value:"TW"},{label:"Tajikistan",value:"TJ"},{label:"Tanzania, United Republic of",value:"TZ"},{label:"Thailand",value:"TH"},{label:"Timor-Leste",value:"TL"},{label:"Togo",value:"TG"},{label:"Tokelau",value:"TK"},{label:"Tonga",value:"TO"},{label:"Trinidad and Tobago",value:"TT"},{label:"Tunisia",value:"TN"},{label:"Turkey",value:"TR"},{label:"Turkmenistan",value:"TM"},{label:"Turks and Caicos Islands",value:"TC"},{label:"Tuvalu",value:"TV"},{label:"Uganda",value:"UG"},{label:"Ukraine",value:"UA"},{label:"United Arab Emirates",value:"AE"},{label:"United Kingdom",value:"GB"},{label:"United States",value:"US"},{label:"United States Minor Outlying Islands",value:"UM"},{label:"Uruguay",value:"UY"},{label:"Uzbekistan",value:"UZ"},{label:"Vanuatu",value:"VU"},{label:"Venezuela",value:"VE"},{label:"Vietnam",value:"VN"},{label:"Virgin Islands, British",value:"VG"},{label:"Virgin Islands, U.S.",value:"VI"},{label:"Wallis and Futuna",value:"WF"},{label:"Western Sahara",value:"EH"},{label:"Yemen",value:"YE"},{label:"Zambia",value:"ZM"},{label:"Zimbabwe",value:"ZW"}];function te(e="Numbers only"){return s=>s?.value?/^(\d{1,3},\d{3}(,\d{3})*)(\.\d*)?|\d+\.?\d*$/.test(s?.value)?null:{customError:{error:true,message:e}}:null}var tn=e=>s=>{if(!s?.value)return null;let t=/^[1-9][0-9]{3}$/gi;return s?.value?.toString()?.match(t)&&+s?.value<=new Date().getFullYear()?null:e||{customError:{error:true,message:"Please enter a valid year"}}};var Z=[{label:"Yes",value:true},{label:"No",value:false},{label:"Unknown",value:null}],no=[{label:"Yes",value:true,style:{"min-width":"90px"}},{label:"No",value:false,style:{"min-width":"90px"}},{label:"Unknown",value:null,style:{"min-width":"90px"}},{label:"Irrelevant",value:"off",style:{"min-width":"90px"}}],Zo=[{label:"Yes",value:true},{label:"No",value:false},{label:"Unknown",value:null},{label:"Irrelevant",value:"off"}],Jo=[{label:"Unknown",value:"unknown",style:{"border-bottom":"1px solid rgba(0, 0, 0, 0.1)"}},{label:"Cyber attack",value:"hack"},{label:"Human error",value:"human_error"},{label:"Bug or misconfiguration",value:"system_error"}],Xo=[{label:"Unknown",value:"unknown",style:{"border-bottom":"1px solid rgba(0, 0, 0, 0.1)"}},{label:"Above average",value:"above"},{label:"Average",value:"average"},{label:"Below average",value:"below"}],Ye=(()=>{class e{constructor(t,n,o,p){this.http=t,this.authActionService=n,this.environment=o,this.modalService=p,this.questionnaire$=new fr$1(null),this.questionnaireLoadState$=new fr$1(""),this.questionnaireError$=new fr$1(null),this.riskBreakdown$=new fr$1(null),this.riskBreakdownLoadState$=new fr$1(""),this.riskBreakdownError$=new fr$1(null),this.savingStatus$=new fr$1(""),this.relatedSubcategoriesLoading$=new fr$1(I.INIT),this.cobVersionRelatedSubcategories$=new fr$1(0),this.cobRelatedMaturity$=new fr$1(null),this.yesNoButtonsList=Z,this.yesNoIrrelevantList=Zo,this.mostLikelyBreachScenarioList=Jo,this.questionnaireList=[[{valueList:Xo,label:"How do the company\u2019s <i> security controls</i> compare to the industry\u2019s best practices?",type:"multi-choice",field_name:"security_quality"},{valueList:Z,label:"Has a breach been publicly disclosed <i>in the last 24 months?</i>",type:"boolean",field_name:"publicly_disclosed_breach"},{valueList:Z,label:"Is (social and traditional) <i>media coverage expected?</i>",type:"boolean",field_name:"media_coverage"},{valueList:Z,label:"Is the board of directors <i>involved in security decisions?</i>",type:"boolean",field_name:"board_involvement"},{valueList:no,label:"Has the company failed to comply with any <i>regulatory requirements?</i>",type:"boolean",field_name:"compliance_failures"},{valueList:Z,label:"Do <i>employees operate remotely?</i>",type:"boolean",field_name:"remote_workforce",defaultValue:true}],[{valueList:Z,label:"Does the company have <i>breach insurance coverage?</i>",type:"boolean",field_name:"breach_coverage"},{valueList:Z,label:"Does the company have a <i>Business Continuity and Disaster Recovery (BCDR) plan?</i>",type:"boolean",field_name:"bcdr_plan"},{valueList:Z,label:"Does the company participate in any <i>Threat Intelligence Sharing (TIS) Programs?</i>",type:"boolean",field_name:"threat_intel_sharing"},{valueList:Z,label:"Does the company use any <i>Identity (ID) Theft Protection services?</i>",type:"boolean",field_name:"id_theft_protection"},{valueList:Z,label:"Does the company have a <i>Data Loss Prevention (DLP) solution?</i>",type:"boolean",field_name:"data_lose_prevention"},{valueList:Z,label:"Does the company have a <i>Security Analytics solution?</i>",type:"boolean",field_name:"security_analytics"}],[{valueList:Z,label:"Does the company have a <i>Chief Information Security Officer (CISO)?</i>",type:"boolean",field_name:"appointed_ciso"},{valueList:Z,label:"Does the company have a <i>Security Operations Center (SOC)?</i>",type:"boolean",field_name:"soc"},{valueList:Z,label:"Has the company formed an <i>Incident Response team (IR)</i> or use an <i>IR provider?</i>",type:"boolean",field_name:"ir_team"},{valueList:Z,label:"Does the company conduct <i>cybersecurity training for employees?</i>",type:"boolean",field_name:"employee_training"},{valueList:Z,label:"Does the company have a <i>shortage of skilled security personnel?</i>",type:"boolean",field_name:"shortage_of_security_skill"}],[{valueList:Z,label:"Does the company <i>perform vulnerability scanning?</i>",type:"boolean",field_name:"vulnerability_testing"},{valueList:Z,label:"Does the company perform organization-wide <i>red team engagements?</i>",type:"boolean",field_name:"red_team_testing"},{valueList:Z,label:"Does the company perform <i>Incident Response (IR) testing (using purple teams)?</i>",type:"boolean",field_name:"incident_response_testing"},{valueList:no,label:"Has the company formed a <i>DevSecOps team or have an SDLC methodology?</i>",type:"boolean",field_name:"dev_sec_ops"},{valueList:Z,label:"Does the company have an <i>encryption policy for data at rest (DAR)?</i>",type:"boolean",field_name:"data_at_rest_encryption"},{valueList:Z,label:"Does the company have an <i>encryption policy for data in transit (DIT)?</i>",type:"boolean",field_name:"data_in_motion_encryption"}]];}saveForm(t){this.savingStatus$.next("loading"),this.http.post(`${this.environment.baseUrl}risk_calculator`,t).pipe(we$1(()=>(this.savingStatus$.next("done"),this.authActionService.getUserProfile())),Ys(()=>(this.savingStatus$.next("error"),Oe))).subscribe();}updateForm(t){this.savingStatus$.next("loading"),this.http.put(`${this.environment.baseUrl}risk_calculator`,t).pipe(we$1(()=>(this.savingStatus$.next("done"),this.authActionService.getUserProfile())),Ys(()=>(this.savingStatus$.next("error"),Oe))).subscribe();}getBreakdown(t){this.riskBreakdownLoadState$.next(t??"loading"),this.http.get(`${this.environment.baseUrl}risk_calculator/risk_breakdown`).subscribe({next:n=>{this.riskBreakdown$.next(n),this.riskBreakdownLoadState$.next("done");},error:n=>{this.riskBreakdownError$.next(n),this.riskBreakdownLoadState$.next("error");}});}getQuestionnaire(){this.questionnaire$.next(null),this.questionnaireLoadState$.next("loading"),this.http.get(`${this.environment.baseUrl}risk_calculator/questionnaire`).subscribe({next:t=>{this.questionnaireLoadState$.next("done"),this.questionnaire$.next(t);},error:t=>{this.questionnaireLoadState$.next("error"),this.questionnaireError$.next(t);}});}getQuestionnaireBlob(t){return this.http.get(t,{responseType:"blob"})}getQuestionnaireUrl(){return this.http.get(`${this.environment.baseUrl}risk_calculator/questionnaire_excel`)}downloadCompanyCreationQuestionnaire(t,n){this.getQuestionnaireBlob(t).pipe(Ys(()=>(this.modalService.openToast("","error",null,null,l),Oe)),rd(o=>{let p=document.createElement("a");p.href=window.URL.createObjectURL(o),p.download=n,document.body.appendChild(p),p.click(),document.body.removeChild(p);})).subscribe();}fetchCobVersionRelatedSubcategories(){return this.http.get(`${this.environment.baseUrl}risk_calculator/cob_related_nist_subcategories`)}getCobVersionRelatedSubcategories(){this.relatedSubcategoriesLoading$.next(I.LOADING),this.fetchCobVersionRelatedSubcategories().pipe(rd(t=>{this.cobRelatedMaturity$.next(t),this.cobVersionRelatedSubcategories$.next(t.subcategories),this.relatedSubcategoriesLoading$.next(I.SUCCESS);})).subscribe();}setCobVersionRelatedSubcategories(t){this.cobVersionRelatedSubcategories$.next(t);}getCobVersionRelatedSubcategories$(){return this.cobVersionRelatedSubcategories$.asObservable()}getRelatedSubcategoriesLoading$(){return this.relatedSubcategoriesLoading$.asObservable()}static{this.\u0275fac=function(n){return new(n||e)(ce(K$1),ce(Ue),ce(hr$1),ce(uo))};}static{this.\u0275prov=$({token:e,factory:e.\u0275fac});}}return e})();var io=(()=>{class e{transform(t){let n=t?.min!=null&&t?.min>=0,o=t?.max!=null&&t?.max>=0,p=!(t?.min===0&&t?.max===0);return n&&o&&p}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275pipe=Ew({name:"validateCobRange",type:e,pure:true});}}return e})();var ii=()=>({width:"90px"});function ai(e,s){e&1&&(uu(0),ls(1,"p",10),mC(2,"Automatically updated"),au(),Zm(3,"span"),xs());}function ri(e,s){if(e&1){let t=ST();ls(0,"small"),mC(1,"Click to update the \u201Ccost of breach\u201D for this business asset"),au(),ls(2,"cye-button",11),ig("click",function(){af(t);let o=LT(3);return cf(o.onUpdate())}),mC(3," Update "),au();}if(e&2){let t=LT(3);VD(2),rC(NC(5,ii)),Qm("loading",t.savingStatus)("disabled",!t.canEdit)("tooltip",`Apply this cost recommendation as your actual cost of breach 2for this business asset. It will update the risk dashboard.`);}}function li(e,s){if(e&1&&(uu(0),Om(1,ai,4,0,"ng-container",5)(2,ri,4,6,"ng-template",null,2,GC),xs()),e&2){let t=qT(3),n=LT(2);VD(),Qm("ngIf",n.asset?.is_auto_update)("ngIfElse",t);}}function si(e,s){e&1&&Zm(0,"span")(1,"span");}function ci(e,s){if(e&1){let t=ST();ls(0,"cye-menu",13),ig("onselect",function(){af(t),LT();let o=qT(4);return cf(o?.hide())}),au();}if(e&2){let t=LT(3);Qm("items",t.menuItems);}}function pi(e,s){if(e&1){let t=ST();uu(0),Om(1,ci,1,1,"ng-template",null,3,GC),ls(3,"cye-icon",12,4),ig("clickOutside",function(){af(t);let o=qT(4);return cf(o?.hide())})("click",function(o){return o.stopPropagation()}),au(),xs();}if(e&2){let t=qT(2);VD(3),Qm("clickable",true)("keep-alive",true)("tooltip",t)("content-type","template");}}function mi(e,s){if(e&1&&(uu(0),Zm(1,"cye-icon",6),VC(2,"businessAssetsIcon"),ls(3,"p",7),mC(4),au(),Om(5,li,4,2,"ng-container",5),VC(6,"validateCobRange"),Om(7,si,2,0,"ng-template",null,1,GC),ls(9,"h3",8),mC(10),au(),Om(11,pi,5,4,"ng-container",9),xs()),e&2){let t=qT(8),n=LT();VD(),Qm("icon",BC(2,7,n.asset.name||"")),VD(3),Mg(n.asset.name),VD(),Qm("ngIf",BC(6,9,n.asset.cost_of_breach))("ngIfElse",t),VD(4),Qm("tooltip",n.asset.cost_of_breach?"Calculated cost of breach.":"Cost of breach calculation is only supported for business assets provided with Cye."),VD(),fu(" ",n.value," "),VD(),Qm("ngIf",false);}}function di(e,s){if(e&1&&(ls(0,"div",14)(1,"span"),mC(2," Your ecosystem has other business assets that have not yet been defined; however, they are included in the cost of a breach calculation. "),au(),ls(3,"h3"),mC(4),VC(5,"currencyRangePipe"),au()()),e&2){let t=LT();VD(4),fu(" ",BC(5,1,t.totalLeft)," ");}}var ao=(()=>{class e{constructor(t){this.positionsService=t,this.canEdit=true,this.saving=false,this.edit=new Xe,this.update=new Xe,this.savingStatus=false,this.menuItems=[{label:"Edit business asset ",value:1,excuteFunc:()=>this.edit.emit()}],this.fullAssets$=this.positionsService.businessAssetsList$.pipe(pt(n=>!!n?.length),ne(n=>n&&n.find(o=>o?.name===this.asset?.name)));}ngOnChanges(t){t.saving!==void 0&&(this.savingStatus=t.saving.currentValue),this.value=this.valueByAsset;}get valueByAsset(){return this.asset?.cost_of_breach?this.asset?.cost_of_breach.max===0&&this.asset?.cost_of_breach.min===0?"N
2o impact":new A().transform(this.asset?.cost_of_breach):"Not available"}onUpdate(){this.update.emit(this.asset);}static{this.\u0275fac=function(n){return new(n||e)(fo$1(w))};}static{this.\u0275cmp=gw({type:e,selectors:[["cost-of-breach-position-item"]],hostVars:2,hostBindings:function(n,o){n&2&&yg("withAsset",o.asset);},inputs:{asset:"asset",canEdit:"canEdit",saving:"saving",totalLeft:"totalLeft"},outputs:{edit:"edit",update:"update"},standalone:false,features:[AI],decls:3,vars:2,consts:[["note",""],["empty",""],["notUpdated",""],["menu",""],["tltip","tooltip"],[4,"ngIf","ngIfElse"],[3,"icon"],[2,"text-align","left"],[3,"tooltip"],[4,"ngIf"],[2,"font-weight","700","text-align","right"],[1,"secondary",3,"click","loading","disabled","tooltip"],["icon","3 dots","trigger","click",3,"clickOutside","click","clickable","keep-alive","tooltip","content-type"],[3,"onselect","items"],[2,"display","flex","justify-content","space-between","align-items","center"]],template:function(n,o){if(n&1&&Om(0,mi,12,11,"ng-container",5)(1,di,6,3,"ng-template",null,0,GC),n&2){let p=qT(2);Qm("ngIf",o.asset)("ngIfElse",p);}},dependencies:[pn,pe,ne$1,rt,ut,ke,p,A,io],styles:["[_nghost-%COMP%]{font:var(--font-14);color:var(--text-color-secondary);display:grid;align-items:center}.withAsset[_nghost-%COMP%]{grid-template-columns:55px auto 330px 120px 270px 10px}[_nghost-%COMP%]:not(.withAsset){border:1px solid var(--severity-low)}[_nghost-%COMP%] cye-button[_ngcontent-%COMP%]{margin-left:10px}[_nghost-%COMP%]{box-sizing:border-box;margin:10px 0;height:60px;background-color:var(--white);border:1px solid var(--border-table-row);border-radius:5px;padding:0 20px}[_nghost-%COMP%] small[_ngcontent-%COMP%]{font-style:italic}[_nghost-%COMP%] h3[_ngcontent-%COMP%]{color:var(--text-color-secondary);margin:0;text-align:center;font:var(--font-18);text-align:right;padding:0 50px}"],changeDetection:1});}}return e})();var fi=()=>({width:"240px"}),lo=(()=>{class e{constructor(t){this.router=t;}onCreate(){this.router.navigateByUrl("/settings/businessassets");}static{this.\u0275fac=function(n){return new(n||e)(fo$1(F))};}static{this.\u0275cmp=gw({type:e,selectors:[["cost-of-breach-no-business-assets"]],standalone:false,decls:5,vars:3,consts:[["icon","position-business-asset"],[3,"click"]],template:function(n,o){n&1&&(Zm(0,"cye-icon",0),ls(1,"h3"),mC(2,"The business assets have not yet been defined"),au(),ls(3,"cye-button",1),ig("click",function(){return o.onCreate()}),mC(4,"Create business assets"),au()),n&2&&(VD(3),rC(NC(2,fi)));},dependencies:[rt,ut],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:calc(100vh - 200px);color:#a6b5d3}[_nghost-%COMP%] h3[_ngcontent-%COMP%]{color:var(--hyver-tertiary);font:var(--font-24)}[_nghost-%COMP%] cye-icon[_ngcontent-%COMP%]{transform:scale(3);margin:30px}"],changeDetection:1});}}return e})();var so=(()=>{class e{constructor(){this.currency="USD",this.title="Total cost of breach";}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=gw({type:e,selectors:[["business-assets-total"]],hostVars:4,hostBindings:function(n,o){n&2&&gg("top",o.top)("right",o.right);},inputs:{total:"total",currency:"currency",title:"title",top:"top",right:"right"},standalone:false,decls:5,vars:4,consts:[[1,"title"],[1,"total"]],template:function(n,o){n&1&&(ls(0,"label",0),mC(1),au(),ls(2,"span",1),mC(3),VC(4,"currencyRangePipe"),au()),n&2&&(VD(),Mg(o.title),VD(2),Mg(BC(4,2,o.total)));},dependencies:[A],styles:['[_nghost-%COMP%]{position:absolute;height:35px;min-width:265px;background:var(--hyver-secondary);right:30px;top:-30px;border-radius:5px;padding:5px 10px;box-sizing:border-box;display:flex;flex-flow:row nowrap;justify-content:space-between;align-items:center;z-index:1}[_nghost-%COMP%]:after{content:"";display:block;height:0;width:0;left:70%;border-width:10px;border-style:solid;border-color:var(--hyver-secondary);position:absolute;top:calc(100% - 10px);transform:rotate(45deg);z-index:-1}[_nghost-%COMP%] label[_ngcontent-%COMP%], [_nghost-%COMP%] span[_ngcontent-%COMP%]{color:var(--white)}[_nghost-%COMP%] label[_ngcontent-%COMP%]{font:var(--font-18-500);margin-right:10px}[_nghost-%COMP%] span[_ngcontent-%COMP%]{font:var(--font-26-700)}']});}}return e})();
2var Ci=["updateAlert"];function hi(e,s){if(e&1){let t=ST();ls(0,"overlay-popup",5),ig("showChange",function(o){af(t);let p=LT();return cf(p.onEditPosition=o)})("popupCloseClicked",function(){af(t);let o=LT();return cf(o.onEditPosition=null)}),ls(1,"new-position-business-asset",6),VC(2,"async"),ig("onsubmit",function(o){af(t);let p=LT();return cf(p.onEditSubmit(o))})("oncancel",function(){af(t);let o=LT();return cf(o.onEditPosition=null)}),au()();}if(e&2){let t=LT();Qm("width",840)("iconContainer",false)("show",!!t.onEditPosition),VD(),Qm("impact",BC(2,5,t.impact$))("position",t.onEditPosition);}}function yi(e,s){e&1&&Zm(0,"cye-page-loader",7),e&2&&Qm("loading",true);}function bi(e,s){if(e&1){let t=ST();uu(0),ls(1,"cost-of-breach-position-item",16),VC(2,"async"),VC(3,"async"),ig("edit",function(){let o=af(t).$implicit,p=LT(4);return cf(p.onEditPositionClick(o))})("update",function(){let o=af(t).$implicit,p=LT(4);return cf(p.onUpdateCostOfBreach(o))}),au(),xs();}if(e&2){let t=s.$implicit,n=LT(4);VD(),Qm("saving",!!BC(2,3,n.saving$))("canEdit",!!BC(3,5,n.canEdit$))("asset",t);}}function Oi(e,s){if(e&1&&Zm(0,"cost-of-breach-position-item",17),e&2){let t=LT(4);Qm("totalLeft",t.missingAssetsTotal);}}function xi(e,s){if(e&1){let t=ST();uu(0),ls(1,"section")(2,"cye-button",10),VC(3,"async"),ig("click",function(){af(t);let o=LT(3);return cf(o.onUpdateCalculator())}),Zm(4,"cye-icon",11),mC(5," Update cost of breach "),au(),ls(6,"cye-button",12),ig("click",function(){af(t);let o=LT(3);return cf(o.onView())}),mC(7,"View results in risk dashboard"),au()(),ls(8,"table"),Zm(9,"business-assets-total",13),Om(10,bi,4,7,"ng-container",14)(11,Oi,1,1,"cost-of-breach-position-item",15),au(),xs();}if(e&2){let t=LT().ngIf,n=LT(2);VD(2),Qm("disabled",BC(3,7,n.canEdit$)===false),VD(2),Qm("icon","hyver-icon-edit")("size",16)("color","#59657f"),VD(5),Qm("total",n.riskBreakdown.cost_of_breach_result.total),VD(),Qm("ngForOf",t),VD(),Qm("ngIf",n.missingAssetsTotal?.max);}}function Mi(e,s){e&1&&Zm(0,"cost-of-breach-no-business-assets");}function vi(e,s){if(e&1&&(uu(0),Om(1,xi,12,9,"ng-container",9)(2,Mi,1,0,"ng-template",null,2,GC),xs()),e&2){let t=s.ngIf,n=qT(3);VD(),Qm("ngIf",t?.length)("ngIfElse",n);}}function Pi(e,s){if(e&1&&(Om(0,vi,4,2,"ng-container",8),VC(1,"async")),e&2){let t=LT();Qm("ngIf",BC(1,1,t.businessAssetsList$));}}function wi(e,s){e&1&&(ls(0,"div",18),mC(1," You are currently defining the cost of breach at a "),ls(2,"b"),mC(3,"Qualitative (Level)."),au(),Zm(4,"br")(5,"br"),mC(6," Would you like to "),ls(7,"b"),mC(8,"change to a Quantitative(Money)"),au(),mC(9," and use the amounts presented in the calculator ? "),au());}var po=(()=>{class e extends wt{set riskBreakdown(t){t&&(this._riskBreakdown=t,this.setRiskBreakdown());}get riskBreakdown(){return this._riskBreakdown}constructor(t,n,o,p){super(),this.router=t,this.positionsService=n,this.authService=o,this.modalService=p,this.onupdatebreakdown=new Xe,this.businessAssetsList$=new fr$1([]),this.loading$=this.positionsService.positionsListLoadState$.pipe(ne(T=>T==="loading")),this.saving$=this.positionsService.editPositionState$.pipe(ne(T=>T==="loading")),this.canEdit$=this.authService.profileResponse$.pipe(ne(T=>T?.role==="admin"));}ngOnInit(){this.positionsService.editPositionSuccess$.pipe(Dd(this.destroy$),rd(()=>this.modalService.openToast("Business asset cost of breach updated successfully ","success"))).subscribe(),this.positionsService.editPositionError$.pipe(Dd(this.destroy$),rd(()=>this.modalService.openToast("Business asset cost of breach update failed ","warn"))).subscribe();}onView(){this.router.navigateByUrl("risk-dashboard");}onUpdateCalculator(){this.router.navigateByUrl("cost-breach/calculator");}onEditPositionClick(t){this.onEditPosition=this.riskBreakdown.business_assets.find(n=>n.name===t.name);}onUpdateCostOfBreach(t){Object.values(this.riskBreakdown.business_assets).find(o=>o.name===t.name)?.cost_of_breach?this.modalService.confirm("Override cost of breach","There is currently a cost of breach associated with this business asset. Do you wish to override it?",()=>this.doUpdateCostOfBreach(t),"info",null,"Cancel","Yes",null,"toast-info"):this.doUpdateCostOfBreach(t);}setRiskBreakdown(){if(this.riskBreakdown?.cost_of_breach_result?.by_asset){let t=Object.values(this.riskBreakdown?.cost_of_breach_result?.by_asset),n=this.riskBreakdown.business_assets.map(T=>{let W=t.find(Ze=>Ze?.name?.toLowerCase()===T?.name?.toLowerCase())||{name:T.name};return {cost_of_breach:W,is_auto_update:T.is_auto_update,name:W.name}}),o=t.filter(T=>!this.riskBreakdown.business_assets.find(W=>T.name===W.name));o.length&&(this.missingAssetsTotal=o.reduce((T,W)=>({min:T.min+W.min,max:T.max+W.max}),{min:0,max:0}));let p=n.map(T=>{let W=T?.cost_of_breach?.min,Ze=T?.cost_of_breach?.max;return Object.assign(T,{cost_of_breach:!isNaN(W)&&!isNaN(Ze)?{min:Math.round(W),max:Math.round(Ze)}:null})}).sort((T,W)=>(W?.cost_of_breach?.max||0)-(T?.cost_of_breach?.max||0));this.businessAssetsList$.next(p);}}doUpdateCostOfBreach(t){let n=Object.values(this.riskBreakdown.business_assets).find(o=>o.name===t.name);n&&this.positionsService.editBusinessAssetPosition(n,t,true).pipe(rd(()=>{t.is_auto_update=true,this.onupdatebreakdown.emit();})).subscribe();}onEditSubmit(t){this.positionsService.editBusinessAssetPosition(t.position,t.formData).pipe(rd(()=>this.onupdatebreakdown.emit())).subscribe(),this.onEditPosition=null;}static{this.\u0275fac=function(n){return new(n||e)(fo$1(F),fo$1(w),fo$1(v),fo$1(uo))};}static{this.\u0275cmp=gw({type:e,selectors:[["cost-of-breach-breakdown-by-business-assets"]],viewQuery:function(n,o){if(n&1&&lg(Ci,7),n&2){let p;
2BT(p=$T())&&(o.updateAlertRef=p.first);}},inputs:{riskBreakdown:"riskBreakdown"},outputs:{onupdatebreakdown:"onupdatebreakdown"},standalone:false,features:[Rm],decls:7,vars:5,consts:[["content",""],["updateAlert",""],["noAssets",""],["icon","tab-position-business-asset","headerTitle","Edit business asset",3,"width","iconContainer","show","showChange","popupCloseClicked",4,"ngIf"],[3,"loading",4,"ngIf","ngIfElse"],["icon","tab-position-business-asset","headerTitle","Edit business asset",3,"showChange","popupCloseClicked","width","iconContainer","show"],[3,"onsubmit","oncancel","impact","position"],[3,"loading"],[4,"ngIf"],[4,"ngIf","ngIfElse"],[1,"secondary",3,"click","disabled"],[3,"icon","size","color"],[3,"click"],[3,"total"],[4,"ngFor","ngForOf"],[3,"totalLeft",4,"ngIf"],[3,"edit","update","saving","canEdit","asset"],[3,"totalLeft"],[1,"confirm"]],template:function(n,o){if(n&1&&(Om(0,hi,3,7,"overlay-popup",3)(1,yi,1,1,"cye-page-loader",4),VC(2,"async"),Om(3,Pi,2,3,"ng-template",null,0,GC)(5,wi,10,0,"ng-template",null,1,GC)),n&2){let p=qT(4);Qm("ngIf",o.onEditPosition),VD(),Qm("ngIf",BC(2,3,o.loading$)&&!o.riskBreakdown?.cost_of_breach_result)("ngIfElse",p);}},dependencies:[Tt$1,pn,rt,ut,Re,we$2,_t,ao,lo,so,An],styles:["[_nghost-%COMP%] section[_ngcontent-%COMP%]{display:flex}[_nghost-%COMP%] section[_ngcontent-%COMP%] cye-button[_ngcontent-%COMP%]{margin-right:20px;margin-left:3px}[_nghost-%COMP%] table[_ngcontent-%COMP%]{position:relative;width:100%}.confirm[_ngcontent-%COMP%]{line-height:30px;padding:20px;font:var(--font-14)}"],changeDetection:1});}}return e})();var bt=(()=>{class e{transform(t,n,o){return t?!Object.entries(t).find(([p,T])=>o===p&&n.includes(p)&&T):true}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275pipe=Ew({name:"fieldInAutoDetectMode",type:e,pure:true,standalone:false});}}return e})();var mo=e=>{let n=e,{["context"]:s}=n,t=I$2(n,["context"]);return e.context={$implicit:E({},t)},e};var b=(function(e){return e.FOUNDED="founded",e.SECTOR="sector",e.HQ_LOCATION="hq_location",e.SALARIES="salaries",e.REVENUE="revenue",e.REVENUE_DEPENDENCY_UPTIME="revenue_dependency_uptime",e.EMPLOYEE_PRODUCTIVITY="employee_productivity",e.OFFERING_CYBERSECURITY="offering_cybersecurity",e.QUANTITIES="quantities",e.CUSTOMERS_STORED_RECORD_TYPE="customers_stored_record_type",e.EMPLOYEES_STORED_RECORD_TYPE="employees_stored_record_type",e.NUMBER_OF_EMPLOYEES="number_of_employees",e.NUMBER_OF_CUSTOMERS="number_of_customers",e.NUMBER_OF_COMPETITORS="number_of_competitors",e.CYBER_INSURANCE="breach_coverage",e.POLICY_LIMIT="policy_limit",e.PREMIUM="premium",e})(b||{});var K=(function(e){return e.EMPLOYEES="employees",e.CUSTOMERS="customers",e.COMPETITORS="competitors",e.QUESTIONNAIRE_ANNUAL_REVENUE="questionnaire-annually-revenue",e.QUESTIONNAIRE_SECTOR="questionnaire-sector",e.QUESTIONNAIRE_EMPLOYEE_PRODUCTIVITY="questionnaire-employee-productivity",e.QUESTIONNAIRE_FOUNDED="questionnaire-founded",e.QUESTIONNAIRE_HQ_LOCATION="questionnaire-hq-location",e.QUESTIONNAIRE_REVENUE_DEPENDENCY="questionnaire-revenue-dependency",e.QUESTIONNAIRE_SALARIES="questionnaire-salaries",e})(K||{});function Ei(e,s){if(e&1&&(ls(0,"p",4),mC(1),au()),e&2){let t=LT();VD(),Mg(t.tooltipData?.extra_info);}}function Bi(e,s){if(e&1&&(ls(0,"p",5)(1,"span"),mC(2,"Source:"),au(),mC(3),au()),e&2){let t=LT();VD(3),fu(" ",t.tooltipData?.data_source,` 3`);}}function Ii(e,s){if(e&1&&(ls(0,"p",6)(1,"span"),mC(2,"Influenced by:"),au(),mC(3),au()),e&2){let t=LT();VD(3),fu(" ",t.tooltipData?.contributing_factor,` 4`);}}var Vt=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=gw({type:e,selectors:[["breach-cost-tooltip"]],inputs:{tooltipData:"tooltipData",tooltipName:"tooltipName"},standalone:false,decls:5,vars:4,consts:[[1,"title"],["class","extra-info",4,"ngIf"],["class","source",4,"ngIf"],["class","contributing-factor",4,"ngIf"],[1,"extra-info"],[1,"source"],[1,"contributing-factor"]],template:function(n,o){n&1&&(ls(0,"h3",0),mC(1),au(),Om(2,Ei,2,1,"p",1)(3,Bi,4,1,"p",2)(4,Ii,4,1,"p",3)),n&2&&(VD(),Mg(o.tooltipName),VD(),Qm("ngIf",o.tooltipData?.extra_info),VD(),Qm("ngIf",o.tooltipData?.data_source),VD(),Qm("ngIf",o.tooltipData?.contributing_factor));},dependencies:[pn],styles:["[_nghost-%COMP%]{max-width:330px;max-height:140px;padding:10px 15px 15px;display:flex;justify-content:flex-start;align-items:stretch;flex-flow:column nowrap;color:var(--text-color-primary);font:var(--font-11)}[_nghost-%COMP%] .title[_ngcontent-%COMP%]{font:var(--font-14-500);color:var(--text-color-primary);margin:5px}[_nghost-%COMP%] p[_ngcontent-%COMP%]{margin:5px}[_nghost-%COMP%] p[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--text-color-secondary)}"]});}}return e})();var Ni=()=>[];function ki(e,s){if(e&1&&Zm(0,"breach-cost-tooltip",10),e&2){let t=LT().$implicit;Qm("tooltipData",t?.explanation)("tooltipName",t?.name||"");}}function Fi(e,s){if(e&1&&Zm(0,"cye-icon",13),e&2){LT(2);let t=qT(2);Qm("content-type","template")("icon","info")("placement","right")("tooltip",t);}}function Ri(e,s){if(e&1&&(ls(0,"label",11),mC(1),Om(2,Fi,1,4,"cye-icon",12),au()),e&2){let t=LT().$implicit;VD(),fu(" ",t.name," "),VD(),Qm("ngIf",t?.explanation);}}function Di(e,s){if(e&1&&(ls(0,"span",16),Zm(1,"cye-avatar",17),au()),e&2){LT(2);let t=qT(7);VD(),Qm("tooltip",t)("content-type","template")("size",21);}}function qi(e,s){if(e&1&&(ls(0,"div",14),Om(1,Di,2,3,"span",15),ls(2,"
4span",14),mC(3),VC(4,"currencyRangePipe"),au()()),e&2){let t=LT().$implicit;yg("flex-container-btc-icon",t.ransom_btc),VD(),Qm("ngIf",t.ransom_btc),VD(2),Mg(BC(4,4,t));}}function Li(e,s){if(e&1){let t=ST();ls(0,"editable-data-row",18),VC(1,"async"),ig("click",function(){af(t);let o=LT().$implicit,p=LT();return cf(p.onEditClick(o))})("actionclicked",function(o){af(t);let p=LT(2);return cf(p.onEditableRowActionClicked(o))}),au();}if(e&2){let t=LT().$implicit,n=qT(2),o=LT();yg("editable",t?.editableConfig&&o.canEdit),Qm("width","100%")("template",(BC(1,9,o.templates$)||NC(11,Ni))[t?.editableConfig?.field_type])("tooltipData",n)("tooltipType","template")("dataCellAlignment","right")("fieldConfigure",t?.editableConfig)("isInEditMode",o.currentEditItem===t);}}function Ai(e,s){if(e&1&&(ls(0,"div",20)(1,"p",21),mC(2),VC(3,"number"),VC(4,"number"),au(),ls(5,"p",22),mC(6),VC(7,"number"),au()()),e&2){let t=LT(2).$implicit;VD(2),Sg("\u20BF",$C(3,3,t?.ransom_btc?.min,"1.0-2")," - \u20BF",$C(4,6,t?.ransom_btc?.max,"1.0-2")),VD(4),fu("Exchange rate: 1\u20BF = ",$C(7,9,t.min/t.ransom_btc.min,"1.0-1"),"~");}}function Vi(e,s){if(e&1&&Om(0,Ai,8,12,"div",19),e&2){let t=LT().$implicit;Qm("ngIf",t?.ransom_btc);}}function Ui(e,s){if(e&1&&(ls(0,"li"),Om(1,ki,1,2,"ng-template",null,0,GC)(3,Ri,3,2,"label",7)(4,qi,5,6,"div",8)(5,Li,2,12,"editable-data-row",9)(6,Vi,1,1,"ng-template",null,1,GC),au()),e&2){let t=s.$implicit;yg("editable",t?.editableConfig),VD(3),Qm("ngIf",!t?.editableConfig),VD(),Qm("ngIf",!t?.editableConfig),VD(),Qm("ngIf",t?.editableConfig);}}var fo=(()=>{class e{constructor(t){this.vcRef=t,this.currency="USD",this.items=[],this.canEdit=true,this.entereditmode=new Xe,this.savechanges=new Xe,this.templates$=this.vcRef.createComponent(Zo$1).instance.templates$;}onEditClick(t){t!==this.currentEditItem&&(this.currentEditItem=t,this.entereditmode.emit(true));}onEditableRowActionClicked(t){this.currentEditItem=null,this.entereditmode.emit(false),t?.action!=="cancel"&&this.savechanges.emit(t);}static{this.\u0275fac=function(n){return new(n||e)(fo$1(Ms))};}static{this.\u0275cmp=gw({type:e,selectors:[["breakdown-section"]],inputs:{title:"title",total:"total",currency:"currency",items:"items",canEdit:"canEdit"},outputs:{entereditmode:"entereditmode",savechanges:"savechanges"},standalone:false,decls:11,vars:5,consts:[["breachCostTooltip",""],["btcTooltip",""],[1,"title"],[1,"total"],[1,"total__value"],[1,"breakdown"],[3,"editable",4,"ngFor","ngForOf"],["class","label",4,"ngIf"],["class","data",3,"flex-container-btc-icon",4,"ngIf"],[3,"width","template","tooltipData","tooltipType","dataCellAlignment","editable","fieldConfigure","isInEditMode","click","actionclicked",4,"ngIf"],[3,"tooltipData","tooltipName"],[1,"label"],[3,"content-type","icon","placement","tooltip",4,"ngIf"],[3,"content-type","icon","placement","tooltip"],[1,"data"],["class","btc-icon",4,"ngIf"],[1,"btc-icon"],["name","\u20BF",3,"tooltip","content-type","size"],[3,"click","actionclicked","width","template","tooltipData","tooltipType","dataCellAlignment","fieldConfigure","isInEditMode"],["class","btc-tooltip-container",4,"ngIf"],[1,"btc-tooltip-container"],[1,"btc-range"],[1,"exchange-rate"]],template:function(n,o){n&1&&(ls(0,"header")(1,"p",2),mC(2),au(),ls(3,"div",3)(4,"span"),mC(5,"Total of"),au(),ls(6,"span",4),mC(7),VC(8,"currencyRangePipe"),au()()(),ls(9,"ul",5),Om(10,Ui,8,5,"li",6),au()),n&2&&(VD(2),Mg(o.title),VD(5),Mg(BC(8,3,o.total)),VD(3),Qm("ngForOf",o.items));},dependencies:[Tt$1,pn,ne$1,q$2,ut,Vt,On,An,On$1,A],styles:["[_nghost-%COMP%] header[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;justify-content:space-between;align-items:center;padding-right:30px;margin-top:60px;margin-bottom:30px}[_nghost-%COMP%] header[_ngcontent-%COMP%] .total[_ngcontent-%COMP%]{font-size:14px;display:flex;flex-flow:row nowrap;color:var(--text-color-secondary)}span[_ngcontent-%COMP%]:not([_nghost-%COMP%] header .total__value){margin-right:20px}[_nghost-%COMP%] header[_ngcontent-%COMP%] .total__value[_ngcontent-%COMP%]{font-weight:500}[_nghost-%COMP%] .breakdown[_ngcontent-%COMP%]{margin:0 0 20px;padding:0;position:relative}[_nghost-%COMP%] .breakdown[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:12px;color:var(--text-color-secondary);line-height:32px;display:flex;justify-content:space-between;padding:0 14px 0 0;border-bottom:1px solid #edf0f6}[_nghost-%COMP%] .breakdown[_ngcontent-%COMP%] li.editable[_ngcontent-%COMP%]{padding:0}[_nghost-%COMP%] .breakdown[_ngcontent-%COMP%] li[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin:0 0 0 10px;flex:1;color:var(--text-color-secondary);display:flex;flex-flow:row nowrap}[_nghost-%COMP%] .breakdown[_ngcontent-%COMP%] li[_ngcontent-%COMP%] label[_ngcontent-%COMP%] cye-icon[_ngcontent-%COMP%]{margin-left:5px}[_nghost-%COMP%] .breakdown[_ngcontent-%COMP%] li[_ngcontent-%COMP%] div.data[_ngcontent-%COMP%]{flex:1;display:flex;justify-content:flex-end;align-items:center;white-space:nowrap;color:var(--text-color-secondary)}[_nghost-%COMP%] .breakdown[_ngcontent-%COMP%] li[_ngcontent-%COMP%] div.data[_ngcontent-%COMP%] .btc-icon[_ngcontent-%COMP%]{margin-top:-3px;
4cursor:default}[_nghost-%COMP%] .breakdown[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-bottom:none}.btc-tooltip-container[_ngcontent-%COMP%]{margin:8px 20px}.btc-tooltip-container[_ngcontent-%COMP%] .btc-range[_ngcontent-%COMP%]{font:var(--font-12);font-weight:400;color:#59657f}.btc-tooltip-container[_ngcontent-%COMP%] .exchange-rate[_ngcontent-%COMP%]{font-size:10px;font-weight:400;color:#a6b5d3}"]});}}return e})();var ji=["autoDetectIp"],_o=()=>({min:0,max:0});function Qi(e,s){if(e&1&&(uu(0),Zm(1,"breakdown-section",8),xs()),e&2){let t=LT();VD(),Qm("title","Third-party payments")("items",t.thirdParty)("total",t.data.third_party?.total||NC(4,_o))("currency",t.currency);}}function Yi(e,s){if(e&1){let t=ST();uu(0),ls(1,"breakdown-section",9),ig("savechanges",function(o){af(t);let p=LT();return cf(p.onSaveChanges(o))})("entereditmode",function(o){af(t);let p=LT();return cf(p.onEnterEditMode(o))}),au(),xs();}if(e&2){let t=LT();VD(),Qm("canEdit",t.canEdit)("title","Company losses")("items",t.firstParty)("total",t.data.first_party?.total||NC(5,_o))("currency",t.currency);}}function zi(e,s){if(e&1){let t=ST();ls(0,"cye-checkbox",10),VC(1,"fieldInAutoDetectMode"),ig("onchange",function(o){let p=af(t).$implicit,T=LT();return cf(T.onAutodetectChange(o,p))}),au();}if(e&2){let t=s.$implicit,n=LT();Qm("value",UC(1,2,n.cobOverrides,n.editableFields,t))("label","Auto detect");}}var go=e=>e!=="total",Co=(()=>{class e{constructor(t){this.fb=t,this.currency="USD",this.editableFields=[],this.canEdit=true,this.entereditmode=new Xe,this.savechanges=new Xe,this.firstParty=[],this.thirdParty=[],this.autoDetect=null,this.form=this.fb.group({lost_ip:this.fb.group({min:this.fb.control("0",{validators:[te(),r,u]}),max:this.fb.control("0",{validators:[te(),r,u]})},{validators:[q]})});}ngOnChanges(t){this.data&&(this.firstParty=Object.keys(this.data.first_party).filter(go).map(n=>({name:this.data.first_party[n]?.name,min:this.data.first_party[n].min,max:this.data.first_party[n].max,explanation:this.data.first_party[n]?.explanation,editableConfig:this.editableFields.includes(n),fieldName:n})).filter(n=>!!Math.round(n?.max)||this.editableFields.includes(n?.fieldName)),this.thirdParty=Object.keys(this.data.third_party).filter(n=>n!=="ransom_btc"&&go(n)).map(n=>{let o=this.data.third_party,p="ransom_usd"in o&&!("ransom_btc"in o),W="ransom_usd"in o&&"ransom_btc"in o?"ransom_btc":p?"ransom_usd":"";return F$1(E({name:o[n]?.name,min:o[n].min,max:o[n].max,explanation:o[n]?.explanation},n==="ransom_usd"&&{[W]:{min:o?.ransom_btc?.min||o?.ransom_usd?.min,max:o?.ransom_btc?.max||o?.ransom_usd?.max}}),{fieldName:n})}).filter(n=>!!Math.round(n?.max)||this.editableFields.includes(n?.fieldName)));}createEditableConfig(t,n){let o=new bt().transform(this.cobOverrides,this.editableFields,t);return this.setFormValue(t,n,o),mo({label:this.data[n][t].name,control_name:t,form:this.form,placeholder:"",field_type:"range-input",mapFunc:p=>new A().transform(p),tooltip:t,updated_object:"cob_overrides",additional_template:this.autoDetectIpRef,additional_template_handler:()=>this.autoDetect!=null?this.autoDetect:o,extra_text:()=>o?"Auto detect":""})}setFormValue(t,n,o){let p,T;try{p=this.cobOverrides[t];}catch(W){return}try{T=this.data[n][t];}catch(W){return}this.form.controls[t].setValue({min:`${Math.round(o?T?.min:p?.min)}`,max:`${Math.round(o?T?.max:p?.max)}`});}onEnterEditMode(t){this.entereditmode.emit(t);}onSaveChanges(t){this.savechanges.emit({changes:t,autoDetect:this.autoDetect}),this.autoDetect=null;}onAutodetectChange(t,n){let o=new bt().transform(this.cobOverrides,this.editableFields,n);this.autoDetect=t,this.form.controls.lost_ip.setValue(this.form.controls.lost_ip.value),t!==o?this.form.controls.lost_ip.markAsTouched():this.form.controls.lost_ip.markAsUntouched(),t!==o?this.form.controls.lost_ip.markAsDirty():this.form.controls.lost_ip.markAsPristine();}static{this.\u0275fac=function(n){return new(n||e)(fo$1(zn))};}static{this.\u0275cmp=gw({type:e,selectors:[["cost-of-breach-breakdown-by-party"]],viewQuery:function(n,o){if(n&1&&lg(ji,7,Xr$1),n&2){let p;
4BT(p=$T())&&(o.autoDetectIpRef=p.first);}},inputs:{data:"data",cobOverrides:"cobOverrides",currency:"currency",editableFields:"editableFields",canEdit:"canEdit"},outputs:{entereditmode:"entereditmode",savechanges:"savechanges"},standalone:false,features:[AI],decls:13,vars:5,consts:[["autoDetectIp",""],[1,"container"],[1,"breakdown-container"],[1,"right-border"],[4,"ngIf"],[1,"total-breach-cost"],[1,"data"],[1,"title"],[3,"title","items","total","currency"],[3,"savechanges","entereditmode","canEdit","title","items","total","currency"],[1,"auto-detect-ip",3,"onchange","value","label"]],template:function(n,o){n&1&&(ls(0,"div",1)(1,"div",2),Zm(2,"div",3),Om(3,Qi,2,5,"ng-container",4)(4,Yi,2,6,"ng-container",4),au(),ls(5,"div",5)(6,"span",6),mC(7),VC(8,"currencyRangePipe"),au(),ls(9,"p",7),mC(10,"Total cost"),au()()(),Om(11,zi,2,6,"ng-template",null,0,GC)),n&2&&(VD(3),Qm("ngIf",o.thirdParty.length),VD(),Qm("ngIf",o.firstParty.length),VD(3),fu(" ",o.data?.total&&o.data?.total?.max?BC(8,3,o.data.total):"Undefined"," "));},dependencies:[pn,we$3,fo,A,bt],styles:['[_nghost-%COMP%]{display:block;width:100%;padding:0 20px 0 40px;box-sizing:border-box;overflow-y:overlay;background:#fff;border:1px solid rgba(166,181,211,.5);border-radius:3px;min-width:1090px}[_nghost-%COMP%] .container[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;height:100%}[_nghost-%COMP%] .flex-container-btc-icon[_ngcontent-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%] .flex-container-btc-icon[_ngcontent-%COMP%] .btc-icon[_ngcontent-%COMP%]{margin:0 13px}[_nghost-%COMP%] .title[_ngcontent-%COMP%]{font-size:14px;margin:0;color:var(--text-color-secondary);font-weight:500}[_nghost-%COMP%] .title[_ngcontent-%COMP%] .counter[_ngcontent-%COMP%]{color:var(--text-color-placeholder)}.breakdown-container[_ngcontent-%COMP%]{width:740px;position:relative;margin-top:-20px}.breakdown-container[_ngcontent-%COMP%] .right-border[_ngcontent-%COMP%]{content:"";border:2px solid #a6b5d3;width:18px;position:absolute;top:50px;height:calc(100% - 65px);border-bottom-right-radius:6px;border-top-right-radius:6px;z-index:1;right:-80px;border-left:0}.breakdown-container[_ngcontent-%COMP%] .right-border[_ngcontent-%COMP%]:after{content:" ";position:absolute;height:19px;width:19px;background:var(--text-color-placeholder);border-radius:50%;left:65px;top:calc(50% - 29.5px)}.breakdown-container[_ngcontent-%COMP%]:before{content:"";position:absolute;right:-140px;width:60px;height:2px;background:#a6b5d3;top:0;bottom:0;margin:auto;display:block}.total-breach-cost[_ngcontent-%COMP%]{width:fit-content;height:132px;background:#f4fbff;border-radius:8px;display:flex;flex-direction:column;justify-content:center;align-items:center;margin-left:170px}.total-breach-cost[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#5e96ff;font-size:48px;font-weight:500;white-space:nowrap;padding:0 22px;display:block}.total-breach-cost[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:24px;line-height:28px;margin:0;color:#59657f}.auto-detect-ip[_ngcontent-%COMP%]{margin:0 0 10px}'],changeDetection:1});}}return e})();function Ki(e,s){e&1&&(ls(0,"div",4)(1,"header"),mC(2,"Cost of breach: Description & Assumptions"),au(),ls(3,"section"),mC(4,"CYE's Breach Impact calculator estimates monetary loss in the event of a data breach of the organization."),au(),ls(5,"section"),mC(6," The calculator's breach impact model is based on the responses to a questionnaire filled out by a representative of the organization. This model is based on external data and knowledge (such as statistics and data collected from public resources published by government, research, insurance bodies and so on) and internal data and knowledge (CYE's proprietary knowledge of breach events and their impact on the organization). "),au(),ls(7,"section"),mC(8," The output is a range that specifies the estimated minimal (best case) and maximal (worst case) loss in the event of a data breach. It is important to note that providing more input in the questionnaire, produces a more precise estimation range, meaning that the minimal and maximum value of the estimation will be closer together. "),au(),ls(9,"section"),mC(10," The calculator makes the following assumptions: "),ls(11,"ul")(12,"li"),mC(13,"Estimates are provided based on expected scale and severity of breach event according to company attributes and security posture."),au(),ls(14,"li"),mC(15," The regulatory fines and class action suit components of the third-party payments predicted by the calculator are based on the number of the organization\u2019s employees and customers that was provided. It is important to note that as a vendor, the company may be held responsible for users\u2019 private records being leaked through the company\u2019s products. In this case, the estimated loss may be much greater. "),au()()()());}var Ut=(()=>{class e{constructor(t){this.authService=t,this.onstart=new Xe;}ngOnInit(){this.isManeger=this.authService.userProfile.role===I$1.ADMIN;}onStart(){this.onstart.emit();}static{this.\u0275fac=function(n){return new(n||e)(fo$1(v))};}static{this.\u0275cmp=gw({type:e,selectors:[["cost-of-breach-empty"]],outputs:{onstart:"onstart"},standalone:false,decls:8,vars:7,consts:[["storedRecordTooltipTemplate",""],["icon","no-calculator"],["icon","info",1,"cost-of-breach-icon-disclaimer",3,"size","tooltip","content-type","placement","max-width","width"],[3,"click","disabled"],[1,"disclaimer-cost-of-breach"]],template:function(n,o){if(n&1&&(Zm(0,"cye-icon",1),ls(1,"p"),mC(2," Estimating the cost of a breach for your company "),Zm(3,"cye-icon",2),au(),ls(4,"cye-button",3),ig("click",function(){return o.onStart()}),mC(5,"Start"),au(),Om(6,Ki,16,0,"ng-template",null,0,GC)),n&2){let p=qT(7);VD(3),Qm("size",20)("tooltip",p)("content-type","template")("placement","right")("max-width",540)("width",540),VD(),Qm("disabled",!o.isManeger);}},dependencies:[ne$1,ut,rt],styles:["[_nghost-%COMP%]{display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%;height:100%}[_nghost-%COMP%] p[_ngcontent-%COMP%]{text-align:center;width:360px;color:var(--hyver-tertiary);font:var(--font-24)}[_nghost-%COMP%] .cost-of-breach-icon-disclaimer[_ngcontent-%COMP%]{margin-left:10px}[_nghost-%COMP%] cye-button[_ngcontent-%COMP%]{width:130px}.disclaimer-cost-of-breach[_ngcontent-%COMP%]{margin:0 15px;color:#59657f}.disclaimer-cost-of-breach[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{margin:15px 0;font:var(--font-11-700);text-decoration:underline}.disclaimer-cost-of-breach[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{margin:15px 0;line-height:18px;font:var(--font-11)}.disclaimer-cost-of-breach[_ngcontent-%COMP%]{line-height:18px}"],changeDetection:1});}}return e})();
4function Wi(e,s){if(e&1&&Zm(0,"breach-cost-tooltip",7),e&2){let t=LT().$implicit;Qm("tooltipData",t?.explanation)("tooltipName",t?.name);}}function Zi(e,s){if(e&1&&Zm(0,"cye-icon",8),e&2){LT();let t=qT(2);Qm("content-type","template")("tooltip",t);}}function Ji(e,s){if(e&1&&(ls(0,"tr"),Om(1,Wi,1,2,"ng-template",null,0,GC),ls(3,"td"),mC(4),Om(5,Zi,1,2,"cye-icon",5),au(),ls(6,"td",6)(7,"h3"),mC(8),VC(9,"currencyRangePipe"),au()()()),e&2){let t=s.$implicit;VD(4),fu(" ",t.name," "),VD(),Qm("ngIf",t?.explanation),VD(3),Mg(BC(9,3,t));}}var yo=(()=>{class e{constructor(){this.items=[];}ngOnInit(){this.items=this.factors?Object.values(this.factors).filter(t=>t.max&&t.min).sort((t,n)=>n.max-t.max):[],this.total=this.items.length?this.items.reduce((t,n)=>({min:t.min+n.min,max:t.max+n.max})):{min:0,max:0};}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=gw({type:e,selectors:[["cost-of-breach-mitigation-factors"]],inputs:{factors:"factors"},standalone:false,decls:12,vars:5,consts:[["breachCostTooltip",""],[1,"description"],[1,"header_text"],[1,"scrollable","allways"],[4,"ngFor","ngForOf"],["icon","info","style","margin-left: 5px",3,"content-type","tooltip",4,"ngIf"],[2,"text-align","right"],[3,"tooltipData","tooltipName"],["icon","info",2,"margin-left","5px",3,"content-type","tooltip"]],template:function(n,o){n&1&&(ls(0,"p",1),mC(1," This view shows a variety of factors that can influence and reduce the cost of a data breach. "),Zm(2,"br"),mC(3,` The actions listed below are recommended to reduce the breach costs, along with the reduced cost of breach value. 5`),au(),ls(4,"header")(5,"b",2),mC(6),au(),ls(7,"b",2),mC(8),VC(9,"currencyRangePipe"),au()(),ls(10,"table",3),Om(11,Ji,10,5,"tr",4),au()),n&2&&(VD(6),fu("Cost of breach reduction actions (",o.items?.length||"0",")"),VD(2),fu("Total of ",BC(9,3,o.total)),VD(3),Qm("ngForOf",o.items));},dependencies:[Tt$1,pn,ne$1,ut,Vt,A],styles:["[_nghost-%COMP%]{font:var(--font-14);color:var(--text-color-secondary)}[_nghost-%COMP%] .description[_ngcontent-%COMP%]{line-height:25px;margin:0 0 34px 9px}[_nghost-%COMP%] .header_text[_ngcontent-%COMP%]{color:var(--secondary-500);font:var(--font-22);font-weight:500}[_nghost-%COMP%] header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:0 60px 0 10px;box-sizing:border-box}[_nghost-%COMP%] table[_ngcontent-%COMP%]{width:100%;overflow:auto;height:calc(100% - 125px);display:block}[_nghost-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{font:var(--font-14-500);color:var(--text-color-secondary);display:grid;align-items:center;grid-template-columns:auto 250px;box-sizing:border-box;margin:10px 0;height:60px;background-color:#fff;border:1px solid #ebebeb;border-radius:5px;padding:0 60px 0 20px}h3[_ngcontent-%COMP%]{color:var(--text-color-secondary);margin:0;font:var(--font-24)}"],changeDetection:1});}}return e})();var ea=()=>({"font-size":"16px",margin:" 16px 65px"});function ta(e,s){e&1&&Zm(0,"cye-page-loader",3),e&2&&Qm("loading",true);}function na(e,s){if(e&1){let t=ST();ls(0,"cost-of-breach-breakdown-by-business-assets",10),ig("onupdatebreakdown",function(){af(t);let o=LT(3);return cf(o.onUpdateBreakdown())}),au();}if(e&2){LT(2);let t=DC(0);Qm("riskBreakdown",t);}}function oa(e,s){if(e&1&&Zm(0,"cost-of-breach-breakdown-by-party",11),e&2){LT(2);let t=DC(0);Qm("data",t.cost_of_breach_result);}}function ia(e,s){if(e&1&&Zm(0,"cost-of-breach-mitigation-factors",12),e&2){LT(2);let t=DC(0);Qm("factors",t?.cost_of_breach_result?.mitigating_factors);}}function aa(e,s){if(e&1){let t=ST();uu(0),ls(1,"header")(2,"tabs-menu",5),ig("tabSelected",function(o){af(t);let p=LT(2);return cf(p.onTabSelected(o))}),au()(),ls(3,"section",6),Om(4,na,1,1,"cost-of-breach-breakdown-by-business-assets",7)(5,oa,1,1,"cost-of-breach-breakdown-by-party",8)(6,ia,1,1,"cost-of-breach-mitigation-factors",9),au(),xs();}if(e&2){let t=LT(2);VD(2),Qm("tabStyle",NC(5,ea))("items",t.menuItems),VD(2),Qm("ngIf",t.tabIndex===0),VD(),Qm("ngIf",t.tabIndex===1),VD(),Qm("ngIf",t.tabIndex===2);}}function ra(e,s){if(e&1){let t=ST();ls(0,"cost-of-breach-empty",13),ig("onstart",function(){af(t);let o=LT(2);return cf(o.onStart())}),au();}}function la(e,s){if(e&1&&(Og(0),VC(1,"async"),Om(2,aa,7,6,"ng-container",4)(3,ra,1,0,"ng-template",null,1,GC)),e&2){let t=qT(4),n=EC(BC(1,2,LT().riskBreakdown$));VD(2),Qm("ngIf",n?.cost_of_breach_result)("ngIfElse",t);}}var bo=(()=>{class e{constructor(){this.costOfBreachService=T(Ye),this.router=T(F),this.positionsService=T(w),this.route=T(Y),this.riskBreakdown$=this.costOfBreachService.riskBreakdown$,this.loading$=this.costOfBreachService.riskBreakdownLoadState$.pipe(Ht$1(3),ne(t=>t==="loading")),this.noData=true,this.tabIndex=0,this.menuItems=[{label:"Breakdown by business assets",value:1},{label:"Breakdown by first & third party",value:2}];}ngOnInit(){this.costOfBreachService.getBreakdown(),this.positionsService.getPositions("end");}onStart(){this.router.navigate(["calculator"],{relativeTo:this.route});}onUpdateBreakdown(){this.costOfBreachService.getBreakdown("done");}onTabSelected(t){this.tabIndex=this.menuItems.findIndex(n=>n.value===t.value);}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=gw({type:e,selectors:[["ng-component"]],standalone:false,decls:4,vars:4,consts:[["content",""],["empty",""],[3,"loading",4,"ngIf","ngIfElse"],[3,"loading"],[4,"ngIf","ngIfElse"],[3,"tabSelected","tabStyle","items"],[1,"scrollable","allways"],[3,"riskBreakdown","onupdatebreakdown",4,"ngIf"],[3,"data",4,"ngIf"],[3,"factors",4,"ngIf"],[3,"onupdatebreakdown","riskBreakdown"],[3,"data"],[3,"factors"],[3,"onstart"]],template:function(n,o){if(n&1&&(Om(0,ta,1,1,"cye-page-loader",2),VC(1,"async"),Om(2,la,5,5,"ng-template",null,0,GC)),n&2){let p=qT(3);Qm("ngIf",BC(1,2,o.loading$))("ngIfElse",p);}},dependencies:[pn,Re,ve,po,Co,Ut,yo,An],styles:["[_nghost-%COMP%] header[_ngcontent-%COMP%]{z-index:9;position:absolute;height:60px;width:100%;background-color:#fff;box-shadow:2px 2px 4px 2px #00000030;display:flex;justify-content:center}[_nghost-%COMP%] section[_ngcontent-%COMP%]{box-sizing:border-box;padding:80px 20px 20px;height:100%;overflow:auto}"],changeDetection:1});}}return e})();var Gt=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275mod=_m({type:e});}static{this.\u0275inj=_a$1({imports:[Nn]});}}return e})();var Oo=(()=>{class e{transform(t){switch(t){case "employee_info":return "Employee information";case "reputation":return "Reputation";case "business_continuity":return "Business continuity";case "ip":return "Intellectual property";case "customer_info":return "Customer information"}return t}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275pipe=Ew({name:"businessAssetName",type:e,pure:true});}}return e})();function ca(e,s){e&1&&(ls(0,"div",9),mC(1,"Update cost of breach"),au());}function pa(e,s){if(e&1&&(ls(0,"div",11),mC(1),au()),e&2){let t=LT(2).$implicit;VD(),fu(" ",t.breach_cost," ");}}function ma(e,s){if(e&1&&(ls(0,"div",11),mC(1),VC(2,"currencyRangePipe"),au()),e&2){let t=LT(2).$implicit;VD(),fu(" ",BC(2,1,t.breach_cost)," ");}}function da(e,s){if(e&1&&(uu(0),Om(1,pa,2,1,"div",10)(2,ma,3,3,"ng-template",null,0,GC),xs()),e&2){let t=s.ngIf,n=qT(3);VD(),Qm("ngIf",(t?.min===null||t?.min===void 0)&&(t?.max===null||t?.max===void 0))("ngIfElse",n);}}function ua(e,s){if(e&1&&(ls(0,"li",3)(1,"span",4),Zm(2,"cye-icon",5),VC(3,"businessAssetsIcon"),ls(4,"span",6),mC(5),VC(6,"businessAssetName"),au()(),Om(7,ca,2,0,"div",7)(8,da,4,2,"ng-container",8),au()),e&2){let t=s.$implicit,n=LT();yg("with-update",n.withUpdate),VD(2),Qm("icon",BC(3,6,t.name)),VD(3),Mg(BC(6,8,t?.name)),VD(2),Qm("ngIf",n.withUpdate),VD(),Qm("ngIf",t.breach_cost);}}(()=>{class e{constructor(){this.data=[],this.columns=[],this.withUpdate=false;}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=gw({type:e,selectors:[["business-assets-breakdown"]],inputs:{data:"data",columns:"columns",withUpdate:"withUpdate",currency:"currency"},standalone:false,decls:2,vars:1,consts:[["range",""],[1,"assets-list"],["class","assets-list__item",3,"with-update",4,"ngFor","ngForOf"],[1,"assets-list__item"],[1,"name"],[1,"name__icon",3,"icon"],[1,"name__text"],["class","update",4,"ngIf"],[4,"ngIf"],[1,"update"],["class","breach-cost",4,"ngIf","ngIfElse"],[1,"breach-cost"]],template:function(n,o){n&1&&(ls(0,"ul",1),Om(1,ua,9,10,"li",2),au()),n&2&&(VD(),Qm("ngForOf",o.data));},dependencies:[Tt$1,pn,ut,p,Oo,A],styles:["[_nghost-%COMP%]{display:block;height:100%;width:100%}[_nghost-%COMP%] .assets-list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}[_nghost-%COMP%] .assets-list__item[_ngcontent-%COMP%]{display:grid;align-items:center;grid-template-rows:60px;grid-template-columns:80% 20%;background:var(--white);border-radius:5px;border-width:1px;border-style:solid;border-color:var(--border-table-row);margin-bottom:20px;padding:0 30px;box-sizing:border-box}[_nghost-%COMP%] .assets-list__item.with-update[_ngcontent-%COMP%]{grid-template-columns:60% 20% 20%}[_nghost-%COMP%] .assets-list__item[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center;font-size:1rem;color:var(--text-color-secondary)}[_nghost-%COMP%] .assets-list__item[_ngcontent-%COMP%] .name__icon[_ngcontent-%COMP%]{min-width:45px}[_nghost-%COMP%] .assets-list__item[_ngcontent-%COMP%] .update[_ngcontent-%COMP%]{font-size:.875rem;color:var(--text-color-secondary);border:1px solid rgba(166,181,211,.5);box-sizing:border-box;display:grid;place-items:center;border-radius:3px;width:179px;height:2rem;justify-self:end}[_nghost-%COMP%] .assets-list__item[_ngcontent-%COMP%] .breach-cost[_ngcontent-%COMP%]{justify-self:end;font-size:1.5rem;color:var(--text-color-secondary)}"],changeDetection:1});}}return e})();var fa=["*"],xo=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=gw({type:e,selectors:[["tooltip-simple-template"]],inputs:{text:"text"}
5,standalone:false,ngContentSelectors:fa,decls:3,vars:0,consts:[[1,"template-wrapper"]],template:function(n,o){n&1&&(jT(),ls(0,"div",0)(1,"p"),VT(2),au()());},styles:['[_nghost-%COMP%] .template-wrapper[_ngcontent-%COMP%]{padding:0 10px}[_nghost-%COMP%] .template-wrapper[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]{padding:0 20px;margin:10px 0}[_nghost-%COMP%] .template-wrapper[_ngcontent-%COMP%] .list.numbered-list[_ngcontent-%COMP%]{list-style:decimal}[_nghost-%COMP%] .template-wrapper[_ngcontent-%COMP%] .list.asterisk-list[_ngcontent-%COMP%]{list-style:none}[_nghost-%COMP%] .template-wrapper[_ngcontent-%COMP%] .list.asterisk-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%] .template-wrapper[_ngcontent-%COMP%] .list.asterisk-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:last-of-type){margin-bottom:5px}[_nghost-%COMP%] .template-wrapper[_ngcontent-%COMP%] .list.asterisk-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{content:"*";position:absolute;left:-10px;top:0}'],changeDetection:1});}}return e})();var _a=["salariesTemplate"],Ca=["annualRevenueTemplate"],ha=["offeringIncludingTemplate"],ya=["revenueDependencyTemplate"],ba=["employeeProductivityTemplate"],Oa=["storedRecordTypeCustomerTemplate"],xa=["storedRecordTypeEmployeesTemplate"],Ma=["quantityOfIP"],va=["boardInvolvement"],Pa=["publiclyDisclosedBreach"],wa=["mediaCoverage"],Ta=["complianceFailures"],Sa=["remoteWorkforce"],Ea=["breachCoverage"],Ba=["bcdrPlan"],Ia=["threatIntelSharing"],Na=["idTheftProtection"],ka=["dataLosePrevention"],Fa=["securityAnalytics"],Ra=["appointedCiso"],Da=["soc"],qa=["irTeam"],La=["employeeTraining"],Aa=["vulnerabilityTesting"],Va=["redTeamTesting"],Ua=["incidentResponseTesting"],Ga=["devSecOps"],$a=["dataAtRestEncryption"],ja=["dataInMotionEncryption"];function Qa(e,s){if(e&1&&(ls(0,"div",29)(1,"p"),mC(2),au(),ls(3,"p"),mC(4,"Amount (money) in USD."),au(),ls(5,"p"),mC(6,"A higher yearly salary means a higher loss of productivity which increases the cost of breach."),au()()),e&2){let t=LT();VD(2),fu("Specifies the annual cost of all the salaries (as per the company\u2019s profit and loss sheet) in ",t.appChangingText,".");}}function Ya(e,s){if(e&1&&(ls(0,"div",29)(1,"p"),mC(2),au(),ls(3,"p"),mC(4,"A higher yearly revenue means a higher lost revenue which increases the cost of breach."),au()()),e&2){let t=LT();VD(2),fu("Specifies the total amount of income ",t.appChangingText," generates on a yearly basis.");}}function za(e,s){if(e&1&&(ls(0,"div",29)(1,"p"),mC(2),au(),ls(3,"p"),mC(4," For example, a Yes answer to this question might increase the cost of breach, because a cybersecurity company that is hacked incurs more reputational damage than any other sector. "),au()()),e&2){let t=LT();VD(2),fu("Specifies whether ",t.appChangingText," provides cybersecurity services or sells a cybersecurity product to their customers.");}}function Ha(e,s){if(e&1&&(ls(0,"div",29)(1,"p"),mC(2),au(),ls(3,"p",30),mC(4,"The data impacts the cost of breach calculation."),au(),ls(5,"p",30),mC(6,"For example \u2013"),au(),ls(7,"ul",31)(8,"li"),mC(9," Enter 100 in this field for a company whose revenue stream is 100% dependent on the availability of its online assets, such as a commodity trading website that cannot get new orders while their web application is down. "),au(),ls(10,"li"),mC(11," Another example is a commodities trading company that has a phone line which handles 30% of their transactions, so that when their website is down, they can still earn revenue. In this case, enter 70 in this field. "),au()()()),e&2){let t=LT();VD(2),fu("Specifies the percentage of ",t.appChangingText,"\u2019s revenue that is affected by the uptime of its systems.");}}function Ka(e,s){e&1&&(ls(0,"div",29)(1,"p",32),mC(2,"Specifies the percentage of employee productivity that is dependent on online assets being functional."),au(),ls(3,"p",30),mC(4,"The data impacts the cost of breach calculation."),au(),ls(5,"p"),mC(6,"For example, if 60% of the employees use an online system and 40% use a manual (paper-based) system, then enter 60 in this field."),au()());}function Wa(e,s){if(e&1&&(ls(0,"div",29)(1,"p"),mC(2),Zm(3,"br"),au(),ls(4,"p"),mC(5,"Mark one or more of the following checkboxes:"),au(),ls(6,"ul",33)(7,"li"),mC(8,"PII \u2013 Personal Identifiable Information, such as a person\u2019s name and social security number."),au(),ls(9,"li"),mC(10,"PCI \u2013 Payment Card Industry \u2013 information such as credit card details."),au(),ls(11,"li"),mC(12,"PHI \u2013 Protected Health Information, such as health charts, blood test results, diagnoses and so on."),au()()()),e&2){let t=LT();VD(2),fu(" Specifies the type of information handled by ",t.appChangingText," for customers. ");}}function Za(e,s){if(e&1&&(ls(0,"div",29)(1,"p"),mC(2),Zm(3,"br"),au(),ls(4,"p"),mC(5,"Mark one or more of the following checkboxes:"),au(),ls(6,"ul",33)(7,"li"),mC(8,"PII \u2013 Personal Identifiable Information, such as a person\u2019s name and social security number."),au(),ls(9,"li"),mC(10,"PCI \u2013 Payment Card Industry \u2013 information such as credit card details."),au(),ls(11,"li"),mC(12,"PHI \u2013 Protected Health Information, such as health charts, blood test results, diagnoses and so on."),au()()()),e&2){let t=LT();VD(2),fu(" Specifies the type of information handled by ",t.appChangingText," for employees. ");}}function Ja(e,s){e&1&&(ls(0,"tooltip-simple-template"),mC(1," Specifies the quantity of internal (not public) intellectual property related documents and records, such as source code files, spreadsheets, design and business documents, private knowledge base records and so on. The cost of breach increases as this quantity increases. "),au());}function Xa(e,s){e&1&&(ls(0,"tooltip-simple-template"),mC(1,"The board understands the criticality of potential security breaches and mitigation measures."),au());}function er(e,s){e&1&&(ls(0,"tooltip-simple-template"),mC(1,"Noncompliance with regulatory requirements incurs a high level of business risk for the company."),au());}function tr(e,s){e&1&&(ls(0,"tooltip-simple-template"),mC(1,"Select Yes if the company enables remote access to their network."),au());}function nr(e,s){e&1&&(ls(0,"tooltip-simple-template"),mC(1," Cybersecurity insurance can help protect the company against financial losses resulting from a cyber-attack, such as data breaches and theft, system hacking, ransomware extortion payments and denial of service. "),au());}function or(e,s){e&1&&(ls(0,"tooltip-simple-template"),mC(1," Using a Business Continuity and Disaster Recovery (BCDR) plan specifies the course of action and the responsibility of each role for handling various breach scenarios, in order to minimize the effect of a cyber-attack on business operations. "),au());}function ir(e,s){e&1&&(ls(0,"tooltip-simple-template"),mC(1," Participation in Threat Intelligence Sharing (TIS) programs helps improve preventative measures and can minimize incident response times. "),au());}function ar(e,s){e&1&&(ls(0,"tooltip-simple-template"),mC(1," Identity theft protection services help protect private data, credentials and unique identifiers, which could be leveraged by attackers to impersonate users and gain access to their personal or organizational accounts. "),au());}function rr(e,s){e&1&&(ls(0,"tooltip-simple-template"),mC(1,"Using a Data Loss Prevention (DLP) solution can circumvent data ex-filtration transmissions."),au());}function lr(e,s){e&1&&(ls(0,"tooltip-simple-template"),mC(1," Security Analytics solutions use data collection, data aggregation and analysis tools for threat detection and security monitoring. "),au());}function sr(e,s){e&1&&(ls(0,"tooltip-simple-template"),mC(1," A Chief Information Security Officer is responsible for ensuring the adequate protection of information assets and technologies. "),au());}function cr(e,s){e&1&&(ls(0,"tooltip-simple-template"),mC(1," A Security Operations Center is responsible for monitoring, preventing, detecting, investigating and responding to cyber threats. "),au());}function pr(e,s){e&1&&(ls(0,"tooltip-simple-template"),mC(1," An Incident Response (IR) team coordinates resources and team members during a cyber security incident in order to minimize its impact. "),au());}function mr(e,s){e&1&&(ls(0,"tooltip-simple-template"),mC(1,"Cybersecurity training equips employees to recognize red flags."),au());}function dr(e,s){e&1&&(ls(0,"tooltip-simple-template"),mC(1," Vulnerability scanning identifies security vulnerabilities by inspecting potential computer and network exploit points. "),au());}function ur(e,s){e&1&&(ls(0,"tooltip-simple-template"),mC(1," Red teams assess an organization's ability to detect, respond and prevent sophisticated and targeted cyber threats. "),au());}function fr(e,s){e&1&&(ls(0,"tooltip-simple-template"),mC(1," Incident Response (IR) tests and exercises evaluate how applicable the company's policies, processes, and analyses are for each IR stage. "),au());}function gr(e,s){e&1&&(ls(0,"tooltip-simple-template"),mC(1," A Secure Software Development Life Cycle (SDLC) methodology is intended to integrate security as a shared responsibility throughout the entire IT lifecycle. "),au());}function _r(e,s){e&1&&(ls(0,"tooltip-simple-template"),mC(1,"A Data At Rest (DAR) encryption policy ensures that stored data is encrypted."),au());}function Cr(e,s){e&1&&(ls(0,"tooltip-simple-template"),mC(1," A Data In Transit (DIT) encryption policy ensures that data is encrypted throughout the network during transmission and reception. "),au());}function hr(e,s){e&1&&(ls(0,"tooltip-simple-template"),mC(1," The regulations of many countries require that cyber incidents be reported to government entities. "),au());}function yr(e,s){e&1&&(ls(0,"tooltip-simple-template"),mC(1," The company\u2019s profile indicates a high likelihood that the media will cover a cyber incident should it occur. "),au());}var Mo=(()=>{class e{constructor(t){this.environment=t,this.appName=this.environment.appName,this.APPS=R,this.appChangingText="your organization",this.templates$=new fr$1({founded:{description:"Specifies the founding year."},sector:{description:`Specifies the sector/industry in which ${this.appChangingText} operates. 6This field impacts the cost of breach calculation.`},hqLocation:{description:`Specifies the country in which the headquarters of ${this.appChangingText} is located. 7This data impacts the cost of breach calculation.`},quantityOfEmployees:{description:`Specifies the total number of employees in ${this.appChangingText}. 8The cost of a breach increases with the number of employees.`},quantityOfCustomers:{description:"The number of customer records that your company maintains in its systems or products, for example, accounts and contacts in your CRM system, or customer information that is stored in your products, for example, billing or health record management systems."},quantityOfCompetitors:{description:`Specifies the total number of the direct competitors of ${this.appChangingText}. 9 10Competitors are considered companies that operate in the same market and provide the same exact offering, or companies that can replace this company. 11The cost of a breach increases with the number of competitors.`},[b.PREMIUM]:{description:"The amount your company pays for one year's insurance coverage."},[b.POLICY_LIMIT]:{description:"The maximum payout an insurer will award for covered damages or losses under the policy."}}),this.finished$=new fr$1(false);}ngOnInit(){let t={};for(let n of Object.keys(this).filter(o=>o.includes("TemplateRef"))){let o=n.slice(0,n.indexOf("TemplateRef"));o&&(t[o.toLowerCase()]=this[`${o}TemplateRef`]);}this.templates$.next(E(E({},Object.entries(this.templates$.getValue()).reduce((n,[o,p])=>F$1(E({},n),{[o?.toLowerCase()]:p}),{})),t)),this.finished$.next(true);}static{this.\u0275fac=function(n){return new(n||e)(fo$1(hr$1))};}static{this.\u0275cmp=gw({type:e,selectors:[["cost-of-breach-label-tooltip-templates"]],viewQuery:function(n,o){if(n&1&&lg(_a,7,Xr$1)(Ca,7,Xr$1)(ha,7,Xr$1)(ya,7,Xr$1)(ba,7,Xr$1)(Oa,7,Xr$1)(xa,7,Xr$1)(Ma,7,Xr$1)(va,7,Xr$1)(Pa,7,Xr$1)(wa,7,Xr$1)(Ta,7,Xr$1)(Sa,7,Xr$1)(Ea,7,Xr$1)(Ba,7,Xr$1)(Ia,7,Xr$1)(Na,7,Xr$1)(ka,7,Xr$1)(Fa,7,Xr$1)(Ra,7,Xr$1)(Da,7,Xr$1)(qa,7,Xr$1)(La,7,Xr$1)(Aa,7,Xr$1)(Va,7,Xr$1)(Ua,7,Xr$1)(Ga,7,Xr$1)($a,7,Xr$1)(ja,7,Xr$1),n&2){let p;
11BT(p=$T())&&(o.salariesTemplateRef=p.first),BT(p=$T())&&(o.annualRevenueTemplateRef=p.first),BT(p=$T())&&(o.offeringIncludingTemplateRef=p.first),BT(p=$T())&&(o.revenueDependencyTemplateRef=p.first),BT(p=$T())&&(o.employeeProductivityTemplateRef=p.first),BT(p=$T())&&(o.storedRecordTypeCustomerTemplateRef=p.first),BT(p=$T())&&(o.storedRecordTypeEmployeesTemplateRef=p.first),BT(p=$T())&&(o.quantityOfIPTemplateRef=p.first),BT(p=$T())&&(o.boardInvolvementTemplateRef=p.first),BT(p=$T())&&(o.publiclyDisclosedBreachTemplateRef=p.first),BT(p=$T())&&(o.mediaCoverageTemplateRef=p.first),BT(p=$T())&&(o.complianceFailuresTemplateRef=p.first),BT(p=$T())&&(o.remoteWorkforceTemplateRef=p.first),BT(p=$T())&&(o.breachCoverageTemplateRef=p.first),BT(p=$T())&&(o.bcdrPlanTemplateRef=p.first),BT(p=$T())&&(o.threatIntelSharingTemplateRef=p.first),BT(p=$T())&&(o.idTheftProtectionTemplateRef=p.first),BT(p=$T())&&(o.dataLosePreventionTemplateRef=p.first),BT(p=$T())&&(o.securityAnalyticsTemplateRef=p.first),BT(p=$T())&&(o.appointedCisoTemplateRef=p.first),BT(p=$T())&&(o.socTemplateRef=p.first),BT(p=$T())&&(o.irTeamTemplateRef=p.first),BT(p=$T())&&(o.employeeTrainingTemplateRef=p.first),BT(p=$T())&&(o.vulnerabilityTestingTemplateRef=p.first),BT(p=$T())&&(o.redTeamTestingTemplateRef=p.first),BT(p=$T())&&(o.incidentResponseTestingTemplateRef=p.first),BT(p=$T())&&(o.devSecOpsTemplateRef=p.first),BT(p=$T())&&(o.dataAtRestEncryptionTemplateRef=p.first),BT(p=$T())&&(o.dataInMotionEncryptionTemplateRef=p.first);}},inputs:{appName:"appName"},standalone:false,decls:58,vars:0,consts:[["salariesTemplate",""],["annualRevenueTemplate",""],["offeringIncludingTemplate",""],["revenueDependencyTemplate",""],["employeeProductivityTemplate",""],["storedRecordTypeCustomerTemplate",""],["storedRecordTypeEmployeesTemplate",""],["quantityOfIP",""],["boardInvolvement",""],["complianceFailures",""],["remoteWorkforce",""],["breachCoverage",""],["bcdrPlan",""],["threatIntelSharing",""],["idTheftProtection",""],["dataLosePrevention",""],["securityAnalytics",""],["appointedCiso",""],["soc",""],["irTeam",""],["employeeTraining",""],["vulnerabilityTesting",""],["redTeamTesting",""],["incidentResponseTesting",""],["devSecOps",""],["dataAtRestEncryption",""],["dataInMotionEncryption",""],["publiclyDisclosedBreach",""],["mediaCoverage",""],[1,"template-wrapper"],[1,"no-margin"],[1,"list","numbered-list"],[1,"no-margin-bottom"],[1,"list","asterisk-list"]],template:function(n,o){n&1&&Om(0,Qa,7,1,"ng-template",null,0,GC)(2,Ya,5,1,"ng-template",null,1,GC)(4,za,5,1,"ng-template",null,2,GC)(6,Ha,12,1,"ng-template",null,3,GC)(8,Ka,7,0,"ng-template",null,4,GC)(10,Wa,13,1,"ng-template",null,5,GC)(12,Za,13,1,"ng-template",null,6,GC)(14,Ja,2,0,"ng-template",null,7,GC)(16,Xa,2,0,"ng-template",null,8,GC)(18,er,2,0,"ng-template",null,9,GC)(20,tr,2,0,"ng-template",null,10,GC)(22,nr,2,0,"ng-template",null,11,GC)(24,or,2,0,"ng-template",null,12,GC)(26,ir,2,0,"ng-template",null,13,GC)(28,ar,2,0,"ng-template",null,14,GC)(30,rr,2,0,"ng-template",null,15,GC)(32,lr,2,0,"ng-template",null,16,GC)(34,sr,2,0,"ng-template",null,17,GC)(36,cr,2,0,"ng-template",null,18,GC)(38,pr,2,0,"ng-template",null,19,GC)(40,mr,2,0,"ng-template",null,20,GC)(42,dr,2,0,"ng-template",null,21,GC)(44,ur,2,0,"ng-template",null,22,GC)(46,fr,2,0,"ng-template",null,23,GC)(48,gr,2,0,"ng-template",null,24,GC)(50,_r,2,0,"ng-template",null,25,GC)(52,Cr,2,0,"ng-template",null,26,GC)(54,hr,2,0,"ng-template",null,27,GC)(56,yr,2,0,"ng-template",null,28,GC);},dependencies:[xo],styles:['[_nghost-%COMP%]{display:none}.template-wrapper[_ngcontent-%COMP%]{padding:0 10px}.template-wrapper[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]{padding:0 20px;margin:10px 0}.template-wrapper[_ngcontent-%COMP%] .list.numbered-list[_ngcontent-%COMP%]{list-style:decimal}.template-wrapper[_ngcontent-%COMP%] .list.asterisk-list[_ngcontent-%COMP%]{list-style:none}.template-wrapper[_ngcontent-%COMP%] .list.asterisk-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{position:relative}.template-wrapper[_ngcontent-%COMP%] .list.asterisk-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:last-of-type){margin-bottom:5px}.template-wrapper[_ngcontent-%COMP%] .list.asterisk-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{content:"*";position:absolute;
11left:-10px;top:0}.no-margin[_ngcontent-%COMP%]{margin:0}.no-margin-top[_ngcontent-%COMP%]{margin:0 0 1em}.no-margin-bottom[_ngcontent-%COMP%]{margin:1em 0 0}.questionnaire-tooltip-text[_ngcontent-%COMP%]{width:200px}']});}}return e})();function br(e,s){if(e&1&&(ls(0,"label"),mC(1),au()),e&2){let t=LT();yg("mandatory",t.mandatory),VD(),Mg(t.label);}}function Or(e,s){if(e&1&&Zm(0,"cye-icon",7),e&2){LT(2);let t=qT(4);Qm("content-type","template")("icon","info")("placement","right")("tooltip",t);}}function xr(e,s){if(e&1&&(ls(0,"div",5),Zm(1,"label",6),Om(2,Or,1,4,"cye-icon",4),au()),e&2){let t=LT();VD(),yg("mandatory",t.mandatory),Qm("innerHTML",t.innerHtmlLabel,BE),VD(),Qm("ngIf",t.showInfo);}}function Mr(e,s){if(e&1&&Zm(0,"cye-icon",7),e&2){LT();let t=qT(4);Qm("content-type","template")("icon","info")("placement","right")("tooltip",t);}}function vr(e,s){e&1&&Jm(0);}function Pr(e,s){if(e&1&&(uu(0),Om(1,vr,1,0,"ng-container",9),xs()),e&2){let t=LT(2);VD(),Qm("ngTemplateOutlet",t.description);}}function wr(e,s){if(e&1&&(ls(0,"p",10),mC(1),au()),e&2){let t=LT(2);VD(),fu(" ",t.description," ");}}function Tr(e,s){if(e&1&&(Om(0,Pr,2,1,"ng-container",8),VC(1,"isString"),Om(2,wr,2,1,"ng-template",null,1,GC)),e&2){let t=qT(3),n=LT();Qm("ngIf",!BC(1,2,n.description))("ngIfElse",t);}}var V=(()=>{class e{constructor(){this.showInfo=true;}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=gw({type:e,selectors:[["cost-of-breach-label-tooltip"]],inputs:{label:"label",innerHtmlLabel:"innerHtmlLabel",description:"description",showInfo:"showInfo",mandatory:"mandatory"},decls:5,vars:3,consts:[["labelTooltip",""],["descriptionString",""],[3,"mandatory",4,"ngIf"],["class","label-container",4,"ngIf"],["class","info-icon",3,"content-type","icon","placement","tooltip",4,"ngIf"],[1,"label-container"],[3,"innerHTML"],[1,"info-icon",3,"content-type","icon","placement","tooltip"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet"],[1,"description"]],template:function(n,o){n&1&&Om(0,br,2,3,"label",2)(1,xr,3,4,"div",3)(2,Mr,1,4,"cye-icon",4)(3,Tr,4,4,"ng-template",null,0,GC),n&2&&(Qm("ngIf",!o.innerHtmlLabel),VD(),Qm("ngIf",o.innerHtmlLabel),VD(),Qm("ngIf",o.showInfo&&!o.innerHtmlLabel));},dependencies:[xe,ut,he,ne$1,Nn,pn,Fn,eo],styles:['[_nghost-%COMP%]{z-index:2}[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:var(--text-color-secondary);align-self:flex-start}[_nghost-%COMP%]{min-width:215px}[_nghost-%COMP%] label.mandatory[_ngcontent-%COMP%]:after{color:red;content:"*"}[_nghost-%COMP%] .info-icon[_ngcontent-%COMP%]{margin-left:5px}.tooltip-label[_ngcontent-%COMP%]{margin:20px}.description[_ngcontent-%COMP%]{padding:0 10px;white-space:pre-wrap;max-width:fit-content;display:block}']});}}return e})();var mt=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275mod=_m({type:e});}static{this.\u0275inj=_a$1({imports:[V,Nn,Tt,he,Q,a,c,xe,be,Zn,Xn,nr$1,Gt,Un,Ee,_t]});}}return e})();var Er=()=>({width:"240px"});function Br(e,s){e&1&&(ls(0,"p",5),mC(1,'A relatively high number of questions were answered as "Unknown" which might influence the cost of breach'),au());}function Ir(e,s){if(e&1){let t=ST();uu(0),ls(1,"h1"),mC(2,"Calculator successfully updated"),au(),Zm(3,"cye-icon",2),ls(4,"cye-button",3),ig("click",function(){af(t);let o=LT();return cf(o.onViewClick())}),mC(5,"View breakdown results"),au(),Om(6,Br,2,0,"p",4),xs();}if(e&2){let t=LT();VD(4),rC(NC(3,Er)),VD(2),Qm("ngIf",t.isHighUnknown);}}function Nr(e,s){if(e&1){let t=ST();ls(0,"h2"),mC(1,"We have a problem"),au(),ls(2,"p"),mC(3," There was an error that prevented the system from completing the task. Please refresh the page. "),Zm(4,"br"),mC(5," If the problem continues, please contact [email protected] "),au(),Zm(6,"cye-icon",6),ls(7,"cye-button",3),ig("click",function(){af(t);let o=LT();return cf(o.onViewClick())}),mC(8,"Refresh"),au();}if(e&2){let t=LT();VD(7),gg("width",t.success?"240px":"170px");}}var vo=(()=>{class e{constructor(){this.isHighUnknown=false;}ngOnInit(){if(this.formValue?.questionnaire){let t=[this.formValue.offering_cybersecurity,...Object.values(this.formValue.questionnaire)];this.isHighUnknown=t.filter(n=>n===null||n==="unknown").length>t.length/2;}}onViewClick(){history.back();}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=gw({type:e,selectors:[["cost-of-breach-calculator-complete"]],hostVars:2,hostBindings:function(n,o){n&2&&yg("success",o.success);},inputs:{success:"success",formValue:"formValue"},standalone:false,decls:3,vars:2,consts:[["failed",""],[4,"ngIf","ngIfElse"],["icon","hyver-icon-hex-success"],[1,"big","shadow",3,"click"],["class","note",4,"ngIf"],[1,"note"],["icon","fail-icon",2,"transform","scale(3)"]],template:function(n,o){if(n&1&&Om(0,Ir,7,4,"ng-container",1)(1,Nr,9,2,"ng-template",null,0,GC),n&2){let p=qT(2);Qm("ngIf",o.success)("ngIfElse",p);}},dependencies:[pn,ut,rt],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:125px 0;color:var(--text-color-primary);text-align:center}[_nghost-%COMP%]:not(.success){color:var(--text-color-secondary)}[_nghost-%COMP%] h1[_ngcontent-%COMP%]{font:var(--font-24);color:var(--text-color-success)}[_nghost-%COMP%] cye-icon[_ngcontent-%COMP%]{margin:30px 10px}[_nghost-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font:var(--font-24)}[_nghost-%COMP%] .note[_ngcontent-%COMP%]{margin-top:40px;background-color:#fffbd6;border:1px solid #ffe600;box-sizing:border-box;border-radius:5px;padding:10px 20px}"],changeDetection:1});}}return e})();var Rr=e=>({"justify-content":e}),Dr=()=>({width:"240px"});function qr(e,s){if(e&1&&(Zm(0,"cye-drop-down",11),Mb()),e&2){let t=LT().$implicit;Qm("formControlName",t?.field_name)("items",t?.valueList),xb();}}function Lr(e,s){if(e&1&&(Zm(0,"cye-switch-button",12),Mb()),e&2){let t=LT().$implicit;Qm("formControlName",t?.field_name)("items",t?.valueList)("defaultValue",t.defaultValue),xb();}}function Ar(e,s){if(e&1&&(ls(0,"div",7),Zm(1,"label",8),Om(2,qr,1,2,"cye-drop-down",9)(3,Lr,1,3,"cye-switch-button",10),au()),e&2){let t=s.$implicit;VD(),Qm("innerHTML",t?.label,BE),VD(),Qm("ngIf",t?.type==="multi-choice"),VD(),Qm("ngIf",t?.type==="boolean");}}function Vr(e,s){if(e&1){let t=ST();ls(0,"cye-button",13),ig("click",function(){af(t);let o=LT();return cf(o.onBackClick())}),mC(1),au();}if(e&2){let t=LT();VD(),fu(" Part ",t.currentPart-1," ");}}function Ur(e,s){if(e&1){let t=ST();ls(0,"cye-button",14),ig("click",function(){af(t);let o=LT();return cf(o.onNextClick())}),mC(1),au();}if(e&2){let t=LT();rC(NC(3,Dr)),VD(),fu(" Continue to part ",t.currentPart+1," ");}}var $t=(()=>{class e{constructor(t){this.costOfBreachService=t,this.currentPart=1,this.totalParts=4,this.questions=this.costOfBreachService.questionnaireList,this.pageChange=new Xe;}onBackClick(){this.currentPart>1&&(this.currentPart--,this.pageChange.emit());}
11onNextClick(){this.currentPart<this.totalParts&&(this.currentPart++,this.pageChange.emit());}getFormControlName(t){return Object.keys(this.form.controls)[t]}static{this.\u0275fac=function(n){return new(n||e)(fo$1(Ye))};}static{this.\u0275cmp=gw({type:e,selectors:[["cost-of-breach-questionnaire"]],inputs:{form:"form"},outputs:{pageChange:"pageChange"},standalone:false,decls:11,vars:9,consts:[[1,"title"],[1,"current-part"],[3,"formGroup"],["class","grid-row",4,"ngFor","ngForOf"],[3,"ngStyle"],["class","secondary big shadow","iconSize","12","icon","arrow-left",3,"click",4,"ngIf"],["class","big","iconPosition","right","iconSize","12","icon","arrow-right-white",3,"style","click",4,"ngIf"],[1,"grid-row"],[3,"innerHTML"],[3,"formControlName","items",4,"ngIf"],["style","width: 360px",3,"formControlName","items","defaultValue",4,"ngIf"],[3,"formControlName","items"],[2,"width","360px",3,"formControlName","items","defaultValue"],["iconSize","12","icon","arrow-left",1,"secondary","big","shadow",3,"click"],["iconPosition","right","iconSize","12","icon","arrow-right-white",1,"big",3,"click"]],template:function(n,o){n&1&&(ls(0,"p",0),mC(1,"Complete this questionnaire to calculate the cost of breach:"),au(),ls(2,"p",1)(3,"b"),mC(4),au(),mC(5),au(),ls(6,"form",2),Om(7,Ar,4,3,"div",3),au(),ls(8,"footer",4),Om(9,Vr,2,1,"cye-button",5)(10,Ur,2,4,"cye-button",6),au()),n&2&&(VD(4),fu("Part ",o.currentPart),VD(),fu(" of ",o.totalParts,` 12`),VD(),Qm("formGroup",o.form),VD(),Qm("ngForOf",o.questions[o.currentPart-1]),VD(),Qm("ngStyle",AC(7,Rr,o.currentPart===1?"flex-end":"")),VD(),Qm("ngIf",o.currentPart>1),VD(),Qm("ngIf",o.currentPart<o.questions.length));},dependencies:[Tt$1,pn,yn,Wn,Hn,$n,Dn,Vn,zs,rt,ht],styles:['[_nghost-%COMP%] .title[_ngcontent-%COMP%]{font-size:14px;font-weight:300;margin:0 0 30px}[_nghost-%COMP%] .grid-row[_ngcontent-%COMP%]{display:flex;align-items:center;width:750px;justify-content:space-between;margin-bottom:25px;font:var(--font-14)}[_nghost-%COMP%] .grid-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:215px;color:var(--text-color-secondary)}[_nghost-%COMP%] .grid-row[_ngcontent-%COMP%] label.mandatory[_ngcontent-%COMP%]:after{color:red;content:"*"}[_nghost-%COMP%] .grid-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] i{font-family:Roboto!important;color:var(--hyver-secondary)}[_nghost-%COMP%] footer[_ngcontent-%COMP%]{width:100%;display:flex;flex-flow:row nowrap;justify-content:space-between}'],changeDetection:1});}}return e})();var nn="unknown",jt=(()=>{class e{constructor(){this._v1Form=new P({founded:new z(null,[tn({customError:{error:true,message:"The year is not valid"}})]),sector:new z(null,[be$1.required]),hq_location:new z(null,[be$1.required]),quantities:new P({employees:new z(null,[te(),n(),be$1.required]),customers:new z(null,[te(),n()]),number_of_competitors:new z(null,[te(),n()])}),salaries:new z(null,[te(),n()]),revenue:new z(null,[te(),n(),be$1.required]),offering_cybersecurity:new z(null),revenue_dependency_uptime:new z(null,[te(),l$1()]),employee_productivity:new z(null,[te(),l$1()]),customers_stored_record_type:new P({pci:new z(null),pii:new z(true),phi:new z(null)}),employees_stored_record_type:new P({pci:new z(null),pii:new z(true),phi:new z(null)}),questionnaire:new P({breach_scenario:new z(nn),network_complexity_level:new z(nn),security_quality:new z(nn),publicly_disclosed_breach:new z(null),media_coverage:new z(null),board_involvement:new z(null),compliance_failures:new z(null),remote_workforce:new z(null),breach_coverage:new z(null),bcdr_plan:new z(null),threat_intel_sharing:new z(null),id_theft_protection:new z(null),data_lose_prevention:new z(null),security_analytics:new z(null),appointed_ciso:new z(null),soc:new z(null),ir_team:new z(null),employee_training:new z(null),shortage_of_security_skill:new z(null),vulnerability_testing:new z(null),red_team_testing:new z(null),incident_response_testing:new z(null),dev_sec_ops:new z(null),data_at_rest_encryption:new z(null),data_in_motion_encryption:new z(null)})}),this._V2Form=new P({founded:new z(null,[tn({customError:{error:true,message:"The year is not val
12id"}})]),sector:new z(null,[be$1.required]),hq_location:new z(null,[be$1.required]),number_of_employees:new P({number_of_employees:new z(null,[te(),n(),be$1.required]),employees_stored_record_type:new P({pci:new z(null),pii:new z(true),phi:new z(null)})}),number_of_customers:new P({number_of_customers:new z(null,[te(),n()]),customers_stored_record_type:new P({pci:new z(null),pii:new z(true),phi:new z(null)})}),number_of_competitors:new z(null,[te(),n()]),salaries:new z(null,[te(),n()]),revenue:new z(null,[te(),n(),be$1.required]),breach_coverage:new P({breach_coverage:new z(null),policy_limit:new z(null,[te(),n()]),premium:new z(null,[te(),n()])}),revenue_dependency_uptime:new z(null,[te(),l$1()]),employee_productivity:new z(null,[te(),l$1()])});}get v1Form(){return this._v1Form}get v2Form(){return this._V2Form}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275prov=$({token:e,factory:e.\u0275fac});}}return e})();var Qt=(()=>{class e{constructor(){this.storeService=T(jt),this.authService=T(v);}getCostOfBreachForm(t){switch(t??this.authService.userProfile?.cob_version??t$1.V1){case t$1.V1:return this.storeService.v1Form;case t$1.V2:return this.storeService.v2Form;default:return this.storeService.v1Form}}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275prov=$({token:e,factory:e.\u0275fac});}}return e})();var We=(function(e){return e[e.FIRST_STEP=1]="FIRST_STEP",e[e.SECOND_STEP=2]="SECOND_STEP",e})(We||{});var Yt=(function(e){return e.FIRST_STEP_LABEL="Company info",e.SECOND_STEP_LABEL="Cost of breach",e})(Yt||{}),zt=(function(e){return e.FIRST_STEP_LABEL="Business profile",e.SECOND_STEP_LABEL="Maturity factors",e})(zt||{}),dt=(function(e){return e.FIRST_STEP="1",e.SECOND_STEP="2",e})(dt||{});var $r=["nist","nist2"],jr="NIST CSF",Qr="subcategories",wo=e=>{let s=e?.framework_key;return {count:e?.subcategories??0,frameworkLabel:e?.framework||jr,unit:e?.unit||Qr,isGenericFramework:!!s&&!$r.includes(s)}};function Yr(e,s){if(e&1){let t=ST();ls(0,"cye-button",5),ig("click",function(){af(t);let o=LT();return cf(o.onGoToMaturity())}),mC(1),au();}if(e&2){LT();let t=DC(0);VD(),fu("Go to the CoB impacting ",t.unit);}}var Ht=(()=>{class e{constructor(){this.router=T(F),this.relatedMaturity=u$(null),this.doneClicked=l$(),this.maturityCopy=kt(()=>wo(this.relatedMaturity()));}onGoToMaturity(){this.router.navigate(["/maturity"],{state:{drillDownFilters:"Impacts risk metrics"}});}onDoneClick(){this.doneClicked.emit();}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=gw({type:e,selectors:[["cost-of-breach-maturity-factor"]],inputs:{relatedMaturity:[1,"relatedMaturity"]},outputs:{doneClicked:"doneClicked"},decls:13,vars:5,consts:[[1,"explanation"],[1,"message-text"],[1,"button-container"],["icon","arrow-right-white","iconPosition","right"],[1,"secondary",3,"click"],["icon","arrow-right-white","iconPosition","right",3,"click"]],template:function(n,o){if(n&1&&(Og(0),ls(1,"p",0),mC(2,"In addition to the business profile details, "),Zm(3,"br"),mC(4," your organization\u2019s cybersecurity maturity level impacts the Cost of Breach."),au(),ls(5,"p",1),mC(6),Zm(7,"br"),mC(8," Maturity assessment that are relevant to Cost of Breach."),au(),ls(9,"footer",2),vT(10,Yr,2,1,"cye-button",3),ls(11,"cye-button",4),ig("click",function(){return o.onDoneClick()}),mC(12,"Done"),au()()),n&2){let p=EC(o.maturityCopy());VD(6),xg("There are ",p.count," ",p.frameworkLabel," ",p.unit," in "),VD(4),IT(p.isGenericFramework?-1:10);}},dependencies:[Nn,a,rt],styles:["[_nghost-%COMP%]{display:flex;flex-flow:column nowrap;align-items:center;font:var(--font-14);text-align:center}[_nghost-%COMP%] p.explanation[_ngcontent-%COMP%], [_nghost-%COMP%] p.message-text[_ngcontent-%COMP%]{color:var(--text-color-secondary)}[_nghost-%COMP%] .explanation[_ngcontent-%COMP%]{margin-bottom:20px}[_nghost-%COMP%] .message-text[_ngcontent-%COMP%]{margin-bottom:50px;font:var(--font-14-700)}[_nghost-%COMP%] .button-container[_ngcontent-%COMP%]{display:flex;flex-flow:column nowrap;gap:15px}[_nghost-%COMP%] .button-container[_ngcontent-%COMP%] cye-button[_ngcontent-%COMP%]{height:45px;width:305px}"]});}}return e})();var To=(()=>{class e{constructor(){this.tooltipContent=u$(),this.form=u$(),this.CobFCobFormFieldNames=b,this.CobFieldsIdsEnum=K;}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=gw({type:e,selectors:[["founded-field"]],inputs:{tooltipContent:[1,"tooltipContent"],form:[1,"form"]},decls:6,vars:8,consts:[[3,"formGroup"],["label","Founded",3,"description"],[1,"flex-row"],["placeholder","Enter founding year (yyyy)",1,"founded",3,"id","maxlength","formControlName"]],template:function(n,o){n&1&&(ls(0,"form",0)(1,"section"),Zm(2,"cost-of-breach-label-tooltip",1),VC(3,"tooltipDescription"),ls(4,"div",2),Zm(5,"cye-input",3),Mb(),au()()()),n&2&&(Qm("formGroup",o.form()),VD(2),Qm("description",$C(3,5,o.tooltipContent(),o.CobFCobFormFieldNames.FOUNDED)),VD(3),Qm("id",o.CobFieldsIdsEnum.QUESTIONNAIRE_FOUNDED)("maxlength",4)("formControlName",o.CobFCobFormFieldNames.FOUNDED),xb());},dependencies:[Nn,mt,V,Ii$1,fe,Xn,Wn,Hn,$n,Xt,Dn,Vn,xt],styles:["[_nghost-%COMP%]{display:block}",'section[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;margin-bottom:25px;position:relative;font:var(--font-14)}section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:215px;color:var(--text-color-secondary);margin-right:5px}section[_ngcontent-%COMP%] label.mandatory[_ngcontent-%COMP%]:after{color:red;content:"*"}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center;gap:.5rem}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:32px;text-align:right;margin-left:calc(-.5rem - 32px)}section[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{color:var(--text-color-secondary)}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin:0 0 0 auto;position:relative;gap:.5rem}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{position:relative}cye-input[_ngcontent-%COMP%], cye-drop-down[_ngcontent-%COMP%]{width:490px}.quantity-container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] label.quantity-label[_ngcontent-%COMP%]{min-width:fit-content}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] cye-icon[_ngcontent-%COMP%]{margin-left:5px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%]{display:flex;flex-flow:column nowrap}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:100px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] cye-input[_ngcontent-%COMP%]{width:135px}.checkbox-container[_ngcontent-%COMP%]{margin-top:10px}.checkbox-container[_ngcontent-%COMP%] cye-checkbox[_ngcontent-%COMP%]{margin-left:40px}@container costOfBreachCalculatorPage (width < 900px){[_nghost-%COMP%] section[_ngcontent-%COMP%]{flex-flow:column;align-items:flex-start;gap:1rem}[_nghost-%COMP%] section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:auto;margin-left:0}[_nghost-%COMP%] section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{margin:0}}']});}}return e})();var So=(()=>{class e{constructor(){this.form=u$(),this.tooltipContent=u$(),this.CobFCobFormFieldNames=b,this.CobFieldsIdsEnum=K;}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=gw({type:e,selectors:[["sector-field"]],inputs:{form:[1,"form"],tooltipContent:[1,"tooltipContent"]},decls:4,vars:6,consts:[["label","Sector","mandatory","true",3,"de
12scription"],[2,"width","100%",3,"id","formGroup"]],template:function(n,o){n&1&&(ls(0,"section"),Zm(1,"cost-of-breach-label-tooltip",0),VC(2,"tooltipDescription"),Zm(3,"company-sector-picker",1),au()),n&2&&(VD(),Qm("description",$C(2,3,o.tooltipContent(),o.CobFCobFormFieldNames.SECTOR)),VD(2),Qm("id",o.CobFieldsIdsEnum.QUESTIONNAIRE_SECTOR)("formGroup",o.form()));},dependencies:[Nn,V,Xn,$n,Dn,qe,Ge,xt],styles:['section[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;margin-bottom:25px;position:relative;font:var(--font-14)}section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:215px;color:var(--text-color-secondary);margin-right:5px}section[_ngcontent-%COMP%] label.mandatory[_ngcontent-%COMP%]:after{color:red;content:"*"}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center;gap:.5rem}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:32px;text-align:right;margin-left:calc(-.5rem - 32px)}section[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{color:var(--text-color-secondary)}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin:0 0 0 auto;position:relative;gap:.5rem}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{position:relative}cye-input[_ngcontent-%COMP%], cye-drop-down[_ngcontent-%COMP%]{width:490px}.quantity-container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] label.quantity-label[_ngcontent-%COMP%]{min-width:fit-content}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] cye-icon[_ngcontent-%COMP%]{margin-left:5px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%]{display:flex;flex-flow:column nowrap}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:100px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] cye-input[_ngcontent-%COMP%]{width:135px}.checkbox-container[_ngcontent-%COMP%]{margin-top:10px}.checkbox-container[_ngcontent-%COMP%] cye-checkbox[_ngcontent-%COMP%]{margin-left:40px}@container costOfBreachCalculatorPage (width < 900px){[_nghost-%COMP%] section[_ngcontent-%COMP%]{flex-flow:column;align-items:flex-start;gap:1rem}[_nghost-%COMP%] section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:auto;margin-left:0}[_nghost-%COMP%] section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{margin:0}}']});}}return e})();var Eo=(()=>{class e{constructor(){this.optionsList=u$(),this.tooltipContent=u$(),this.form=u$(),this.CobFCobFormFieldNames=b,this.CobFieldsIdsEnum=K;}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=gw({type:e,selectors:[["hq-location-field"]],inputs:{optionsList:[1,"optionsList"],tooltipContent:[1,"tooltipContent"],form:[1,"form"]},decls:5,vars:10,consts:[[3,"formGroup"],["label","HQ location","mandatory","true",3,"description"],["placeholder","Select or type to search country",1,"hq-location",3,"id","showInputErrors","items","formControlName","enableSearch"]],template:function(n,o){n&1&&(ls(0,"form",0)(1,"section"),Zm(2,"cost-of-breach-label-tooltip",1),VC(3,"tooltipDescription"),Zm(4,"cye-drop-down",2),Mb(),au()()),n&2&&(Qm("formGroup",o.form()),VD(2),Qm("description",$C(3,7,o.tooltipContent(),o.CobFCobFormFieldNames.HQ_LOCATION.split("_").join(""))),VD(2),Qm("id",o.CobFieldsIdsEnum.QUESTIONNAIRE_HQ_LOCATION)("showInputErrors",false)("items",o.optionsList())("formControlName",o.CobFCobFormFieldNames.HQ_LOCATION)("enableSearch",true),xb());},dependencies:[Nn,V,nr$1,zs,Xn,Wn,Hn,$n,Dn,Vn,xt],styles:['section[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;margin-bottom:25px;position:relative;font:var(--font-14)}section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:215px;color:var(--text-color-secondary);margin-right:5px}section[_ngcontent-%COMP%] label.mandatory[_ngcontent-%COMP%]:after{color:red;content:"*"}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center;gap:.5rem}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:32px;text-align:right;margin-left:calc(-.5rem - 32px)}section[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{color:var(--text-color-secondary)}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin:0 0 0 auto;position:relative;gap:.5rem}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{position:relative}cye-input[_ngcontent-%COMP%], cye-drop-down[_ngcontent-%COMP%]{width:490px}.quantity-container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] label.quantity-label[_ngcontent-%COMP%]{min-width:fit-content}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] cye-icon[_ngcontent-%COMP%]{margin-left:5px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%]{display:flex;flex-flow:column nowrap}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:100px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] cye-input[_ngcontent-%COMP%]{width:135px}.checkbox-container[_ngcontent-%COMP%]{margin-top:10px}.checkbox-container[_ngcontent-%COMP%] cye-checkbox[_ngcontent-%COMP%]{margin-left:40px}@container costOfBreachCalculatorPage (width < 900px){[_nghost-%COMP%] section[_ngcontent-%COMP%]{flex-flow:column;align-items:flex-start;gap:1rem}[_nghost-%COMP%] section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:auto;margin-left:0}[_nghost-%COMP%] section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{margin:0}}']});}}return e})();function Hr(e,s){if(e&1&&(ls(0,"div",5)(1,"div",6)(2,"label",7),mC(3),au(),Zm(4,"cye-icon",8),VC(5,"tooltipDescription"),au(),Zm(6,"cye-input",9),Mb(),au()),e&2){let t=s.$implicit,n=LT();VD(2),yg("mandatory",t.value==="employees"),VD(),Mg(t.label),VD(),Qm("icon","info")("tooltip",$C(5,9,n.tooltipContent(),"quantityof"+t?.text?.toLowerCase())),VD(2),Qm("id",wC("questionnaire-",t.value))("formControlName",t.value)("placeholder","Quantity"),xb();}}var Bo=(()=>{class e{constructor(){this.quantities=u$(),this.form=u$(),this.tooltipContent=u$(),this.field=u$();}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=gw({type:e,selectors:[["quantities-field"]],inputs:{quantities:[1,"quantities"],form:[1,"form"],tooltipContent:[1,"tooltipContent"],field:[1,"field"]},decls:5,vars:3,consts:[[3,"formGroup"],[2,"align-items","flex-start"],["label","Number of",3,"showInfo"],[1,"quantity-container"],["formGroupName","quantities","class","quantities",4,"ngFor","ngForOf"],["formGroupName","quantities",1,"quantities"],[1,"label-container"],[1,"quantity-label"],[3,"icon","tooltip"],["type","number",1,"quantity-of-input",3,"id","formControlName","placeholder"]],template:function(n,o){n&1&&(ls(0,"form",0)(1,"section",1),Zm(2,"cost-of-breach-label-tooltip",2),ls(3,"div",3),Om(4,Hr,7,12,"div",4),au()()()),n&2&&(Qm("formGroup",o.form()),VD(2),Qm("showInfo",fal
12se),VD(2),Qm("ngForOf",o.quantities()));},dependencies:[Nn,Tt$1,V,xe,ut,he,ne$1,Xn,Wn,Hn,$n,Dn,Vn,At,Ii$1,fe,xt],styles:['section[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;margin-bottom:25px;position:relative;font:var(--font-14)}section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:215px;color:var(--text-color-secondary);margin-right:5px}section[_ngcontent-%COMP%] label.mandatory[_ngcontent-%COMP%]:after{color:red;content:"*"}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center;gap:.5rem}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:32px;text-align:right;margin-left:calc(-.5rem - 32px)}section[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{color:var(--text-color-secondary)}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin:0 0 0 auto;position:relative;gap:.5rem}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{position:relative}cye-input[_ngcontent-%COMP%], cye-drop-down[_ngcontent-%COMP%]{width:490px}.quantity-container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] label.quantity-label[_ngcontent-%COMP%]{min-width:fit-content}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] cye-icon[_ngcontent-%COMP%]{margin-left:5px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%]{display:flex;flex-flow:column nowrap}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:100px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] cye-input[_ngcontent-%COMP%]{width:135px}.checkbox-container[_ngcontent-%COMP%]{margin-top:10px}.checkbox-container[_ngcontent-%COMP%] cye-checkbox[_ngcontent-%COMP%]{margin-left:40px}@container costOfBreachCalculatorPage (width < 900px){[_nghost-%COMP%] section[_ngcontent-%COMP%]{flex-flow:column;align-items:flex-start;gap:1rem}[_nghost-%COMP%] section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:auto;margin-left:0}[_nghost-%COMP%] section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{margin:0}}']});}}return e})();var No=(()=>{class e{constructor(){this.form=u$(),this.tooltipContent=u$(),this.CobFieldsIdsEnum=K,this.CobFormFieldNames=b,this.currency=X.currency,this.usdConversionRate=X.usdConversionRate;}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=gw({type:e,selectors:[["salaries-field"]],inputs:{form:[1,"form"],tooltipContent:[1,"tooltipContent"]},decls:9,vars:13,consts:[[3,"formGroup"],["label","Salaries",3,"description"],[1,"input-container"],[1,"sign"],["type","number","placeholder","Enter amount",3,"id","formControlName","maxlength","currency","usdConversionRate"]],template:function(n,o){n&1&&(ls(0,"form",0)(1,"section"),Zm(2,"cost-of-breach-label-tooltip",1),VC(3,"tooltipDescription"),ls(4,"div",2)(5,"span",3),mC(6),VC(7,"currencySymbol"),au(),Zm(8,"cye-input-currency",4),Mb(),au()()()),n&2&&(Qm("formGroup",o.form()),VD(2),Qm("description",$C(3,8,o.tooltipContent(),"salaries")),VD(4),Mg(BC(7,11,o.currency())),VD(2),Qm("id",o.CobFieldsIdsEnum.QUESTIONNAIRE_SALARIES)("formControlName",o.CobFormFieldNames.SALARIES)("maxlength",20)("currency",o.currency())("usdConversionRate",o.usdConversionRate()),xb());},dependencies:[Nn,V,Ii$1,gi,Xn,Wn,Hn,$n,Xt,Dn,Vn,xt,$$1],styles:['section[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;margin-bottom:25px;position:relative;font:var(--font-14)}section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:215px;color:var(--text-color-secondary);margin-right:5px}section[_ngcontent-%COMP%] label.mandatory[_ngcontent-%COMP%]:after{color:red;content:"*"}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center;gap:.5rem}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:32px;text-align:right;margin-left:calc(-.5rem - 32px)}section[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{color:var(--text-color-secondary)}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin:0 0 0 auto;position:relative;gap:.5rem}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{position:relative}cye-input[_ngcontent-%COMP%], cye-drop-down[_ngcontent-%COMP%]{width:490px}.quantity-container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] label.quantity-label[_ngcontent-%COMP%]{min-width:fit-content}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] cye-icon[_ngcontent-%COMP%]{margin-left:5px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%]{display:flex;flex-flow:column nowrap}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:100px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] cye-input[_ngcontent-%COMP%]{width:135px}.checkbox-container[_ngcontent-%COMP%]{margin-top:10px}.checkbox-container[_ngcontent-%COMP%] cye-checkbox[_ngcontent-%COMP%]{margin-left:40px}@container costOfBreachCalculatorPage (width < 900px){[_nghost-%COMP%] section[_ngcontent-%COMP%]{flex-flow:column;align-items:flex-start;gap:1rem}[_nghost-%COMP%] section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:auto;margin-left:0}[_nghost-%COMP%] section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{margin:0}}']});}}return e})();var ko=(()=>{class e{constructor(){this.form=u$(),this.tooltipContent=u$(),this.CobFCobFormFieldNames=b,this.CobFieldsIdsEnum=K,this.currency=X.currency,this.usdConversionRate=X.usdConversionRate;}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=gw({type:e,selectors:[["annual-revenue-field"]],inputs:{form:[1,"form"],tooltipContent:[1,"tooltipContent"]},decls:9,vars:13,consts:[[3,"formGroup"],["label","Annual revenue","mandatory","true",3,"de
12scription"],[1,"input-container"],[1,"sign"],["type","number","placeholder","Enter amount",3,"id","formControlName","maxlength","currency","usdConversionRate"]],template:function(n,o){if(n&1&&(ls(0,"form",0)(1,"section"),Zm(2,"cost-of-breach-label-tooltip",1),VC(3,"tooltipDescription"),ls(4,"div",2)(5,"span",3),mC(6),VC(7,"currencySymbol"),au(),Zm(8,"cye-input-currency",4),Mb(),au()()()),n&2){let p=o.currency();Qm("formGroup",o.form()),VD(2),Qm("description",$C(3,8,o.tooltipContent(),"annual"+o.CobFCobFormFieldNames.REVENUE)),VD(4),Mg(BC(7,11,p)),VD(2),Qm("id",o.CobFieldsIdsEnum.QUESTIONNAIRE_ANNUAL_REVENUE)("formControlName",o.CobFCobFormFieldNames.REVENUE)("maxlength",20)("currency",p)("usdConversionRate",o.usdConversionRate()),xb();}},dependencies:[Nn,V,Ii$1,gi,Xn,Wn,Hn,$n,Xt,Dn,Vn,xt,$$1],styles:['section[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;margin-bottom:25px;position:relative;font:var(--font-14)}section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:215px;color:var(--text-color-secondary);margin-right:5px}section[_ngcontent-%COMP%] label.mandatory[_ngcontent-%COMP%]:after{color:red;content:"*"}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center;gap:.5rem}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:32px;text-align:right;margin-left:calc(-.5rem - 32px)}section[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{color:var(--text-color-secondary)}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin:0 0 0 auto;position:relative;gap:.5rem}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{position:relative}cye-input[_ngcontent-%COMP%], cye-drop-down[_ngcontent-%COMP%]{width:490px}.quantity-container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] label.quantity-label[_ngcontent-%COMP%]{min-width:fit-content}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] cye-icon[_ngcontent-%COMP%]{margin-left:5px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%]{display:flex;flex-flow:column nowrap}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:100px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] cye-input[_ngcontent-%COMP%]{width:135px}.checkbox-container[_ngcontent-%COMP%]{margin-top:10px}.checkbox-container[_ngcontent-%COMP%] cye-checkbox[_ngcontent-%COMP%]{margin-left:40px}@container costOfBreachCalculatorPage (width < 900px){[_nghost-%COMP%] section[_ngcontent-%COMP%]{flex-flow:column;align-items:flex-start;gap:1rem}[_nghost-%COMP%] section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:auto;margin-left:0}[_nghost-%COMP%] section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{margin:0}}']});}}return e})();var Fo=(()=>{class e{constructor(){this.form=u$(),this.tooltipContent=u$(),this.offeringItems=u$(),this.CobFCobFormFieldNames=b;}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=gw({type:e,selectors:[["offering-cybersecurity-field"]],inputs:{form:[1,"form"],tooltipContent:[1,"tooltipContent"],offeringItems:[1,"offeringItems"]},decls:5,vars:7,consts:[[3,"formGroup"],["label","Offering includes cybersecurity",3,"description"],[3,"formControlName","items"]],template:function(n,o){n&1&&(ls(0,"form",0)(1,"section"),Zm(2,"cost-of-breach-label-tooltip",1),VC(3,"tooltipDescription"),Zm(4,"cye-switch-button",2),Mb(),au()()),n&2&&(Qm("formGroup",o.form()),VD(2),Qm("description",$C(3,4,o.tooltipContent(),"offeringincluding")),VD(2),Qm("formControlName",o.CobFCobFormFieldNames.OFFERING_CYBERSECURITY)("items",o.offeringItems()),xb());},dependencies:[Nn,Xn,Wn,Hn,$n,Dn,Vn,V,bt$1,ht,xt],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] cye-switch-button[_ngcontent-%COMP%]{margin:0 0 0 auto}",'section[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;margin-bottom:25px;position:relative;font:var(--font-14)}section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:215px;color:var(--text-color-secondary);margin-right:5px}section[_ngcontent-%COMP%] label.mandatory[_ngcontent-%COMP%]:after{color:red;content:"*"}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center;gap:.5rem}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:32px;text-align:right;margin-left:calc(-.5rem - 32px)}section[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{color:var(--text-color-secondary)}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin:0 0 0 auto;position:relative;gap:.5rem}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{position:relative}cye-input[_ngcontent-%COMP%], cye-drop-down[_ngcontent-%COMP%]{width:490px}.quantity-container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] label.quantity-label[_ngcontent-%COMP%]{min-width:fit-content}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] cye-icon[_ngcontent-%COMP%]{margin-left:5px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%]{display:flex;flex-flow:column nowrap}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:100px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] cye-input[_ngcontent-%COMP%]{width:135px}.checkbox-container[_ngcontent-%COMP%]{margin-top:10px}.checkbox-container[_ngcontent-%COMP%] cye-checkbox[_ngcontent-%COMP%]{margin-left:40px}@container costOfBreachCalculatorPage (width < 900px){[_nghost-%COMP%] section[_ngcontent-%COMP%]{flex-flow:column;align-items:flex-start;gap:1rem}[_nghost-%COMP%] section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:auto;margin-left:0}[_nghost-%COMP%] section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{margin:0}}']});}}return e})();var Ro=(()=>{class e{constructor(){this.form=u$(),this.tooltipContent=u$(),this.CobFieldsIdsEnum=K,this.CobFormFieldNames=b;}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=gw({type:e,selectors:[["revenue-dependency-field"]],inputs:{form:[1,"form"],tooltipContent:[1,"tooltipContent"]},decls:8,vars:7,consts:[[3,"formGroup"],["label","Revenue dependency on uptime",3,"de
12scription"],[1,"percentage-container"],[1,"sign"],["type","number","placeholder","Enter percentage",3,"id","formControlName"]],template:function(n,o){n&1&&(ls(0,"form",0)(1,"section"),Zm(2,"cost-of-breach-label-tooltip",1),VC(3,"tooltipDescription"),ls(4,"span",2)(5,"span",3),mC(6,"%"),au(),Zm(7,"cye-input",4),Mb(),au()()()),n&2&&(Qm("formGroup",o.form()),VD(2),Qm("description",$C(3,4,o.tooltipContent(),"revenuedependency")),VD(5),Qm("id",o.CobFieldsIdsEnum.QUESTIONNAIRE_REVENUE_DEPENDENCY)("formControlName",o.CobFormFieldNames.REVENUE_DEPENDENCY_UPTIME),xb());},dependencies:[Nn,V,Ii$1,fe,Xn,Wn,Hn,$n,Dn,Vn,xt],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] cye-input[_ngcontent-%COMP%]{width:135px}",'section[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;margin-bottom:25px;position:relative;font:var(--font-14)}section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:215px;color:var(--text-color-secondary);margin-right:5px}section[_ngcontent-%COMP%] label.mandatory[_ngcontent-%COMP%]:after{color:red;content:"*"}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center;gap:.5rem}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:32px;text-align:right;margin-left:calc(-.5rem - 32px)}section[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{color:var(--text-color-secondary)}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin:0 0 0 auto;position:relative;gap:.5rem}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{position:relative}cye-input[_ngcontent-%COMP%], cye-drop-down[_ngcontent-%COMP%]{width:490px}.quantity-container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] label.quantity-label[_ngcontent-%COMP%]{min-width:fit-content}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] cye-icon[_ngcontent-%COMP%]{margin-left:5px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%]{display:flex;flex-flow:column nowrap}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:100px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] cye-input[_ngcontent-%COMP%]{width:135px}.checkbox-container[_ngcontent-%COMP%]{margin-top:10px}.checkbox-container[_ngcontent-%COMP%] cye-checkbox[_ngcontent-%COMP%]{margin-left:40px}@container costOfBreachCalculatorPage (width < 900px){[_nghost-%COMP%] section[_ngcontent-%COMP%]{flex-flow:column;align-items:flex-start;gap:1rem}[_nghost-%COMP%] section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:auto;margin-left:0}[_nghost-%COMP%] section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{margin:0}}']});}}return e})();var Do=(()=>{class e{constructor(){this.form=u$(),this.tooltipContent=u$(),this.CobFCobFormFieldNames=b,this.CobFieldsIdsEnum=K;}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=gw({type:e,selectors:[["employee-productivity-field"]],inputs:{form:[1,"form"],tooltipContent:[1,"tooltipContent"]},decls:8,vars:7,consts:[[3,"formGroup"],["label","Employee productivity dependency on uptime",3,"description"],[1,"percentage-container"],[1,"sign"],["type","number","placeholder","Enter percentage",3,"id","formControlName"]],template:function(n,o){n&1&&(ls(0,"form",0)(1,"section"),Zm(2,"cost-of-breach-label-tooltip",1),VC(3,"tooltipDescription"),ls(4,"span",2)(5,"span",3),mC(6,"%"),au(),Zm(7,"cye-input",4),Mb(),au()()()),n&2&&(Qm("formGroup",o.form()),VD(2),Qm("description",$C(3,4,o.tooltipContent(),o.CobFCobFormFieldNames.EMPLOYEE_PRODUCTIVITY.split("_").join(""))),VD(5),Qm("id",o.CobFieldsIdsEnum.QUESTIONNAIRE_EMPLOYEE_PRODUCTIVITY)("formControlName",o.CobFCobFormFieldNames.EMPLOYEE_PRODUCTIVITY),xb());},dependencies:[Nn,Xn,Wn,Hn,$n,Dn,Vn,V,Ii$1,fe,xt],styles:["[_nghost-%COMP%] cye-input[_ngcontent-%COMP%]{width:135px}",'section[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;margin-bottom:25px;position:relative;font:var(--font-14)}section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:215px;color:var(--text-color-secondary);margin-right:5px}section[_ngcontent-%COMP%] label.mandatory[_ngcontent-%COMP%]:after{color:red;content:"*"}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center;gap:.5rem}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:32px;text-align:right;margin-left:calc(-.5rem - 32px)}section[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{color:var(--text-color-secondary)}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin:0 0 0 auto;position:relative;gap:.5rem}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{position:relative}cye-input[_ngcontent-%COMP%], cye-drop-down[_ngcontent-%COMP%]{width:490px}.quantity-container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] label.quantity-label[_ngcontent-%COMP%]{min-width:fit-content}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] cye-icon[_ngcontent-%COMP%]{margin-left:5px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%]{display:flex;flex-flow:column nowrap}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:100px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] cye-input[_ngcontent-%COMP%]{width:135px}.checkbox-container[_ngcontent-%COMP%]{margin-top:10px}.checkbox-container[_ngcontent-%COMP%] cye-checkbox[_ngcontent-%COMP%]{margin-left:40px}@container costOfBreachCalculatorPage (width < 900px){[_nghost-%COMP%] section[_ngcontent-%COMP%]{flex-flow:column;align-items:flex-start;gap:1rem}[_nghost-%COMP%] section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:auto;margin-left:0}[_nghost-%COMP%] section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{margin:0}}']});}}return e})();function Kr(e,s){if(e&1&&Zm(0,"cye-icon",4),e&2){let t=LT();Qm("content-type",t.contentType())("icon","info")("tooltip",t.tooltip());}}function Wr(e,s){if(e&1&&(ls(0,"cye-checkbox",7),mC(1),au(),Mb()),e&2){let t=s.$implicit,n=LT();Qm("id",bC(n.id()+"_"+t?.value))("tooltip",t.tooltipContent)("formControlName",t?.value),xb(),VD(),fu(" ",t?.label," ");}}var ft=(()=>{class e{constructor(){this.formGroupName=u$(),this.form=u$(),this.recordTypes=u$(),this.id=u$.required(),this.tooltipContent=u$(),this.fieldName=u$(),this.labelText=u$(),this.tooltip=kt(()=>new xt().transform(this.tooltipContent(),this.fieldName())),this.contentType=kt(()=>typeof this.tooltip()=="string"?"string":"template"),this.layout=u$("column");}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=gw({type:e,selectors:[["stored-record-type"]],inputs:{formGroupName:[1,"formGroupName"],form:[1,"form"],recordTypes:[1,"recordTypes"],id:[1,"id"],tooltipContent:[1,"tooltipContent"],fieldName:[1,"fieldName"],labelText:[1,"labelText"],layout:[1,"layout"]},decls:8,vars:7,consts:[[3,"formGroup"],[1,"flex-nowrap",3,"ngClass"],[1,"label-container"],[1,"label-text"],[3,"content-type","icon","tooltip"],[1,"checkbox-container","flex-row","flex-nowrap",3,"ngClass","formGroupName"],[3,"id","tooltip","formControlName",4,"ngFor","ngForOf"],[3,"id","tooltip","formControlName"]],template:function(n,o){n&1&&(ls(0,"form",0)(1,"div",1)(2,"div",2)(3,"label",3),mC(4),au(),vT(5,Kr,1,3,"cye-icon",4),au(),ls(6,"div",5),Om(7,Wr,2,5,"cye-checkbox",6),au()()()),n&2&&(Qm("formGroup",o.form()),VD(),Qm("ngClass",o.layout()==="row"?"flex-row":"flex-column"),VD(3),Mg(o.labelText()),VD(),IT(o.tooltip()?5:-1),VD(),Qm("ngClass",o.layout())("formGroupName",o.formGroupName()),VD(),Qm("ngForOf",o.recordTypes()));},dependencies:[Nn,hn,Tt$1,Ee,we$3,xe,ut,Xn,Wn,Hn,$n,Dn,Vn,At,he,ne$1],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] .label-text[_ngcontent-%COMP%]{white-space:nowrap}[_nghost-%COMP%] .checkbox-container.column[_ngcontent-%COMP%]{margin-top:10px}[_nghost-%COMP%] .checkbox-container.column[_ngcontent-%COMP%] cye-checkbox[_ngcontent-%COMP%]{margin-left:40px}[_nghost-%COMP%] .checkbox-container.row[_ngcontent-%COMP%] cye-checkbox[_ngcontent-%COMP%]:first-of-type{margin-left:20px}[_nghost-%COMP%] .checkbox-container.row[_ngcontent-%COMP%] cye-checkbox[_ngcontent-%COMP%]:not(:first-of-type){margin-left:30px}[_nghost-%COMP%] cye-icon[_ngcontent-%COMP%]{margin-left:5px}[_nghost-%COMP%] .flex-nowrap[_ngcontent-%COMP%]{flex-wrap:nowrap}[_nghost-%COMP%] .flex-column[_ngcontent-%COMP%]{flex-direction:column}[_nghost-%COMP%] .flex-row[_ngcontent-%COMP%]{flex-direction:row}"]});}}return e})();var qo=(()=>{class e{constructor(){this.form=u$(),this.tooltipContent=u$(),this.recordTypes=u$(),this.layout=u$("column"),this.CobFieldsIdsEnum=K,this.CobFormFieldName=b;}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=gw({type:e,selectors:[["stored-record-type-field"]],inputs:{form:[1,"form"],tooltipContent:[1,"tooltipContent"],recordTypes:[1,"recordTypes"],layout:[1,"layout"]},decls:7,vars:16,consts:[[3,"formGroup"],["label","Stored record type",2,"align-self","start","height","117px",3,"showInfo"],[1,"flex-column","flex-nowrap","customers-container"],["fieldName","storedrecordtypecustomer",3,"id","recordTypes","formGroupName","labelText","form","layout","tooltipContent"],[1,"flex-column","flex-nowrap","employees-container"],["fieldName","storedrecordtypeemployees",3,"id","recordTypes","formGroupName","labelText","form","layout","tooltipContent"]],template:function(n,o){n&1&&(ls(0,"form",0)(1,"section"),Zm(2,"cost-of-breach-label-tooltip",1),ls(3,"div",2),Zm(4,"
12stored-record-type",3),ls(5,"div",4),Zm(6,"stored-record-type",5),au()()()()),n&2&&(Qm("formGroup",o.form()),VD(2),Qm("showInfo",false),VD(2),Qm("id",o.CobFieldsIdsEnum.CUSTOMERS)("recordTypes",o.recordTypes())("formGroupName",o.CobFormFieldName.CUSTOMERS_STORED_RECORD_TYPE)("labelText","Customers:")("form",o.form())("layout",o.layout())("tooltipContent",o.tooltipContent()),VD(2),Qm("id",o.CobFieldsIdsEnum.EMPLOYEES)("recordTypes",o.recordTypes())("formGroupName",o.CobFormFieldName.EMPLOYEES_STORED_RECORD_TYPE)("labelText","Employees:")("form",o.form())("layout",o.layout())("tooltipContent",o.tooltipContent()));},dependencies:[Nn,Xn,Wn,$n,Dn,At,ft,V,xe,he,Ee],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] .employees-container[_ngcontent-%COMP%]{margin-top:20px}",'section[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;margin-bottom:25px;position:relative;font:var(--font-14)}section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:215px;color:var(--text-color-secondary);margin-right:5px}section[_ngcontent-%COMP%] label.mandatory[_ngcontent-%COMP%]:after{color:red;content:"*"}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center;gap:.5rem}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:32px;text-align:right;margin-left:calc(-.5rem - 32px)}section[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{color:var(--text-color-secondary)}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin:0 0 0 auto;position:relative;gap:.5rem}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{position:relative}cye-input[_ngcontent-%COMP%], cye-drop-down[_ngcontent-%COMP%]{width:490px}.quantity-container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] label.quantity-label[_ngcontent-%COMP%]{min-width:fit-content}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] cye-icon[_ngcontent-%COMP%]{margin-left:5px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%]{display:flex;flex-flow:column nowrap}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:100px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] cye-input[_ngcontent-%COMP%]{width:135px}.checkbox-container[_ngcontent-%COMP%]{margin-top:10px}.checkbox-container[_ngcontent-%COMP%] cye-checkbox[_ngcontent-%COMP%]{margin-left:40px}@container costOfBreachCalculatorPage (width < 900px){[_nghost-%COMP%] section[_ngcontent-%COMP%]{flex-flow:column;align-items:flex-start;gap:1rem}[_nghost-%COMP%] section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:auto;margin-left:0}[_nghost-%COMP%] section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{margin:0}}']});}}return e})();var Lo=(()=>{class e{constructor(){this.form=u$(),this.recordTypes=u$(),this.tooltipContent=u$(),this.CobFCobFormFieldNames=b,this.CobFieldsIdsEnum=K;}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=gw({type:e,selectors:[["number-of-employees-field"]],inputs:{form:[1,"form"],recordTypes:[1,"recordTypes"],tooltipContent:[1,"tooltipContent"]},decls:8,vars:16,consts:[[3,"formGroup"],["label","Number of employees",3,"mandatory","showInfo","description"],[1,"input-container"],["type","number","placeholder","Quantity",3,"maxlength","formControlName"],[1,"stored-record-container"],["labelText","Stored record type:","fieldName","storedrecordtypeemployees",3,"id","form","formGroupName","recordTypes","layout"]],template:function(n,o){if(n&1&&(ls(0,"form",0)(1,"section"),Zm(2,"cost-of-breach-label-tooltip",1),VC(3,"tooltipDescription"),ls(4,"div",2),Zm(5,"cye-input",3),Mb(),ls(6,"div",4),Zm(7,"stored-record-type",5),au()()()()),n&2){let p=o.form()?.controls?.number_of_employees,T=p?.controls?.number_of_employees?.value;Qm("formGroup",p),VD(2),Qm("mandatory",true)("showInfo",true)("description",$C(3,13,o.tooltipContent(),"quantityofemployees")),VD(3),Qm("maxlength",20)("formControlName",o.CobFCobFormFieldNames.NUMBER_OF_EMPLOYEES),xb(),VD(),yg("show",T),VD(),Qm("id",o.CobFieldsIdsEnum.EMPLOYEES)("form",p)("formGroupName",o.CobFCobFormFieldNames.EMPLOYEES_STORED_RECORD_TYPE)("recordTypes",o.recordTypes())("layout","row");}},dependencies:[Nn,V,ft,nr$1,Xn,Wn,Hn,$n,Xt,Dn,Vn,At,Ii$1,fe,xt],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] section[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center}[_nghost-%COMP%] section[_ngcontent-%COMP%] cye-input[_ngcontent-%COMP%]{width:120px;margin-right:20px}[_nghost-%COMP%] .input-container[_ngcontent-%COMP%] .stored-record-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:0fr;overflow:hidden;transition:grid-template-columns .3s ease-in-out}[_nghost-%COMP%] .input-container[_ngcontent-%COMP%] .stored-record-container[_ngcontent-%COMP%] stored-record-type[_ngcontent-%COMP%]{overflow:hidden;pointer-events:none}[_nghost-%COMP%] .input-container[_ngcontent-%COMP%] .stored-record-container.show[_ngcontent-%COMP%]{grid-template-columns:1fr}[_nghost-%COMP%] .input-container[_ngcontent-%COMP%] .stored-record-container.show[_ngcontent-%COMP%] stored-record-type[_ngcontent-%COMP%]{pointer-events:all}",'section[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;margin-bottom:25px;position:relative;font:var(--font-14)}section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:215px;color:var(--text-color-secondary);margin-right:5px}section[_ngcontent-%COMP%] label.mandatory[_ngcontent-%COMP%]:after{color:red;content:"*"}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center;gap:.5rem}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:32px;text-align:right;margin-left:calc(-.5rem - 32px)}section[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{color:var(--text-color-secondary)}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin:0 0 0 auto;position:relative;gap:.5rem}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{position:relative}cye-input[_ngcontent-%COMP%], cye-drop-down[_ngcontent-%COMP%]{width:490px}.quantity-container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] label.quantity-label[_ngcontent-%COMP%]{min-width:fit-content}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] cye-icon[_ngcontent-%COMP%]{margin-left:5px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%]{display:flex;flex-flow:column nowrap}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:100px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] cye-input[_ngcontent-%COMP%]{width:135px}.checkbox-container[_ngcontent-%COMP%]{margin-top:10px}.checkbox-container[_ngcontent-%COMP%] cye-checkbox[_ngcontent-%COMP%]{margin-left:40px}@container costOfBreachCalculatorPage (width < 900px){[_nghost-%COMP%] section[_ngcontent-%COMP%]{flex-flow:column;align-items:flex-start;gap:1rem}[_nghost-%COMP%] section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:auto;margin-left:0}[_nghost-%COMP%] section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{margin:0}}']});}}return e})();var Ao=(()=>{class e{constructor(){this.form=u$(),this.recordTypes=u$(),this.tooltipContent=u$(),this.CobFCobFormFieldNames=b,this.CobFieldsIdsEnum=K;}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=gw({type:e,selectors:[["number-of-customers-field"]],inputs:{form:[1,"form"],recordTypes:[1,"recordTypes"],tooltipContent:[1,"tooltipContent"]},decls:8,vars:15,consts:[[3,"formGroup"],["label","Customer records",3,"mandatory","showInfo","description"],[1,"input-container"],["placeholder","Quantity","type","number",3,"formControlName","maxlength"],[1,"stored-record-container"],["labelText","Stored record type:","fieldName","storedrecordtypecustomers","layout","row",3,"id","form","formGroupName","recordTypes"]],template:function(n,o){if(n&1&&(ls(0,"form",0)(1,"section"),Zm(2,"cost-of-breach-label-tooltip",1),VC(3,"tooltipDescription"),ls(4,"div",2),Zm(5,"cye-input",3),Mb(),ls(6,"div",4),Zm(7,"stored-record-type",5),au()()()()),n&2){let p=o.form()?.controls?.number_of_customers,T=p?.controls?.number_of_customers?.value;Qm("formGroup",p),VD(2),Qm("mandatory",false)("showInfo",true)("description",$C(3,12,o.tooltipContent(),"quantityofcustomers")),VD(3),Qm("formControlName",o.CobFCobFormFieldNames.NUMBER_OF_CUSTOMERS)("maxlength",20),xb(),VD(),yg("show",T),VD(),Qm("id",o.CobFieldsIdsEnum.CUSTOMERS)("form",p)("formGroupName",o.CobFCobFormFieldNames.CUSTOMERS_STORED_RECORD_TYPE)("recordTypes",o.recordTypes());}},dependencies:[Nn,V,Ii$1,fe,Xn,Wn,Hn,$n,Xt,Dn,Vn,At,ft,xt],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] section[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center}[_nghost-%COMP%] section[_ngcontent-%COMP%] cye-input[_ngcontent-%COMP%]{width:120px;margin-right:20px}[_nghost-%COMP%] .input-container[_ngcontent-%COMP%] .stored-record-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:0fr;overflow:hidden;transition:grid-template-columns .3s ease-in-out}[_nghost-%COMP%] .input-container[_ngcontent-%COMP%] .stored-record-container[_ngcontent-%COMP%] stored-record-type[_ngcontent-%COMP%]{overflow:hidden;pointer-events:none}[_nghost-%COMP%] .input-container[_ngcontent-%COMP%] .stored-record-container.show[_ngcontent-%COMP%]{grid-template-columns:1fr}[_nghost-%COMP%] .input-container[_ngcontent-%COMP%] .stored-record-container.show[_ngcontent-%COMP%] stored-record-type[_ngcontent-%COMP%]{pointer-events:all}",'section[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;margin-bottom:25px;position:relative;font:var(--font-14)}section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:215px;color:var(--text-color-secondary);margin-right:5px}section[_ngcontent-%COMP%] label.mandatory[_ngcontent-%COMP%]:after{color:red;content:"*"}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center;gap:.5rem}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:32px;text-align:right;margin-left:calc(-.5rem - 32px)}section[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{color:var(--text-color-secondary)}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin:0 0 0 auto;position:relative;gap:.5rem}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{position:relative}cye-input[_ngcontent-%COMP%], cye-drop-down[_ngcontent-%COMP%]{width:490px}.quantity-container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] label.quantity-label[_ngcontent-%COMP%]{min-width:fit-content}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] cye-icon[_ngcontent-%COMP%]{margin-left:5px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%]{display:flex;flex-flow:column nowrap}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:100px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] cye-input[_ngcontent-%COMP%]{width:135px}.checkbox-container[_ngcontent-%COMP%]{margin-top:10px}.checkbox-container[_ngcontent-%COMP%] cye-checkbox[_ngcontent-%COMP%]{margin-left:40px}@container costOfBreachCalculatorPage (width < 900px){[_nghost-%COMP%] section[_ngcontent-%COMP%]{flex-flow:column;align-items:flex-start;gap:1rem}[_nghost-%COMP%] section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:auto;margin-left:0}[_nghost-%COMP%] section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{margin:0}}']});}}return e})();function Zr(e,s){if(e&1&&(ls(0,"div",4),$i(function(){return "hide"}),Bi$1(function(){return "show"}),ls(1,"div",5)(2,"section",6)(3,"label"),mC(4,"Policy limit "),Zm(5,"cye-icon",7),VC(6,"tooltipDescription"),au(),ls(7,"div",8)(8,"span",9),mC(9),VC(10,"currencySymbol"),au(),Zm(11,"cye-input-currency",10),Mb(),au()(),ls(12,"section",11)(13,"label"),mC(14,"Premium "),Zm(15,"cye-icon",7),VC(16,"tooltipDescription"),au(),ls(17,"div",8)(18,"span",9),mC(19),VC(20,"currencySymbol"),au(),Zm(21,"cye-input-currency",10),Mb(),au()()()()),e&2){let t=LT(),n=DC(0),o=DC(1);VD(5),Qm("icon","info")("tooltip",$C(6,16,t.tooltipContent(),t.CobFCobFormFieldNames.POLICY_LIMIT)),VD(4),Mg(BC(10,19,n)),VD(2),Qm("formControlName",t.CobFCobFormFieldNames.POLICY_LIMIT)("maxlength",20)("currency",n)("usdConversionRate",o),xb(),VD(),yg("no-overflow-hidden",t.noOverflowhiddenD
12ata),VD(3),Qm("icon","info")("tooltip",$C(16,21,t.tooltipContent(),t.CobFCobFormFieldNames.PREMIUM)),VD(4),Mg(BC(20,24,n)),VD(2),Qm("formControlName",t.CobFCobFormFieldNames.PREMIUM)("maxlength",20)("currency",n)("usdConversionRate",o),xb();}}var Vo=(()=>{class e{constructor(){this.form=u$(),this.tooltipContent=u$(),this.CobFCobFormFieldNames=b,this.currency=X.currency,this.usdConversionRate=X.usdConversionRate,this.cyberInsuranceItems=Ze([{label:"Yes",value:true},{label:"No",value:false}]),this.destroyRef=T(He);}ngOnInit(){this.resetOnNoInsurance();}resetOnNoInsurance(){this.form().controls.breach_coverage.valueChanges.pipe(ne(t=>t?.breach_coverage),pt(t=>!t),rd(()=>{let t=this.form().controls.breach_coverage.controls.premium,n=this.form().controls.breach_coverage.controls.policy_limit;t.value&&t.setValue(null,{onlySelf:true,emitEvent:true}),n.value&&n.setValue(null,{onlySelf:true,emitEvent:true});}),q$1(this.destroyRef)).subscribe();}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=gw({type:e,selectors:[["cyber-insurance-field"]],inputs:{form:[1,"form"],tooltipContent:[1,"tooltipContent"]},decls:7,vars:7,consts:[[3,"formGroup"],[1,"insurance-section"],["label","Cyber insurance",3,"showInfo"],[3,"formControlName","items"],[1,"animation-wrapper"],[1,"additional-fields-container"],[1,"indented","policy-limit"],[3,"icon","tooltip"],[1,"input-container"],[1,"sign"],["type","number","placeholder","Enter amount",3,"formControlName","maxlength","currency","usdConversionRate"],[1,"indented","premium"]],template:function(n,o){if(n&1&&(Og(0)(1),ls(2,"form",0)(3,"section",1),Zm(4,"cost-of-breach-label-tooltip",2)(5,"cye-switch-button",3),Mb(),au(),vT(6,Zr,22,26,"div",4),au()),n&2){let p=o.form()?.controls?.breach_coverage,T=p?.controls?.breach_coverage?.value;EC(o.currency()),VD(),EC(o.usdConversionRate()),VD(),Qm("formGroup",p),VD(2),Qm("showInfo",false),VD(),Qm("formControlName",o.CobFCobFormFieldNames.CYBER_INSURANCE)("items",o.cyberInsuranceItems()),xb(),VD(),IT(T?6:-1);}},dependencies:[Nn,V,bt$1,ht,Xn,Wn,Hn,$n,Xt,Dn,Vn,xe,ut,Ii$1,gi,ne$1,xt,$$1],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] .indented[_ngcontent-%COMP%]{margin-left:215px}[_nghost-%COMP%] .indented[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:115px}[_nghost-%COMP%] cye-input[_ngcontent-%COMP%], [_nghost-%COMP%] cye-input-currency[_ngcontent-%COMP%]{max-width:330px}[_nghost-%COMP%] .animation-wrapper[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;grid-template-rows:1fr;overflow:hidden}[_nghost-%COMP%] .animation-wrapper.show[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_show .3s ease-in-out forwards}[_nghost-%COMP%] .animation-wrapper.hide[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_hide .3s ease-in-out forwards}[_nghost-%COMP%] .additional-fields-container[_ngcontent-%COMP%]{min-height:0;overflow:hidden}[_nghost-%COMP%] .additional-fields-container[_ngcontent-%COMP%] .policy-limit.no-overflow-hidden[_ngcontent-%COMP%], [_nghost-%COMP%] .additional-fields-container[_ngcontent-%COMP%] .premium.no-overflow-hidden[_ngcontent-%COMP%]{overflow:visible}@keyframes _ngcontent-%COMP%_show{0%{grid-template-rows:0fr;opacity:0}to{grid-template-rows:1fr;opacity:1}}@keyframes _ngcontent-%COMP%_hide{0%{grid-template-rows:1fr;opacity:1}to{grid-template-rows:0fr;opacity:0}}@container costOfBreachCalculatorPage (width < 900px){.additional-fields-container[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{margin-left:0}}",'section[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;margin-bottom:25px;position:relative;font:var(--font-14)}section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:215px;color:var(--text-color-secondary);margin-right:5px}section[_ngcontent-%COMP%] label.mandatory[_ngcontent-%COMP%]:after{color:red;content:"*"}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center;gap:.5rem}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:32px;text-align:right;margin-left:calc(-.5rem - 32px)}section[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{color:var(--text-color-secondary)}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin:0 0 0 auto;position:relative;gap:.5rem}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{position:relative}cye-input[_ngcontent-%COMP%], cye-drop-down[_ngcontent-%COMP%]{width:490px}.quantity-container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] label.quantity-label[_ngcontent-%COMP%]{min-width:fit-content}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] cye-icon[_ngcontent-%COMP%]{margin-left:5px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%]{display:flex;flex-flow:column nowrap}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:100px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] cye-input[_ngcontent-%COMP%]{width:135px}.checkbox-container[_ngcontent-%COMP%]{margin-top:10px}.checkbox-container[_ngcontent-%COMP%] cye-checkbox[_ngcontent-%COMP%]{margin-left:40px}@container costOfBreachCalculatorPage (width < 900px){[_nghost-%COMP%] section[_ngcontent-%COMP%]{flex-flow:column;align-items:flex-start;gap:1rem}[_nghost-%COMP%] section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:auto;margin-left:0}[_nghost-%COMP%] section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{margin:0}}']});}}return e})();var Uo=(()=>{class e{constructor(){this.form=u$(),this.tooltipContent=u$(),this.CobFieldsIdsEnum=K,this.CobFCobFormFieldNames=b;}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=gw({type:e,selectors:[["number-of-competitors-field"]],inputs:{form:[1,"form"],tooltipContent:[1,"tooltipContent"]},decls:5,vars:9,consts:[[3,"formGroup"],["label","Number of direct competitors",3,"mandatory","showInfo","description"],["placeholder","Quantity","type","number",3,"formControlName","maxlength"]],template:function(n,o){n&1&&(ls(0,"form",0)(1,"section"),Zm(2,"cost-of-breach-label-tooltip",1),VC(3,"tooltipDescription"),Zm(4,"cye-input",2),Mb(
12),au()()),n&2&&(Qm("formGroup",o.form()),VD(2),Qm("mandatory",false)("showInfo",true)("description",$C(3,6,o.tooltipContent(),"quantityofcompetitors")),VD(2),Qm("formControlName",o.CobFCobFormFieldNames.NUMBER_OF_COMPETITORS)("maxlength",20),xb());},dependencies:[Nn,V,Ii$1,fe,Zn,Wn,Hn,$n,Xt,Xn,Dn,Vn,xt],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] section[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center}[_nghost-%COMP%] section[_ngcontent-%COMP%] cye-input[_ngcontent-%COMP%]{width:120px;margin-right:20px}",'section[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;margin-bottom:25px;position:relative;font:var(--font-14)}section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:215px;color:var(--text-color-secondary);margin-right:5px}section[_ngcontent-%COMP%] label.mandatory[_ngcontent-%COMP%]:after{color:red;content:"*"}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center;gap:.5rem}section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:32px;text-align:right;margin-left:calc(-.5rem - 32px)}section[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{color:var(--text-color-secondary)}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin:0 0 0 auto;position:relative;gap:.5rem}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{position:relative}cye-input[_ngcontent-%COMP%], cye-drop-down[_ngcontent-%COMP%]{width:490px}.quantity-container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] label.quantity-label[_ngcontent-%COMP%]{min-width:fit-content}.quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] cye-icon[_ngcontent-%COMP%]{margin-left:5px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%]{display:flex;flex-flow:column nowrap}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:100px}.quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] cye-input[_ngcontent-%COMP%]{width:135px}.checkbox-container[_ngcontent-%COMP%]{margin-top:10px}.checkbox-container[_ngcontent-%COMP%] cye-checkbox[_ngcontent-%COMP%]{margin-left:40px}@container costOfBreachCalculatorPage (width < 900px){[_nghost-%COMP%] section[_ngcontent-%COMP%]{flex-flow:column;align-items:flex-start;gap:1rem}[_nghost-%COMP%] section[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{width:auto;margin-left:0}[_nghost-%COMP%] section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{margin:0}}']});}}return e})();var Jr=["founded"],Xr=["sector"],el=["hqLocation"],tl=["quantities"],nl=["salaries"],ol=["annualRevenue"],il=["offeringCybersecurity"],al=["revenueDependency"],rl=["employeeProductivity"],ll=["storedRecordTypes"],sl=["numberOfEmployees"],cl=["numberOfCustomers"],pl=["numberOfCompetitors"],ml=["cyberInsurance"];function dl(e,s){if(e&1&&Zm(0,"founded-field",14),e&2){let t=s.tooltipContent,n=s.form;Qm("tooltipContent",t)("form",n);}}function ul(e,s){if(e&1&&Zm(0,"sector-field",14),e&2){let t=s.tooltipContent,n=s.form;Qm("tooltipContent",t)("form",n);}}function fl(e,s){if(e&1&&Zm(0,"hq-location-field",15),e&2){let t=s.tooltipContent,n=s.form,o=s.optionsList;Qm("form",n)("tooltipContent",t)("optionsList",o);}}function gl(e,s){if(e&1&&Zm(0,"quantities-field",16),e&2){let t=s.tooltipContent,n=s.form,o=s.optionsList,p=s.field;Qm("form",n)("tooltipContent",t)("quantities",o)("field",p);}}function _l(e,s){if(e&1&&Zm(0,"salaries-field",17),e&2){let t=s.tooltipContent,n=s.form;Qm("form",n)("tooltipContent",t);}}function Cl(e,s){if(e&1&&Zm(0,"annual-revenue-field",17),e&2){let t=s.tooltipContent,n=s.form;Qm("form",n)("tooltipContent",t);}}function hl(e,s){if(e&1&&Zm(0,"offering-cybersecurity-field",18),e&2){let t=s.tooltipContent,n=s.form,o=s.optionsList;Qm("form",n)("tooltipContent",t)("offeringItems",o);}}function yl(e,s){if(e&1&&Zm(0,"revenue-dependency-field",17),e&2){let t=s.tooltipContent,n=s.form;Qm("form",n)("tooltipContent",t);}}function bl(e,s){if(e&1&&Zm(0,"employee-productivity-field",17),e&2){let t=s.tooltipContent,n=s.form;Qm("form",n)("tooltipContent",t);}}function Ol(e,s){if(e&1&&Zm(0,"stored-record-type-field",19),e&2){let t=s.tooltipContent,n=s.form,o=s.optionsList;Qm("form",n)("tooltipContent",t)("recordTypes",o)("layout","column");}}function xl(e,s){if(e&1&&Zm(0,"number-of-employees-field",20),e&2){let t=s.tooltipContent,n=s.form,o=s.optionsList;Qm("tooltipContent",t)("form",n)("recordTypes",o);}}function Ml(e,s){if(e&1&&Zm(0,"number-of-customers-field",21),e&2){let t=s.tooltipContent,n=s.form,o=s.optionsList;Qm("form",n)("recordTypes",o)("tooltipContent",t);}}function vl(e,s){if(e&1&&Zm(0,"number-of-competitors-field",17),e&2){let t=s.tooltipContent,n=s.form;Qm("form",n)("tooltipContent",t);}}function Pl(e,s){if(e&1&&Zm(0,"cyber-insurance-field",17),e&2){let t=s.form,n=s.tooltipContent;Qm("form",t)("tooltipContent",n);}}var Go=(()=>{class e extends c$1{constructor(){super(...arguments),this.foundedTemplateRef=f$("founded",{read:Xr$1}),this.sectorTemplateRef=f$("sector",{read:Xr$1}),this.hq_locationTemplateRef=f$("hqLocation",{read:Xr$1}),this.quantitiesTemplateRef=f$("quantities",{read:Xr$1}),this.salariesTemplateRef=f$("salaries",{read:Xr$1}),this.revenueTemplateRef=f$("annualRevenue",{read:Xr$1}),this.offering_cybersecurityTemplateRef=f$("offeringCybersecurity",{read:Xr$1}),this.revenue_dependency_uptimeTemplateRef=f$("revenueDependency",{read:Xr$1}),this.employee_productivityTemplateRef=f$("employeeProductivity",{read:Xr$1}),this.customers_stored_record_typeTemplateRef=f$("storedRecordTypes",{read:Xr$1}),this.number_of_employeesTemplateRef=f$("numberOfEmployees",{read:Xr$1}),this.number_of_customersTemplateRef=f$("numberOfCustomers",{read:Xr$1}),this.number_of_competitorsTemplateRef=f$("numberOfCompetitors",{read:Xr$1}),this.breach_coverageTemplateRef=f$("cyberInsurance",{read:Xr$1});}ngOnInit(){this.initTemplates();}static{this.\u0275fac=(()=>{let t;return function(o){return (t||(t=YI(e)))(o||e)}})();}static{this.\u0275cmp=gw({type:e,selectors:[["cost-of-breach-form-field-templates"]],viewQuery:function(n,o){n&1&&dg(o.foundedTemplateRef,Jr,5,Xr$1)(o.sectorTemplateRef,Xr,5,Xr$1)(o.hq_locationTemplateRef,el,5,Xr$1)(o.quantitiesTemplateRef,tl,5,Xr$1)(o.salariesTemplateRef,nl,5,Xr$1)(o.revenueTemplateRef,ol,5,Xr$1)(o.offering_cybersecurityTemplateRef,il,5,Xr$1)(o.revenue_dependency_uptimeTemplateRef,al,5,Xr$1)(o.employee_productivityTemplateRef,rl,5,Xr$1)(o.customers_stored_record_typeTemplateRef,ll,5,Xr$1)(o.number_of_employeesTemplateRef,sl,5,Xr$1)(o.number_of_customersTemplateRef,cl,5,Xr$1)(o.number_of_competitorsTemplateRef,pl,5,Xr$1)(o.breach_coverageTemplateRef,ml,5,Xr$1),n&2&&UT(14);},features:[Rm],decls:28,vars:0,consts:[["founded",""],["sector",""],["hqLocation",""],["quantities",""],["salaries",""],["annualRevenue",""],["offeringCybersecurity",""],["revenueDependency",""],["employeeProductivity",""],["storedRecordTypes",""],["numberOfEmployees",""],["numberOfCustomers",""],["numberOfCompetitors",""],["cyberInsurance",""],[3,"tooltipContent","form"],[3,"form","tooltipContent","optionsList"],[3,"form","tooltipContent","quantities","field"],[3,"form","tooltipContent"],[3,"form","tooltipContent","offeringItems"],[3,"form","tooltipContent","recordTypes","layout"],[3,"tooltipContent","form","recordTypes"],[3,"form","recordTypes","tooltipContent"]],template:function(n,o){n&1&&Om(0,dl,1,2,"ng-template",null,0,GC)(2,ul,1,2,"ng-template",null,1,GC)(4,fl,1,3,"ng-template",null,2,GC)(6,gl,1,4,"ng-template",null,3,GC)(8,_l,1,2,"ng-template",null,4,GC)(10,Cl,1,2,"ng-template",null,5,GC)(12,hl,1,3,"ng-template",null,6,GC)(14,yl,1,2,"ng-template",null,7,GC)(16,bl,1,2,"ng-template",null,8,GC)(18,Ol,1,4,"ng-template",null,9,GC)(20,xl,1,3,"ng-template",null,10,GC)(22,Ml,1,3,"ng-template",null,11,GC)(24,vl,1,2,"ng-template",null,12,GC)(26,Pl,1,2,"ng-template",null,13,GC);},dependencies:[Nn,mt,Ii$1,Xn,To,So,Eo,Bo,No,ko,Fo,Ro,Do,qo,Lo,Ao,Uo,Vo],encapsulation:2});}}return e})();var jo=e=>(s,t)=>{let n=$o(e).indexOf(s?.fieldName),o=$o(e).indexOf(t?.fieldName);return n-o},$o=e=>({[t$1.V1]:[b.FOUNDED,b.SECTOR,b.HQ_LOCATION,b.QUANTITIES,b.SALARIES,b.REVENUE,b.OFFERING_CYBERSECURITY,b.REVENUE_DEPENDENCY_UPTIME,b.EMPLOYEE_PRODUCTIVITY,b.CUSTOMERS_STORED_RECORD_TYPE],[t$1.V2]:[b.FOUNDED,b.SECTOR,b.HQ_LOCATION,b.NUMBER_OF_EMPLOYEES,b.NUMBER_OF_CUSTOMERS,b.NUMBER_OF_COMPETITORS,b.SALARIES,b.REVENUE,b.CYBER_INSURANCE,b.REVENUE_DEPENDENCY_UPTIME,b.EMPLOYEE_PRODUCTIVITY]})[e];var Kt=(()=>{class e{constructor(){this.locationList=to,this.quantities=[{label:"Employees",value:"employees",text:"Employees"},{label:"Customer records",value:"customers",text:"Customers"},{label:"Direct competitors",value:"number_of_competitors",text:"Competitors"}],this.recordTypes=[{label:"PII",value:"pii",tooltipContent:"Records of Personal Identifiable Information"}
12,{label:"PCI",value:"pci",tooltipContent:"Payment Card Industry"},{label:"PHI",value:"phi",tooltipContent:"Personal Health Information"}],this.offeringItems=[{label:"Yes",value:true},{label:"No",value:false},{label:"Unknown",value:null}];}getGeneratedFormFields(t,n,o=t$1.V1){let p=n.createComponent(Mo).instance.templates$,T=n.createComponent(Go).instance.templates$.pipe(Ht$1(1),rd(()=>n.remove(1)));return Py([T,p]).pipe(pt(([W])=>!!Object.keys(W)?.length),ne(([W,Ze])=>Object.keys(W).filter(gt=>Object.keys(t.controls).includes(gt)).map(gt=>({fieldName:gt,template:W[gt],tooltipTemplates:Ze,optionsList:this.getFieldOptionsList(gt)})).sort(jo(o))))}getFieldOptionsList(t){return {hq_location:this.locationList,quantities:this.quantities,offering_cybersecurity:this.offeringItems,customers_stored_record_type:this.recordTypes,employees_stored_record_type:this.recordTypes,number_of_employees:this.recordTypes,number_of_customers:this.recordTypes}[t]||[]}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275prov=$({token:e,factory:e.\u0275fac});}}return e})();var wl=(e,s,t,n)=>({form:e,tooltipContent:s,optionsList:t,field:n});function Tl(e,s){e&1&&Jm(0);}function Sl(e,s){if(e&1&&Om(0,Tl,1,0,"ng-container",1),e&2){let t=s.$implicit,n=LT();Qm("ngTemplateOutlet",t?.template())("ngTemplateOutletContext",OC(2,wl,n.form,t?.tooltipTemplates,t?.optionsList,t?.fieldName));}}var Qo=(()=>{class e{constructor(){this.version=u$(),this.vcRef=T(Ms),this.generateFormFieldsService=T(Kt),this.fieldTemplates$=Uy([]);}ngOnChanges(t){t.form.currentValue&&t.form.firstChange&&(this.fieldTemplates$=this.generateFormFieldsService.getGeneratedFormFields(this.form,this.vcRef,this.version()));}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=gw({type:e,selectors:[["cost-of-breach-company-info"]],inputs:{form:"form",version:[1,"version"]},standalone:false,features:[AI],decls:5,vars:3,consts:[[3,"formGroup"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(n,o){if(n&1&&(Og(0),VC(1,"async"),ls(2,"form",0),bT(3,Sl,1,7,"ng-container",null,ET),au()),n&2){let p=BC(1,1,o.fieldTemplates$);VD(2),Qm("formGroup",o.form),VD(),wT(p);}},dependencies:[Fn,Wn,$n,Dn,An],styles:['[_nghost-%COMP%]{z-index:0}[_nghost-%COMP%]:last-child{margin-bottom:0}[_nghost-%COMP%] form[_ngcontent-%COMP%]{max-width:705px}section[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;margin-bottom:25px;position:relative;font:var(--font-14)}section[_ngcontent-%COMP%]:last-child{margin-bottom:0}section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:215px;color:var(--text-color-secondary);margin-right:5px}section[_ngcontent-%COMP%] label.mandatory[_ngcontent-%COMP%]:after{color:red;content:"*"}section[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{position:absolute;width:210px;text-align:right;color:var(--text-color-secondary);padding-right:5px}section[_ngcontent-%COMP%] cye-input[_ngcontent-%COMP%], section[_ngcontent-%COMP%] cye-drop-down[_ngcontent-%COMP%]{width:490px}section[_ngcontent-%COMP%] .stored-records[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:space-between}section[_ngcontent-%COMP%] .quantity-container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between}section[_ngcontent-%COMP%] .quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center}section[_ngcontent-%COMP%] .quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] label.quantity-label[_ngcontent-%COMP%]{min-width:fit-content}section[_ngcontent-%COMP%] .quantity-container[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] cye-icon[_ngcontent-%COMP%]{margin-left:5px}section[_ngcontent-%COMP%] .quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%]{display:flex;flex-flow:column nowrap}section[_ngcontent-%COMP%] .quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{min-width:100px}section[_ngcontent-%COMP%] .quantity-container[_ngcontent-%COMP%] .quantities[_ngcontent-%COMP%] cye-input[_ngcontent-%COMP%]{width:135px}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin:0 0 0 auto;position:relative}section[_ngcontent-%COMP%] .percentage-container[_ngcontent-%COMP%] .sign[_ngcontent-%COMP%]{position:relative}.sector-item[_ngcontent-%COMP%]{height:50px;padding-left:10px}.sector-item[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin-top:10px;display:flex}.sector-item[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:5px 0;color:var(--primary-400);font-size:11px}.checkbox-container[_ngcontent-%COMP%]{margin-top:10px}.checkbox-container[_ngcontent-%COMP%] cye-checkbox[_ngcontent-%COMP%]{margin-left:40px}'],changeDetection:1});}}return e})();var Bl=["questionnaireSection"];function Il(e,s){e&1&&Zm(0,"cye-page-loader",4),e&2&&Qm("loading",true);}function Nl(e,s){e&1&&Zm(0,"cye-page-loader",4),e&2&&Qm("loading",true);}function kl(e,s){if(e&1&&(Zm(0,"cost-of-breach-calculator-complete",9),VC(1,"async")),e&2){let t=LT(3),n=DC(1);Qm("success",BC(1,2,t.saveSuccess$))("formValue",n.value);}}function Fl(e,s){if(e&1&&(vT(0,Nl,1,1,"cye-page-loader",4),VC(1,"async"),su(2,kl,2,4,"cost-of-breach-calculator-complete",9)),e&2){let t=LT(2);IT(BC(1,1,t.saving$)?0:2);}}function Rl(e,s){if(e&1&&Zm(0,"cost-of-breach-company-info",11),e&2){LT(3);let t=DC(0),n=DC(1);Qm("form",n)("version",t);}}function Dl(e,s){if(e&1){let t=ST();ls(0,"cost-of-breach-questionnaire",15,2),ig("pageChange",function(){af(t);let o=LT(4);return cf(o.onPageChange())}),au();}if(e&2){LT(4);let t=DC(1);Qm("form",t.controls.questionnaire);}}function ql(e,s){if(e&1){let t=ST();ls(0,"cost-of-breach-maturity-factor",16),ig("doneClicked",function(){af(t);let o=LT(4);return cf(o.onDoneNewVersion())}),au();}if(e&2){let t=LT(4);Qm("relatedMaturity",t.cobRelatedMaturity());}}
12function Ll(e,s){if(e&1&&vT(0,Dl,2,1,"cost-of-breach-questionnaire",13)(1,ql,1,1,"cost-of-breach-maturity-factor",14),e&2){let t,n=LT(3),o=DC(0);IT((t=o)===n.VersionsEnum.V1?0:t===n.VersionsEnum.V2?1:-1);}}function Al(e,s){if(e&1){let t=ST();ls(0,"p",12)(1,"span",17),ig("click",function(){af(t);let o=LT(3);return cf(o.onDownloadQuestionnaire())}),Zm(2,"i",18),mC(3," Empty questionnaire "),au(),ls(4,"span",19),mC(5,"for download"),au()();}}function Vl(e,s){if(e&1){let t=ST();ls(0,"cye-button",22),ig("click",function(){af(t);let o=LT(4);return cf(o.onBackClick())}),mC(1,"Back"),au();}}function Ul(e,s){if(e&1){let t=ST();ls(0,"cye-button",23),ig("click",function(){af(t);let o=LT(4);return cf(o.onDone())}),mC(1," Done "),au();}if(e&2){let t=LT(4),n=DC(1);yg("secondary",t.calcRef?.currentPart!==4),Qm("disabled",n.invalid);}}function Gl(e,s){if(e&1){let t=ST();ls(0,"cye-button",24),ig("click",function(){af(t);let o=LT(4);return cf(o.onNextClick())}),mC(1," Next "),au();}if(e&2){let t=LT(4),n=DC(1);Qm("loading",t.isFetchingSubcategories())("disabled",n.invalid);}}function $l(e,s){if(e&1&&Om(0,Vl,2,0,"cye-button",20)(1,Ul,2,3,"cye-button",21)(2,Gl,2,2,"ng-template",null,3,GC),e&2){let t=qT(3),n=LT(3);Qm("ngIf",n.currentStepSignal()!==n.CostOfBreachQuestionnaireStepEnum.FIRST_STEP),VD(),Qm("ngIf",n.currentStepSignal()===n.CostOfBreachQuestionnaireStepEnum.SECOND_STEP)("ngIfElse",t);}}function jl(e,s){if(e&1){let t=ST();ls(0,"cost-of-breach-empty",25),ig("onstart",function(){af(t);let o=LT(3);return cf(o.empty=false)}),au();}}function Ql(e,s){if(e&1&&(ls(0,"section",10,0),vT(2,Rl,1,2,"cost-of-breach-company-info",11),vT(3,Ll,2,1),au(),ls(4,"footer"),vT(5,Al,6,0,"p",12),vT(6,$l,4,3),au(),Om(7,jl,1,0,"ng-template",null,1,GC)),e&2){let t=LT(2),n=DC(0);VD(2),IT(t.currentStepSignal()===t.CostOfBreachQuestionnaireStepEnum.FIRST_STEP?2:-1),VD(),IT(t.currentStepSignal()===t.CostOfBreachQuestionnaireStepEnum.SECOND_STEP?3:-1),VD(2),IT(n===t.VersionsEnum.V1?5:-1),VD(),IT(t.showNextBackButtons()?6:-1);}}function Yl(e,s){if(e&1){let t=ST();ls(0,"cye-wizard-steps",5)(1,"div",6)(2,"cye-icon",7),ig("click",function(){af(t);let o=LT();return cf(o.onCancelClick())}),au(),ls(3,"span",8),mC(4,"Estimated cost of breach"),au(),ls(5,"span"),mC(6,"|"),au(),ls(7,"span",8),mC(8,"Calculator"),au()()(),vT(9,Fl,3,3)(10,Ql,9,4);}if(e&2){let t=LT();Qm("done",t.complete)("menuItems",t.menuItems())("step",t.currentStepSignal())("clickable",false),VD(2),Qm("icon","chevron-circle-left")("clickable",true),VD(7),IT(t.complete?9:10);}}var Yo=(()=>{class e extends wt{constructor(){super(),this.costOfBreachService=T(Ye),this.authService=T(v),this.modalService=T(uo),this.costOfBreachActionService=T(Qt),this.form=Ze(null),this.currentCobVersion=Ze(t$1.V1),this.VersionsEnum=t$1,this.quantityFieldVersions=[t$1.V1],this.menuItems=kt(()=>{switch(this.currentCobVersion()){case t$1.V1:return [{label:Yt.FIRST_STEP_LABEL,value:dt.FIRST_STEP},{label:Yt.SECOND_STEP_LABEL,value:dt.SECOND_STEP}];case t$1.V2:default:return [{label:zt.FIRST_STEP_LABEL,value:dt.FIRST_STEP},{label:zt.SECOND_STEP_LABEL,value:dt.SECOND_STEP}]}}),this.showNextBackButtons=kt(()=>this.currentCobVersion()===t$1.V2?this.currentStepSignal()===We.FIRST_STEP:true),this.currentStepSignal=Ze(We.FIRST_STEP),this.savingStatusSignal=z$1(this.costOfBreachService.savingStatus$),this.complete=false,this.CostOfBreachQuestionnaireStepEnum=We,this.loading$=this.costOfBreachService.questionnaireLoadState$.pipe(ne(t=>t==="loading")),this.questionnaire$=this.costOfBreachService.questionnaire$,this.riskBreakdown$=this.costOfBreachService.riskBreakdown$,this.saving$=this.costOfBreachService.savingStatus$.pipe(ne(t=>t==="loading")),this.saveSuccess$=this.costOfBreachService.savingStatus$.pipe(ne(t=>t==="done")),this.saveError$=this.costOfBreachService.savingStatus$.pipe(ne(t=>t==="error")),this.cobRelatedMaturity=z$1(this.costOfBreachService.cobRelatedMaturity$,{initialValue:null}),this.isFetchingSubcategories=z$1(this.costOfBreachService.getRelatedSubcategoriesLoading$().pipe(ne(t=>t===I.LOADING))),this.isSaving=z$1(this.saving$),this.isNew=true;}ngOnInit(){this.authService.profileVersions$.pipe(pt(({status:t})=>t==="done"||t==="error"),Ht$1(1),rd(({data:t})=>this.initializeForm(t?.cob_version??t$1.V1)),Dd(this.destroy$)).subscribe();}initializeForm(t){let n=this.costOfBreachActionService.getCostOfBreachForm(t);this.currentCobVersion.set(t),this.form.set(n),n.controls.sector.setValue(this.authService?.userProfile?.company?.industry||null),n.valueChanges.pipe(rd(o=>this.setEmptyToNull(n,o)),Dd(this.destroy$)).subscribe(),this.quantityFieldVersions.includes(t)&&n.controls.quantities.valueChanges.pipe(rd(o=>this.setEmptyToNull(n.controls.quantities,o)),Dd(this.destroy$)).subscribe(),this.costOfBreachService.getQuestionnaire(),this.questionnaire$.pipe(pt(o=>!!o),rd(o=>{o.sector||(o=Object.assign({},o,{sector:"public"})),n.patchValue(o),this.isNew=false;}),Dd(this.destroy$)).subscribe();}setEmptyToNull(t,n){Object.keys(n).map(o=>t.get(o)).filter(o=>o?.value==="").forEach(o=>o.setValue(null));}onPageChange(){this.questionnaireSection.nativeElement.scrollTo({top:0,behavior:"smooth"});}
12onNextClick(){if(this.currentStepSignal()===We.FIRST_STEP){if(this.currentCobVersion()===t$1.V2){this.saveWithGetRelated();return}this.currentStepSignal.update(t=>t+1);}}saveWithGetRelated(){this.onDone(),this.costOfBreachService.getCobVersionRelatedSubcategories(),Py([this.costOfBreachService.getCobVersionRelatedSubcategories$(),this.costOfBreachService.getRelatedSubcategoriesLoading$()]).pipe(pt(([,t])=>t===I.SUCCESS),rd(()=>{this.currentStepSignal.update(t=>t+1);}),Dd(this.destroy$)).subscribe();}onBackClick(){this.currentStepSignal()===We.SECOND_STEP&&this.currentStepSignal.update(t=>t-1);}onCancelClick(){history.back();}onDone(){let t=this.form();t&&(this.isNew?this.costOfBreachService.saveForm(t.value):this.costOfBreachService.updateForm(t.value),this.currentCobVersion()===t$1.V1&&(this.complete=true));}onDownloadQuestionnaire(){this.costOfBreachService.getQuestionnaireUrl().pipe(rd(t=>{this.costOfBreachService.downloadCompanyCreationQuestionnaire(t,"CYE Organization Company Questionnaire.xlsx");})).subscribe();}onDoneNewVersion(){this.onCancelClick();}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=gw({type:e,selectors:[["cost-of-breach-calculator"]],viewQuery:function(n,o){if(n&1&&lg($t,5)(Bl,5),n&2){let p;BT(p=$T())&&(o.calcRef=p.first),BT(p=$T())&&(o.questionnaireSection=p.first);}},standalone:false,features:[Rm],decls:5,vars:5,consts:[["questionnaireSection",""],["content",""],["calc",""],["next",""],[3,"loading"],[3,"done","menuItems","step","clickable"],[1,"left"],[3,"click","icon","clickable"],[1,"title"],[3,"success","formValue"],[1,"scrollable","allways"],[3,"form","version"],[1,"download-questionnaire"],[3,"form"],[3,"relatedMaturity"],[3,"pageChange","form"],[3,"doneClicked","relatedMaturity"],[1,"download",3,"click"],[1,"icon-back-icon"],[1,"label"],["class","secondary big shadow","iconSize","12","icon","arrow-left",3,"click",4,"ngIf"],["class","big shadow",3,"secondary","disabled","click",4,"ngIf","ngIfElse"],["iconSize","12","icon","arrow-left",1,"secondary","big","shadow",3,"click"],[1,"big","shadow",3,"click","disabled"],["id","questionnaire-next-button","iconPosition","right","iconSize","12","icon","arrow-right-white",1,"big","shadow",3,"click","loading","disabled"],[3,"onstart"]],template:function(n,o){if(n&1&&(Og(0)(1),vT(2,Il,1,1,"cye-page-loader",4),VC(3,"async"),su(4,Yl,11,7)),n&2){EC(o.currentCobVersion()),VD();let p=EC(o.form());VD(),IT(!p||BC(3,3,o.loading$)?2:4);}},dependencies:[pn,ut,rt,Re,xe$1,Ht,Qo,vo,Ut,$t,An],styles:["[_nghost-%COMP%]{height:100vh;container:costOfBreachCalculatorPage/inline-size;display:block}.left[_ngcontent-%COMP%]{display:flex;align-items:center;padding:10px}.left[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin:5px}.left[_ngcontent-%COMP%] cye-icon[_ngcontent-%COMP%]{transition:.2s ease-out transform}.left[_ngcontent-%COMP%] cye-icon[_ngcontent-%COMP%]:hover{transform:scale(1.1)}section[_ngcontent-%COMP%]{padding:100px 0 20px;display:flex;align-items:center;flex-direction:column;overflow:hidden;box-sizing:border-box;height:calc(100% - 170px);overflow:auto}footer[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;justify-content:center;align-items:center;position:fixed;width:100%;left:60px;bottom:0;height:70px;background:var(--white);box-shadow:0 -4px 10px #00000026}footer[_ngcontent-%COMP%] cye-button[_ngcontent-%COMP%]{margin:0 10px}footer[_ngcontent-%COMP%] cye-button[_ngcontent-%COMP%] cye-icon[_ngcontent-%COMP%]{margin:0 10px}footer[_ngcontent-%COMP%] .download-questionnaire[_ngcontent-%COMP%]{color:var(--text-color-legend);font:var(--font-12);display:flex;align-items:center;position:absolute;left:40px}footer[_ngcontent-%COMP%] .download-questionnaire[_ngcontent-%COMP%] .download[_ngcontent-%COMP%]{color:var(--severity-potential);cursor:pointer;display:flex;align-items:center;margin-right:5px;gap:5px}footer[_ngcontent-%COMP%] .download-questionnaire[_ngcontent-%COMP%] .download[_ngcontent-%COMP%] .icon-back-icon[_ngcontent-%COMP%]{rotate:270deg}"],changeDetection:1});}}return e})();var zo=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=gw({type:e,selectors:[["ng-component"]],standalone:false,decls:1,vars:0,template:function(n,o){n&1&&Zm(0,"router-outlet");},dependencies:[wr$1],encapsulation:2,changeDetection:1});}}return e})();var zl=[{path:"",component:zo,children:[{path:"",component:bo,data:{pageTitle:"Cost of Breach Calculator",showHeader:true}},{path:"calculator",component:Yo,canActivate:[gL],data:{pageTitle:"Cost of Breach Calculator",showHeader:true}}]}],Ho=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275mod=_m({type:e});}static{this.\u0275inj=_a$1({imports:[ia$1.forChild(zl),ia$1]});}}return e})();var Vu=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275mod=_m({type:e});}static{this.\u0275inj=_a$1({providers:[Ye,Kt,Qt,jt],imports:[Nn,Tt,Xn,Zn,nr$1,Ii$1,a,Ho,we,xe,Ee,he,c,bt$1,Pe,Ye$1,be,mt,qe,Gt,Ht]});}}return e})();export{Vt as BreachCostTooltipComponent,Gt as BreachCostTooltipModule,fo as BreakdownSectionComponent,so as BusinessAssetsTotalComponent,bt as CheckAutoDetectPipe,bo as CostOfBreachBreakDownComponent,po as CostOfBreachBreakdownByBusinessAssetsComponent,V as CostOfBreachLabelTooltipComponent,Mo as CostOfBreachLabelTooltipTemplatesComponent,lo as CostOfBreachNoBusinessAssetsComponent,zo as CostOfBreachPageComponent,Vu as CostOfBreachPageModule,ao as CostOfBreachPositionItemComponent,Ho as CostOfBreachRoutingModule,Ye as CostOfBreachService,mt as CostOfBreachSharedModule,xo as TooltipSimpleTemplateComponent,mo as buildSingleField,Co as costOfBreachBreakdownByPartyComponent};
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.