@scalant/resume-builder 2.0.9 → 2.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- ._title_488yy_1{margin-bottom:0!important}._subtitle_488yy_5{margin:0!important;margin-bottom:3.2rem!important;margin-top:1.6rem!important}._description_1ufvv_1{margin-bottom:0!important}._checkbox_1ufvv_5{margin-top:.8rem}._continueBtn_1ufvv_9{margin-top:3.2rem}._buttonsContainer_1ufvv_13{display:flex;flex-direction:column;align-items:center;width:100%}._laterText_1ufvv_20{margin-top:1.2rem}._header_5304i_1{position:sticky;top:0;z-index:10;width:100%;display:flex;align-items:center;background-color:#fff;padding:1.6rem!important;border-bottom:.1rem solid #d9d9d9;height:6.4rem}._logo_5304i_14{width:9rem;height:1.2rem}._left_5304i_19{display:flex;flex-direction:column;height:100vh;background-color:#fff;overflow:hidden}._right_5304i_27{display:flex;flex-direction:column;height:100vh;overflow:auto}._content_5304i_34{overflow-y:auto;background-color:#fff}._layout_5304i_39{height:100%;display:flex;flex-direction:column}._contentInner_5304i_45{display:flex;flex-direction:column;justify-content:center;min-height:calc(100vh - 6.4rem);padding:2rem 16rem}._backButton_5304i_53{cursor:pointer}._buttonContainer_15z2h_1{margin-top:3.2rem}._submitBtn_15z2h_5{margin-bottom:1.2rem}._formItem_161sw_1{margin-bottom:0!important}._button_161sw_5{margin-top:24px}._tipTitle_1s19g_1{margin-bottom:.4rem!important}._tipDescription_1s19g_5{margin-bottom:0!important}._button_1s19g_9{margin-top:2.4rem}._title_11rpg_1{margin-bottom:.4rem!important}._toggleIcon_11rpg_5{font-size:16}._content_11rpg_9{margin-top:1.6rem!important}._card_11rpg_13{cursor:pointer;border-color:#d9d9d9!important}._icon_11rpg_18{color:#00000073!important;background-color:#f5f5f5!important}._container_1dmvd_1{margin:0 -8rem}._active_1dmvd_5{background-color:#006aff}._activeIcon_1dmvd_9{font-size:16px;color:#006aff}._completeIcon_1dmvd_14{font-size:16px;color:#20a164}._incompleteIcon_1dmvd_19{font-size:16px;color:#faad14}._formItem_1c00s_1{margin-bottom:0!important}._buttonContainer_1c00s_5{margin-top:24px}._customProfile_1c00s_9{width:50%}._container_4nfqt_1{width:100%}._skillSection_4nfqt_5{margin-bottom:24px}._sectionTitle_4nfqt_9{margin-bottom:16px!important}._skillsContainer_4nfqt_13{display:flex;flex-wrap:wrap;gap:8px}._skillTag_4nfqt_19{cursor:pointer;margin:4px;padding:4px 12px;border-radius:16px;font-size:14px;display:flex;align-items:center}._skillTag_4nfqt_19._selected_4nfqt_28{background-color:#1890ff;color:#fff}._closeIcon_4nfqt_33{margin-left:6px;font-size:12px}._buttonContainer_4nfqt_38{width:100%;display:flex;justify-content:space-between;gap:16px}._button_4nfqt_38{flex:1;padding:8px 16px;border-radius:6px;cursor:pointer;border:none}._button_4nfqt_38._primary_4nfqt_52{background-color:#1890ff;color:#fff}._button_4nfqt_38._secondary_4nfqt_56{background-color:#fff;color:#1890ff;border:1px solid #1890ff}._midWidth_wiezh_1{width:50%}._fullWidth_wiezh_5{width:100%}._container_tc6c5_1{padding:8rem}._floatButtonGroup_tc6c5_5{position:static;margin-left:.5rem}._disabledButton_tc6c5_10{opacity:.5;cursor:not-allowed}._dropdown_tc6c5_15{cursor:pointer;display:flex;align-items:center;gap:.5rem}._dropdownIcon_tc6c5_22{font-size:1rem}._container_1f5vc_1{width:100%;height:100%;background:#f5f5f5}._document_1f5vc_7{position:static;width:100%}._page_1f5vc_12{width:100%;height:auto}._page_1f5vc_12 canvas{width:100%!important;height:100%!important}._title_1f5vc_21{margin-bottom:0;display:inline-flex;align-items:center}._header_1f5vc_27{width:100%;padding:1.6rem;background-color:#fff;border-bottom:.1rem solid #d9d9d9}._loader_1f5vc_34{font-size:38;color:#00000040}._loadingContainer_1f5vc_39{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60rem;gap:1.6rem}._loadingText_1f5vc_48{color:#00000040;font-size:16}._icon_1f5vc_53{margin-right:1rem;font-size:2rem}._downloadIcon_1f5vc_58{margin-right:.5rem}._paginationArrow_1f5vc_62{margin-right:8px}._paginationPageNumber_1f5vc_66{border:1px solid #d9d9d9;border-radius:.4rem;padding:.5rem 1.2rem;text-align:center;background:#f5f5f5;color:#00000040;margin-right:.8rem;margin-left:.8rem;font-weight:500}._paginationSlash_1f5vc_78,._paginationTotal_1f5vc_83{margin-right:.8rem;font-weight:500}._container_9st42_1{width:100%;height:100%;padding:8rem;background:#f5f5f5}._previewImage_9st42_8{width:100%;height:100%}._viewPdfButton_9st42_13{margin-top:2rem;width:100%}._navigationButtons_eda90_1{margin-top:16px;width:100%;justify-content:center}._previewImage_eda90_7{width:100%;height:100%;object-fit:cover}
1
+ ._title_488yy_1{margin-bottom:0!important}._subtitle_488yy_5{margin:0!important;margin-bottom:3.2rem!important;margin-top:1.6rem!important}._description_1ufvv_1{margin-bottom:0!important}._checkbox_1ufvv_5{margin-top:.8rem}._continueBtn_1ufvv_9{margin-top:3.2rem}._buttonsContainer_1ufvv_13{display:flex;flex-direction:column;align-items:center;width:100%}._laterText_1ufvv_20{margin-top:1.2rem}._header_qq4d2_1{position:sticky;top:0;z-index:10;width:100%;display:flex;align-items:center;background-color:#fff;padding:1.6rem!important;border-bottom:.1rem solid #d9d9d9;height:6.4rem}._logo_qq4d2_14{width:9rem;height:1.2rem}._left_qq4d2_19{display:flex;flex-direction:column;height:100vh;background-color:#fff;overflow:hidden}._right_qq4d2_27{display:flex;flex-direction:column;height:100vh;overflow:auto;background-color:#f5f5f5}._content_qq4d2_35{overflow-y:auto;background-color:#fff}._layout_qq4d2_40{height:100%;display:flex;flex-direction:column}._contentInner_qq4d2_46{display:flex;flex-direction:column;justify-content:center;min-height:calc(100vh - 6.4rem);padding:2rem 16rem}._backButton_qq4d2_54{cursor:pointer}._buttonContainer_15z2h_1{margin-top:3.2rem}._submitBtn_15z2h_5{margin-bottom:1.2rem}._formItem_161sw_1{margin-bottom:0!important}._button_161sw_5{margin-top:24px}._tipTitle_1s19g_1{margin-bottom:.4rem!important}._tipDescription_1s19g_5{margin-bottom:0!important}._button_1s19g_9{margin-top:2.4rem}._title_11rpg_1{margin-bottom:.4rem!important}._toggleIcon_11rpg_5{font-size:16}._content_11rpg_9{margin-top:1.6rem!important}._card_11rpg_13{cursor:pointer;border-color:#d9d9d9!important}._icon_11rpg_18{color:#00000073!important;background-color:#f5f5f5!important}._container_1dmvd_1{margin:0 -8rem}._active_1dmvd_5{background-color:#006aff}._activeIcon_1dmvd_9{font-size:16px;color:#006aff}._completeIcon_1dmvd_14{font-size:16px;color:#20a164}._incompleteIcon_1dmvd_19{font-size:16px;color:#faad14}._formItem_1c00s_1{margin-bottom:0!important}._buttonContainer_1c00s_5{margin-top:24px}._customProfile_1c00s_9{width:50%}._container_4nfqt_1{width:100%}._skillSection_4nfqt_5{margin-bottom:24px}._sectionTitle_4nfqt_9{margin-bottom:16px!important}._skillsContainer_4nfqt_13{display:flex;flex-wrap:wrap;gap:8px}._skillTag_4nfqt_19{cursor:pointer;margin:4px;padding:4px 12px;border-radius:16px;font-size:14px;display:flex;align-items:center}._skillTag_4nfqt_19._selected_4nfqt_28{background-color:#1890ff;color:#fff}._closeIcon_4nfqt_33{margin-left:6px;font-size:12px}._buttonContainer_4nfqt_38{width:100%;display:flex;justify-content:space-between;gap:16px}._button_4nfqt_38{flex:1;padding:8px 16px;border-radius:6px;cursor:pointer;border:none}._button_4nfqt_38._primary_4nfqt_52{background-color:#1890ff;color:#fff}._button_4nfqt_38._secondary_4nfqt_56{background-color:#fff;color:#1890ff;border:1px solid #1890ff}._midWidth_wiezh_1{width:50%}._fullWidth_wiezh_5{width:100%}._container_tc6c5_1{padding:8rem}._floatButtonGroup_tc6c5_5{position:static;margin-left:.5rem}._disabledButton_tc6c5_10{opacity:.5;cursor:not-allowed}._dropdown_tc6c5_15{cursor:pointer;display:flex;align-items:center;gap:.5rem}._dropdownIcon_tc6c5_22{font-size:1rem}._container_rjcd4_1{width:100%;height:100%;background:#f5f5f5}._document_rjcd4_7{position:static;width:100%}._page_rjcd4_12{width:100%;height:auto}._page_rjcd4_12 canvas{width:100%!important;height:100%!important}._title_rjcd4_21{margin-bottom:0;display:inline-flex;align-items:center}._header_rjcd4_27{width:100%;padding:1.6rem;background-color:#fff;border-bottom:.1rem solid #d9d9d9}._loader_rjcd4_34{font-size:38;color:#00000040}._loadingContainer_rjcd4_39{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60rem;gap:1.6rem;width:100%}._loadingText_rjcd4_49{color:#00000040;font-size:16}._icon_rjcd4_54{margin-right:1rem;font-size:2rem}._downloadIcon_rjcd4_59{margin-right:.5rem}._paginationArrow_rjcd4_63{margin-right:8px}._paginationPageNumber_rjcd4_67{border:1px solid #d9d9d9;border-radius:.4rem;padding:.5rem 1.2rem;text-align:center;background:#f5f5f5;color:#00000040;margin-right:.8rem;margin-left:.8rem;font-weight:500}._paginationSlash_rjcd4_79,._paginationTotal_rjcd4_84{margin-right:.8rem;font-weight:500}._container_9st42_1{width:100%;height:100%;padding:8rem;background:#f5f5f5}._previewImage_9st42_8{width:100%;height:100%}._viewPdfButton_9st42_13{margin-top:2rem;width:100%}._navigationButtons_2p9ut_1{margin-top:16px;width:100%;justify-content:center}._previewImage_2p9ut_7{width:100%;height:100%;object-fit:cover}._loadingContainer_2p9ut_13{position:absolute;height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2rem}._loadingIcon_2p9ut_24{font-size:5rem}
@@ -2,7 +2,7 @@ var Qo = Object.defineProperty, Jo = Object.defineProperties;
2
2
  var Zo = Object.getOwnPropertyDescriptors;
3
3
  var no = Object.getOwnPropertySymbols;
4
4
  var ei = Object.prototype.hasOwnProperty, ti = Object.prototype.propertyIsEnumerable;
5
- var ao = (C, $, F) => $ in C ? Qo(C, $, { enumerable: !0, configurable: !0, writable: !0, value: F }) : C[$] = F, Jr = (C, $) => {
5
+ var ao = (C, $, F) => $ in C ? Qo(C, $, { enumerable: !0, configurable: !0, writable: !0, value: F }) : C[$] = F, Xr = (C, $) => {
6
6
  for (var F in $ || ($ = {}))
7
7
  ei.call($, F) && ao(C, F, $[F]);
8
8
  if (no)
@@ -12880,8 +12880,8 @@ function useAlign(C, $, F, V, K, J, ee) {
12880
12880
  C || ce();
12881
12881
  var de = useEvent(function() {
12882
12882
  if ($ && F && C) {
12883
- let ir = function(Ar, Xr) {
12884
- var Zr = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : gt, gn = Fe.x + Ar, Pn = Fe.y + Xr, jn = gn + Ie, $n = Pn + $e, Tn = Math.max(gn, Zr.left), Zt = Math.max(Pn, Zr.top), mr = Math.min(jn, Zr.right), kr = Math.min($n, Zr.bottom);
12883
+ let ir = function(Ar, Qr) {
12884
+ var Zr = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : gt, gn = Fe.x + Ar, Pn = Fe.y + Qr, jn = gn + Ie, $n = Pn + $e, Tn = Math.max(gn, Zr.left), Zt = Math.max(Pn, Zr.top), mr = Math.min(jn, Zr.right), kr = Math.min($n, Zr.bottom);
12885
12885
  return Math.max(0, (mr - Tn) * (kr - Zt));
12886
12886
  }, $r = function() {
12887
12887
  sr = Fe.y + Dt, hr = sr + $e, pt = Fe.x + wt, At = pt + Ie;
@@ -12928,8 +12928,8 @@ function useAlign(C, $, F, V, K, J, ee) {
12928
12928
  return;
12929
12929
  var ct = Ne.offset, ut = Ne.targetOffset, Xe = getNumberOffset(Fe, ct), nt = _slicedToArray(Xe, 2), Je = nt[0], tt = nt[1], rt = getNumberOffset(Pe, ut), qe = _slicedToArray(rt, 2), at = qe[0], lt = qe[1];
12930
12930
  Pe.x -= at, Pe.y -= lt;
12931
- var St = Ne.points || [], xt = _slicedToArray(St, 2), kt = xt[0], Pt = xt[1], ht = splitPoints(Pt), Nt = splitPoints(kt), Ct = getAlignPoint(Pe, ht), Rt = getAlignPoint(Fe, Nt), It = _objectSpread2({}, Ne), wt = Ct.x - Rt.x + Je, Dt = Ct.y - Rt.y + tt, Vt = ir(wt, Dt), Ut = ir(wt, Dt, dt), zt = getAlignPoint(Pe, ["t", "l"]), Bt = getAlignPoint(Fe, ["t", "l"]), Kt = getAlignPoint(Pe, ["b", "r"]), Wt = getAlignPoint(Fe, ["b", "r"]), Gt = Ne.overflow || {}, Jt = Gt.adjustX, vr = Gt.adjustY, or = Gt.shiftX, br = Gt.shiftY, fr = function(Xr) {
12932
- return typeof Xr == "boolean" ? Xr : Xr >= 0;
12931
+ var St = Ne.points || [], xt = _slicedToArray(St, 2), kt = xt[0], Pt = xt[1], ht = splitPoints(Pt), Nt = splitPoints(kt), Ct = getAlignPoint(Pe, ht), Rt = getAlignPoint(Fe, Nt), It = _objectSpread2({}, Ne), wt = Ct.x - Rt.x + Je, Dt = Ct.y - Rt.y + tt, Vt = ir(wt, Dt), Ut = ir(wt, Dt, dt), zt = getAlignPoint(Pe, ["t", "l"]), Bt = getAlignPoint(Fe, ["t", "l"]), Kt = getAlignPoint(Pe, ["b", "r"]), Wt = getAlignPoint(Fe, ["b", "r"]), Gt = Ne.overflow || {}, Jt = Gt.adjustX, vr = Gt.adjustY, or = Gt.shiftX, br = Gt.shiftY, fr = function(Qr) {
12932
+ return typeof Qr == "boolean" ? Qr : Qr >= 0;
12933
12933
  }, sr, hr, pt, At;
12934
12934
  $r();
12935
12935
  var ft = fr(vr), _t = Nt[0] === ht[0];
@@ -13163,7 +13163,7 @@ function generateTrigger() {
13163
13163
  Hr[Fr - 1] = arguments[Fr];
13164
13164
  (mr = at.onClick) === null || mr === void 0 || mr.call.apply(mr, [at, Zt].concat(Hr));
13165
13165
  });
13166
- var rr = useWinClick(Rt, Mr, nt, yt, pe, fe, St, Bt), ir = Ir.has("hover"), $r = Or.has("hover"), Ar, Xr;
13166
+ var rr = useWinClick(Rt, Mr, nt, yt, pe, fe, St, Bt), ir = Ir.has("hover"), $r = Or.has("hover"), Ar, Qr;
13167
13167
  ir && (nr("onMouseEnter", !0, de, function(Zt) {
13168
13168
  ft(Zt);
13169
13169
  }), nr("onPointerEnter", !0, de, function(Zt) {
@@ -13173,7 +13173,7 @@ function generateTrigger() {
13173
13173
  }, Oe && (lt.onMouseMove = function(Zt) {
13174
13174
  var mr;
13175
13175
  (mr = at.onMouseMove) === null || mr === void 0 || mr.call(at, Zt);
13176
- })), $r && (nr("onMouseLeave", !1, ve), nr("onPointerLeave", !1, ve), Xr = function() {
13176
+ })), $r && (nr("onMouseLeave", !1, ve), nr("onPointerLeave", !1, ve), Qr = function() {
13177
13177
  Bt(!1, ve);
13178
13178
  }), Ir.has("focus") && nr("onFocus", !0, me), Or.has("focus") && nr("onBlur", !1, ye), Ir.has("contextMenu") && (lt.onContextMenu = function(Zt) {
13179
13179
  var mr;
@@ -13211,7 +13211,7 @@ function generateTrigger() {
13211
13211
  style: Re,
13212
13212
  target: nt,
13213
13213
  onMouseEnter: Ar,
13214
- onMouseLeave: Xr,
13214
+ onMouseLeave: Qr,
13215
13215
  onPointerEnter: Ar,
13216
13216
  zIndex: Ne,
13217
13217
  open: Rt,
@@ -24939,8 +24939,8 @@ function RangePicker(C, $) {
24939
24939
  }, At = function(rr) {
24940
24940
  var ir, $r = rr.target.getRootNode();
24941
24941
  if (!Ie.current.nativeElement.contains((ir = $r.activeElement) !== null && ir !== void 0 ? ir : document.activeElement)) {
24942
- var Ar = ve.findIndex(function(Xr) {
24943
- return !Xr;
24942
+ var Ar = ve.findIndex(function(Qr) {
24943
+ return !Qr;
24944
24944
  });
24945
24945
  Ar >= 0 && Ie.current.focus({
24946
24946
  index: Ar
@@ -39508,7 +39508,7 @@ const PREFERENCE_SETTINGS_IMAGE = "https://d2beiqkhq929f0.cloudfront.net/public_
39508
39508
  // Update specific form data
39509
39509
  updateFormData: (C, $) => {
39510
39510
  const { formId: F, data: V } = $.payload;
39511
- C.forms[F] && (C.forms[F] = Jr(Jr({}, C.forms[F]), V));
39511
+ C.forms[F] && (C.forms[F] = Xr(Xr({}, C.forms[F]), V));
39512
39512
  },
39513
39513
  // Reset specific form data
39514
39514
  resetFormData: (C, $) => {
@@ -39545,7 +39545,7 @@ const PREFERENCE_SETTINGS_IMAGE = "https://d2beiqkhq929f0.cloudfront.net/public_
39545
39545
  $.getItem(ONBOARDING_COMPLETED_KEY) || "[]"
39546
39546
  );
39547
39547
  F.includes(C) || (F.push(C), $.setItem(ONBOARDING_COMPLETED_KEY, JSON.stringify(F)));
39548
- }, isFinalOnboardingStep = (C) => C === RESUME_BUILDER_STEPS.RESUME_STEPS.key, shouldShowOnboarding = (C) => !isOnboardingCompleted(C), header$1 = "_header_5304i_1", logo = "_logo_5304i_14", left = "_left_5304i_19", right = "_right_5304i_27", content$1 = "_content_5304i_34", layout = "_layout_5304i_39", contentInner = "_contentInner_5304i_45", backButton = "_backButton_5304i_53", styles$c = {
39548
+ }, isFinalOnboardingStep = (C) => C === RESUME_BUILDER_STEPS.RESUME_STEPS.key, shouldShowOnboarding = (C) => !isOnboardingCompleted(C), header$1 = "_header_qq4d2_1", logo = "_logo_qq4d2_14", left = "_left_qq4d2_19", right = "_right_qq4d2_27", content$1 = "_content_qq4d2_35", layout = "_layout_qq4d2_40", contentInner = "_contentInner_qq4d2_46", backButton = "_backButton_qq4d2_54", styles$c = {
39549
39549
  header: header$1,
39550
39550
  logo,
39551
39551
  left,
@@ -42019,9 +42019,23 @@ const dynamicBaseQuery = (C, $, F) => vn(null, null, function* () {
42019
42019
  providesTags: ($, F, { resumeId: V }) => [
42020
42020
  { type: "ResumeLink", id: V }
42021
42021
  ]
42022
+ }),
42023
+ updateResumePreferences: C.mutation({
42024
+ query: ({ resumeId: $, payload: F }) => ({
42025
+ url: "/resume/preferences/update",
42026
+ method: "PUT",
42027
+ body: Xr({
42028
+ resume_id: $
42029
+ }, F)
42030
+ }),
42031
+ invalidatesTags: ["ResumeLink"]
42022
42032
  })
42023
42033
  })
42024
- }), { useUpdateResumeDetailsMutation, useGetResumeLinkQuery } = resumeBuilderApi, FORM_ID$6 = "preferenceSettings", initialFormData$6 = {
42034
+ }), {
42035
+ useUpdateResumeDetailsMutation,
42036
+ useGetResumeLinkQuery,
42037
+ useUpdateResumePreferencesMutation
42038
+ } = resumeBuilderApi, FORM_ID$6 = "preferenceSettings", initialFormData$6 = {
42025
42039
  preferredLocations: [],
42026
42040
  preferredRoles: [],
42027
42041
  ctc: "",
@@ -42582,7 +42596,7 @@ const dynamicBaseQuery = (C, $, F) => vn(null, null, function* () {
42582
42596
  updateFormData({
42583
42597
  formId: FORM_ID$4,
42584
42598
  data: {
42585
- personalInfoAndSocial: dn(Jr({}, K == null ? void 0 : K.personalInfoAndSocial), {
42599
+ personalInfoAndSocial: dn(Xr({}, K == null ? void 0 : K.personalInfoAndSocial), {
42586
42600
  additionalProfiles: [...se, { id: ve }]
42587
42601
  })
42588
42602
  }
@@ -43606,7 +43620,7 @@ const PROGRAMMING_LANGUAGES = [
43606
43620
  if (ie.includes(oe)) {
43607
43621
  const ce = ie.filter(
43608
43622
  (se) => se !== oe
43609
- ), de = Jr({}, le);
43623
+ ), de = Xr({}, le);
43610
43624
  delete de[oe], $(
43611
43625
  updateFormData({
43612
43626
  formId: FORM_ID$3,
@@ -43631,7 +43645,7 @@ const PROGRAMMING_LANGUAGES = [
43631
43645
  updateFormData({
43632
43646
  formId: FORM_ID$3,
43633
43647
  data: {
43634
- skillExperience: dn(Jr({}, le), {
43648
+ skillExperience: dn(Xr({}, le), {
43635
43649
  [ae]: {
43636
43650
  years: oe,
43637
43651
  months: ie
@@ -43706,7 +43720,7 @@ const PROGRAMMING_LANGUAGES = [
43706
43720
  (ae) => ae.scalantResumeBuilder.formStore.forms[$]
43707
43721
  ), [J] = Form.useForm(), ee = (ae, oe) => {
43708
43722
  const le = ((K == null ? void 0 : K.projectItems) || []).map(
43709
- (ce) => ce.id === C.id ? dn(Jr({}, ce), {
43723
+ (ce) => ce.id === C.id ? dn(Xr({}, ce), {
43710
43724
  formData: oe,
43711
43725
  saved: !0
43712
43726
  }) : ce
@@ -43721,7 +43735,7 @@ const PROGRAMMING_LANGUAGES = [
43721
43735
  );
43722
43736
  }, te = () => {
43723
43737
  const oe = ((K == null ? void 0 : K.projectItems) || []).map(
43724
- (ie) => ie.id === C.id ? dn(Jr({}, ie), { expanded: !ie.expanded }) : ie
43738
+ (ie) => ie.id === C.id ? dn(Xr({}, ie), { expanded: !ie.expanded }) : ie
43725
43739
  );
43726
43740
  V(
43727
43741
  updateFormData({
@@ -43901,7 +43915,7 @@ const PROGRAMMING_LANGUAGES = [
43901
43915
  (le) => le.scalantResumeBuilder.formStore.forms[$]
43902
43916
  ), [J] = Form.useForm(), ee = (le, ce) => {
43903
43917
  const se = ((K == null ? void 0 : K.educationItems) || []).map(
43904
- (ve) => ve.id === C.id ? dn(Jr({}, ve), {
43918
+ (ve) => ve.id === C.id ? dn(Xr({}, ve), {
43905
43919
  formData: ce,
43906
43920
  saved: !0
43907
43921
  }) : ve
@@ -43916,7 +43930,7 @@ const PROGRAMMING_LANGUAGES = [
43916
43930
  );
43917
43931
  }, te = () => {
43918
43932
  const ce = ((K == null ? void 0 : K.educationItems) || []).map(
43919
- (de) => de.id === C.id ? dn(Jr({}, de), {
43933
+ (de) => de.id === C.id ? dn(Xr({}, de), {
43920
43934
  expanded: !de.expanded
43921
43935
  }) : de
43922
43936
  );
@@ -43955,7 +43969,7 @@ const PROGRAMMING_LANGUAGES = [
43955
43969
  form: J,
43956
43970
  layout: "vertical",
43957
43971
  onValuesChange: ee,
43958
- initialValues: Jr({
43972
+ initialValues: Xr({
43959
43973
  grade_type: "cgpa"
43960
43974
  }, C.formData)
43961
43975
  },
@@ -44213,7 +44227,7 @@ const PROGRAMMING_LANGUAGES = [
44213
44227
  (se) => se.scalantResumeBuilder.formStore.forms[$]
44214
44228
  ), [J] = Form.useForm(), ee = (se, ve) => {
44215
44229
  const ye = ((K == null ? void 0 : K.workExperienceItems) || []).map(
44216
- (pe) => pe.id === C.id ? dn(Jr({}, pe), { formData: ve, saved: !0 }) : pe
44230
+ (pe) => pe.id === C.id ? dn(Xr({}, pe), { formData: ve, saved: !0 }) : pe
44217
44231
  );
44218
44232
  V(
44219
44233
  updateFormData({
@@ -44225,7 +44239,7 @@ const PROGRAMMING_LANGUAGES = [
44225
44239
  );
44226
44240
  }, te = () => {
44227
44241
  const ve = ((K == null ? void 0 : K.workExperienceItems) || []).map(
44228
- (me) => me.id === C.id ? dn(Jr({}, me), { expanded: !me.expanded }) : me
44242
+ (me) => me.id === C.id ? dn(Xr({}, me), { expanded: !me.expanded }) : me
44229
44243
  );
44230
44244
  V(
44231
44245
  updateFormData({
@@ -44451,7 +44465,7 @@ const PROGRAMMING_LANGUAGES = [
44451
44465
  }, [C.id, V, C.formData]);
44452
44466
  const te = (oe) => {
44453
44467
  $(
44454
- F.map((ie) => ie.id === oe ? dn(Jr({}, ie), { expanded: !ie.expanded }) : ie)
44468
+ F.map((ie) => ie.id === oe ? dn(Xr({}, ie), { expanded: !ie.expanded }) : ie)
44455
44469
  );
44456
44470
  }, re = (oe) => {
44457
44471
  $(F.filter((ie) => ie.id !== oe));
@@ -44466,7 +44480,7 @@ const PROGRAMMING_LANGUAGES = [
44466
44480
  yield V.validateFields(ie);
44467
44481
  const le = V.getFieldsValue(ie);
44468
44482
  $(
44469
- F.map((ce) => ce.id === oe ? dn(Jr({}, ce), {
44483
+ F.map((ce) => ce.id === oe ? dn(Xr({}, ce), {
44470
44484
  saved: !0,
44471
44485
  expanded: !1,
44472
44486
  formData: le
@@ -44477,7 +44491,7 @@ const PROGRAMMING_LANGUAGES = [
44477
44491
  }
44478
44492
  }), ae = (oe) => {
44479
44493
  $(
44480
- F.map((ie) => ie.id === oe ? dn(Jr({}, ie), { expanded: !1 }) : ie)
44494
+ F.map((ie) => ie.id === oe ? dn(Xr({}, ie), { expanded: !1 }) : ie)
44481
44495
  );
44482
44496
  };
44483
44497
  return C.saved && !C.expanded ? /* @__PURE__ */ React__default.createElement(Card, { key: C.id }, /* @__PURE__ */ React__default.createElement(Flex, { justify: "space-between", align: "center" }, /* @__PURE__ */ React__default.createElement(Text, null, "Section ", C.id, " - ", J), /* @__PURE__ */ React__default.createElement(RefIcon$y, { onClick: () => te(C.id) })), /* @__PURE__ */ React__default.createElement(Text, null, ee.slice(0, 50), "...")) : /* @__PURE__ */ React__default.createElement(Card, { key: C.id }, /* @__PURE__ */ React__default.createElement(Flex, { gap: 16, justify: "space-between" }, /* @__PURE__ */ React__default.createElement(Flex, { gap: 4 }, /* @__PURE__ */ React__default.createElement(Text, null, "Section ", C.id), C.saved && /* @__PURE__ */ React__default.createElement(Tag, { color: "success" }, "Saved")), F.length > 1 && /* @__PURE__ */ React__default.createElement(RefIcon$e, { onClick: () => re(C.id) })), /* @__PURE__ */ React__default.createElement(Form, { form: V, layout: "vertical" }, /* @__PURE__ */ React__default.createElement(
@@ -44782,7 +44796,7 @@ const PROGRAMMING_LANGUAGES = [
44782
44796
  const ae = FORM_STEPS.find((ie) => ie.key === ne);
44783
44797
  if (!ae) return null;
44784
44798
  let oe = !1;
44785
- return te.includes(ne) && (oe = !0), dn(Jr({}, ae), {
44799
+ return te.includes(ne) && (oe = !0), dn(Xr({}, ae), {
44786
44800
  status: $.includes(ne) ? "incomplete" : "complete",
44787
44801
  required: oe,
44788
44802
  component: React__default.createElement(ae.component, {
@@ -44885,6 +44899,28 @@ const PROGRAMMING_LANGUAGES = [
44885
44899
  })
44886
44900
  }
44887
44901
  ) : /* @__PURE__ */ React__default.createElement(Spin, null));
44902
+ }, DEFAULT_FONT_SIZE = "medium", FontSizeDropdown = ({ onFontSizeChange: C }) => {
44903
+ var re;
44904
+ const $ = useSelector(
44905
+ (ne) => ne.scalantResumeBuilder.resumeBuilder.resumeData
44906
+ ), F = (re = $ == null ? void 0 : $.resume_meta) == null ? void 0 : re.font_size, [V, K] = useState(
44907
+ F || DEFAULT_FONT_SIZE
44908
+ ), { mutate: J } = useUpdateResumePreferencesMutation(), ee = ({ key: ne }) => {
44909
+ var ae;
44910
+ K(ne), J({
44911
+ resume_id: (ae = $ == null ? void 0 : $.resume_details) == null ? void 0 : ae.id,
44912
+ payload: {
44913
+ scaler_resume_template_font_choice: ne
44914
+ }
44915
+ }), C == null || C(ne);
44916
+ }, te = /* @__PURE__ */ React__default.createElement(Menu, { onClick: ee, selectedKeys: [V] }, /* @__PURE__ */ React__default.createElement(Menu.Item, { key: "small" }, "Small"), /* @__PURE__ */ React__default.createElement(Menu.Item, { key: "medium" }, "Medium"), /* @__PURE__ */ React__default.createElement(Menu.Item, { key: "large" }, "Large"));
44917
+ return /* @__PURE__ */ React__default.createElement(Dropdown, { overlay: te, trigger: ["click"] }, /* @__PURE__ */ React__default.createElement(
44918
+ FloatButton,
44919
+ {
44920
+ icon: /* @__PURE__ */ React__default.createElement(RefIcon$7, null),
44921
+ tooltip: `Font Size: ${V.charAt(0).toUpperCase() + V.slice(1)}`
44922
+ }
44923
+ ));
44888
44924
  }, container$2 = "_container_tc6c5_1", floatButtonGroup = "_floatButtonGroup_tc6c5_5", disabledButton = "_disabledButton_tc6c5_10", dropdown = "_dropdown_tc6c5_15", dropdownIcon = "_dropdownIcon_tc6c5_22", styles$3 = {
44889
44925
  container: container$2,
44890
44926
  floatButtonGroup,
@@ -49716,7 +49752,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
49716
49752
  };
49717
49753
  }
49718
49754
  function Kr(Ce, je) {
49719
- if (!Xr(Ce))
49755
+ if (!Qr(Ce))
49720
49756
  throw new TypeError(je + " is not a WritableStream.");
49721
49757
  }
49722
49758
  function Yr(Ce) {
@@ -49746,18 +49782,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
49746
49782
  }
49747
49783
  return Object.defineProperty(Ce.prototype, "locked", {
49748
49784
  get: function() {
49749
- if (!Xr(this))
49785
+ if (!Qr(this))
49750
49786
  throw Jn("locked");
49751
49787
  return Zr(this);
49752
49788
  },
49753
49789
  enumerable: !1,
49754
49790
  configurable: !0
49755
49791
  }), Ce.prototype.abort = function(je) {
49756
- return je === void 0 && (je = void 0), Xr(this) ? Zr(this) ? de(new TypeError("Cannot abort a stream that already has a writer")) : gn(this, je) : de(Jn("abort"));
49792
+ return je === void 0 && (je = void 0), Qr(this) ? Zr(this) ? de(new TypeError("Cannot abort a stream that already has a writer")) : gn(this, je) : de(Jn("abort"));
49757
49793
  }, Ce.prototype.close = function() {
49758
- return Xr(this) ? Zr(this) ? de(new TypeError("Cannot close a stream that already has a writer")) : sn(this) ? de(new TypeError("Cannot close an already-closing stream")) : Pn(this) : de(Jn("close"));
49794
+ return Qr(this) ? Zr(this) ? de(new TypeError("Cannot close a stream that already has a writer")) : sn(this) ? de(new TypeError("Cannot close an already-closing stream")) : Pn(this) : de(Jn("close"));
49759
49795
  }, Ce.prototype.getWriter = function() {
49760
- if (!Xr(this))
49796
+ if (!Qr(this))
49761
49797
  throw Jn("getWriter");
49762
49798
  return ir(this);
49763
49799
  }, Ce;
@@ -49786,7 +49822,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
49786
49822
  function Ar(Ce) {
49787
49823
  Ce._state = "writable", Ce._storedError = void 0, Ce._writer = void 0, Ce._writableStreamController = void 0, Ce._writeRequests = new be(), Ce._inFlightWriteRequest = void 0, Ce._closeRequest = void 0, Ce._inFlightCloseRequest = void 0, Ce._pendingAbortRequest = void 0, Ce._backpressure = !1;
49788
49824
  }
49789
- function Xr(Ce) {
49825
+ function Qr(Ce) {
49790
49826
  return !te(Ce) || !Object.prototype.hasOwnProperty.call(Ce, "_writableStreamController") ? !1 : Ce instanceof rr;
49791
49827
  }
49792
49828
  function Zr(Ce) {
@@ -50299,11 +50335,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
50299
50335
  });
50300
50336
  });
50301
50337
  }
50302
- if (Qr(Ce, Ht._closedPromise, function(gr) {
50338
+ if (Jr(Ce, Ht._closedPromise, function(gr) {
50303
50339
  vt ? Sn(!0, gr) : ln(function() {
50304
50340
  return gn(je, gr);
50305
50341
  }, !0, gr);
50306
- }), Qr(je, tr._closedPromise, function(gr) {
50342
+ }), Jr(je, tr._closedPromise, function(gr) {
50307
50343
  $t ? Sn(!0, gr) : ln(function() {
50308
50344
  return fn(Ce, gr);
50309
50345
  }, !0, gr);
@@ -50324,7 +50360,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
50324
50360
  return gr !== Cr ? hn() : void 0;
50325
50361
  });
50326
50362
  }
50327
- function Qr(gr, Tr, Br) {
50363
+ function Jr(gr, Tr, Br) {
50328
50364
  gr._state === "errored" ? Br(gr._storedError) : ye(Tr, Br);
50329
50365
  }
50330
50366
  function yn(gr, Tr, Br) {
@@ -50506,14 +50542,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
50506
50542
  return Dt(Ce._readableStreamController) ? Po(Ce) : wo(Ce);
50507
50543
  }
50508
50544
  function wo(Ce, je) {
50509
- var Qe = st(Ce), vt = !1, $t = !1, jt = !1, Ht = !1, tr, Sr, Cr, Er, xr, Ur = le(function(Qr) {
50510
- xr = Qr;
50545
+ var Qe = st(Ce), vt = !1, $t = !1, jt = !1, Ht = !1, tr, Sr, Cr, Er, xr, Ur = le(function(Jr) {
50546
+ xr = Jr;
50511
50547
  });
50512
50548
  function mn() {
50513
50549
  if (vt)
50514
50550
  return $t = !0, ce(void 0);
50515
50551
  vt = !0;
50516
- var Qr = {
50552
+ var Jr = {
50517
50553
  _chunkSteps: function(yn) {
50518
50554
  fe(function() {
50519
50555
  $t = !1;
@@ -50528,10 +50564,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
50528
50564
  vt = !1;
50529
50565
  }
50530
50566
  };
50531
- return yt(Qe, Qr), ce(void 0);
50567
+ return yt(Qe, Jr), ce(void 0);
50532
50568
  }
50533
- function Fn(Qr) {
50534
- if (jt = !0, tr = Qr, Ht) {
50569
+ function Fn(Jr) {
50570
+ if (jt = !0, tr = Jr, Ht) {
50535
50571
  var yn = qe([
50536
50572
  tr,
50537
50573
  Sr
@@ -50540,8 +50576,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
50540
50576
  }
50541
50577
  return Ur;
50542
50578
  }
50543
- function xn(Qr) {
50544
- if (Ht = !0, Sr = Qr, jt) {
50579
+ function xn(Jr) {
50580
+ if (Ht = !0, Sr = Jr, jt) {
50545
50581
  var yn = qe([
50546
50582
  tr,
50547
50583
  Sr
@@ -50552,8 +50588,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
50552
50588
  }
50553
50589
  function hn() {
50554
50590
  }
50555
- return Cr = Ca(hn, mn, Fn), Er = Ca(hn, mn, xn), ye(Qe._closedPromise, function(Qr) {
50556
- _n(Cr._readableStreamController, Qr), _n(Er._readableStreamController, Qr), (!jt || !Ht) && xr(void 0);
50591
+ return Cr = Ca(hn, mn, Fn), Er = Ca(hn, mn, xn), ye(Qe._closedPromise, function(Jr) {
50592
+ _n(Cr._readableStreamController, Jr), _n(Er._readableStreamController, Jr), (!jt || !Ht) && xr(void 0);
50557
50593
  }), [
50558
50594
  Cr,
50559
50595
  Er
@@ -50582,7 +50618,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
50582
50618
  Lt(Cr._readableStreamController, bn), Lt(Er._readableStreamController, bn), xr(fn(Ce, bn));
50583
50619
  return;
50584
50620
  }
50585
- jt || Mt(Cr._readableStreamController, Tr), Ht || Mt(Er._readableStreamController, Br), Qe = !1, vt ? hn() : $t && Qr();
50621
+ jt || Mt(Cr._readableStreamController, Tr), Ht || Mt(Er._readableStreamController, Br), Qe = !1, vt ? hn() : $t && Jr();
50586
50622
  });
50587
50623
  },
50588
50624
  _closeSteps: function() {
@@ -50613,7 +50649,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
50613
50649
  }
50614
50650
  Ln || lr(Tr._readableStreamController, wn), Mt(Br._readableStreamController, ro);
50615
50651
  }
50616
- Qe = !1, vt ? hn() : $t && Qr();
50652
+ Qe = !1, vt ? hn() : $t && Jr();
50617
50653
  });
50618
50654
  },
50619
50655
  _closeSteps: function(wn) {
@@ -50634,7 +50670,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
50634
50670
  var jr = Ft(Cr._readableStreamController);
50635
50671
  return jr === null ? Fn() : xn(jr._view, !1), ce(void 0);
50636
50672
  }
50637
- function Qr() {
50673
+ function Jr() {
50638
50674
  if (Qe)
50639
50675
  return $t = !0, ce(void 0);
50640
50676
  Qe = !0;
@@ -50663,7 +50699,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
50663
50699
  }
50664
50700
  function Sn() {
50665
50701
  }
50666
- return Cr = Va(Sn, hn, yn), Er = Va(Sn, Qr, ln), mn(je), [
50702
+ return Cr = Va(Sn, hn, yn), Er = Va(Sn, Jr, ln), mn(je), [
50667
50703
  Cr,
50668
50704
  Er
50669
50705
  ];
@@ -50783,7 +50819,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
50783
50819
  return de(An("pipeTo"));
50784
50820
  if (je === void 0)
50785
50821
  return de("Parameter 1 is required in 'pipeTo'.");
50786
- if (!Xr(je))
50822
+ if (!Qr(je))
50787
50823
  return de(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));
50788
50824
  var vt;
50789
50825
  try {
@@ -64257,14 +64293,14 @@ const downloadFile = (C, $) => vn(null, null, function* () {
64257
64293
  } catch (F) {
64258
64294
  throw console.error("Error downloading file:", F), F;
64259
64295
  }
64260
- }), container$1 = "_container_1f5vc_1", document$1 = "_document_1f5vc_7", page = "_page_1f5vc_12", title = "_title_1f5vc_21", header = "_header_1f5vc_27", loader = "_loader_1f5vc_34", loadingContainer = "_loadingContainer_1f5vc_39", loadingText = "_loadingText_1f5vc_48", icon = "_icon_1f5vc_53", downloadIcon = "_downloadIcon_1f5vc_58", paginationArrow = "_paginationArrow_1f5vc_62", paginationPageNumber = "_paginationPageNumber_1f5vc_66", paginationSlash = "_paginationSlash_1f5vc_78", paginationTotal = "_paginationTotal_1f5vc_83", styles$2 = {
64296
+ }), container$1 = "_container_rjcd4_1", document$1 = "_document_rjcd4_7", page = "_page_rjcd4_12", title = "_title_rjcd4_21", header = "_header_rjcd4_27", loader = "_loader_rjcd4_34", loadingContainer$1 = "_loadingContainer_rjcd4_39", loadingText = "_loadingText_rjcd4_49", icon = "_icon_rjcd4_54", downloadIcon = "_downloadIcon_rjcd4_59", paginationArrow = "_paginationArrow_rjcd4_63", paginationPageNumber = "_paginationPageNumber_rjcd4_67", paginationSlash = "_paginationSlash_rjcd4_79", paginationTotal = "_paginationTotal_rjcd4_84", styles$2 = {
64261
64297
  container: container$1,
64262
64298
  document: document$1,
64263
64299
  page,
64264
64300
  title,
64265
64301
  header,
64266
64302
  loader,
64267
- loadingContainer,
64303
+ loadingContainer: loadingContainer$1,
64268
64304
  loadingText,
64269
64305
  icon,
64270
64306
  downloadIcon,
@@ -64309,12 +64345,7 @@ const MESSAGES = {
64309
64345
  }, oe = () => ae(-1), ie = () => ae(1), le = () => {
64310
64346
  downloadFile(C, "resume.pdf");
64311
64347
  };
64312
- return F || V || !C ? /* @__PURE__ */ React__default.createElement(
64313
- LoadingLayout,
64314
- {
64315
- message: F ? MESSAGES.loading.initial : MESSAGES.loading.refreshing
64316
- }
64317
- ) : K ? /* @__PURE__ */ React__default.createElement(
64348
+ return K ? /* @__PURE__ */ React__default.createElement(
64318
64349
  Flex,
64319
64350
  {
64320
64351
  vertical: !0,
@@ -64329,6 +64360,11 @@ const MESSAGES = {
64329
64360
  image: Empty.PRESENTED_IMAGE_SIMPLE
64330
64361
  }
64331
64362
  )
64363
+ ) : F || V || !C ? /* @__PURE__ */ React__default.createElement(
64364
+ LoadingLayout,
64365
+ {
64366
+ message: F ? MESSAGES.loading.initial : MESSAGES.loading.refreshing
64367
+ }
64332
64368
  ) : /* @__PURE__ */ React__default.createElement(
64333
64369
  Flex,
64334
64370
  {
@@ -64379,7 +64415,6 @@ const MESSAGES = {
64379
64415
  );
64380
64416
  }, TOOLTIPS = {
64381
64417
  AI_EVALUATOR: "Use our AI resume evaluator",
64382
- FONT_SIZE: "Change Font Size",
64383
64418
  EDIT: "Edit Resume",
64384
64419
  DELETE: "Delete Resume",
64385
64420
  DELETE_DISABLED: "Cannot delete default resume"
@@ -64421,7 +64456,7 @@ const MESSAGES = {
64421
64456
  isFetching: ae,
64422
64457
  isError: oe
64423
64458
  }
64424
- ), /* @__PURE__ */ React__default.createElement(Flex, { vertical: !0 }, /* @__PURE__ */ React__default.createElement(FloatButton.Group, { shape: "square", className: styles$3.floatButtonGroup }, /* @__PURE__ */ React__default.createElement(Tooltip, { title: TOOLTIPS.AI_EVALUATOR, placement: "right" }, /* @__PURE__ */ React__default.createElement(
64459
+ ), !ne && !ae && !oe && /* @__PURE__ */ React__default.createElement(Flex, { vertical: !0 }, /* @__PURE__ */ React__default.createElement(FloatButton.Group, { shape: "square", className: styles$3.floatButtonGroup }, /* @__PURE__ */ React__default.createElement(Tooltip, { title: TOOLTIPS.AI_EVALUATOR, placement: "right" }, /* @__PURE__ */ React__default.createElement(
64425
64460
  FloatButton,
64426
64461
  {
64427
64462
  icon: /* @__PURE__ */ React__default.createElement(RefIcon$9, null),
@@ -64430,13 +64465,7 @@ const MESSAGES = {
64430
64465
  window.open("https://google.com", "_blank")
64431
64466
  )
64432
64467
  }
64433
- )), /* @__PURE__ */ React__default.createElement(Tooltip, { title: TOOLTIPS.FONT_SIZE, placement: "right" }, /* @__PURE__ */ React__default.createElement(
64434
- FloatButton,
64435
- {
64436
- onClick: C,
64437
- icon: /* @__PURE__ */ React__default.createElement(RefIcon$7, null)
64438
- }
64439
- )), /* @__PURE__ */ React__default.createElement(Tooltip, { title: TOOLTIPS.EDIT, placement: "right" }, /* @__PURE__ */ React__default.createElement(FloatButton, { onClick: $, icon: /* @__PURE__ */ React__default.createElement(RefIcon$c, null) })), /* @__PURE__ */ React__default.createElement(
64468
+ )), /* @__PURE__ */ React__default.createElement(FontSizeDropdown, { onFontSizeChange: C }), /* @__PURE__ */ React__default.createElement(Tooltip, { title: TOOLTIPS.EDIT, placement: "right" }, /* @__PURE__ */ React__default.createElement(FloatButton, { onClick: $, icon: /* @__PURE__ */ React__default.createElement(RefIcon$c, null) })), /* @__PURE__ */ React__default.createElement(
64440
64469
  Tooltip,
64441
64470
  {
64442
64471
  title: ie ? TOOLTIPS.DELETE_DISABLED : TOOLTIPS.DELETE,
@@ -64471,8 +64500,10 @@ const MESSAGES = {
64471
64500
  },
64472
64501
  "View PDF in new tab"
64473
64502
  ));
64474
- }, previewImage = "_previewImage_eda90_7", styles = {
64475
- previewImage
64503
+ }, previewImage = "_previewImage_2p9ut_7", loadingContainer = "_loadingContainer_2p9ut_13", loadingIcon = "_loadingIcon_2p9ut_24", styles = {
64504
+ previewImage,
64505
+ loadingContainer,
64506
+ loadingIcon
64476
64507
  }, ResumeBuilderContent = ({
64477
64508
  isOnboarding: C = !0,
64478
64509
  resumeData: $,
@@ -64482,32 +64513,33 @@ const MESSAGES = {
64482
64513
  onAddResumeClick: J,
64483
64514
  onManageResumesClick: ee,
64484
64515
  onEditClick: te,
64485
- onDeleteClick: re
64516
+ onDeleteClick: re,
64517
+ isLoading: ne = !1
64486
64518
  }) => {
64487
- const ne = useDispatch(), { currentStep: ae, steps: oe } = useSelector(
64488
- (ce) => ce.scalantResumeBuilder.resumeBuilder
64519
+ const ae = useDispatch(), { currentStep: oe, steps: ie } = useSelector(
64520
+ (de) => de.scalantResumeBuilder.resumeBuilder
64489
64521
  );
64490
64522
  useEffect(() => {
64491
- var ce;
64523
+ var de;
64492
64524
  if ($) {
64493
- const de = (ce = $ == null ? void 0 : $.resume_details) == null ? void 0 : ce.id;
64494
- if (ne(setResumeData($)), ne(resetSteps()), ne(resetAllForms()), !(C ? shouldShowOnboarding(de) : !1)) {
64495
- const ve = oe.findIndex(
64496
- (me) => me.key === RESUME_BUILDER_STEPS.RESUME_STEPS.key
64525
+ const se = (de = $ == null ? void 0 : $.resume_details) == null ? void 0 : de.id;
64526
+ if (ae(setResumeData($)), ae(resetSteps()), ae(resetAllForms()), !(C ? shouldShowOnboarding(se) : !1)) {
64527
+ const me = ie.findIndex(
64528
+ (ye) => ye.key === RESUME_BUILDER_STEPS.RESUME_STEPS.key
64497
64529
  );
64498
- ne(setCurrentStep(ve));
64530
+ ae(setCurrentStep(me));
64499
64531
  }
64500
64532
  }
64501
- }, [$, ne, oe, C]), useEffect(() => {
64502
- var de;
64503
- const ce = oe[ae];
64504
- if (isFinalOnboardingStep(ce.key)) {
64505
- const se = (de = $ == null ? void 0 : $.resume_details) == null ? void 0 : de.id;
64506
- se && markOnboardingCompleted(se);
64533
+ }, [$, ae, ie, C]), useEffect(() => {
64534
+ var se;
64535
+ const de = ie[oe];
64536
+ if (isFinalOnboardingStep(de.key)) {
64537
+ const ve = (se = $ == null ? void 0 : $.resume_details) == null ? void 0 : se.id;
64538
+ ve && markOnboardingCompleted(ve);
64507
64539
  }
64508
- }, [ae, oe, $]);
64509
- const ie = () => {
64510
- switch (oe[ae].component) {
64540
+ }, [oe, ie, $]);
64541
+ const le = () => {
64542
+ switch (ie[oe].component) {
64511
64543
  case RESUME_BUILDER_STEPS.ACKNOWLEDGEMENT.component:
64512
64544
  return /* @__PURE__ */ React__default.createElement(Acknowledgement, null);
64513
64545
  case RESUME_BUILDER_STEPS.PREFERENCE_SETTINGS.component:
@@ -64521,8 +64553,8 @@ const MESSAGES = {
64521
64553
  default:
64522
64554
  return null;
64523
64555
  }
64524
- }, le = () => {
64525
- switch (oe[ae].component) {
64556
+ }, ce = () => {
64557
+ switch (ie[oe].component) {
64526
64558
  case RESUME_BUILDER_STEPS.ACKNOWLEDGEMENT.component:
64527
64559
  return /* @__PURE__ */ React__default.createElement(
64528
64560
  "img",
@@ -64568,7 +64600,7 @@ const MESSAGES = {
64568
64600
  return null;
64569
64601
  }
64570
64602
  };
64571
- return /* @__PURE__ */ React__default.createElement(ResumeLayout, { onBackButtonClick: F, preview: le() }, ie());
64603
+ return !$ || ne ? /* @__PURE__ */ React__default.createElement("div", { className: styles.loadingContainer }, /* @__PURE__ */ React__default.createElement(RefIcon$B, { className: styles.loadingIcon, size: "large" }), /* @__PURE__ */ React__default.createElement("h1", null, "Loading your resume...")) : /* @__PURE__ */ React__default.createElement(ResumeLayout, { onBackButtonClick: F, preview: ce() }, le());
64572
64604
  }, ResumeBuilder = ({
64573
64605
  isOnboarding: C = !0,
64574
64606
  resumeData: $,
@@ -64579,7 +64611,8 @@ const MESSAGES = {
64579
64611
  onAddResumeClick: ee,
64580
64612
  onManageResumesClick: te,
64581
64613
  onEditClick: re,
64582
- onDeleteClick: ne
64614
+ onDeleteClick: ne,
64615
+ isLoading: ae = !1
64583
64616
  }) => /* @__PURE__ */ React__default.createElement(
64584
64617
  ResumeBuilderContent,
64585
64618
  {
@@ -64592,7 +64625,8 @@ const MESSAGES = {
64592
64625
  onAddResumeClick: ee,
64593
64626
  onManageResumesClick: te,
64594
64627
  onEditClick: re,
64595
- onDeleteClick: ne
64628
+ onDeleteClick: ne,
64629
+ isLoading: ae
64596
64630
  }
64597
64631
  );
64598
64632
  function formatProdErrorMessage(C) {