PageSourceSearch

https://quote.myzorro.co/_next/static/chunks/0~n.jyc6ktaae.js

js myzorro.co collected 2026-10-04 14:11:21 UTC 40,487 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,749836,e=>{e.v({TornadoLayout:"TornadoLayout-module-scss-module__upgjAa__TornadoLayout",gradientContainer:"TornadoLayout-module-scss-module__upgjAa__gradientContainer",gradientCore:"TornadoLayout-module-scss-module__upgjAa__gradientCore",overlayBorder:"TornadoLayout-module-scss-module__upgjAa__overlayBorder",overlayContainer:"TornadoLayout-module-scss-module__upgjAa__overlayContainer"})},8913,e=>{"use strict";var t=e.i(115497),n=e.i(953537),o=e.i(749836);e.s(["TornadoLayout",0,({children:e,isMobile:i,underlineScrollingElement:a})=>(0,t.jsx)(n.AppShell,{className:o.default.TornadoLayout,"data-mobile":i,component:a||"div",children:e})])},962136,e=>{"use strict";var t=e.i(115497),n=e.i(953537);let o="992px";e.s(["MAX_WIDTH",0,o,"default",0,function({children:e,style:i,maw:a=o,padding:l}){return(0,t.jsx)(n.AppShell.Main,{mx:"auto",maw:a,p:l,style:{...i},children:e})}])},968459,e=>{"use strict";var t=e.i(115497);e.i(930289);var n=e.i(395541);e.i(18379);var o=e.i(570643);let i=e.i(650394).default.memo(({text:e,size:i="2rem",style:a,...l})=>e?(0,t.jsx)(o.Box,{style:a,children:(0,t.jsx)(n.Title,{w:"100%",lh:"3rem",size:i,ta:"center",...l,children:e})}):null);e.s(["TornadoLayoutMainTitle",0,i])},996864,e=>{"use strict";e.i(728340),e.i(38466),e.i(587725);var t,n,o,i=e.i(346866),a=((t={}).PRIORITIES="PRIORITIES",t.PLAN_MATCHING_STRATEGY="PLAN_MATCHING_STRATEGY",t.SAVINGS="SAVINGS",t.CONTRIBUTION="CONTRIBUTION",t.WELCOME="WELCOME",t),l=((n={}).PLAN_SEARCH_ANONYMOUS="PLAN_SEARCH_ANONYMOUS",n.PLAN_SEARCH_RESULTS_ANONYMOUS="PLAN_SEARCH_RESULTS_ANONYMOUS",n),r=((o={}).ALLOWANCE_V2="ALLOWANCE_V2",o.EMPLOYEE_BREAKDOWN_V2="EMPLOYEE_BREAKDOWN_V2",o.PLAN_SEARCH="PLAN_SEARCH",o.PLAN_SEARCH_RESULTS="PLAN_SEARCH_RESULTS",o.PLAN_DESIGN_SUMMARY="PLAN_DESIGN_SUMMARY",o);e.s(["TOP_MAIN_PADDING",0,"11rem","TornadoLayoutConstants",0,{planSearchHeaderZIndex:1,tornadoLayoutHeader:2},"TornadoPageAnonymousType",()=>l,"TornadoPageType",()=>r,"TornadoWizardStepType",()=>a,"getTornadoPageAnonymousConfig",0,e=>i.$enum.mapValue(e).with({PLAN_SEARCH_ANONYMOUS:{route:"PLAN_SEARCH_ANONYMOUS",title:"Explore health plans",subTitle:"Add age, ZIP, and family info to browse plans",nextRoute:"PLAN_SEARCH_RESULTS_ANONYMOUS"},PLAN_SEARCH_RESULTS_ANONYMOUS:{route:"PLAN_SEARCH_RESULTS_ANONYMOUS",prevRoute:"PLAN_SEARCH_ANONYMOUS"}}),"getTornadoPageConfig",0,e=>i.$enum.mapValue(e).with({PLAN_DESIGN_SUMMARY:{route:"PLAN_DESIGN_SUMMARY",title:"Plan design summary",options:{withRename:!0,withSettings:!0,withQuotePlanSelect:!0,withCreatePlanButton:!0}},ALLOWANCE_V2:{route:"ALLOWANCE_V2",title:"Allowance",options:{withRename:!0,withSettings:!0,withQuotePlanSelect:!0,withCreatePlanButton:!0}},EMPLOYEE_BREAKDOWN_V2:{route:"EMPLOYEE_BREAKDOWN_V2",title:"Employee breakdown",options:{withRename:!0,withSettings:!0,withQuotePlanSelect:!0,withCreatePlanButton:!0}},PLAN_SEARCH:{route:"PLAN_SEARCH",nextRoute:"PLAN_SEARCH_RESULTS",title:"Explore health plans",subTitle:"Search by name or enter details to see what’s available",options:{withRename:!0,withSettings:!0,withQuotePlanSelect:!0,withCreatePlanButton:!0}},PLAN_SEARCH_RESULTS:{route:"PLAN_SEARCH_RESULTS",prevRoute:"PLAN_SEARCH",options:{withRename:!0,withSettings:!0,withQuotePlanSelect:!0,withCreatePlanButton:!0}}}),"getTornadoWizardStepConfig",0,e=>i.$enum.mapValue(e).with({WELCOME:{route:"WELCOME",title:"Welcome to Zorro",subTitle:"Let's tailor your custom health benefits",nextRoute:"PRIORITIES",options:{withFooter:!1,withSubHeader:!1}},PRIORITIES:{route:"PRIORITIES",title:"Set your priorities",nextRoute:"PLAN_MATCHING_STRATEGY",options:{withFooter:!0,withSubHeader:!0,withRename:!0}},PLAN_MATCHING_STRATEGY:{route:"PLAN_MATCHING_STRATEGY",title:"Choose a plan matching strategy",nextRoute:"SAVINGS",prevRoute:"PRIORITIES",options:{withFooter:!0,withSubHeader:!0,withRename:!0}},SAVINGS:{route:"SAVINGS",title:"Adjust savings split",nextRoute:"CONTRIBUTION",prevRoute:"PLAN_MATCHING_STRATEGY",options:{withFooter:!0,withSubHeader:!0,withRename:!0}},CONTRIBUTION:{route:"CONTRIBUTION",title:"Set your contribution",prevRoute:"SAVINGS",nextRoute:"ALLOWANCE_V2",options:{withFooter:!0,withSubHeader:!0,withRename:!0}}})])},931078,(e,t,n)=>{var o=e.r(358849),i=e.r(854059),a=e.r(225083),l=e.r(145948),r=e.r(775484),s=e.r(904216),d=e.r(85057),u=e.r(562081),m=Object.prototype.hasOwnProperty;t.exports=function(e){if(null==e)return!0;
1if(r(e)&&(l(e)||"string"==typeof e||"function"==typeof e.splice||s(e)||u(e)||a(e)))return!e.length;var t=i(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(d(e))return!o(e).length;for(var n in e)if(m.call(e,n))return!1;return!0}},497642,126919,649322,269052,e=>{"use strict";var t,n,o,i,a=e.i(115497);let l=(0,e.i(459362).default)("outline","database-export","DatabaseExport",[["path",{d:"M4 6c0 1.657 3.582 3 8 3s8 -1.343 8 -3s-3.582 -3 -8 -3s-8 1.343 -8 3",key:"svg-0"}],["path",{d:"M4 6v6c0 1.657 3.582 3 8 3c1.118 0 2.183 -.086 3.15 -.241",key:"svg-1"}],["path",{d:"M20 12v-6",key:"svg-2"}],["path",{d:"M4 12v6c0 1.657 3.582 3 8 3c.157 0 .312 -.002 .466 -.005",key:"svg-3"}],["path",{d:"M16 19h6",key:"svg-4"}],["path",{d:"M19 16l3 3l-3 3",key:"svg-5"}]]);e.i(728340);var r=e.i(337450);e.i(557251);var s=e.i(193073);e.i(866481);var d=e.i(700103);e.i(18379);var u=e.i(491164),m=e.i(610305);e.i(681811);var p=e.i(155711),c=e.i(650394);e.i(333033);var h=e.i(620187),y=e.i(176172),g=e.i(59924),f=e.i(507786),C=e.i(901590),E=e.i(611819),w=e.i(610805),A=e.i(364893),v=e.i(766663),b=e.i(550855),T=e.i(784021),P=e.i(10221);e.i(587725);var S=e.i(346866);e.i(581713);let N=e=>{let t=(e,t)=>parseFloat(e.toFixed(t));if(e<10)return"$0K";let n=t(e/1e6,2),o=e/1e3;if(n>=1)return`$${n}M`;if(e<1e3){let e=t(o,2);return`$${e}K`}let i=t(o,1);return`$${i}K`},O=(e,t)=>{let{employeeContribution:n,employerContribution:o,currentEmployeeContribution:i,currentEmployerContribution:a,totalFees:l,numParticipants:r}=e,s=new f.default(o).add(l??0).toNumber(),d=new f.default(i).dividedBy(r).toNumber(),u=new f.default(a).dividedBy(r).toNumber(),m=new f.default(n).dividedBy(r).toNumber(),p=new f.default(o).dividedBy(r).toNumber();return S.$enum.mapValue(t).with({[h.EntityView.EMPLOYEE]:{currentEmployeeContribution:d,currentEmployerContribution:u,currentTotal:new f.default(d).add(u).toNumber(),currentEmployeeBar:d,currentEmployerBar:u,employeeContribution:m,employeeChange:i+a===0?0:new f.default(n).sub(i).dividedBy(i).mul(100).round().toNumber(),employerContribution:p,employerChange:i+a===0?0:new f.default(o).sub(a).dividedBy(a).mul(100).round().toNumber(),total:new f.default(m).add(p).toNumber(),employeeBar:m,employerBar:p,annualSpent:new f.default(o).mul(12).dividedBy(r).toNumber(),savingsPercentage:i+a===0?0:new f.default(a).sub(o).dividedBy(a).mul(100).toNumber(),shouldShowSavings:i+a>0&&new f.default(a).sub(o).dividedBy(a).mul(100).toNumber()>1,formatter:P.formatCurrencyEnUsNoCents},[h.EntityView.EMPLOYER]:{currentEmployeeContribution:i,currentEmployerContribution:a,currentTotal:new f.default(i).add(a).toNumber(),currentEmployeeBar:i,currentEmployerBar:a,employeeContribution:n,employerContribution:s,employeeChange:i+a===0?0:new f.default(n).sub(i).dividedBy(i).mul(100).round().toNumber(),employerChange:i+a===0?0:new f.default(s).sub(a).dividedBy(a).mul(100).round().toNumber(),total:new f.default(n).add(s).toNumber(),employeeBar:n,employerBar:s,annualSpent:new f.default(s).mul(12).toNumber(),savingsAmount:new f.default(a).sub(s).mul(12).toNumber(),shouldShowSavings:new f.default(a).sub(s).dividedBy(a).toNumber()>.01,formatter:N}})},I={[b.GeoDistribution.AREA]:C.Aggregator.RATING_AREA,[b.GeoDistribution.STATES]:C.Aggregator.STATE,[b.GeoDistribution.OFF]:C.Aggregator.NONE},M={[w.ClassType.WAGE_TYPE]:v.Discriminator.WAGE_TYPE,[w.ClassType.EMPLOYMENT_TYPE]:v.Discriminator.EMPLOYMENT_TYPE,[w.ClassType.NONE]:v.Discriminator.NONE},R=(0,S.$enum)(A.ContributionPreset).getValues().reduce((e,t,n)=>(e[t]=n,e),{}),L={employeeContribution:0,spouseContribution:0,childContribution:0},_=({firstAllowanceContributions:e,secondAllowanceContributions:t,geoDistribution:n,classType:o,scenario:i,familyUnitDistribution:a,quotePlanDesignId:l})=>{let r,{employeeContribution:s,spouseContribution:d,childContribution:u}=e||L;return(o===w.ClassType.EMPLOYMENT_TYPE||o===w.ClassType.WAGE_TYPE)&&(r=t),{planDesignId:l,scenario:i,firstAllowanceContributions:{employeeContribution:s,spouseContribution:d,childContribution:u},...r&&{secondAllowanceContributions:r},aggregator:I[n],discriminator:M[o],familyUnitDistribution:a}},x=e=>S.$enum.mapValue(e).with({[T.QuotePlanPriorities.COMPANY_COSTS]:A.ContributionPreset.COMPLIANT,[T.QuotePlanPriorities.TOP_BENEFIT
1S]:A.ContributionPreset.GENEROUS,[T.QuotePlanPriorities.EMPLOYEE_COSTS]:A.ContributionPreset.GENEROUS,[T.QuotePlanPriorities.INDUSTRY_STANDARD]:A.ContributionPreset.INDUSTRY,[T.QuotePlanPriorities.SIMILAR_CARE]:A.ContributionPreset.CURRENT,[T.QuotePlanPriorities.COMPLIANCE]:A.ContributionPreset.COMPLIANT,[S.$enum.handleUndefined]:A.ContributionPreset.COMPLIANT,[S.$enum.handleUnexpected]:A.ContributionPreset.COMPLIANT}),D=e=>{if(!e||e.length<1)throw Error("Priorities list is not valid");let[t,n]=e;return t===T.QuotePlanPriorities.COMPLIANCE?n?x(n):A.ContributionPreset.COMPLIANT:x(t)};e.s(["calculateFamilyAllowanceInDollars",0,({employeeAllowance:e,spouseAllowance:t,childrenAllowance:n})=>{if(void 0===e||void 0===t||void 0===n)return"";let o=new f.default(e??0),i=new f.default(t??0);return Math.max(new f.default(n??0).add(i).sub(o).toNumber(),0)},"calculateFamilyAllowanceInPercentage",0,({employeeAllowance:e,spouseAllowance:t,childrenAllowance:n,employeeAvgPremium:o,childrenAvgPremium:i})=>{if(void 0===e||void 0===t||void 0===n||void 0===o||void 0===i)return"";let a=new f.default(o??0).add(new f.default(i??0)),l=new f.default(o??0).mul(2),r=new f.default(e??0).mul(o??0),s=new f.default(t??0).mul(o??0).mul(2),d=Math.max(new f.default(n??0).mul(a).add(s??0).sub(r).toNumber(),0),u=new f.default(l).add(i??0).toNumber();return new f.default(d).dividedBy(u||1).toNumber()},"classTypeToDiscriminatorMapper",0,M,"contributionByClassDefaultValues",0,L,"geoDistributionToAggregatorMapper",0,I,"getAllowanceRequestBody",0,_,"getAvailableClassTypes",0,e=>e?(0,S.$enum)(w.ClassType).getValues().filter(t=>e.some(e=>e.workStatus===t)):[],"getFamilyAverageContribution",0,e=>isNaN(Number(e.spouseContribution))||isNaN(Number(e.childContribution))?0:new f.default(e.spouseContribution||0).add(e.childContribution||0).dividedBy(2).toNumber(),"getRecommendedPresetAccordingToPriorities",0,D,"mapInputCalculationsPerView",0,O,"normalizeFactory",0,e=>{let t=e===E.AllowanceUnit.PERCENT,n=e=>(0,y.isDefined)(e)?new f.default(e||0).toNumber():NaN,o=e=>(0,y.isDefined)(e)?new f.default(e||0).toNumber():NaN;return t&&(n=e=>new f.default(e||0).dividedBy(100).toNumber(),o=e=>new f.default(e||0).mul(100).toNumber()),{normalizer:n,unNormalizer:o}},"sortPresetOrderMap",0,R],126919);let U=({selectedQuoteScenario:e,allQuoteScenarios:t})=>{let n=new f.default(e.totalMonthlyCost).add(t.totalFees),o=new f.default(t.currentPlan.totalMonthlyCost).sub(n).floor();return{savings:o.div(t.currentPlan.totalMonthlyCost).toNumber(),selectedTotalMonthlyCostWithFees:n,savingsInDollars:o}};e.s(["calculateTotalSavings",0,U,"shouldShowSavings",0,e=>{if(void 0===e)return!1;if("number"==typeof e)return 0!==e&&!isNaN(e);let t=Number(e);return!isNaN(t)&&0!==t},"showPlusSign",0,e=>{let t=Number(e);return!isNaN(t)&&t>0?"+":""}],649322);var Y=e.i(874486),B=e.i(183454);e.i(724859);var G=e.i(463834);w.ClassType.EMPLOYMENT_TYPE,w.ClassType.EMPLOYMENT_TYPE,w.ClassType.WAGE_TYPE,w.ClassType.WAGE_TYPE;let j=e=>S.$enum.mapValue(e).with({[B.EmploymentType.FULL_TIME]:"Full Time",[B.EmploymentType.PART_TIME]:"Part Time",[S.$enum.handleUnexpected]:"",[S.$enum.handleUndefined]:"",[S.$enum.handleNull]:""}),F=e=>S.$enum.mapValue(e).with({[G.WageType.SALARY]:"Salary",[G.WageType.HOURLY]:"Hourly",[S.$enum.handleUnexpected]:"",[S.$enum.handleUndefined]:"",[S.$enum.handleNull]:""});(t={}).EMPLOYEE_ONLY="EE",t.EMPLOYEE_SPOUSE="ES",t.EMPLOYEE_CHILD="EC",t.FAMILY="FA",(n={}).EMPLOYEES="employees",n.PLANS="plans",n.FEES="fees",n.PLANS_DIVERSITY="plans diversity",n.AGE_COST_UNITS="age cost units",n.PARAMS="params",(o={}).LOW_COST_SILVER="Low Cost Silver",o.ON_MARKET_LCSP="On Market LCSP",(i={}).CURRENT="current",i.INDIVIDUAL_MARKET="individual market",e.s(["getEmploymentTypeLabel",0,j,"getWageTypeLabel",0,F],269052);let k=e=>e.length?Math.round(e.reduce((e,t)=>e+t,0)/e.length):0,H=[{band:"<30",min:0,max:29},{band:"30-39",min:30,max:39},{band:"40-49",min:40,max:49},{band:"50-59",min:50,max:59},{band:"60+",min:60,max:200}];function V(e,t,n){let o,i;return t===w.ClassType.EMPLOYMENT_TYPE&&e.employmentType?o=j(e.employmentType):t===w.ClassType.WAGE_TYPE&&e.wageType&&(o=F(e.wageType)),n===b.GeoDistribution.AREA&&e.ratingArea?i=e.ratingArea:n===b.GeoDistribution.STATES&&e.stateCode&&(i=e.stateCode),(0,g.buildClassLabel)(o,i)}let q=["employee","employeeSpouse","employeeChild","family"],W=["employee","employeeSpouse","employeeChild1","employeeChild2","employeeChild3","family1","family2","family3"],$={employee:"employeeAllowance",employeeSpouse:"employeeSpouseAllowance",employeeChild:"employeeChildAllowance",family:"familyAllowance",employeeChild1:"employeeChild1Allowance",employeeChild2:"employeeChild2Allowance",employeeChild3:"employeeChild3Allowance",family1:"family1Allowance",family2:"family2Allowance",family3:"family3Allowance"},Q={what:"Full Tornado quote export for Next-Gen Proposals. One file = one whole quote.",sections:{meta:"Identity, counts, and conventions for this dump.",raw:"Endpoint DTOs VERBATIM from the quoting backend — the inputs + audit trail. NOT formatted; may contain fields not surfaced in `derived`. Do not render from here unless a field is missing in `derived`.",derived:"Presentation-ready OUTPUTS — render these directly, no business logic needed downstream. See `derivedProvenance` for exactly how they are produced."},derivedProvenance:"Every `derived` number is produced by the SAME functions the Tornado UI renders from — SavingsUtils.calculateTotalSavings, ContributionUtils.mapInputCalculationsPerView, deriveEmployeeClass, getRecommendedPresetAccordingToPriorities — then key-renamed to this taxonomy. So `derived` MATCHES what the AE saw on screen; it is not a re-implementation. The fees-folding, ×12 annualization, per-participant division, and savings thresholds are already applied. Formatting ($/% and â
1†‘↓) is intentionally left to you.",disambiguations:{rawVsDerived:"Some data appears in BOTH `raw` and `derived` (e.g. currentPlans, employeeBreakdown, allowanceCalculation). `raw` is the full untouched source; `derived` is the trimmed/computed view to render. Prefer `derived`; use `raw` only to audit or for a field not surfaced in derived.",twoSavingsNumbers:"There are TWO savings figures, both correct but computed DIFFERENTLY — do not conflate: (1) scenario COST-COMPARISON savings at `planComparison.scenarios[].savings` and `planDesigns[].costComparison.savings` = currentPlan monthly total − (scenario total incl. fees). (2) CONTRIBUTION savings inside `planDesigns[].contributionDistribution.employer.savingsAnnual` = (current employer − employer+fees) × 12.",contributionViews:"`contributionDistribution` has `employer` and `employee` views. The EMPLOYER view folds platform+payroll fees INTO `employerMonthly`; the EMPLOYEE view is PER-PARTICIPANT (÷ numParticipants). `*ChangePct` are vs the current plan; `employerSpendAnnual` is ×12.",participation:'PARTICIPATION IS MIXED ACROSS BLOCKS, and this mirrors the Tornado UI exactly — it is not a dump artifact. An employee is "participating" if the CENSUS says so (is_participating = currentPremium IS NOT NULL when current coverage is available); it is derived data with NO AE-facing filter or toggle anywhere in the quoting UI. PARTICIPATING-SCOPED: `numParticipants` (a distinct count of participating employees), `totalFees` (= fixedPlatformFee + pepmFee x participating count, which then folds into contributionDistribution.employer.employerMonthly AND costComparison savings), and avgPremiums.avgChildCountParticipating. NOT participation-filtered: `employeeBreakdown.rows` (ALL employees — the query selects is_participating but the DTO drops it, so the dump can\'t mark which rows are which) and the allowanceGrid child multiplier. CONSEQUENCE: per-participant figures will NOT reconcile against a naive sum over employeeBreakdown.rows, and a row count is NOT numParticipants. Use numParticipants for per-employee math; do not derive it by counting rows.',twoChildCounts:"There are TWO \"average children\" figures, both real, over DIFFERENT populations — do not conflate (same trap as the two savings numbers): (1) `planDesigns[].avgPremiums.avgChildCountParticipating` is PARTICIPATING-scoped (is_participating = TRUE) and is what feeds `childrenAvgPremiumMonthly` and the contribution converters. (2) the multiplier that scales `allowanceGrid`'s FOUR-resolution `employeeChild`/`family` columns is deliberately NOT filtered by participation, to match the allowance model's population. They diverge whenever the census has non-participating EMPLOYEE_CHILD/FAMILY employees. The grid's own multiplier is computed server-side and passed straight into SQL — no endpoint returns it — so the dump cannot surface it today; the key is suffixed `Participating` so it cannot be mistaken for the grid's. Do NOT use avgChildCountParticipating to label or re-derive allowanceGrid values.",negativeSavings:"Savings CAN be negative (Zorro costs more for that option). `shouldShowSavings:false` is the UI's gate to hide it — never assume savings are positive.",allowanceTables:'TWO age-allowance tables per plan design, both aggregate/PII-free, same source grid: `allowanceByAgeBand` = 5 coarse bands (<30/30–39/40–49/50–59/60+) × 4 blended family units (kept for back-compat). `allowanceGrid` = the FULL schedule: one row per age (18="18 and under", 64="64 and over"), the design\'s real family units (`familyUnits`, 4 for FOUR / 8 for EIGHT), split by contribution class (`byClass[]`). Prefer `allowanceGrid` for the contribution-by-age slide; it is null for incomplete/draft designs. No population counts (it is a pricing curve, not a census).'},familyUnitModel:{what:'A "family unit" is WHO is covered — the household shape a premium and therefore an allowance is priced for. `allowanceGrid.familyUnitResolution` (FOUR | EIGHT) is the AE\'s per-plan-design choice of how finely to slice that axis, and it determines `familyUnits` (the exact column ke
1ys). Render whatever `familyUnits` says — do not hardcode 4 or 8 columns.',four:"FOUR = 1:1 with the canonical platform `FamilyUnit` enum, though the keys are camelCase WIRE NAMES rather than the enum literals: employee<->EMPLOYEE_ONLY, employeeSpouse<->EMPLOYEE_SPOUSE, employeeChild<->EMPLOYEE_CHILD, family<->FAMILY. Children are LUMPED — one credit whether the employee has 1 kid or 4. IMPORTANT: that lumped figure is scaled by a CENSUS-DERIVED AVERAGE number of children (average over the quote's own EMPLOYEE_CHILD/FAMILY employees, falling back to the plan-year general child count) — NOT a fixed per-child tier. So `employeeChild` and `family` can sit between the 1-child and 2-child figures, and they are quote-specific. The EIGHT keys are unaffected: employeeChild1..3 / family1..3 use exact integer counts 1/2/3.",eight:"EIGHT = the SAME four units at finer resolution, with the two child-bearing ones fanned out over dependent counts {1, 2, 3+}: employee + employeeSpouse + (employeeChild × 1/2/3) + (family × 1/2/3) = 2 + 3 + 3 = 8. So EIGHT is not a different taxonomy, just a finer one on the dependent axis. `family*` means employee + spouse + N children (i.e. the employeeChild* row plus a spouse).",keysVsEnums:'IMPORTANT — keys are MAPPED, values are VERBATIM; do not conflate them. The `enums` convention (verbatim @zorro/clients values) applies to `familyUnitResolution`, whose value IS the literal FamilyUnitDistribution enum ("FOUR"/"EIGHT"). It does NOT apply to the entries of `familyUnits`: those are camelCase WIRE KEYS (e.g. "employeeChild1"), not FamilyUnit enum literals (e.g. "EMPLOYEE_CHILD") — and 6 of the 8 have no enum literal at all. Always read the keys from `familyUnits` and index the rows with them as-is; never construct them from the enum.',naming:'The backend enum is `FamilyUnitDistribution` (FOUR | EIGHT), scoped to the quoting domain only — nothing post-sale sees it. The dump exposes it as `familyUnitResolution` because that is what it means: nothing is being *distributed*, the family axis is just resolved at 4 or 8 units. Note the keys are "family units" (the domain\'s own term — the allowance calc doc calls the full set "10 family units"), NOT "tiers": in this codebase "tier" already means the contribution input structure (`ContributionGroup.TIERS`, `allowance3TierTo4Tier*`), a different concept.',limits:'Children are CAPPED AT 3+ (the 3 bucket rolls up everything above). FOUR and EIGHT are the ONLY two resolutions quoting offers — the underlying quote table has a fixed set of 10 allowance columns (the 4 collapsed + the 6 expanded, all always populated), so `familyUnitResolution` only selects which subset to read. This is a QUOTING-side shape: post-sale, the live employer allowance model (`allowance_model_item`) is a long/narrow table keyed by (age band × class × family unit × dependent count) with free-form classes and arbitrary bands, where "4-level" vs "8-level" is implied by the data (dependent count null vs 1/2/3+) rather than being an enum at all. If you ever need a LIVE employer\'s actual model rather than the QUOTED one, that is a different data source.'},howToRead:["Prefer `derived` for rendering; reach into `raw` only for audit or a field not present in `derived`.","`derived.planComparison` — EVERY scenario (all options) with totals + savings + render-complete benchmark plan cards; shared across the quote.","`derived.planDesigns[]` — one entry per SAVED plan design (completed only by default). Carries the employer/employee contribution split, per-employee breakdown, and two aggregate (PII-free) allowance tables: `allowanceByAgeBand` (5-band × 4-unit blended) and `allowanceGrid` (the un-collapsed per-age × full family-unit × contribution-class schedule — see `familyUnitModel`). Scenarios without a saved design have totals + savings but no funded split."],conventions:{cadence:"All money is MONTHLY unless the key ends in 'Annual'.",percentages:"0–100, keys end in 'Pct'.",savings:"Always the shape { savingsMonthly, savingsPct, shouldShowSavings }
1.",formatting:"Numbers only — $/% and ↑↓ formatting is the consumer's job.",enums:"Verbatim @zorro/clients enum values (e.g. scenario, metalLevel)."},scenarioFunding:"FUNDED OPTIONS = SAVED PLAN DESIGNS. The employer/employee funded split (`derived.planDesigns[].contributionDistribution` + `employeeBreakdown`) exists per saved plan design, for that design's OWN scenario — the allowance grid is keyed by (plan design, demographic bucket) with no scenario axis. To present N comparable funded options, the AE saves N plan designs; this dump returns all completed ones. `derived.planComparison.scenarios[]` gives totals + savings for EVERY scenario (read-only), but NOT a funded split — funding a non-saved scenario would overwrite the design's grid, so it needs a scenario-keyed / read-only allowance calc (a core quoting change).",pii:"meta.containsPii=true: employee names, ages, ZIPs, and per-employee plan/cost data are included. Handle per your data-protection rules.",docs:".agents/agent-ops/nextgen-proposals/nextgen-proposals-integration.md (see meta.contractVersion)"};function z(e){return{planName:e.planName,carrier:e.carrier,networkType:e.networkType,employeeCount:e.employeeCount,deductible:e.deductible,moop:e.moop,pcp:e.pcp??null,specialist:e.specialist??null,rx1:e.rx1??null,rx2:e.rx2??null,rx3:e.rx3??null}}function K(e){return{planId:e.planId,planName:e.planName,carrier:e.carrier,metalLevel:e.metalLevel,networkType:e.networkType,employeeCount:e.employeeCount,deductible:e.deductible,medicalMoop:e.medicalMoop,pcpCost:e.pcpCost,specialistCost:e.specialistCost,genericDrugsCost:e.genericDrugsCost,benefitsSummaryUrl:e.benefitsSummaryUrl}}function Z(e,t){let{savings:n,selectedTotalMonthlyCostWithFees:o,savingsInDollars:i}=U({selectedQuoteScenario:t,allQuoteScenarios:e});return{currentMonthly:e.currentPlan.totalMonthlyCost,zorroMonthly:o.toNumber(),savings:{savingsMonthly:i.toNumber(),savingsPct:new f.default(n).mul(100).toNumber(),shouldShowSavings:n>.01}}}var J=e.i(517051),X=e.i(465888);async function ee(e,{includeIncomplete:t=!1}={}){let n=await (0,X.callEndpoint)({method:"quotesControllerFindOne",params:[e]}),[o,i,a,l]=await Promise.all([(0,X.callEndpoint)({method:"employersControllerFindOne",params:[n.employerId]}),(0,X.callEndpoint)({method:"quotesControllerGetAllQuoteScenarios",params:[e]}),(0,X.callEndpoint)({method:"quotesControllerFindCensusPlans",params:[e]}),(0,X.callEndpoint)({method:"quotePlanDesignControllerFindAllForQuote",params:[e]})]),r=t?l:l.filter(e=>e.isCompleted),s=[];for(let t of r){if(!t.scenario||!t.familyUnit){s.push({design:t,allowanceCalculation:null,allowanceModel:[],employeeBreakdown:[],avgPremiums:[]});continue}let n=_({firstAllowanceContributions:t.firstContributionByClass??void 0,secondAllowanceContributions:t.secondContributionByClass,geoDistribution:t.geoDistribution??b.GeoDistribution.OFF,classType:t.workStatus??w.ClassType.NONE,scenario:t.scenario,familyUnitDistribution:t.familyUnit,quotePlanDesignId:t.id}),o=await (0,X.callEndpoint)({method:"quotesControllerCalculateAllowanceModel",params:[e,n]}),i=await (0,X.callEndpoint)({method:"quotesControllerGetEmployeesBreakdown",params:[e,t.id,t.scenario,t.familyUnit]}),a=await (0,X.callEndpoint)({method:"quotesControllerGetAllowanceModel",params:[e,t.id]}),l=await (0,X.callEndpoint)({method:"quotesControllerGetAvgPremiumsForSelectedScenario",params:[e,t.id]});s.push({design:t,allowanceCalculation:o,allowanceModel:a,employeeBreakdown:i,avgPremiums:l})}return{quoteId:e,quote:n,employer:o,allScenarios:i,currentPlans:a,planDesigns:s}}e.s(["DownloadQuoteDumpButton",0,function({quoteId:e}){let[t,n]=(0,c.useState)(!1),o=async()=>{if(!t){n(!0);try{var o;let t,n,i=await ee(e);o=function(e){let{quoteId:t,generatedAt:n,quote:o,employer:i,allScenarios:a,currentPlans:l,planDesigns:r}=e;return{$readme:Q,meta:{contractVersion:"2.4.0",source:"zorro-tornado",generatedAt:n,quoteId:t,quotingYear:o.quotingYear??null,currency:"USD",cadence:"monthly",employeeCount:a.employeeCount,planDesignCount:r.length,completedPlanDesignCount:r.filter(e=>null!==e.allowanceCalculation).length,containsPii:!0},raw:{employer:i,quote:o,allScenarios:a,currentPlans:l,planDesigns:r.map(({design:e,allowanceCalculation:t,allowanceModel:n,employeeBreakdown:o,avgPremiums:i})=>({design:e,allowanceCalculation:t,allowanceModel:n,employeeBreakdown:o,avgPremiums:i}))},derived:{planComparison:{totalFeesMonthly:a.totalFees,currentPlans:l.map(z),scenarios:a.scenarios.map(e=>({scenario:e.scenario,avgPerEmployeeMonthly:e.averageMonthlyCostPerEmployee,benchmarkPlans:e.quotePlans.map(K),...Z(a,e)}))},planDesigns:r.map(e=>(function({design:e,allowanceCalculation:t,allowanceModel:n,employeeBreakdown:o,avgPremiums:i},a){var l,r;
1let s,d,u,m=function(e,t){if(t)return e.scenarios.find(e=>e.scenario===t)}(a,e.scenario),p=(l=e.workStatus,r=e.geoDistribution,o.map(e=>({idFromEmployer:e.idFromEmployer,name:e.name??null,age:e.age,dependents:e.children,stateCode:e.stateCode,ratingArea:e.ratingArea??null,employeeClass:V(e,l,r),currentPlanName:e.currentPlanName??null,currentEmployerCostMonthly:e.currentEmployerCost??null,currentEmployeeCostMonthly:e.currentEmployeeCost??null,planName:e.planName,allowanceMonthly:e.allowance,employerCostMonthly:e.employerCost,employeeCostMonthly:e.employeeCost,employeeCostDiffMonthly:(0,y.isDefined)(e.currentEmployeeCost)?new f.default(e.employeeCost).sub(e.currentEmployeeCost).round().toNumber():null,isAffordable:e.isAffordable})));return{id:e.id,name:e.name??null,scenario:e.scenario??null,isCompleted:e.isCompleted,recommendedPreset:(s=e.priorities)&&!(s.length<1)?D(s):null,costComparison:m?Z(a,m):null,contributionDistribution:t?(d=e=>{let n=O(t,e);return{currentEmployeeMonthly:n.currentEmployeeContribution,currentEmployerMonthly:n.currentEmployerContribution,currentTotalMonthly:n.currentTotal,employeeMonthly:n.employeeContribution,employerMonthly:n.employerContribution,totalMonthly:n.total,employeeChangePct:n.employeeChange,employerChangePct:n.employerChange,employerSpendAnnual:n.annualSpent,savingsAnnual:n.savingsAmount??null,savingsPct:n.savingsPercentage??null,shouldShowSavings:n.shouldShowSavings}},{compliancePercentage:t.compliancePercentage,employer:d(h.EntityView.EMPLOYER),employee:d(h.EntityView.EMPLOYEE)}):null,allowanceByAgeBand:H.flatMap(({band:e,min:t,max:o})=>{let i=n.filter(e=>e.age>=t&&e.age<=o);return 0===i.length?[]:[{band:e,employeeMonthly:k(i.map(e=>e.employeeAllowance)),spouseMonthly:k(i.map(e=>e.employeeSpouseAllowance)),childMonthly:k(i.map(e=>e.employeeChildAllowance)),familyMonthly:k(i.map(e=>e.familyAllowance)),count:i.length}]}),allowanceGrid:function(e,t){if(0===e.length)return null;let n=t.familyUnit??null,o=n===Y.FamilyUnitDistribution.EIGHT?W:q,i=new Map;for(let n of e){let e=V(n,t.workStatus,t.geoDistribution),o=i.get(e)??new Map;o.set(n.age,[...o.get(n.age)??[],n]),i.set(e,o)}let a=[...i.entries()].sort(([e],[t])=>e.localeCompare(t)).map(([e,t])=>({className:e,rows:[...t.entries()].sort(([e],[t])=>e-t).map(([e,t])=>{let n={age:e};for(let e of o)n[e]=k(t.map(t=>t[$[e]]));return n})}));return{familyUnitResolution:n,familyUnits:[...o],ageBottom:"18-",ageTop:"64+",byClass:a}}(n,e),avgPremiums:(u=i.find(t=>t.scenario===e.scenario&&t.geoDistribution===e.geoDistribution)??(e.geoDistribution?void 0:i.find(t=>t.scenario===e.scenario)))?{scenario:u.scenario,geoDistribution:u.geoDistribution,employeeAvgPremiumMonthly:u.employeeAvgPremium,childrenAvgPremiumMonthly:u.childrenAvgPremium,avgChildCountParticipating:u.avgChildCount}:null,employeeBreakdown:{hasEmployeeClass:p.some(e=>e.employeeClass!==g.ALL_EMPLOYEES_CLASS_NAME),rows:p}}})(e,a))}}}({...i,generatedAt:(0,d.getNow)().toISOString()}),t=new Blob([JSON.stringify(o,null,2)],{type:"application/json;charset=utf-8;"}),n=URL.createObjectURL(t),(0,J.downloadFile)(n,`zorro_quote_dump_${o.meta.quoteId}.json`)}catch(e){r.logger.error("Failed to download quote dump",e),(0,p.showErrorNotification)({message:"Failed to download the quote JSON. Please try again."})}finally{n(!1)}}};return(0,a.jsx)(s.Tooltip,{label:"Download the entire quote as JSON (all plan designs)",children:(0,a.jsx)(m.UnstyledButton,{"aria-label":"Download quote JSON",onClick:o,disabled:t,display:"flex",c:"zorroGray.6",opacity:t?.5:1,children:(0,a.jsx)(u.Icon,{icon:l,size:"1.5rem"})})})}],497642)},410609,e=>{e.v({settingsButton:"TornadoWizardLayoutSettings-module-scss-module__8MYKAW__settingsButton"})},80998,631749,498029,e=>{"use strict";var t=e.i(115497),n=e.i(953537);e.i(384657);var o=e.i(949506);e.i(557251);var i=e.i(193073);e.i(315106);var a=e.i(524811);e.i(866481);var l=e.i(406989);e.i(18379);var r=e.i(570643),s=e.i(605614),d=e.i(656746),u=e.i(461620),m=e.i(254749);e.i(628140);var p=e.i(609071);e.i(681811);var c=e.i(668136),h=e.i(633181),y=e.i(931078),g=e.i(650394),f=e.i(497642),C=e.i(749836),E=e.i(996864),w=e.i(697263);function A(e,t){let{data:n,isFetching:o}=(0,w.useMonolithQuery)({method:"quotePlanDesignControllerFindAllForQuote",params:e?[e]:void 0}),{data:i,isFetching:a}=(0,w.useMonolithQuery)({method:"quotePlanDesignControllerFindOne",params:t?[t]:void 0}),{data:l}=(0,w.useMonolithQuery)({method:"quotesControllerFindOne",params:e?[e]:void 0}),{data:r}=(0,w.useMonolithQuery)({method:"employersControllerFindOne",params:l?.employerId?[l.employerId]:void 0}),{tryMutate:s}=(0,h.useMonolithMutation)({method:"quotePlanDesignControllerCreate",shouldReloadPage:!1}),{tryMutate:d,isPending:u}=(0,h.useMonolithMutation)({method:"quotePlanDesignControllerRemove"}),{tryMutate:m}=(0,h.useMonolithMutation)({method:"quotePlanDesignControllerUpdate",shouldReloadPage:!1}),p=(0,g.useMemo)(()=>
1n?.filter(e=>e.isCompleted)||[],[n]),c=(0,g.useMemo)(()=>t?p.find(e=>e.id===t):p[0],[t,p]),y=async()=>{let t=l?.employerId;if(!e||!t)return;let n=await s([{quoteId:e,employerId:t}]);return n.isOk()?n.value:void 0};return{quoteId:e,quotePlanDesignId:t,quote:l,employer:r,quotePlanDesign:i,selectedCompletedPlanDesign:c,quotePlanDesignList:n,completedPlanDesigns:p,createPlanDesign:y,deletePlanDesign:d,updatePlanDesign:m,isFetching:o||a||u}}e.s(["useQuotePlanDesignControls",0,A],631749),e.i(728340);var v=e.i(944427);e.i(589238);var b=e.i(971482);e.i(333033);var T=e.i(176172),P=e.i(700103);let S=(e,t)=>e.isCompleted!==t.isCompleted?e.isCompleted?-1:1:(0,T.isDefined)(e.updatedAt)&&(0,T.isDefined)(t.updatedAt)?(0,P.parseDateISO)(e.updatedAt).isAfter((0,P.parseDateISO)(t.updatedAt))?-1:1:(0,T.isDefined)(e.updatedAt)?-1:1,N=E.TornadoWizardStepType.WELCOME,O=function({isOpen:e,onClose:n,quoteId:o,planDesignId:i,currentRoute:a=N}){let{navigateToRoute:l}=(0,c.useDynamicTornadoRouter)(),{selectedCompletedPlanDesign:r,quotePlanDesignList:s=[],createPlanDesign:d,deletePlanDesign:u}=A(o,i),m=async()=>{if((await u([i])).isErr())return;n();let e=s.filter(e=>e.id!==i).sort(S)[0];if(!(0,v.isDefined)(e)){let e=await d();(0,v.isDefined)(e)&&l(N,[o,e.id]);return}l(e.isCompleted?a:N,[o,e.id])};return(0,t.jsx)(b.ModalMessage,{isOpen:e,onClose:n,variant:"negative",title:"Delete plan design",description:`Are you sure you want to delete ${r?.name}? All of its data will be lost.`,primaryLabel:"Delete plan design",onPrimaryAction:m,secondaryLabel:"Cancel",onSecondaryAction:n})};var I=e.i(184006);e.i(278269);var M=e.i(496552),R=e.i(283026);let L=({...e})=>(0,t.jsx)(M.Button,{fw:400,h:"3rem",py:0,leftSection:(0,t.jsx)(R.AddIcon,{style:{pointerEvents:"none"}}),disableHover:!0,...e,children:"Create plan design"});e.i(105936);var _=e.i(999735),x=e.i(180705),D=e.i(836540),U=e.i(654873),Y=e.i(410609);let B=(0,P.getNow)().year(),G=[B,B+1];function j({onClick:e,onEdit:n,onContributionEdit:o,onDelete:i}){let[a,l]=(0,g.useState)(!1);return(0,t.jsxs)(D.RadixMenu,{open:a,onOpenChange:l,children:[(0,t.jsx)(D.RadixMenu.Trigger,{children:(0,t.jsx)(_.ActionIcon,{"aria-label":"Settings",isChecked:a,size:"md",w:"3rem",h:"3rem",className:Y.default.settingsButton,children:(0,t.jsx)(x.AdjustmentIcon,{style:{transform:"rotate(90deg)"}})})}),(0,t.jsxs)(D.RadixMenu.Content,{align:"end",children:[(0,t.jsx)(D.RadixMenu.Item,{onClick:o,children:"Edit contribution"}),(0,t.jsx)(D.RadixMenu.Item,{onClick:n,children:"Edit plan design (in wizard)"}),(0,t.jsxs)(U.ActionsSubMenu,{title:"Apply allowance model",children:[(0,t.jsx)(D.RadixMenu.Item,{onClick:()=>e(G[0]),children:G[0]}),(0,t.jsx)(D.RadixMenu.Item,{onClick:()=>e(G[1]),children:G[1]})]}),(0,t.jsx)(D.RadixMenu.Item,{onClick:i,children:"Delete"})]})]})}var F=e.i(496227);e.s(["TextInput",()=>F.ZorroTextInput],498029);var F=F,k=e.i(83681);let H=({value:e,onBlur:n,error:o})=>{let[i,a]=(0,k.useControlledState)(e);return(0,t.jsx)(F.ZorroTextInput,{value:i,onBlur:n,onChange:e=>{a(e.target.value)},w:"18rem",error:o,dataVariant:"transparent",styles:{input:{display:"inline-block",whiteSpace:"nowrap",textOverflow:"ellipsis",paddingRight:0}}})};e.i(234051);var V=e.i(999219),q=e.i(204405);let W=({label:e})=>(0,t.jsx)(u.Text,{fw:400,style:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"18.5rem"},children:e}),$=({children:e})=>(0,t.jsx)(q.Stack,{gap:"xs",w:"100%",align:"center",justify:"center",children:e}),Q="addNewPlanDesign",z=({option:e})=>e.value===Q?(0,t.jsx)($,{children:(0,t.jsx)(L,{variant:"secondary",bd:"none",bg:"transparent",w:"100%",justify:"center"})}):(0,t.jsx)(W,{label:e.label}),K=({quotePlans:e=[],value:n,onChange:o,onCreateNew:i})=>{let a=[...e.map(e=>({value:e.id,label:e.name||"Plan design"})),{value:Q,label:"Create new plan design"}];return(0,t.jsx)(V.Select,{data:a,value:n?.id,onChange:(e,t)=>
1{t.value===Q?i&&i():o(t.value)},comboboxProps:{width:"21.25rem",position:"bottom-end"},renderOption:z,w:"3.5rem","aria-label":"Select plan design",allowDeselect:!1,transparent:!0})},Z=({quotePlans:e,quotePlanDesign:n,selectedCompletedPlanDesign:o,quoteId:i,quotePlanDesignId:a,withQuotePlanSelect:l,withSettings:r,withCreatePlanButton:s,withRename:u,onPlanDesignSelect:m,onCreateNewPlanDesignFromOption:p,onEditQuotePlanDesign:c,onSettingClick:h,onContributionEdit:y,onDeleteQuotePlanDesign:f,onCreateNewPlanDesign:C,onRename:E})=>{let[w,A]=(0,g.useState)(!1);return i&&a?(0,t.jsxs)(d.Group,{gap:0,bd:"1px solid zorroGray.2",style:{borderRadius:"0.25rem"},children:[u&&(0,t.jsx)(H,{error:w,value:n?.name||"",onBlur:e=>{let t=e.target.value.trim();t&&""!==t?(A(!1),t!==n?.name&&E(t)):A(!0)}}),o?(0,t.jsxs)(d.Group,{gap:0,children:[l&&(0,t.jsx)(K,{quotePlans:e,onChange:t=>{let n=e.find(e=>e.id===t);n&&m(n?.id)},value:o,onCreateNew:p}),r&&(0,t.jsx)(j,{onEdit:c,onClick:h,onContributionEdit:y,onDelete:f})]}):s&&(0,t.jsx)(L,{variant:"secondary",bg:I.brand.zorroPlum200,px:"md",size:"lg",onClick:C})]}):null},J="4.5rem",X=g.default.memo(function({quoteId:e,quotePlanDesignId:g,link:w=`/v2/${e}/${g}/welcome`,options:v={},navigationProps:b={},onContributionEdit:T,searchParams:P={}}){let{withRename:S=!1,withSettings:N=!1,withQuotePlanSelect:I=!1,withCreatePlanButton:M=!1}=v,[R,{open:L,close:_}]=(0,m.useDisclosure)(!1),{currentRoute:x}=b,{quotePlanDesign:D,selectedCompletedPlanDesign:U,completedPlanDesigns:Y,quote:B,employer:G,createPlanDesign:j,updatePlanDesign:F,isFetching:k}=A(e,g),H=.5*(G?.name||"").length,{tryMutate:V}=(0,h.useMonolithMutation)({method:"quotesControllerApplyAllowanceModel"}),{navigateToRoute:q}=(0,c.useDynamicTornadoRouter)(),W=async t=>{e&&B&&g&&await V([e,{employerId:B.employerId,planDesignId:g,year:t}])},$=async()=>{let t=await j();t&&e&&!(0,y.default)(b)&&q("PRIORITIES",[e,t.id],{...P,...b})};return(0,t.jsxs)(n.AppShell.Header,{bd:"none",children:[(0,t.jsxs)(d.Group,{display:"flex",align:"center",h:J,pl:{base:0,xs:"2rem"},gap:"2rem",style:{flexWrap:"nowrap"},children:[(0,t.jsx)(r.Box,{display:{base:"none",xs:"inline-block"},children:(0,t.jsx)(o.Link,{href:w,prefetch:!1,children:(0,t.jsx)(a.ZorroLogo,{})})}),(0,t.jsxs)("div",{className:C.default.gradientContainer,children:[(0,t.jsx)(r.Box,{display:{base:"inline-block",xs:"none"},style:{position:"relative",zIndex:E.TornadoLayoutConstants.tornadoLayoutHeader,paddingLeft:"1.5rem"},children:(0,t.jsx)(o.Link,{href:"/",prefetch:!1,children:(0,t.jsx)(a.ZorroLogo,{})})}),(0,t.jsx)("div",{className:C.default.gradientCore}),(0,t.jsx)("div",{className:`${C.default.overlayBorder} ${C.default.overlayContainer}`,children:(0,t.jsxs)(d.Group,{h:"3rem",align:"end",children:[!k&&I&&e&&Y.length>0&&(0,t.jsx)(s.Center,{h:"3rem",children:(0,t.jsx)(f.DownloadQuoteDumpButton,{quoteId:e})}),k?null:(0,t.jsx)(Z,{quoteId:e,quotePlanDesignId:g,quotePlans:Y,quotePlanDesign:D,selectedCompletedPlanDesign:U,onPlanDesignSelect:t=>{x&&e&&q(x,[e,t])},onCreateNewPlanDesignFromOption:$,onEditQuotePlanDesign:()=>{if(e&&g){if(!(0,y.default)(b))return void q("PRIORITIES",[e,g],{...P,...b});q("PRIORITIES",[e,g],P)}},onSettingClick:W,onContributionEdit:T,onDeleteQuotePlanDesign:()=>{e&&g&&L()},onCreateNewPlanDesign:()=>{e&&g&&!(0,y.default)(b)&&q("PRIORITIES",[e,g],{...P,...b})},onRename:e=>{g&&B&&F([g,{name:e,employerId:B.employerId}])},withRename:S,withSettings:N,withQuotePlanSelect:I,withCreatePlanButton:M}),G?.name&&(0,t.jsx)(s.Center,{h:"3rem",bd:"1px solid var(--mantine-color-zorroGray-2)",w:"max-content",style:{borderRadius:"var(--mantine-radius-sm)"},p:"0.25rem",children:(0,t.jsxs)(d.Group,{styles:{root:{flexWrap:"nowrap"}},children:[G?.logoUrl&&(0,t.jsx)(p.EmployerLogo,{logoUrl:G.logoUrl}),(0,t.jsx)(i.Tooltip,{label:G?.name,disabled:H<32,position:"bottom",children:(0,t.jsx)(u.Text,{maw:"32rem",style:{...l.singleLineTruncatedTextWithEllipsis},px:"md",children:G?.name})})]})})]})})]})]}),e&&g&&(0,t.jsx)(O,{isOpen:R,onClose:_,quoteId:e,planDesignId:g,currentRoute:b.currentRoute})]})});e.s(["TORNADO_WIZARD_HEADER_HEIGHT",0,J,"default",0,X],80998)}]);

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.